/* ==========================================================================
   AAIRA ENTERPRISES LLP & AAIRA SECURITY SERVICES - OFFICIAL DESIGN SYSTEM
   Theme: Executive Light Theme - Royal Navy Blue (#0B2545) & Imperial Gold (#C59B27)
   Directly Matched with Official Logo Crest
   ========================================================================== */

:root {
    /* Brand Colors Derived from Official Logo */
    --navy-deep: #07182C;
    --navy-primary: #0B2545;
    /* Official Royal Navy from Logo Shield */
    --navy-surface: #11345E;
    --navy-light: #1A4677;
    --navy-card: #0F2A4A;
    --gold-primary: #C59B27;
    /* Official Imperial Warm Gold from Logo Wings */
    --gold-light: #ECC868;
    --gold-dark: #9A721C;
    --gold-gradient: linear-gradient(135deg, #ECC868 0%, #C59B27 50%, #9A721C 100%);
    --gold-gradient-hover: linear-gradient(135deg, #FFF0A8 0%, #ECC868 50%, #B88E28 100%);
    --gold-glow: 0 0 24px rgba(197, 155, 39, 0.25);
    --gold-border: rgba(197, 155, 39, 0.35);

    /* Light Theme Foundations (Eliminates Gloomy Dark Look) */
    --bg-light: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-alt: #F1F5F9;
    --bg-accent-blue: #EFF6FF;
    --border-light: #E2E8F0;
    --border-subtle: #CBD5E1;
    --text-main: #0F172A;
    /* Slate 900 for high readability */
    --text-muted: #475569;
    /* Slate 600 */
    --text-light: #F8FAFC;

    /* Spacing & Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.05);
    --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.12);
    --shadow-gold: 0 8px 30px rgba(197, 155, 39, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulseGold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.45);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(197, 155, 39, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(197, 155, 39, 0.3);
    }

    50% {
        border-color: rgba(197, 155, 39, 0.9);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPan {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes navBarEntry {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Utility animation classes */
.anim-fade-in-down {
    animation: fadeInDown 0.6s ease both;
}

.anim-fade-in-up {
    animation: fadeInUp 0.65s ease both;
}

.anim-fade-in-left {
    animation: fadeInLeft 0.6s ease both;
}

.anim-fade-in-right {
    animation: fadeInRight 0.6s ease both;
}

.anim-fade-in {
    animation: fadeIn 0.5s ease both;
}

.anim-scale-in {
    animation: scaleIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.anim-float {
    animation: float 3s ease-in-out infinite;
}

.anim-pulse-gold {
    animation: pulseGold 2.2s ease-in-out infinite;
}

/* Staggered delay helpers */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-800 {
    animation-delay: 0.8s;
}



/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Utility Helpers */
.text-gold {
    color: var(--gold-primary) !important;
}

.text-navy {
    color: var(--navy-primary) !important;
}

.bg-navy-deep {
    background-color: var(--navy-deep) !important;
    color: #fff;
}

.bg-navy-primary {
    background-color: var(--navy-primary) !important;
    color: #fff;
}

.bg-surface-light {
    background-color: var(--bg-light) !important;
}

.bg-surface-white {
    background-color: var(--bg-surface) !important;
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   TOP BAR (Executive Navy Accent Strip)
   ========================================================================== */
.top-bar {
    background-color: var(--navy-primary);
    border-bottom: 1px solid rgba(197, 155, 39, 0.3);
    font-size: 0.82rem;
    color: #CBD5E1;
    padding: 0.45rem 0;
    position: relative;
    z-index: 50;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}

.psara-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(197, 155, 39, 0.2);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.top-bar-corp-info {
    font-size: 0.8rem;
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #E2E8F0;
    font-weight: 600;
    font-size: 0.82rem;
}

.top-contact-link:hover {
    color: var(--gold-light);
}

.top-contact-link i {
    color: var(--gold-primary);
}

.top-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 155, 39, 0.5);
    color: #FFFFFF;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.78rem;
    transition: var(--transition);
}

.top-legal-link:hover {
    background: var(--gold-primary);
    color: var(--navy-deep);
}

/* ==========================================================================
   MAIN HEADER (Crisp Pure White - Seamless Logo Integration)
   ========================================================================== */
.main-header {
    background: #FFFFFF;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    z-index: 995 !important;
    transition: var(--transition);
    animation: navBarEntry 0.5s ease both;
}

.main-header.scrolled {
    box-shadow: 0 6px 30px rgba(11, 37, 69, 0.15);
    border-bottom-color: var(--gold-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 1rem;
    min-height: 80px;
}

/* Brand Logo (Seamless White Canvas) */
.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition);
}

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

.brand-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    background: transparent;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(11, 37, 69, 0.12));
}

