/*-------- FLOWRUSH OFFICIAL COLOR THEME --------*/
:root {
    --brand-deep-blue: #001a4d;
    --brand-primary: #1e40af;
    --brand-accent: #3b82f6;
    --brand-light: #dbeafe;
    --brand-hover: #2563eb;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-soft: #f8fafc;
    --border-light: #e2e8f0;
    --grad-hero: radial-gradient(circle at top right, #1e40af, #001a4d);
    --grad-primary: linear-gradient(135deg, #1e40af, #3b82f6);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Verdana', sans-serif;
    --header-bg-sleek: #fafafc;
    
    /* Header heights - BADHA DIYA */
    --header-height: 90px;
    --header-height-tablet: 85px;
    --header-height-mobile: 80px;
}

/*========== RESET & BASE ==========*/
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    outline: none !important; /* Sab outlines hatao */
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

body { 
    font-family: var(--font-family); 
    color: var(--text-dark); 
    background: white; 
    line-height: 1.5; 
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 24px; 
    width: 100%; 
}

/*========== TOP STICKY WRAPPER ==========*/
.top-sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transform: translateZ(0);
    will-change: transform;
}

/*========== HEADER - BIGGER & BETTER ==========*/
.site-header {
    position: relative; 
    width: 100%; 
    background: linear-gradient(135deg, #001a4d, #000080, #00004d);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

/* Tablet header - BADA */
@media (max-width: 1024px) {
    .site-header {
        height: var(--header-height-tablet);
    }
}

/* Mobile header - BADA */
@media (max-width: 768px) {
    .site-header {
        height: var(--header-height-mobile);
    }
}

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

/* Logo - BADA */
.logo-area { 
    display: flex; 
    align-items: center;
    flex: 0 0 auto;
    z-index: 1;
}

.logo-area img { 
    height: 58px;
    width: auto;
    max-width: 190px;
    transition: opacity 0.2s ease;
}

/* Tablet logo */
@media (max-width: 1024px) {
    .logo-area img { 
        height: 52px;
        max-width: 170px;
    }
}

/* Mobile logo */
@media (max-width: 768px) {
    .logo-area img { 
        height: 48px;
        max-width: 160px;
    }
}

/* Navigation */
.main-nav { 
    display: flex; 
    align-items: center;
    margin: 0 auto;
}

.nav-list { 
    display: flex; 
    align-items: center; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    gap: 6px;
}

.nav-item { 
    position: relative; 
}

.nav-link {
    display: flex; 
    align-items: center; 
    gap: 6px;
    padding: 12px 20px; 
    font-size: 16px; 
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    border-radius: 40px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    outline: none !important;
}

/* Tablet nav links - BADE */
@media (max-width: 1024px) {
    .nav-link {
        padding: 10px 16px;
        font-size: 15px;
    }
}

.nav-link:hover { 
    background: white; 
    color: var(--brand-primary); 
    border-color: var(--brand-light);
    box-shadow: 0 4px 12px rgba(0, 26, 77, 0.08);
    transform: translateY(-1px);
}

/* Dropdown chevron */
.nav-link i.chev {
    width: 8px;
    height: 8px; 
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor; 
    transform: rotate(45deg) translateY(-1px);
    transition: 0.2s;
    opacity: 0.8;
    display: inline-block;
    margin-left: 4px;
}

/* Mega Menu & Dropdown */
.mega-menu, .dropdown-menu {
    position: absolute; 
    top: calc(100% + 10px); 
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 35px -10px rgba(0, 26, 77, 0.2);
    border: 1px solid rgba(30, 64, 175, 0.15);
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    transform: translateZ(0);
    will-change: opacity, visibility;
}

/* Mega Menu */
.mega-menu { 
    width: 720px;
    padding: 30px; 
    left: -100px;
}

/* Dropdown Menu */
.dropdown-menu { 
    width: 260px; 
    padding: 16px; 
    list-style: none; 
    left: 0;
}

/* Show on hover - DESKTOP ONLY */
@media (min-width: 901px) {
    .nav-item:hover .mega-menu,
    .nav-item:hover .dropdown-menu { 
        opacity: 1; 
        visibility: visible; 
        top: 100%; 
    }
}

/* Mega Menu Grid */
.mega-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.mega-col h4 { 
    font-size: 16px; 
    color: var(--brand-deep-blue); 
    margin-bottom: 15px; 
    border-bottom: 2px solid var(--brand-accent);
    padding-bottom: 8px; 
    display: inline-block;
    font-weight: 700;
}

.mega-col ul { 
    list-style: none; 
    padding: 0;
}

.mega-col li { 
    margin-bottom: 12px; 
    transition: transform 0.15s; 
}

.mega-col li:hover { 
    transform: translateX(6px); 
}

.mega-col a { 
    color: var(--text-muted); 
    font-size: 14px; 
    font-weight: 500; 
    display: inline-block; 
    text-decoration: none;
}

.mega-col a:hover { 
    color: var(--brand-primary); 
}

/* Dropdown Menu Items */
.dropdown-menu li {
    margin-bottom: 2px;
}

.dropdown-menu li a {
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding: 12px 18px; 
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    text-decoration: none;
    background: transparent;
    outline: none !important;
}

.dropdown-menu li a:hover { 
    background: var(--brand-light); 
    color: var(--brand-primary); 
    transform: translateX(5px);
}

/* Header Actions */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
}

.header-actions .btn-primary {
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.18);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 26px;
    font-size: 16px;
    background: var(--grad-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    height: 46px;
    display: flex;
    align-items: center;
    outline: none !important;
}

/* Tablet button */
@media (max-width: 1024px) {
    .header-actions .btn-primary {
        padding: 8px 22px;
        font-size: 15px;
        height: 44px;
    }
}

/* Mobile Menu Trigger */
.mobile-menu-trigger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10002;
    padding: 10px;
    min-width: 46px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    outline: none !important;
    border: 1px solid rgba(255,255,255,0.15);
}

.mobile-menu-trigger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Menu Close Button - X icon */
.mobile-menu-trigger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 22px;
}

