.search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.site-header {
    width: 100% !important;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 3000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 37, 64, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(10px, 1.5vw, 20px);
    min-height: clamp(72px, 10vh, 180px);
    gap: clamp(8px, 1.6vw, 20px);
}

@media (min-width: 1200px) {
    .header-container {
        width: 100%;
    }
}

@media (min-width: 2000px) {
    .header-container {
        max-width: 1600px;
    }
}

@media (min-width: 2700px) {
    .header-container {
        max-width: 2400px;
    }
    .nav-dropdown > li > a {
        font-size: 1.2rem !important;
        padding: 14px 20px !important;
    }
    .nav-dropdown .sub-menu > li > a {
        font-size: 1.1rem !important;
    }
    .nav-dropdown {
        min-width: 360px !important;
    }
    .header-logo .logo-img,
    .header-logo svg {
        transform: scale(2.5) !important; 
    }
}

.header-logo .logo-img,
.header-logo svg {
    margin-left: clamp(10px, 3.2vw, 90px);
    height: clamp(90px, 8vw, 120px); 
    width: auto;
    object-fit: contain;
    display: block;
    transform: scale(1.5); 
    transform-origin: left center; 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)) brightness(1.2);
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: clamp(0px, 2vw, 60px);
    min-width: 0;
}

.main-menu,
.nav-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
}

.main-menu>li {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
}

.main-menu>li>a {
    padding: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.main-menu>li>a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.main-menu>li.active>a {
    color: var(--accent-color);
}

.main-menu>li>a:not(:only-child)::after {
    content: '';
    margin-left: 6px;
    border-top: 4px solid rgba(255, 255, 255, 0.6);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s;
}

.main-menu>li:active>a:not(:only-child)::after,
.main-menu>li:hover>a:not(:only-child)::after {
    border-top-color: #FFFFFF;
}

.header-cta {
    margin-left: auto;
    margin-right: clamp(10px, 2vw, 30px);
}

.header-cta .btn-accent {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-cta .btn-accent:hover {
    background: #F5D576;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 201, 76, 0.3);
}

.nav-dropdown {
    position: absolute;
    top: 50px;
    background: #FFFFFF;
    border: 1px solid #EDF2F7;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 260px;
    padding: 8px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-menu>li:hover>.nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    top: 100%;
    left: 0;
}

.nav-dropdown>li {
    position: relative;
    padding: 0 8px;
}

.nav-dropdown>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #4A5568;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-dropdown > li:not(:last-child) {
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 2px;
}

.nav-dropdown > li:last-child {
    border-bottom: none;
}

.nav-dropdown>li>a:hover {
    background: #F1F7FF;
    color: var(--secondary-color);
}

.nav-dropdown > li > a:not(:only-child)::after {
    content: "〉";
    border: none;
    transform: none;
    font-size: 12px;
    color: #A0AEC0;
    margin-left: 10px;
    font-weight: bold;
}

.nav-dropdown>li>a:not(:only-child):hover::after {
    color: var(--secondary-color);
}

.sub-menu {
    top: -8px;
    left: 100%;
    transform: translateX(15px);
    z-index: 101;
}

.nav-dropdown>li:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.search-wrapper-full {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
    max-height: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    opacity: 0;
    z-index: 50;
}

.search-wrapper-full.show {
    max-height: 120px;
    visibility: visible;
    opacity: 1;
    padding: 25px 0;
}

.search-inner-container {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.search-form-full {
    width: 100%;
    max-width: 900px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(30, 75, 138, 0.1);
}

.search-icon-hint {
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: clamp(0.85rem, 1vw, 1.2rem);
    color: var(--text-color);
    max-height: 64px;
    background: transparent;
}

.search-submit-btn-new {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 30px;
    height: 44px;
    border-radius: 25px;
    font-size: clamp(0.85rem, 1vw, 1.2rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 10px;
}

.search-submit-btn-new:hover {
    background: var(--secondary-color);
}

.search-toggle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: rgba(255, 255, 255, 0.8);
}

.search-toggle-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 991.98px) {
    .site-header {
        margin-top: 0;
    }

    .header-container {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 10px;
    }
    
    .header-logo {
        flex: 1;
        min-width: 0;
    }
    
    .header-logo .logo-img,
    .header-logo svg {
        max-width: 100%;
        height: clamp(50px, 12vw, 70px);
        width: auto;
        margin-left: 0;
    }

    .header-nav {
        order: 3;
        width: 100%;
        margin-right: 0;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .main-menu {
        gap: 8px;
        flex-wrap: nowrap;
        white-space: nowrap;
        min-width: max-content;
    }

    .main-menu>li {
        min-height: auto;
        height: auto;
    }

    .main-menu>li>a {
        padding: 6px 10px;
        font-size: 14px;
    }

    .header-tools {
        margin-left: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-shrink: 0;
        gap: 8px;
    }

    .header-cta {
        display: none;
    }

    .search-wrapper-full.show {
        max-height: 220px;
        padding: 16px 0;
    }

    .search-inner-container {
        width: 92%;
    }

    .search-input-group {
        padding: 8px 8px 8px 14px;
        border-radius: 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .search-input-main {
        min-width: 0;
        width: 100%;
        height: 40px;
    }

    .search-submit-btn-new {
        width: 100%;
        margin-left: 0;
        height: 40px;
        border-radius: 10px;
    }

    .translate-header {
        justify-content: space-between;
        gap: 10px;
    }
}

.google-translate-container {
    background: rgba(10, 37, 64, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

.translate-header {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.translate-message {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.translate-message::before {
    content: "🌐";
    font-size: 16px;
}

.translate-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.translate-keep-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.translate-keep-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.translate-close-icon {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 6px;
    border-radius: 4px;
    line-height: 1;
    transition: all 0.2s;
}

.translate-close-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-simple img,
.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    color: #FFFFFF !important;
}

body {
    top: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .translate-header {
        padding: 0 16px 8px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .translate-actions {
        width: 100%;
        justify-content: flex-end;
    }

    #google_translate_element {
        padding: 0 16px;
    }
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
    .header-nav { 
        display: none !important; 
    } 
    .mobile-menu-toggle { 
        display: flex; 
        align-items: center;
        justify-content: center;
    }
}

.mobile-sidebar {
    position: fixed; 
    top: 0; 
    right: -300px; 
    width: 260px; 
    height: 100%;
    background: #FFFFFF;
    z-index: 5000; 
    transition: 0.3s ease-in-out;
    display: flex; 
    flex-direction: column; 
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-sidebar.open { 
    right: 0; 
}

.sidebar-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.5);
    z-index: 4999; 
    display: none; 
}

.sidebar-menu { 
    list-style: none; 
    padding: 20px 0; 
    margin: 0; 
}

.mobile-nav-item { 
    border-bottom: 1px solid #F5F5F5;
}

.mobile-nav-link-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-link-wrap a { 
    display: block; 
    padding: 15px 20px; 
    color: var(--text-color); 
    text-decoration: none; 
    font-weight: 500; 
    flex: 1;
}

.mobile-submenu-toggle {
    background: transparent;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle.active svg {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #F8FAFC;
    display: none;
}

.mobile-sub-menu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #EEE;
}

.mobile-sub-menu li:last-child a {
    border-bottom: none;
}

.mobile-sidebar .header-cta-mobile {
    padding: 20px;
    border-top: 1px solid #F5F5F5;
}

.mobile-sidebar .btn-accent {
    width: 100%;
    justify-content: center;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}