*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-family:
        'Roboto',
        sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        'Apple Color Emoji',
        'Segoe UI Emoji',
        'Segoe UI Symbol';
    color: #333333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    margin-top: 55px;

    line-height: 1.6;
    cursor: default;
    scrollbar-width: none !important;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* NAVIGATION BAR CSS */

nav {
    height: 105px;
    position: fixed !important;
    z-index: 1000;
    top: 0 !important;
    margin-top: 0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.114);
}

nav .upper-nav {
    background-color: #333333; /*575C5D*/
    height: 61px;
}

nav .search-bar {
    width: 390px;
    max-width: 500px;
}

nav .search-bar input {
    background-color: #d9d9d940;
    color: #ffffff;
    padding-left: 2.5rem;
    padding-right: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 30px;
}

nav .search-bar input::placeholder {
    color: #ffffff;
}

nav .lower-nav {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.01);
    height: 48px;
}

nav .lower-nav .nav-link:hover,
nav .lower-nav .nav-link.active {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 14px;
    text-decoration-color: #333333;
}

nav .lower-nav:hover .nav-link.active:not(:hover) {
    text-decoration: none;
}

nav .lower-nav .dropdown-toggle::after {
    content: none !important;
}

nav .lower-nav .dropdown-menu {
    position: absolute !important;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.114);
    border-radius: 0 0 13px 13px;
    z-index: -2;
    padding-top: 3px;
}

nav .lower-nav .dropdown-item {
    padding: 6px 24px;
}

nav .dropdown-menu .dropdown-item:active {
    background-color: #e4e4e4;
    color: inherit;
}

/* FOOTER CSS */

.footer-custom {
    height: 83px;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    display: flex;
    align-items: center;
    position: relative;
}

.footer-custom a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: #b0b0b0;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .footer-custom {
        font-size: 11px;
    }
}
