* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background: #ffffff;
}

button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    width: 100%;
    height: 105px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: 0.3s ease;
}

.site-header.scrolled {
    height: 82px;
    background: rgba(20, 40, 45, 0.92);
    backdrop-filter: blur(10px);
}

.header-inner {
    width: 100%;
    max-width: 1840px;
    height: 100%;
    margin: 0 auto;
    padding: 0 54px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 40px;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 52px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-link,
.dropdown-btn {
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1.5px;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-link:hover,
.dropdown-btn:hover {
    color: #e2f7ff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.22s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 28px;
}

.nav-link.active {
    color: #ffffff;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo img {
    width: 132px;
    height: auto;
    display: block;
}

.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-btn i {
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 34px;
    right: 0;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #1f3c46;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: #eef8fb;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 99px;
    transition: 0.25s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* Tablet */
@media (max-width: 1200px) {
    .header-inner {
        padding: 0 32px;
        column-gap: 24px;
    }

    .nav-group {
        gap: 28px;
    }

    .nav-link,
    .dropdown-btn {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .header-logo img {
        width: 112px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .site-header {
        height: 78px;
    }

    .site-header.scrolled {
        height: 72px;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        padding: 0 18px;
    }

    .nav-group {
        display: none;
    }

    .header-logo img {
        width: 105px;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        background: rgba(20, 40, 45, 0.96);
        backdrop-filter: blur(10px);
        padding: 10px 18px 20px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: 0.25s ease;
    }

    .site-header.scrolled .mobile-menu {
        top: 72px;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        padding: 15px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mobile-menu a.active {
        color: #ccefff;
        border-bottom-color: rgba(204, 239, 255, 0.72);
    }
}

@media (max-width: 480px) {
    .header-logo img {
        width: 92px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }
}
