/* ==========================================================================
   GLOBAL DESIGN SYSTEM & COMPONENTS (global.css)
   FROZEN STATE
   ========================================================================== */
:root {
    --navy-deep: #071A33;
    --navy-dark: #06111F;
    --charcoal: #202733;
    --gold: #D4AF37;
    --gold-light: #F2C94C;
    --white: #FFFFFF;
    --bg-soft: #F6F8FB;
    --grey-light: #E9EEF5;
    --blue-tech: #1677FF;
    --accent-digital: #6B46C1;
    --accent-tax: #0D9488;
    --whatsapp-green: #25D366;
    
    /* Strict Font Segregation */
    --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-hindi: 'Noto Sans Devanagari', sans-serif;
    
    --container: 1240px;
    --header-height: 80px;
    --header-height-mobile: 70px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 4px 20px rgba(7, 26, 51, 0.05);
    --shadow-hover: 0 15px 30px rgba(7, 26, 51, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Fixed Horizontal Scroll on Mobile */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; margin: 0; padding: 0; position: relative; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }

/* Hindi Global Font Override */
body.hi { font-family: var(--font-hindi), var(--font-body); }
body.hi h1, body.hi h2, body.hi h3, body.hi h4, body.hi h5 { font-family: var(--font-hindi), var(--font-display); }

h1, h2, h3, h4, h5, p { overflow-wrap: break-word; word-wrap: break-word; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; color: var(--navy-dark); line-height: 1.3; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
section { padding: 96px 0; }
@media(max-width: 768px) { section { padding: 64px 0; } }
@media(max-width: 480px) { section { padding: 56px 0; } }

/* Shared Utilities */
.text-center { text-align: center; } .text-white { color: var(--white) !important; } .text-navy { color: var(--navy-dark) !important; } .text-gold { color: var(--gold) !important; } .text-blue { color: var(--blue-tech) !important; } .text-charcoal { color: var(--charcoal) !important; } .text-light { color: rgba(255,255,255,0.7) !important; }
.bg-navy { background-color: var(--navy-dark); } .bg-soft { background-color: var(--bg-soft); } .bg-white { background-color: var(--white); }
.mt-md { margin-top: 1.5rem; } .mt-xl { margin-top: 3rem; } .mb-md { margin-bottom: 1.5rem; } .mb-xl { margin-bottom: 2.5rem; }

.section-header { max-width: 800px; margin-bottom: 56px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; letter-spacing: -0.01em; color: inherit; }
.section-subtitle { font-size: clamp(16px, 2vw, 18px); color: #4A5568; line-height: 1.6; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; color: var(--gold); font-family: var(--font-display); }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s var(--ease); border: 1.5px solid transparent; white-space: nowrap; min-height: 48px; }
.btn-primary { background: var(--navy-dark); color: var(--white); } .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(7,26,51,0.15); }
.btn-gold { background: var(--gold); color: var(--navy-dark); } .btn-gold:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212,175,55,0.3); }
.btn-outline-dark { border-color: var(--grey-light); color: var(--navy-dark); } .btn-outline-dark:hover { border-color: var(--navy-dark); background: var(--navy-dark); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.3); color: var(--white); background: transparent; } .btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-3px); color: var(--white); }
@media(max-width: 600px) { .btn { width: 100%; } }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header.site-header { position: sticky; top: 0; z-index: 3000; background: var(--white); border-bottom: 1px solid var(--grey-light); transition: padding 0.3s var(--ease); }
header.site-header.scrolled { padding: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); transition: height 0.3s var(--ease); }
header.site-header.scrolled .nav-wrap { height: var(--header-height-mobile); }

.logo { display: flex; align-items: center; max-width: 220px; z-index: 3300; position: relative; flex-shrink: 1; min-width: 0; }
.logo img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.logo-fallback { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--navy-dark); }