.mobile-menu-trigger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-trigger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
    width: 22px;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    transform: translateZ(0);
    will-change: opacity, visibility;
    pointer-events: none;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Header Spacer */
.header-spacer {
    height: var(--header-height);
    width: 100%;
    contain: strict;
}

@media (max-width: 1024px) {
    .header-spacer {
        height: var(--header-height-tablet);
    }
}

@media (max-width: 768px) {
    .header-spacer {
        height: var(--header-height-mobile);
    }
}

/*========== MOBILE MENU STYLES - FIXED ==========*/
@media (max-width: 900px) {
    .mobile-menu-trigger { 
        display: flex; 
    }
    
    .header-actions .btn-primary {
        display: none !important;
    }
    
    .main-nav { 
        position: fixed; 
        top: 0; 
        right: -320px; 
        width: 320px; 
        height: 100vh;
        background: white; 
        flex-direction: column; 
        padding: 90px 25px 30px;
        transition: right 0.3s ease; 
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
        z-index: 10001; 
        display: flex; 
        overflow-y: auto;
        left: auto;
        will-change: right;
    }
    
    .main-nav.active { 
        right: 0; 
    }
    
    .nav-list { 
        flex-direction: column; 
        align-items: flex-start; 
        width: 100%; 
        gap: 0; 
    }
    
    .nav-item { 
        width: 100%; 
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-link { 
        width: 100%; 
        padding: 18px 0; 
        border-radius: 0; 
        justify-content: space-between; 
        font-size: 17px;
        font-weight: 600;
        color: #1e293b !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
    }
    
    .nav-link:hover { 
        background: transparent !important;
        color: var(--brand-primary) !important;
        transform: none;
    }
    
    /* Dropdown chevron rotation */
    .nav-item.active .chev {
        transform: rotate(225deg) translateY(-2px);
        border-color: var(--brand-primary);
    }
    
    /* Mega Menu & Dropdown in Mobile - FIXED */
    .mega-menu, .dropdown-menu {
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        box-shadow: none !important;
        padding: 15px 0 15px 15px !important;
        margin: 5px 0 10px !important;
        background: #f8fafc !important;
        border: none !important;
        border-left: 4px solid var(--brand-accent) !important;
        border-radius: 0 8px 8px 0 !important;
        transition: none !important;
        left: 0 !important;
        top: 0 !important;
    }
    
    .nav-item.active .mega-menu,
    .nav-item.active .dropdown-menu { 
        display: block !important; 
    }
    
    /* Mega menu grid in mobile */
    .mega-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    /* Dropdown menu items in mobile */
    .dropdown-menu li a {
        padding: 15px 20px !important;
        font-size: 16px !important;
        color: #0f172a !important;
        font-weight: 500;
        background: white;
        border-radius: 8px;
        margin-bottom: 6px;
        outline: none !important;
    }
    
    .dropdown-menu li a:hover {
        background: var(--brand-light) !important;
        color: var(--brand-primary) !important;
        transform: translateX(5px);
    }
    
    /* Mega menu items */
    .mega-col h4 { 
        color: var(--brand-deep-blue) !important;
        margin-bottom: 15px !important;
        font-size: 17px !important;
        font-weight: 700;
    }
    
    .mega-col li {
        margin-bottom: 12px !important;
    }
    
    .mega-col a { 
        color: #334155 !important;
        font-size: 15px !important;
        padding: 8px 0 !important;
        display: inline-block;
    }
    
    .mega-col a:hover {
        color: var(--brand-primary) !important;
        transform: translateX(5px);
    }
}

/*========== FOOTER STYLES ==========*/
.footer-new {
    background: linear-gradient(135deg, #001a4d, #000080, #00004d);
    color: white; 
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-family);
    contain: content;
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

/* Tablet footer */
@media (max-width: 1024px) {
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 35px; 
    }
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .footer-bottom-new {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0 20px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-links a:hover {
    background: white;
    transform: translateY(-5px);
}

.footer-social-links a:hover img {
    filter: brightness(0) invert(0);
}

.footer-social-links img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.footer-links-col h4, .footer-contact-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-links-col h4::after, .footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--brand-accent);
    border-radius: 2px;
}

.footer-links-col ul, .contact-list {
    list-style: none;
    padding: 0;
}

.footer-links-col li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.footer-links-col li:hover {
    transform: translateX(6px);
}

.footer-links-col a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links-col a:hover {
    color: white;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.contact-list a:hover {
    color: white;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 1024px) {
    .locations-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .locations-grid { 
        grid-template-columns: 1fr; 
    }
}

.location-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.25s ease;
}

.location-box:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--brand-accent);
    transform: translateY(-5px);
}

.footer-bottom-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-decoration: none;
    position: relative;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
}