.brand-logo-link:hover .brand-logo-img {
    filter: drop-shadow(0 4px 16px rgba(197, 155, 39, 0.35));
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: var(--navy-primary);
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-name span {
    color: var(--gold-primary);
}

.brand-tag {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.8rem;
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 1.6rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
    background: rgba(197, 155, 39, 0.08);
}

.nav-link i.arrow {
    font-size: 0.7rem;
    transition: transform 0.22s ease;
    color: var(--gold-primary);
}

.nav-item:hover .nav-link i.arrow {
    transform: rotate(180deg);
}

/* Special Featured Nav Link (Legal Documents) */
.nav-highlight-link {
    background: rgba(197, 155, 39, 0.12);
    border: 1px solid var(--gold-border);
    color: var(--navy-primary) !important;
    animation: borderGlow 2.5s ease-in-out infinite;
}

.nav-highlight-link:hover {
    background: var(--gold-primary) !important;
    color: var(--navy-deep) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.nav-highlight-link::after {
    display: none;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 250px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--gold-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 48px rgba(11, 37, 69, 0.14);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 200;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.dropdown-link:hover {
    color: var(--navy-primary);
    background: rgba(197, 155, 39, 0.07);
    border-left-color: var(--gold-primary);
    padding-left: 1.5rem;
}

.dropdown-link i {
    color: var(--gold-primary);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    transition: transform 0.2s ease;
}

.dropdown-link:hover i {
    transform: scale(1.2);
}

/* Mega Dropdown for All Services */
.dropdown-wide-trigger {
    position: static;
}

.mega-services-menu {
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    width: 660px;
    max-width: 95vw;
    padding: 1.25rem;
}

.nav-item.dropdown-wide-trigger:hover .mega-services-menu {
    transform: translateX(-50%) translateY(0) !important;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mega-col-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--navy-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 0.5rem 0.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-col .dropdown-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.84rem;
    border-radius: var(--radius-sm);
    border-left: none;
}

.mega-col .dropdown-link:hover {
    padding-left: 0.85rem;
    border-left: none;
}

.mega-menu-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    text-align: right;
}

.mega-view-all-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.mega-view-all-link:hover {
    color: var(--gold-dark);
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-gold-cta {
    background: var(--gold-gradient);
    color: #07182C !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: var(--shadow-gold);
    border: 1px solid #FFE488;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-gold-cta:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(197, 155, 39, 0.4);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy-primary) !important;
    border: 1.5px solid var(--navy-primary);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline-navy:hover {
    background: var(--navy-primary);
    color: #FFFFFF !important;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark) !important;
    border: 1.5px solid var(--gold-primary);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #07182C !important;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    color: var(--navy-primary);
    font-size: 1.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: var(--navy-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION (Light Theme & Elegant)
   ========================================================================== */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 69, 0.65);
    backdrop-filter: blur(4px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 84vw;
    height: 100%;
    background: #FFFFFF;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.32s;
    border-right: 3px solid var(--gold-primary);
    box-shadow: 10px 0 35px rgba(11, 37, 69, 0.2);
    color: var(--text-main);
}

.mobile-drawer-menu.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-light);
}

.mobile-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.mobile-drawer-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-primary);
    display: block;
}

.mobile-drawer-sub {
    font-size: 0.68rem;
    color: var(--gold-dark);
    font-weight: 700;
    display: block;
}

.mobile-drawer-close {
    background: var(--border-light);
    border: none;
    color: var(--navy-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-drawer-links {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow-y: auto;
    flex: 1;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-link:hover,
.mobile-link.active {
    background: var(--bg-alt);
    color: var(--gold-dark);
}

.mobile-link-featured {
    background: rgba(197, 155, 39, 0.12);
    border: 1px solid var(--gold-border);
    font-weight: 700;
}

.mobile-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-drawer-contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.mobile-contact-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-primary);
}

.mobile-contact-pill.whatsapp {
    color: #16A34A;
}

.mobile-reg-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.35;
}

/* ==========================================================================
   HERO BANNER SECTION (Refreshed Light Theme)
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 50%, #F8FAFC 100%);
    color: var(--text-main);
    padding: 4.5rem 0 4rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(197, 155, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 10% 85%, rgba(11, 37, 69, 0.04) 0%, transparent 45%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197, 155, 39, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--gold-dark);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.15rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy-primary);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 620px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-credentials-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.hero-cred-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--navy-primary);
    font-weight: 600;
}

.hero-cred-item i {
    color: var(--gold-primary);
    font-size: 1rem;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0 20px 45px -10px rgba(11, 37, 69, 0.15), 0 0 20px rgba(197, 155, 39, 0.15);
}

.hero-image-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-card:hover img {
    transform: scale(1.03);
}

.hero-image-floating-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.1);
}

.hero-image-floating-badge i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.floating-badge-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-primary);
}

.floating-badge-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   STATS / COUNTER SECTION (Crisp Light Card Strip)
   ========================================================================== */
.stats-strip {
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2.25rem 0;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 0.75rem 0.5rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-light);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy-primary);
}

.stat-subtext {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON STYLING
   ========================================================================== */
.section-padding {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: var(--navy-primary);
}

.section-title.white {
    color: #FFFFFF;
}

.section-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.section-desc.white {
    color: #CBD5E1;
}

/* ==========================================================================
   OVERVIEW SECTION
   ========================================================================== */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.overview-media-wrap {
    position: relative;
}

.overview-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 440px;
    object-fit: cover;
    border: 3px solid #FFFFFF;
}

.overview-experience-badge {
    position: absolute;
    bottom: -1.25rem;
    right: -1rem;
    background: var(--navy-primary);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.65rem;
    color: #FFFFFF;
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.exp-years {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.exp-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #CBD5E1;
}

.overview-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.75rem 0;
}

.ov-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ov-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(197, 155, 39, 0.15);
    border-radius: var(--radius-sm);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ov-feature-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy-primary);
}

.ov-feature-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.service-card-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.08);
}

.service-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(11, 37, 69, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-division-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.4rem;
}

.service-card-icon-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.service-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--navy-primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-deliverables-wrap {
    margin-bottom: 1.25rem;
}

.deliverables-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-primary);
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.deliverables-list {
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.deliverables-list li {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.service-learn-more {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.service-learn-more i {
    color: var(--gold-dark);
    transition: transform 0.2s ease;
}

.service-card:hover .service-learn-more {
    color: var(--gold-dark);
}

.service-card:hover .service-learn-more i {
    transform: translateX(4px);
}

/* Services Filter Tabs */
.services-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.svc-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.86rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.svc-filter-btn:hover,
.svc-filter-btn.active {
    background: var(--navy-primary);
    color: var(--gold-light);
    border-color: var(--navy-primary);
    box-shadow: var(--shadow-sm);
}

/* Universal Page Hero Banner (Executive Light Theme Matched to Official Logo) */
.page-hero-section,
.services-hero-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 50%, #F8FAFC 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border-light);
}

.page-hero-content,
.services-hero-content {
    max-width: 820px;
}

.page-hero-title,
.services-hero-title {
    font-size: 2.85rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.page-hero-subtitle,
.services-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}


.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
}

.breadcrumb-link {
    color: var(--navy-primary);
    font-weight: 600;
}

.breadcrumb-separator {
    font-size: 0.7rem;
    color: var(--border-subtle);
}

.breadcrumb-current {
    color: var(--gold-dark);
    font-weight: 700;
}

.services-charter-strip {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.charter-notice-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold-primary);
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}

.charter-notice-icon {
    font-size: 1.5rem;
    color: var(--gold-dark);
}

.charter-notice-text {
    flex: 1;
    font-size: 0.88rem;
    color: var(--navy-primary);
    line-height: 1.5;
}