.native-lang-switcher { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; background: var(--bg-soft); border-radius: 100px; padding: 4px 8px; border: 1px solid var(--grey-light); }
.native-lang-switcher a { padding: 4px 12px; border-radius: 100px; transition: 0.3s var(--ease); color: var(--charcoal); min-height: 36px; display: flex; align-items: center; justify-content: center; }
.native-lang-switcher a:hover { color: var(--navy-dark); }
.native-lang-switcher a.active { color: var(--navy-dark); font-weight: 700; background: var(--gold); }
.native-lang-switcher a.lang-hi { font-family: var(--font-hindi); font-size: 15px; }
.lang-divider { color: var(--grey-light); user-select: none; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list > li > a, .dropdown-toggle { font-size: 15px; font-weight: 500; color: var(--charcoal); display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 28px 0; background: transparent; border: none; }
.nav-list a:hover, .nav-list a.active, .dropdown-toggle:hover { color: var(--gold); }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown, .mega-menu { position: absolute; top: 100%; background: var(--white); border-radius: var(--radius-md); box-shadow: 0 15px 35px rgba(7,26,51,0.1); border: 1px solid var(--grey-light); opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); }
.dropdown { left: 0; min-width: 280px; padding: 16px; transform: translateY(10px); }
.mega-menu { min-width: 750px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px; left: 50%; transform: translateX(-50%) translateY(10px); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .mega-menu, .has-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dd-group h4 { font-size: 13px; color: var(--navy-dark); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; border-bottom: 1px solid var(--grey-light); padding-bottom: 8px; }
.dropdown a, .mega-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #5A6472; transition: 0.2s; }
.dropdown a:hover, .dropdown a:focus, .mega-menu a:hover, .mega-menu a:focus { background: var(--bg-soft); color: var(--gold); padding-left: 16px; outline: none; }

.biz-dd { min-width: 400px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.biz-dd-item { display: flex; flex-direction: column; padding: 12px; border-radius: 8px; border: 1px solid transparent; transition: 0.3s; }
.biz-dd-item:hover, .biz-dd-item:focus { background: var(--bg-soft); border-color: var(--grey-light); outline: none; }
.biz-dd-title { font-weight: 600; color: var(--navy-dark); font-size: 15px; margin-bottom: 4px; }
.biz-dd-desc { font-size: 12px; color: #5A6472; line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Mobile Menu Buttons */
.mobile-actions-wrapper { display: none; align-items: center; gap: 8px; margin-left: auto; }
.mobile-lang-switcher { padding: 4px 8px; min-height: 36px; border-radius: 8px; }
.mobile-lang-switcher a { min-height: 28px; padding: 2px 6px; font-size: 13px; }

.mobile-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 12px; z-index: 3200; }
.hamburger { display: block; width: 24px; height: 2px; background: var(--navy-dark); position: relative; transition: 0.3s; margin: 0 auto; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy-dark); transition: 0.3s; }
.hamburger::before { top: -8px; } .hamburger::after { bottom: -8px; }
.mobile-toggle[aria-expanded="true"] .hamburger { background: transparent; } 
.mobile-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); } 
.mobile-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; background: rgba(6, 17, 31, 0.65); backdrop-filter: blur(4px); z-index: 3050; opacity: 0; visibility: hidden; transition: 0.3s var(--ease); }
.nav-scrim.open { opacity: 1; visibility: visible; }

