.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

.header.scrolled {
    background: rgba(61, 60, 60, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header:not(.scrolled) {
    background: rgba(56, 55, 55, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo a {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #dda15e, #d78d38);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo a span {
    background: linear-gradient(135deg, #db984b, #e09948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dda15e, rgb(192, 118, 29));
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #dda15e;
}

/* Right Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-link {
    position: relative;
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.icon-link:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #dda15e;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Login Button */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dda15e, #d68528);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #c34f07, #E9742B);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 25px;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #dda15e, #cf8127);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-logo span {
    background: linear-gradient(135deg, #D8651F, #D8651F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.4s ease forwards;
}

.mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-links li:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-links li:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-links li:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-links li:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav-links li:nth-child(7) { animation-delay: 0.4s; }
.mobile-nav-links li:nth-child(8) { animation-delay: 0.45s; }
.mobile-nav-links li:nth-child(9) { animation-delay: 0.5s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.mobile-nav-links li a i {
    width: 22px;
    color: #dda15e;
    font-size: 18px;
}

.mobile-nav-links li a:hover {
    background: rgba(42, 109, 244, 0.1);
    color: #dda15e;
    transform: translateX(8px);
}

.mobile-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    padding: 0 !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.mobile-badge {
    background: #ff6b6b;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: auto;
}

.mobile-login {
    background: linear-gradient(135deg, #dda15e, #E9742B);
    color: white !important;
    margin-top: 10px;
}

.mobile-login:hover {
    background: linear-gradient(135deg, #E9742B, #c34f07) !important;
    color: white !important;
    transform: translateX(8px) !important;
}

.mobile-login i {
    color: white !important;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ========== MEDIA QUERIES - RESPONSIVE DESIGN ========== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .nav-links {
        gap: 28px;
    }
    
    .nav-links li a {
        font-size: 16px;
    }
    
    .nav-container {
        padding: 10px 40px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .nav-container {
        padding: 10px 30px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links li a {
        font-size: 14px;
    }
    
    .login-btn span {
        display: inline;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-container {
        padding: 10px 25px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo a {
        font-size: 26px;
    }
    
    .nav-icons {
        gap: 12px;
    }
    
    .icon-link {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .login-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Mobile (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .nav-container {
        padding: 8px 20px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo a {
        font-size: 24px;
    }
    
    .nav-icons {
        gap: 8px;
    }
    
    .icon-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .login-btn {
        padding: 8px 12px;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn i {
        font-size: 16px;
        margin: 0;
    }
    
    .mobile-menu {
        width: 280px;
        padding: 20px;
    }
    
    .mobile-nav-links li a {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Small Mobile (up to 575px) */
@media (max-width: 575px) {
    .nav-container {
        padding: 8px 15px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    
    .logo a {
        font-size: 22px;
    }
    
    .nav-icons {
        gap: 5px;
    }
    
    .icon-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .badge {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        top: -4px;
        right: -4px;
    }
    
    .login-btn {
        padding: 6px 10px;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn i {
        font-size: 14px;
        margin: 0;
    }
    
    .mobile-menu {
        width: 260px;
        padding: 18px;
    }
    
    .mobile-menu-header {
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
    
    .mobile-logo {
        font-size: 22px;
    }
    
    .close-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .mobile-nav-links li a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .mobile-nav-links li a i {
        width: 20px;
        font-size: 16px;
    }
    
    .mobile-divider {
        margin: 15px 0;
    }
    
    .mobile-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Extra Small Mobile (up to 360px) */
@media (max-width: 360px) {
    .nav-container {
        padding: 6px 12px;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .icon-link {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .mobile-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .mobile-menu {
        width: 240px;
        padding: 15px;
    }
    
    .mobile-nav-links li a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu {
        padding: 15px;
    }
    
    .mobile-menu-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .mobile-nav-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .mobile-nav-links li {
        margin-bottom: 0;
    }
    
    .mobile-divider {
        display: none;
    }
    
    .mobile-login {
        grid-column: span 2;
    }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1600px;
        padding: 10px 60px;
    }
    
    .nav-links {
        gap: 32px;
    }
    
    .nav-links li a {
        font-size: 17px;
    }
    
    .logo a {
        font-size: 32px;
    }
}

/* Print Styles */
@media print {
    .header {
        display: none;
    }
}

/* SUB NAVBAR */
.sub-navbar {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(61, 60, 60, 0.25);
    backdrop-filter: blur(12px);
    z-index: 999;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 8px 20px;
}

.sub-nav-container a {
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: 0.3s;
}

.sub-nav-container a:hover {
    color: #dda15e;
}

/* Sub Navbar Responsive */
@media (max-width: 992px) {
    .sub-nav-container {
        gap: 30px;
        padding: 8px 15px;
    }
    
    .sub-nav-container a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .sub-navbar {
        top: 55px;
    }
    
    .sub-nav-container {
        gap: 20px;
        padding: 6px 12px;
    }
    
    .sub-nav-container a {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .sub-navbar {
        top: 50px;
    }
    
    .sub-nav-container {
        gap: 12px;
        padding: 6px 10px;
    }
    
    .sub-nav-container a {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sub-navbar {
        top: 45px;
    }
    
    .sub-nav-container {
        gap: 8px;
        padding: 5px 8px;
    }
    
    .sub-nav-container a {
        font-size: 10px;
    }
}