.btn-charter-link {
    background: var(--navy-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-charter-link:hover {
    background: var(--gold-primary);
    color: var(--navy-deep);
}

/* ==========================================================================
   LEGAL DOCUMENTS SHOW PAGE STYLES
   ========================================================================== */
.legal-hero-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 50%, #F8FAFC 100%);
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-hero-content {
    max-width: 860px;
}

.legal-hero-title {
    font-size: 3rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.legal-hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.legal-meta-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-meta-badge {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

/* Deed Highlight Card (Official Parchment Record Styling) */
.deed-highlight-card {
    background: #FFFFFF;
    border: 2px solid var(--border-light);
    border-top: 4px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.deed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.deed-official-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(197, 155, 39, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.deed-entity-name {
    font-size: 2.15rem;
    color: var(--navy-primary);
    font-weight: 900;
    letter-spacing: 1px;
}

.deed-act-ref {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.deed-seal-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed var(--gold-primary);
    background: #FFFDF5;
    color: var(--gold-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
    gap: 0.2rem;
}

.deed-seal-badge i {
    font-size: 1.4rem;
    color: var(--gold-primary);
}

.deed-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.deed-clause-box {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    position: relative;
}

.clause-num-badge {
    display: inline-block;
    background: var(--navy-primary);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.clause-title {
    font-size: 1.25rem;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.clause-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.55;
}

.registered-address-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.address-pin-icon {
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

.address-main {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.4;
}

.address-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.clause-note {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.45;
}

.operational-offices-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.op-office-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.op-office-item i {
    margin-top: 0.25rem;
    font-size: 1rem;
}

.deed-business-scope {
    background: #FFFDF5;
    border: 1px solid rgba(197, 155, 39, 0.4);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.clause-intro {
    font-size: 0.95rem;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.scope-tags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.scope-tag-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(11, 37, 69, 0.04);
}

.scope-tag-card.wide-card {
    grid-column: span 3;
}

.scope-tag-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--navy-primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.scope-tag-card h4 {
    font-size: 0.98rem;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.scope-tag-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Document Cards Filter & Grid */
.doc-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.doc-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.86rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.doc-filter-btn:hover,
.doc-filter-btn.active {
    background: var(--navy-primary);
    color: var(--gold-light);
    border-color: var(--navy-primary);
}

.legal-documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.doc-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.doc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.75rem;
}

.doc-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.doc-status-badge {
    background: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.doc-card-body {
    padding: 1rem 1.5rem 1.5rem;
    flex: 1;
}

.doc-type-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.35rem;
}

.doc-title {
    font-size: 1.2rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    line-height: 1.35;
}

.doc-info-list {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.doc-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    gap: 1rem;
}

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-val {
    color: var(--navy-primary);
    font-weight: 600;
    text-align: right;
}

.strong-ref {
    color: var(--navy-primary);
    font-weight: 700;
    font-family: monospace;
    font-size: 0.85rem;
}

.doc-summary-text {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.doc-highlights-wrap {
    margin-top: 0.75rem;
    border-top: 1px dashed var(--border-light);
    padding-top: 0.75rem;
}

.highlights-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy-primary);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.highlights-list {
    list-style: none;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.highlights-list li {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.doc-card-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
}

.btn-doc-inspect {
    background: var(--navy-primary);
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-doc-inspect:hover {
    background: var(--gold-dark);
}

.btn-doc-verify {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-doc-verify:hover {
    border-color: var(--gold-primary);
    color: var(--gold-dark);
}

/* Compliance Guarantee Box */
.compliance-guarantee-section {
    background: var(--bg-light);
}

.compliance-guarantee-box {
    background: #FFFFFF;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.guarantee-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--navy-primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.guarantee-tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guarantee-title {
    font-size: 1.85rem;
    color: var(--navy-primary);
}

.guarantee-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.guarantee-item i {
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

.guarantee-item h4 {
    font-size: 1rem;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.guarantee-item p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.guarantee-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Certificate Preview Modal */
.cert-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cert-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cert-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 95%;
    max-width: 1040px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    border: 1px solid #E2E8F0;
    z-index: 5010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cert-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cert-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 12px 12px 0 0;
}

.cert-modal-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: #1E3A8A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

.cert-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.cert-modal-close {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #64748B;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.cert-modal-close:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #CBD5E1;
}

.cert-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cert-display-card {
    background: #FFFDF8;
    border: 2px dashed var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.cert-display-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(197, 155, 39, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.cert-modal-seal {
    height: 48px;
    width: auto;
}

.watermark-main {
    font-weight: 800;
    color: var(--navy-primary);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.watermark-sub {
    font-size: 0.68rem;
    color: var(--gold-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cert-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.cert-detail-item {
    font-size: 0.82rem;
}

.cert-detail-lbl {
    color: var(--text-muted);
    display: block;
    font-size: 0.75rem;
}

.cert-detail-val {
    font-weight: 700;
    color: var(--navy-primary);
}

.cert-detail-val.highlight-gold {
    color: var(--gold-dark);
    font-family: monospace;
}

.cert-summary-box {
    margin-bottom: 1.25rem;
}

.cert-summary-box h4 {
    font-size: 0.86rem;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.cert-summary-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cert-registered-office-box {
    font-size: 0.8rem;
    color: var(--navy-primary);
    border-top: 1px solid rgba(197, 155, 39, 0.3);
    padding-top: 0.75rem;
    line-height: 1.45;
}

.cert-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.75rem;
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 0 0 12px 12px;
    flex-wrap: wrap;
}

.cert-modal-footer .btn-gold-cta {
    background: var(--gold-gradient);
    color: #07182C !important;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cert-modal-footer .btn-gold-cta:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.cert-modal-footer .btn-close-modal {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    color: #334155;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.cert-modal-footer .btn-close-modal:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #94A3B8;
}

/* ==========================================================================
   CUSTOM CONTRACT / TENDER ADVISORY CTA BANNER
   ========================================================================== */
.custom-quote-banner {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-border);
}

.quote-banner-left {
    max-width: 680px;
}

.quote-banner-title {
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
}

.quote-banner-desc {
    font-size: 0.98rem;
    color: #CBD5E1;
    line-height: 1.6;
}

.quote-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.quote-banner-actions .btn-outline-navy {
    border-color: #CBD5E1;
    color: #FFFFFF !important;
}

.quote-banner-actions .btn-outline-navy:hover {
    background: #FFFFFF;
    color: var(--navy-deep) !important;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.industry-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: var(--navy-primary);
    color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.industry-card:hover .industry-icon-wrap {
    background: var(--gold-gradient);
    color: #07182C;
    transform: scale(1.08);
}

.industry-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.industry-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.industry-metric {
    display: inline-block;
    background: rgba(197, 155, 39, 0.12);
    border: 1px solid var(--gold-border);
    color: var(--gold-dark);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
}

/* ==========================================================================
   WHY CHOOSE AAIRA SECTION
   ========================================================================== */
.why-choose-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card-icon {
    font-size: 2.25rem;
    color: var(--gold-dark);
    margin-bottom: 1.25rem;
}

.why-card-title {
    color: var(--navy-primary);
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.why-card-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==========================================================================
   NETWORK & GALLERY
   ========================================================================== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.branch-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.branch-card.hq-card {
    border: 2px solid var(--gold-primary);
    background: #FFFDF8;
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.branch-hq-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-gradient);
    color: #07182C;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.branch-city {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.branch-state {
    font-size: 0.8rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.branch-address {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1rem;
}

.branch-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--navy-primary);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.branch-contact-item i {
    color: var(--gold-dark);
}

/* ==========================================================================
   PHOTO GALLERY & DEPLOYMENTS
   ========================================================================== */
.gallery-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2.75rem;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #475569;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gallery-tab-btn:hover {
    color: var(--navy-primary, #07182C);
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.gallery-tab-btn.active {
    background: var(--navy-primary, #07182C);
    color: #FFFFFF;
    border-color: var(--navy-primary, #07182C);
    box-shadow: 0 4px 14px rgba(7, 24, 44, 0.2);
}

.gallery-tab-btn.active::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light, #FBBF24);
    margin-left: 0.2rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 300px;
    background: #0B1D33;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.gallery-card.hidden {
    display: none !important;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(7, 24, 44, 0.2);
    border-color: var(--gold-primary, #D97706);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 24, 44, 0) 30%, rgba(7, 24, 44, 0.72) 65%, rgba(7, 24, 44, 0.96) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.35rem;
    color: #FFFFFF;
    transition: background 0.3s ease;
}

.gallery-card-badge {
    display: inline-block;
    font-size: 0.68rem;
    color: var(--gold-light, #FBBF24);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    align-self: flex-start;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.gallery-card-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.gallery-card-caption {
    font-size: 0.8rem;
    color: #CBD5E1;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .gallery-filter-tabs {
        border-radius: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.65rem;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   BLOG / ARTICLES
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.blog-card-media {
    height: 200px;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-category-badge {
    background: rgba(197, 155, 39, 0.15);
    color: var(--gold-dark);
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* ==========================================================================
   SLIDEOUT ENQUIRY DRAWER & FORMS
   ========================================================================== */
.slideout-tab-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold-gradient);
    color: #07182C;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1rem 0.55rem;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border: 1px solid #FFE68C;
    border-right: none;
    transition: var(--transition);
}

.slideout-tab-trigger:hover {
    background: var(--gold-gradient-hover);
    padding-right: 0.75rem;
}

.slideout-tab-trigger i {
    writing-mode: horizontal-tb;
    font-size: 1rem;
}

.enquiry-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 69, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.enquiry-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #FFFFFF;
    border-left: 3px solid var(--gold-primary);
    box-shadow: -10px 0 40px rgba(11, 37, 69, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-main);
}

.enquiry-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.drawer-header h3 {
    color: var(--navy-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-close-btn {
    background: var(--border-light);
    border: none;
    color: var(--navy-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-close-btn:hover {
    background: var(--gold-primary);
    color: #07182C;
}

.drawer-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.drawer-intro-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Form Controls */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.form-label .req {
    color: #DC2626;
}

.form-control {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
    background: #FFFFFF;
}

.phone-input-wrap {
    display: flex;
    align-items: center;
}

.phone-prefix {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0.65rem 0.8rem;
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 0.88rem;
}

.phone-input-wrap .form-control {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.form-feedback {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    line-height: 1.4;
}

.form-feedback.success {
    display: block;
    background: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
}

.form-feedback.error {
    display: block;
    background: #FEF2F2;
    border: 1px solid #EF4444;
    color: #991B1B;
}

/* Quick Consultation Quote Strip */
.quick-quote-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.quick-quote-card {
    background: #FFFFFF;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
}

.quote-form-row,
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quick-quote-contacts {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Universal Responsive Page Grids */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.founder-layout-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.training-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industries-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.compliance-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto 3.5rem;
}

.training-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.network-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-layout,
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
}

.industry-card-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* ==========================================================================
   FOOTER (Prestigious Navy Accent Foundation)
   ========================================================================== */
.main-footer {
    background: var(--navy-primary);
    color: #CBD5E1;
    border-top: 3px solid var(--gold-primary);
    padding-top: 4.5rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.footer-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: #FFFFFF;
    padding: 2px 4px;
    border-radius: var(--radius-sm);
}

.footer-brand-title {
    color: #FFFFFF;
    font-size: 1.35rem;
    letter-spacing: 1px;
}

.footer-brand-title span {
    color: var(--gold-light);
}

.footer-brand-sub {
    font-size: 0.72rem;
    color: #94A3B8;
    display: block;
    letter-spacing: 0.5px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 1.25rem;
}

.footer-compliance-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-psara-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(197, 155, 39, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-legal-badge:hover {
    background: var(--gold-primary);
    color: var(--navy-deep);
}

.footer-col-title {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 0.65rem;
}

.footer-links-list a {
    color: #CBD5E1;
    font-size: 0.86rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links-list a:hover {
    color: var(--gold-light);
    padding-left: 0.35rem;
}

.footer-links-list a i {
    font-size: 0.7rem;
    color: var(--gold-primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.86rem;
    color: #CBD5E1;
    line-height: 1.45;
}

.footer-contact-item i {
    color: var(--gold-primary);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: #94A3B8;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--gold-light);
}

/* Floating Quick Actions */
.floating-actions {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.float-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.3rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.float-btn.whatsapp {
    background: #16A34A;
}

.float-btn.phone {
    background: var(--navy-primary);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Back to Top SVG Circle */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--navy-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.back-to-top svg circle {
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 3;
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    transition: stroke-dashoffset 0.15s ease;
}

.back-to-top i {
    color: #FFFFFF;
    font-size: 1.1rem;
    z-index: 2;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (Eliminates Clumsy Header & Layouts)
   ========================================================================== */

/* Breakpoint 1: Medium Laptops / Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
    .desktop-nav {
        gap: 0.15rem;
    }

    .nav-link {
        padding: 0.5rem 0.65rem;
        font-size: 0.88rem;
    }

    .btn-gold-cta {
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
    }

    .btn-outline-navy {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .network-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
        gap: 2rem;
    }
}

@media (max-width: 1280px) {
    .top-bar-corp-info {
        display: none;
    }
}

/* Breakpoint 2: Tablets & Small Desktops (max-width: 1120px) */
/* Switch cleanly to mobile toggle to prevent any possible header overlap */
@media (max-width: 1120px) {
    .top-bar-corp-info {
        display: none;
    }

    .desktop-nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-inner {
        padding: 0.5rem 0;
    }

    .header-contact-btn {
        display: none !important;
    }

    .mega-services-menu {
        display: none;
    }
}

/* Breakpoint 3: Tablet Portrait (max-width: 992px) */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-credentials-row {
        justify-content: center;
    }

    .hero-image-card img {
        height: 380px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-media-wrap {
        max-width: 600px;
        margin: 0 auto;
    }

    .deed-grid {
        grid-template-columns: 1fr;
    }

    .scope-tags-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scope-tag-card.wide-card {
        grid-column: span 2;
    }

    .legal-documents-grid {
        grid-template-columns: 1fr;
    }

    .guarantee-features-grid {
        grid-template-columns: 1fr;
    }

    .custom-quote-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.75rem;
    }

    .quote-banner-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .network-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Breakpoint 4: Mobile Landscape & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .top-bar-left {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 0.35rem;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-tag {
        font-size: 0.62rem;
    }

    .brand-logo-img {
        height: 40px;
    }

    .header-cta-btn span {
        display: none;
    }

    .header-cta-btn {
        padding: 0.45rem 0.75rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-image-card img {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .network-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .scope-tags-grid {
        grid-template-columns: 1fr;
    }

    .scope-tag-card.wide-card {
        grid-column: span 1;
    }

    .quote-banner-actions {
        flex-direction: column;
    }

    .enquiry-drawer {
        max-width: 100%;
        right: -100%;
    }
}

/* Breakpoint 5: Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .deed-entity-name {
        font-size: 1.65rem;
    }

    .deed-highlight-card {
        padding: 1.5rem 1rem;
    }

    .compliance-guarantee-box {
        padding: 1.5rem 1rem;
    }

    .custom-quote-banner {
        padding: 2rem 1.25rem;
    }

    .quote-banner-title {
        font-size: 1.55rem;
    }

    .brand-name {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .brand-tag {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-credentials-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hero-image-card img {
        height: 250px;
    }

    .hero-image-floating-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   STATUTORY DOCUMENTS & OFFICIAL CHARTER SHOWCASE ENHANCEMENTS
   ========================================================================== */

/* Statutory KPI Grid Strip */
.statutory-kpi-bar-section {
    background: #FFFFFF;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--border-light);
}

.statutory-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.stat-kpi-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.stat-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.08);
    border-color: var(--gold-primary);
}

.stat-kpi-card.highlight-gold-border {
    border: 1.5px solid var(--gold-primary);
    background: #FFFDF5;
}

.stat-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--navy-primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-kpi-icon.gold-icon {
    background: var(--gold-gradient);
    color: var(--navy-primary);
}

.stat-kpi-body {
    display: flex;
    flex-direction: column;
}

.stat-kpi-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-kpi-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1.25;
}

.stat-kpi-sub {
    font-size: 0.78rem;
    color: var(--text-body);
    margin-top: 0.25rem;
}

/* Primary Document Showcase Grid (2x2) */
.primary-docs-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.primary-doc-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.primary-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.primary-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.primary-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.primary-doc-badge.security {
    background: rgba(11, 37, 69, 0.08);
    color: var(--navy-primary);
}

.primary-doc-badge.corporate {
    background: rgba(197, 155, 39, 0.12);
    color: var(--gold-dark);
}

.primary-doc-badge.letterhead {
    background: rgba(2, 132, 199, 0.1);
    color: #0284C7;
}

.primary-doc-badge.deed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.primary-doc-status {
    font-size: 0.8rem;
    font-weight: 700;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.primary-doc-body {
    padding: 1.5rem;
    flex: 1;
}

.primary-doc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.primary-doc-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.pdoc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.84rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed var(--border-light);
}

.pdoc-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pdoc-lbl {
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.pdoc-val {
    color: var(--navy-primary);
    font-weight: 600;
    text-align: right;
}

.primary-doc-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.btn-primary-doc-download,
.btn-doc-download-direct {
    background: var(--navy-primary);
    color: var(--gold-light);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary-doc-download:hover,
.btn-doc-download-direct:hover {
    background: var(--navy-light);
    color: #FFFFFF;
}

.btn-primary-doc-inspect {
    background: transparent;
    border: 1px solid var(--navy-primary);
    color: var(--navy-primary);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary-doc-inspect:hover {
    background: var(--navy-primary);
    color: #FFFFFF;
}

.letterhead-preview-container {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(11, 37, 69, 0.06);
    background: #FFFFFF;
}

.letterhead-preview-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.letterhead-preview-img:hover {
    transform: scale(1.02);
}

.deed-thumbs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.deed-thumb-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deed-thumb-img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
}

/* Jharkhand PSARA Conditions Grid */
.psara-conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.psara-condition-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(11, 37, 69, 0.04);
    transition: var(--transition);
}

.psara-condition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(11, 37, 69, 0.08);
}

.cond-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold-dark);
    background: rgba(197, 155, 39, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.psara-condition-card h4 {
    font-size: 1rem;
    color: var(--navy-primary);
    margin-bottom: 0.45rem;
}

.psara-condition-card p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive updates for statutory additions */
@media (max-width: 992px) {
    .statutory-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .primary-docs-showcase-grid {
        grid-template-columns: 1fr;
    }

    .psara-conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .psara-conditions-grid {
        grid-template-columns: 1fr;
    }

    .primary-doc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .pdoc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .pdoc-val {
        text-align: left;
    }
}

/* ==========================================================================
   SCROLL-REVEAL ANIMATION SYSTEM
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger grid children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.stagger-children.revealed>*:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: 0.05s;
}

.stagger-children.revealed>*:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: 0.12s;
}

.stagger-children.revealed>*:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: 0.19s;
}

.stagger-children.revealed>*:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: 0.26s;
}

.stagger-children.revealed>*:nth-child(5) {
    opacity: 1;
    transform: none;
    transition-delay: 0.33s;
}

.stagger-children.revealed>*:nth-child(6) {
    opacity: 1;
    transform: none;
    transition-delay: 0.40s;
}

.stagger-children.revealed>*:nth-child(7) {
    opacity: 1;
    transform: none;
    transition-delay: 0.47s;
}

.stagger-children.revealed>*:nth-child(8) {
    opacity: 1;
    transform: none;
    transition-delay: 0.54s;
}

.stagger-children.revealed>*:nth-child(n+9) {
    opacity: 1;
    transform: none;
    transition-delay: 0.60s;
}

/* ==========================================================================
   HERO SECTION ENTRY ANIMATIONS
   ========================================================================== */

.hero-badge {
    animation: fadeInDown 0.55s ease 0.1s both;
}

.hero-title {
    animation: fadeInUp 0.65s ease 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.65s ease 0.32s both;
}

.hero-cta-group {
    animation: fadeInUp 0.65s ease 0.44s both;
}

.hero-credentials-row {
    animation: fadeIn 0.7s ease 0.6s both;
}

.hero-image-card {
    animation: scaleIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.hero-image-floating-badge {
    animation: float 4s ease-in-out infinite;
}

/* Top bar & header entry */
.top-bar {
    animation: fadeInDown 0.4s ease both;
}

.main-header {
    animation: navBarEntry 0.5s ease both;
}

/* Logo floating animation */
.brand-logo-img {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   ENHANCED CARD HOVER EFFECTS (Overrides base)
   ========================================================================== */

.service-card:hover {
    transform: translateY(-10px) scale(1.01) !important;
    box-shadow: 0 24px 48px rgba(11, 37, 69, 0.15), 0 0 0 2px rgba(197, 155, 39, 0.3) !important;
}

.industry-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.14) !important;
}

.legal-doc-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.12), 0 0 0 2px var(--gold-primary) !important;
}

.statutory-kpi-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
}

.scope-tag-card:hover {
    transform: translateY(-5px) !important;
}

.network-card:hover {
    transform: translateY(-6px) !important;
}

.blog-card:hover {
    transform: translateY(-8px) !important;
}

/* CTA button ripple */
.btn-gold-cta {
    position: relative;
    overflow: hidden;
}

.btn-gold-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.btn-gold-cta:hover::before {
    width: 280px;
    height: 280px;
    opacity: 1;
}

/* Footer link hover */
.footer-link {
    transition: color 0.2s ease, padding-left 0.2s ease !important;
}

.footer-link:hover {
    color: var(--gold-light) !important;
    padding-left: 0.45rem !important;
}

/* PSARA condition card enhanced */
.psara-condition-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(11, 37, 69, 0.1) !important;
    border-left-color: var(--gold-light) !important;
}

/* Legal Docs page KPI card glow */
.statutory-kpi-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

/* ==========================================================================
   MOBILE RESPONSIVE HEADER FIXES
   ========================================================================== */

@media (max-width: 1120px) {
    .brand-logo-img {
        height: 52px;
        animation: none;
        /* disable float on mobile for performance */
    }

    .header-inner {
        min-height: 70px;
        padding: 0.4rem 0;
    }

    .brand-name {
        font-size: 1.08rem;
    }
}

@media (max-width: 640px) {
    .brand-logo-img {
        height: 42px;
    }

    .brand-name {
        font-size: 0.95rem;
        letter-spacing: 0.6px;
    }

    .brand-tag {
        display: none;
    }

    .top-bar-corp-info {
        display: none;
    }

    .psara-badge-top {
        font-size: 0.68rem;
        padding: 0.15rem 0.4rem;
    }

    .top-bar-right {
        gap: 0.65rem;
    }

    .top-contact-link {
        font-size: 0.76rem;
    }
}

/* ==========================================================================
   SINGLE OFFICE HEADQUARTERS SHOWCASE
   ========================================================================== */
.single-office-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

.single-office-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(11, 37, 69, 0.08);
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.single-office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(11, 37, 69, 0.13), 0 0 0 1px rgba(197, 155, 39, 0.3);
}

.single-office-main {
    padding: 2.5rem;
}

.single-office-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197, 155, 39, 0.1);
    color: var(--gold-dark);
    border: 1px solid rgba(197, 155, 39, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.single-office-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.single-office-subtitle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.single-office-subtitle .sub-unit {
    color: var(--gold-dark);
    font-weight: 700;
}

.single-office-subtitle .sub-dot {
    color: #CBD5E1;
}

.single-office-address-box {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFDF8 100%);
    border: 1.5px solid rgba(197, 155, 39, 0.35);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.address-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--navy-primary);
    color: var(--gold-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

.address-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold-dark);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.address-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.address-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.p-pill {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--navy-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.p-pill i {
    color: var(--gold-dark);
}

.single-office-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.so-feat-card {
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.25s ease;
}

.so-feat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.so-feat-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(11, 37, 69, 0.08);
    color: var(--navy-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.so-feat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.so-feat-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-primary);
    text-decoration: none;
    display: block;
    line-height: 1.25;
}

a.so-feat-val:hover {
    color: var(--gold-dark);
}

.single-office-aside {
    background: linear-gradient(180deg, #07182C 0%, #0B2545 100%);
    color: #FFFFFF;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.aside-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
    animation: pulseGold 2s infinite;
}

.aside-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.35;
    margin: 0;
}

.aside-desc {
    font-size: 0.85rem;
    color: #CBD5E1;
    line-height: 1.55;
    margin: 0;
}

.aside-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aside-compliance-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #94A3B8;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .single-office-card {
        grid-template-columns: 1fr;
    }

    .single-office-main {
        padding: 1.75rem;
    }

    .single-office-features {
        grid-template-columns: 1fr;
    }

    .single-office-aside {
        padding: 1.75rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ==========================================================================
   OUR CLIENTS SECTION & PAGE (Light Mode - Premium Styling)
   ========================================================================== */

/* Home Clients Section Header (Matched to Reference Screenshot) */
.home-clients-section {
    padding: 4.5rem 0;
    background: #FAFAFA;
    border-top: 1px solid #ECEFF1;
    border-bottom: 1px solid #ECEFF1;
}

.home-clients-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.clients-tag-square {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.clients-tag-square .square-dot {
    width: 9px;
    height: 9px;
    background: #B91C1C;
    display: inline-block;
    border-radius: 1px;
}

.home-clients-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
    margin: 0;
    position: relative;
    padding-bottom: 0.85rem;
    letter-spacing: -0.5px;
}

.home-clients-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 3px;
    background: #B91C1C;
    border-radius: 2px;
}

.home-clients-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1F2937;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.home-clients-readmore i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.home-clients-readmore:hover {
    color: #B91C1C;
}

.home-clients-readmore:hover i {
    transform: translateX(4px);
}

/* Home Clients Logo Cards Strip & Infinite Marquee */
.home-clients-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .home-clients-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .home-clients-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
}

/* Full-Width Continuous Client Logos Marquee */
.clients-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.clients-marquee-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
}

.clients-marquee-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    animation: clientsMarqueeLoop 30s linear infinite;
    will-change: transform;
}

.clients-marquee-wrapper:hover .clients-marquee-group {
    animation-play-state: paused;
}

@keyframes clientsMarqueeLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 1.5rem));
    }
}

.clients-marquee-group .home-client-card {
    min-width: 210px;
    max-width: 210px;
    height: 110px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .clients-marquee-group .home-client-card {
        min-width: 165px;
        max-width: 165px;
        height: 95px;
    }

    .clients-marquee-group {
        gap: 1rem;
        animation-duration: 22s;
    }

    .clients-marquee-track {
        gap: 1rem;
    }
}

.home-client-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 105px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.home-client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.home-client-logo {
    max-height: 48px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.home-client-card:hover .home-client-logo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.home-client-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #4B5563;
    margin-top: 0.5rem;
    text-align: center;
    letter-spacing: 0.2px;
}

/* Live Statutory / PSARA Ticker Marquee Bar */
.live-ticker-marquee-bar {
    background: #0B192C;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 44px;
    position: relative;
    z-index: 5;
}

.ticker-badge {
    background: var(--gold-gradient);
    color: #07182C;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

.ticker-dot {
    width: 7px;
    height: 7px;
    background: #DC2626;
    border-radius: 50%;
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.75);
    }
}

.ticker-marquee-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.ticker-marquee-track {
    display: flex;
    width: max-content;
}

.ticker-marquee-group {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-shrink: 0;
    animation: tickerMarqueeLoop 45s linear infinite;
    will-change: transform;
    padding-right: 2.25rem;
}

.live-ticker-marquee-bar:hover .ticker-marquee-group {
    animation-play-state: paused;
}

@keyframes tickerMarqueeLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    font-size: 0.82rem;
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ticker-item strong {
    color: #FFFFFF;
}

.ticker-divider {
    color: var(--gold-primary);
    font-size: 1rem;
    opacity: 0.8;
}

/* Internal Clients Page Styles */
.clients-page-hero {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border-bottom: 1px solid #E2E8F0;
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.clients-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1E3A8A;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.25rem;
}

.clients-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
}

.clients-hero-desc {
    font-size: 1.05rem;
    color: #475569;
    max-width: 720px;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.clients-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .clients-stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.clients-stat-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.clients-stat-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1E3A8A;
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
}

.clients-stat-lbl {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
}

/* Category Filter Tabs */
.client-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    background: #F1F5F9;
    padding: 0.4rem;
    border-radius: 10px;
}

.client-tab-btn {
    background: transparent;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.client-tab-btn:hover {
    color: #0F172A;
    background: rgba(255, 255, 255, 0.6);
}

.client-tab-btn.active {
    background: #FFFFFF;
    color: #1E3A8A;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Detailed Client Grid */
.clients-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 768px) {
    .clients-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .clients-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.client-card-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    position: relative;
}

.client-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #CBD5E1;
}

.client-card-logo-wrap {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 100%;
}

.client-card-logo-wrap img {
    max-height: 58px;
    max-width: 80%;
    object-fit: contain;
}

.client-card-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.4rem;
}

.client-card-category-badge {
    display: inline-block;
    background: #EFF6FF;
    color: #1E3A8A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    border: 1px solid #DBEAFE;
}

.client-card-item p {
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.client-card-metrics {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #059669;
    background: #ECFDF5;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    margin-top: auto;
}

/* Certificate Cards */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

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

.certificate-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #B91C1C;
}

.certificate-preview {
    height: 190px;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

.certificate-icon {
    font-size: 2.75rem;
    color: #D97706;
    margin-bottom: 0.5rem;
}

.certificate-badge-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #1E3A8A;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.certificate-info {
    padding: 1rem 1.25rem;
}

.certificate-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.25rem;
}

.certificate-meta {
    font-size: 0.78rem;
    color: #64748B;
}

/* Scoped Modal for Clients Page Certificate View */
.client-cert-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.client-cert-modal-backdrop.active {
    display: flex;
}

.client-cert-modal-box {
    background: #FFFFFF;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    border: 1px solid #E2E8F0;
    z-index: 5010;
}

.client-cert-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s ease;
}

.client-cert-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* ==========================================================================
   ENTERPRISE MOBILE RESPONSIVENESS & FLUID TYPOGRAPHY ENGINE
   Comprehensive multi-device support (Desktop, iPad/Tablet, Phablet, Mobile, Fold)
   ========================================================================== */

/* Universal Mobile Viewport & Word-Wrap Protections */
html,
body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.page-hero-title,
.section-title,
.section-heading,
.brand-name,
.hero-subtitle,
.page-hero-subtitle {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Base Responsive Typography Scaling */
@media (max-width: 1200px) {
    html {
        font-size: 15.5px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 14.5px;
    }

    /* iOS auto-zoom prevention on form inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 380px) {
    html {
        font-size: 14px;
    }
}

/* --------------------------------------------------------------------------
   FLUID HEADINGS & TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
.hero-title {
    font-size: clamp(1.65rem, 5vw + 0.5rem, 3.15rem) !important;
    line-height: 1.2 !important;
}

.page-hero-title,
.services-hero-title {
    font-size: clamp(1.55rem, 4.5vw + 0.4rem, 2.85rem) !important;
    line-height: 1.22 !important;
}

.section-title,
.section-heading,
.deed-entity-name {
    font-size: clamp(1.4rem, 3.8vw + 0.3rem, 2.45rem) !important;
    line-height: 1.25 !important;
}

.quote-banner-title {
    font-size: clamp(1.3rem, 3.2vw + 0.2rem, 2.1rem) !important;
    line-height: 1.3 !important;
}

.hero-subtitle,
.page-hero-subtitle,
.services-hero-subtitle,
.section-subtitle {
    font-size: clamp(0.92rem, 1.4vw + 0.2rem, 1.08rem) !important;
    line-height: 1.65 !important;
}

.stat-number {
    font-size: clamp(1.85rem, 4vw + 0.4rem, 2.85rem) !important;
    line-height: 1.1 !important;
}

.hero-badge,
.section-tag,
.psara-badge-top {
    font-size: clamp(0.7rem, 1vw + 0.3rem, 0.82rem);
    max-width: 100%;
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   BREAKPOINT: TABLET & SMALL DESKTOP (max-width: 1120px)
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
        background: #F1F5F9;
        border: 1px solid #CBD5E1;
        border-radius: 8px;
        color: var(--navy-primary);
        cursor: pointer;
    }

    .header-contact-btn {
        display: none !important;
    }

    .header-inner {
        min-height: 68px;
        padding: 0.35rem 0;
    }

    .brand-logo-img {
        height: 48px !important;
        animation: none !important;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: TABLET PORTRAIT (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .container {
        padding: 0 1.15rem;
    }

    .section-padding {
        padding: 3.5rem 0 !important;
    }

    /* Hero section centering & stacking */
    .hero-section {
        padding: 3.5rem 0 3rem !important;
    }

    .hero-inner {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        white-space: normal !important;
        text-align: center;
        display: inline-flex;
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 650px;
    }

    .hero-cta-group {
        justify-content: center !important;
    }

    .hero-credentials-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    .hero-media-wrapper {
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-image-card img {
        height: 320px !important;
        width: 100%;
        object-fit: cover;
    }

    /* Grid collapses on Tablet */
    .services-grid,
    .why-grid,
    .industries-grid,
    .network-grid,
    .gallery-grid,
    .blog-grid,
    .footer-grid,
    .statutory-kpi-grid,
    .primary-docs-showcase-grid,
    .stats-grid,
    .overview-grid,
    .deed-grid,
    .guarantee-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }

    .home-clients-strip {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .stat-item:not(:last-child)::after {
        display: none !important;
    }

    .custom-quote-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2.25rem 1.5rem !important;
    }

    .quote-banner-actions {
        width: 100% !important;
        justify-content: center !important;
    }

    .quick-quote-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .founder-layout-grid,
    .service-detail-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }

    .training-pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: MOBILE PHONES & PHABLETS (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 0.95rem !important;
    }

    .section-padding {
        padding: 2.75rem 0 !important;
    }

    /* Top bar stacking without overflow */
    .top-bar {
        padding: 0.5rem 0 !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    /* Clean compact top-bar on mobile */
    .top-bar {
        padding: 0.35rem 0 !important;
    }

    .top-bar-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.4rem !important;
        width: 100% !important;
    }

    .top-bar-left {
        width: auto !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .psara-badge-top {
        white-space: nowrap !important;
        text-align: left !important;
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
        padding: 0.18rem 0.45rem !important;
        width: auto !important;
        display: inline-flex !important;
    }

    .top-bar-corp-info {
        display: none !important;
    }

    .top-bar-right {
        width: auto !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 0.65rem !important;
    }

    .top-contact-link {
        font-size: 0.78rem !important;
    }

    .top-legal-link {
        font-size: 0.72rem !important;
        padding: 0.15rem 0.45rem !important;
    }

    /* Main Header */
    .header-inner {
        min-height: 58px !important;
        padding: 0.3rem 0 !important;
    }

    .brand-logo-img {
        height: 40px !important;
    }

    .brand-name {
        font-size: 0.95rem !important;
        letter-spacing: 0.4px !important;
    }

    .brand-tag {
        display: none !important;
    }

    .header-actions {
        gap: 0.45rem !important;
    }

    .header-cta-btn {
        padding: 0.45rem 0.7rem !important;
        font-size: 0.78rem !important;
        gap: 0.3rem !important;
    }

    /* Hide right-side vertical floating tab on mobile so it never covers page text */
    .slideout-tab-trigger {
        display: none !important;
    }

    /* Floating action buttons on mobile (compact & non-intrusive) */
    .floating-actions {
        left: 0.85rem !important;
        bottom: 1rem !important;
        gap: 0.5rem !important;
    }

    .float-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.15rem !important;
    }

    /* Ticker bar */
    .live-ticker-marquee-bar {
        height: 38px !important;
    }

    .ticker-badge {
        padding: 0 0.15rem !important;
        font-size: 0.46rem !important;
    }

    .ticker-item {
        font-size: 0.76rem !important;
    }

    /* Hero section */
    .hero-badge,
    .clients-hero-badge {
        display: none !important;
    }

    .hero-section {
        padding: 2.5rem 0 2rem !important;
    }

    .hero-image-card img {
        height: 240px !important;
    }

    .hero-image-floating-badge {
        position: static !important;
        margin-top: 0.85rem !important;
        width: 100% !important;
        box-shadow: var(--shadow-sm) !important;
    }

    /* Mobile Content Visibility: Guarantee all cards and elements load immediately */
    .stagger-children>*,
    .service-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Single column grid on Mobile */
    .services-grid,
    .why-grid,
    .industries-grid,
    .network-grid,
    .gallery-grid,
    .blog-grid,
    .footer-grid,
    .statutory-kpi-grid,
    .primary-docs-showcase-grid,
    .overview-grid,
    .deed-grid,
    .guarantee-features-grid,
    .scope-tags-grid,
    .quick-quote-grid,
    .vision-mission-grid,
    .founder-layout-grid,
    .equipment-grid,
    .training-pillars-grid,
    .industries-page-grid,
    .compliance-overview-grid,
    .training-stats-grid,
    .network-highlights-grid,
    .service-detail-layout,
    .blog-detail-layout,
    .legal-documents-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .founder-layout-grid img {
        max-width: 100% !important;
        height: auto !important;
        max-height: 380px !important;
    }

    .vision-mission-grid>div,
    .industries-page-grid>div,
    .compliance-overview-grid>div,
    .equipment-grid>div,
    .training-pillars-grid>div {
        padding: 1.5rem 1.15rem !important;
        border-radius: 14px !important;
    }

    .quick-quote-card {
        padding: 1.5rem 1.15rem !important;
        border-radius: 14px !important;
        box-shadow: var(--shadow-md) !important;
    }

    .quote-form-row,
    .form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .quick-quote-contacts {
        flex-direction: column !important;
        gap: 0.85rem !important;
    }

    .scope-tag-card.wide-card {
        grid-column: span 1 !important;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }

    .home-clients-strip {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Page Hero Sections on Internal Pages */
    .page-hero-section {
        padding: 2.25rem 0 1.75rem !important;
    }

    .breadcrumb-trail {
        flex-wrap: wrap !important;
        gap: 0.35rem !important;
        font-size: 0.8rem !important;
    }

    /* Dynamic Pages Card & Padding */
    .dynamic-page-card,
    .page-content-card {
        padding: 1.35rem 1rem !important;
        border-radius: var(--radius-md) !important;
        margin-top: 1.5rem !important;
    }

    .dynamic-page-card style,
    .dynamic-page-html-content {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    /* Gallery Filter Tabs - smooth horizontal swipeable chips */
    .gallery-filter-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none !important;
        justify-content: flex-start !important;
        padding: 0.45rem 0.6rem !important;
        border-radius: 12px !important;
        gap: 0.45rem !important;
        width: 100% !important;
        margin-bottom: 1.75rem !important;
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
    }

    .gallery-filter-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .gallery-tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        padding: 0.45rem 0.95rem !important;
        font-size: 0.82rem !important;
        border-radius: 50px !important;
    }

    /* Services Filter Tabs on Mobile */
    .services-filter-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 1.75rem !important;
        width: 100% !important;
    }

    .services-filter-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .svc-filter-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        padding: 0.45rem 1rem !important;
        font-size: 0.82rem !important;
    }

    /* Client Category Filter Tabs */
    .client-category-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.4rem !important;
    }

    .client-tab-btn {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.78rem !important;
    }

    /* Tables mobile scrollability */
    table,
    .adm-table,
    .legal-table,
    .governance-table,
    .document-meta-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Modals on Mobile */
    .client-cert-modal-box,
    .document-viewer-modal-box {
        width: 95vw !important;
        max-width: 95vw !important;
        padding: 1.35rem 1rem !important;
    }

    /* Enquiry Drawer */
    .enquiry-drawer {
        width: 100% !important;
        max-width: 100vw !important;
        right: -100% !important;
        padding: 1.5rem 1.15rem !important;
    }

    .enquiry-drawer.active {
        right: 0 !important;
    }

    /* Footer Bottom */
    .footer-bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem !important;
    }

    .footer-bottom-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: EXTRA-SMALL SMARTPHONES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem !important;
    }

    .section-padding {
        padding: 2.25rem 0 !important;
    }

    .brand-logo-img {
        height: 38px !important;
    }

    .brand-name {
        font-size: 0.9rem !important;
    }

    .header-cta-btn span {
        display: none !important;
    }

    .header-cta-btn {
        padding: 0.45rem 0.65rem !important;
    }

    .header-cta-btn i {
        font-size: 0.9rem !important;
    }

    /* Full width buttons in CTA groups */
    .hero-cta-group {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.65rem !important;
    }

    .hero-cta-group .btn-gold-cta,
    .hero-cta-group .btn-outline-navy,
    .hero-cta-group .btn-outline-gold,
    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0.65rem 1rem !important;
    }

    /* Credentials in 2 clean columns */
    .hero-credentials-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .hero-cred-item {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.5rem !important;
    }

    .hero-image-card img {
        height: 210px !important;
    }

    /* Stats in 1 column on small phones */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .stat-item {
        padding: 1rem !important;
    }

    .quote-banner-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.65rem !important;
    }

    .quote-banner-actions a,
    .quote-banner-actions button {
        width: 100% !important;
        justify-content: center !important;
    }

    .deed-highlight-card,
    .compliance-guarantee-box,
    .custom-quote-banner {
        padding: 1.35rem 0.85rem !important;
    }

    /* Marquee logo cards compact sizing */
    .clients-marquee-group .home-client-card {
        min-width: 135px !important;
        max-width: 135px !important;
        height: 80px !important;
        padding: 0.65rem 0.5rem !important;
    }

    .home-client-logo {
        max-height: 32px !important;
    }

    .home-client-name {
        font-size: 0.68rem !important;
    }

    /* Mobile drawer menu */
    .mobile-drawer-menu {
        width: 88vw !important;
        max-width: 88vw !important;
    }

    .mobile-drawer-header {
        padding: 1rem 0.85rem !important;
    }

    .mobile-drawer-links {
        padding: 0.75rem 0.85rem !important;
    }

    .mobile-drawer-footer {
        padding: 1rem 0.85rem !important;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: NARROW/FOLDABLE PHONES (max-width: 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .container {
        padding: 0 0.65rem !important;
    }

    .brand-logo-img {
        height: 34px !important;
    }

    .brand-name {
        font-size: 0.82rem !important;
    }

    .clients-grid {
        grid-template-columns: 1fr !important;
    }

    .home-clients-strip {
        grid-template-columns: 1fr !important;
    }

    .hero-credentials-row {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   CKEDITOR & RICH TEXT CONTENT TYPOGRAPHY ENGINE
   ========================================================================== */
    .rich-text-content,
    .rich-text-desc,
    .industry-desc,
    .doc-summary-text,
    .client-card-desc {
        line-height: 1.65;
    }

    .rich-text-content p,
    .rich-text-desc p,
    .industry-desc p,
    .doc-summary-text p,
    .client-card-desc p {
        margin: 0 0 0.65rem 0;
    }

    .rich-text-content p:last-child,
    .rich-text-desc p:last-child,
    .industry-desc p:last-child,
    .doc-summary-text p:last-child,
    .client-card-desc p:last-child {
        margin-bottom: 0;
    }

    .rich-text-content strong,
    .rich-text-desc strong,
    .industry-desc strong,
    .doc-summary-text strong,
    .client-card-desc strong {
        color: var(--navy-primary);
        font-weight: 700;
    }

    .rich-text-content ul,
    .rich-text-content ol {
        margin: 0.85rem 0 0.85rem 1.4rem;
        padding: 0;
    }

    .rich-text-content li {
        margin-bottom: 0.35rem;
    }

    .rich-text-content h2,
    .rich-text-content h3,
    .rich-text-content h4 {
        color: var(--navy-primary);
        margin: 1.5rem 0 0.75rem 0;
    }

/* ==========================================================================
   AAIRA BRAND ENTRANCE LOADER (Responsive Bombay Integrated Pattern)
   ========================================================================== */
body.loading {
    overflow: hidden !important;
    height: 100vh !important;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    pointer-events: none;
    overflow: hidden;
}

.logo-mask {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-mask picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.logo-mask img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform, opacity, filter;
    display: block;
}