/* MOBILE RESPONSIVE NAV FIXES */
@media(max-width: 1024px) {
    .nav-wrap { height: var(--header-height-mobile); display: flex; align-items: center; } 
    .logo img { max-height: 40px; }
    .nav-cta { display: none; } 
    
    /* Strict Action Alignment */
    .mobile-actions-wrapper { 
        display: flex !important; 
        flex-direction: row !important; 
        flex-wrap: nowrap !important; 
        align-items: center !important; 
        gap: 12px !important; 
        margin-left: auto !important; 
        flex-shrink: 0; 
    }
    
    /* Strict Mobile Toggle Touch Target (48px) */
    .mobile-toggle { 
        display: flex !important; 
        align-items: center !important; 
        justify-content: center !important; 
        margin: 0 !important; 
        padding: 0 !important; 
        width: 48px !important; 
        height: 48px !important; 
        min-width: 48px !important;
        min-height: 48px !important;
        background: transparent !important;
    }
    
    .main-nav { position: fixed; top: var(--header-height-mobile); left: 0; right: 0; bottom: 0; background: var(--white); z-index: 3100; flex-direction: column; align-items: stretch; padding: 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s var(--ease); overflow-y: auto; border-top: 1px solid var(--grey-light); display: flex;}
    .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
    
    .nav-list { flex-direction: column; width: 100%; align-items: stretch; gap: 0; padding-bottom: 16px; margin-top: 16px; }
    .nav-list > li { width: 100%; border-bottom: 1px solid var(--grey-light); }
    .nav-list > li > a, .dropdown-toggle { padding: 16px 24px; width: 100%; justify-content: space-between; font-size: 16px; margin: 0; min-height: 56px; }
    
    .has-dropdown { position: relative; padding: 0; width: 100%; } 
    .dropdown, .mega-menu { position: static; opacity: 0; visibility: hidden; transform: none; box-shadow: none; border: none; padding: 0; display: none; min-width: 100%; margin-top: 0; border-radius: 0; background: var(--bg-soft); height: 0; overflow: hidden; transition: opacity 0.3s ease; }
    .has-dropdown.open .dropdown, .has-dropdown.open .mega-menu { display: block; opacity: 1; visibility: visible; height: auto; overflow: visible; }
    
    .biz-dd { padding: 0; }
    .biz-dd-item { border-radius: 0; border-bottom: 1px solid var(--grey-light); padding: 12px 24px 12px 40px; }
    .dropdown > a { padding: 12px 24px 12px 40px; border-radius: 0; border-bottom: 1px solid var(--grey-light); min-height: 48px; }
    
    .mega-menu { display: none; flex-direction: column; gap: 0; padding: 0; }
    .has-dropdown.open .mega-menu { display: flex; }
    .dd-group { padding: 16px 24px 0 24px; border-bottom: 1px solid var(--grey-light); padding-bottom: 16px; }
    .dd-group h4 { padding-left: 16px; }
    .dd-group a { padding: 10px 24px 10px 32px; min-height: 44px; display: flex; align-items: center; }
    
    .main-nav .nav-cta { display: flex; flex-direction: column; width: 100%; padding: 24px; gap: 16px; align-items: stretch; margin-top: auto; }
    .main-nav .nav-cta .btn { display: flex; }
    .main-nav .native-lang-switcher { align-self: center; margin-bottom: 8px; width: 100%; justify-content: center; background: var(--bg-soft); border-radius: 8px; padding: 8px; }
    .main-nav .native-lang-switcher a { flex: 1; text-align: center; }
    .nav-cta .native-lang-switcher { display: none !important; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer { background: var(--navy-dark); color: var(--white); padding: 80px 0 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-col-main { display: flex; flex-direction: column; gap: 32px; }
.footer-brand img { height: 60px; max-width: 250px; object-fit: contain; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,0.7); margin-bottom: 24px; max-width: 320px; line-height: 1.6; }
.footer-col button, .footer-col h5 { font-family: inherit; color: var(--white); font-size: 14px; margin-bottom: 20px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; display: flex; justify-content: space-between; align-items: center; border: none; background: transparent; padding: 0; width: 100%; text-align: left; cursor: default; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.7); transition: color 0.3s; display: inline-flex; align-items: center; min-height: 24px; }
.footer-col a:hover { color: var(--gold); transform: translateX(2px); }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.fb-text { font-size: 13px; color: rgba(255,255,255,0.5); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.fb-text a { color: rgba(255,255,255,0.5); transition: 0.3s; min-height: 32px; display: inline-flex; align-items: center;}
.fb-text a:hover { color: var(--white); }
.fb-social { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center;}
.fb-social a { color: rgba(255,255,255,0.8); font-weight: 600; font-size: 14px; transition: 0.3s; display: flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.fb-social a:hover { color: var(--gold); }
.footer-accordion-icon { display: none; width: 16px; height: 16px; transition: 0.3s; }

@media(max-width: 1200px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } .footer-col-main { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; flex-wrap: wrap; } }

/* Footer Mobile Gaps FIX */
@media(max-width: 768px) { 
    .footer-grid { display: flex; flex-direction: column; gap: 0 !important; padding-bottom: 24px; } 
    .footer-col-main { display: flex; flex-direction: column; gap: 0 !important; margin: 0 !important; } 
    .footer-brand { margin-bottom: 0 !important; padding-bottom: 24px !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
    .footer-brand img { height: 100px !important; }
    .footer-top-wrapper { display: flex !important; flex-direction: column !important; gap: 0 !important; }
    
    /* Clear inline double borders/margins */
    .footer-col { border: none !important; margin: 0 !important; padding: 0 !important; }
    .footer-col > div { border: none !important; margin: 0 !important; padding: 0 !important; }
    
    /* Target valid accordion wrappers directly */
    .footer-top-wrapper .footer-col,
    .footer-col > div,
    .footer-grid > .footer-col:nth-child(3),
    .footer-grid > .footer-col:nth-child(4),
    .footer-grid > .footer-col:nth-child(5) {
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .footer-col button, .footer-col h5 { margin: 0 !important; padding: 18px 0 !important; cursor: pointer; }
    .footer-accordion-icon { display: block; }
    
    .footer-col ul, .footer-col > div ul { display: none; padding-bottom: 20px; }
    .active > ul { display: block !important; }
    .active > .footer-acc-toggle .footer-accordion-icon { transform: rotate(180deg); }
}

@media(max-width: 480px) { 
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; gap: 24px;} 
    .fb-text { justify-content: center; } 
    .fb-social { flex-direction: column; gap: 12px; } 
}

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.floating-actions { 
    position: fixed; 
    bottom: 32px !important; 
    right: 20px !important; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    z-index: 99999 !important; 
    padding-bottom: env(safe-area-inset-bottom);
}
.fab { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease); border: none; cursor: pointer; position: relative; }
.fab:hover { transform: translateY(-4px); } 
.fab svg { width: 24px; height: 24px; fill: currentColor; }
.fab-up { background-color: var(--charcoal); opacity: 0; visibility: hidden; } 
.fab-up.visible { opacity: 1; visibility: visible; }
.fab-call { background-color: var(--blue-tech); } 
.fab-whatsapp { background-color: var(--whatsapp-green); }
.fab-whatsapp svg { width: 28px; height: 28px; }
@media(min-width: 1025px){
    .floating-actions { bottom: 24px !important; right: 24px !important; gap: 12px; }
    .fab { width: 56px; height: 56px; }
    .fab-whatsapp::before { content: attr(aria-label); position: absolute; right: 68px; background: var(--charcoal); color: var(--white); padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; opacity: 0; visibility: hidden; transition: 0.3s; white-space: nowrap; pointer-events: none; }
    .fab-whatsapp:hover::before { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }
@media(prefers-reduced-motion: reduce) { 
    .reveal-up { opacity: 1; transform: none; transition: none; } 
    * { animation-duration: 0.01ms !important; } 
    .float-anim { animation: none !important; transform: none !important; } 
}