/* ===================================
   MODERN HEADER - CLEAN & MINIMAL
   =================================== */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modern-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

/* Brand / Logo */
.brand {
    flex-shrink: 0;
}

.brand-link {
    display: block;
    line-height: 0;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: #0066cc;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.08);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.35);
    background: linear-gradient(135deg, #ff7700 0%, #ff9944 100%);
}

.cta-button i {
    font-size: 13px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    padding: 16px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background: rgba(0, 102, 204, 0.08);
    color: #0066cc;
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

body.menu-open {
    overflow: hidden;
}

/* Spacer for fixed header */
body {
    padding-top: 80px;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 4px;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .nav-menu,
    .cta-button {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0 20px;
    }
    
    .header-wrapper {
        height: 70px;
    }
    
    .brand-logo {
        height: 40px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .mobile-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

/* Footer Logo Style */
.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* Brand Text Fallback */
.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0066cc;
    text-decoration: none;
}
