/* ============================================================
   FUSION AUTOMATIONS — Premium Light Theme
   Brand Red  : #C8232A  (exact logo crimson)
   Brand Navy : #1C3F8F  (exact logo deep navy)
   ============================================================ */

:root {
    /* ── Core Brand ── */
    --red:           #C8232A;
    --red-dark:      #A81C22;
    --red-light:     #E8393F;
    --navy:          #1C3F8F;
    --navy-dark:     #0D1B3E;
    --navy-mid:      #142D6B;
    --navy-light:    #2650B5;

    /* ── Backgrounds (ALL LIGHT) ── */
    --bg-primary:    #F4F7FF;        /* cool white-blue page bg */
    --bg-surface:    #FFFFFF;
    --bg-surface2:   #EBF0FF;        /* soft navy-tinted section */
    --bg-footer:     #F0F4FF;

    /* ── Text Hierarchy ── */
    --text-primary:  #0D1B3E;        /* deep navy — headings */
    --text-heading:  #0D1B3E;
    --text-body:     #1A2E5C;        /* strong navy body */
    --text-muted:    #3A4F82;        /* medium navy-grey */
    --text-faint:    #6878A8;        /* soft — labels, captions */
    --text-light:    #FFFFFF;

    /* ── Borders ── */
    --border:        #CDD5F0;
    --border-red:    rgba(200,35,42,0.22);
    --border-navy:   rgba(28,63,143,0.22);

    /* ── Glows ── */
    --red-glow:      rgba(200,35,42,0.15);
    --navy-glow:     rgba(28,63,143,0.15);

    /* ── Gradients ── */
    --grad-brand:    #C8232A;
    --grad-brand-r:  #1C3F8F;
    --grad-hero:     #F4F7FF;
    --grad-red:      #C8232A;
    --grad-surface:  #FFFFFF;

    /* ── Glass ── */
    --glass-bg:      rgba(255,255,255,0.95);
    --glass-border:  rgba(28,63,143,0.15);

    /* legacy aliases */
    --brand-red:     #C8232A;
    --brand-blue:    #1C3F8F;
    --cyan:          #C8232A;
    --purple:        #1C3F8F;
    --bg-dark:       #0D1B3E;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; width: 100%; }

body {
    background: var(--bg-primary);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img, video, iframe, canvas, svg { max-width: 100%; height: auto; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-surface2); }
::-webkit-scrollbar-thumb {
    background: var(--grad-brand);
    border-radius: 10px;
}

/* ================================================================
   TEXT COLOR SYSTEM — Full hierarchy, beats Tailwind CDN
   ================================================================ */

body                    { color: var(--text-body); background: var(--bg-primary); }

/* Headings — deep navy, bold and prominent */
body h1, body h2,
body h3, body h4,
body h5, body h6        { color: var(--text-primary); font-weight: 700; }

/* Body text — strong readable navy */
body p                  { color: var(--text-muted); line-height: 1.75; }
body li                 { color: var(--text-muted); }
body span               { color: inherit; }
body a:not([class*="btn"]) { color: var(--text-body); }

/* Override Tailwind generic white/gray classes on light pages */
body .text-white        { color: var(--text-primary) !important; }
body .text-gray-50,
body .text-gray-100     { color: var(--text-primary) !important; }
body .text-gray-200,
body .text-gray-300     { color: var(--text-body) !important; }
body .text-gray-400     { color: var(--text-muted) !important; }
body .text-gray-500     { color: var(--text-muted) !important; }
body .text-gray-600     { color: var(--text-faint) !important; }
body .text-gray-700     { color: var(--text-faint) !important; }
body .text-slate-700    { color: var(--text-muted) !important; }

/* ── EXCEPTIONS: hero / dark sections keep white text ── */
body .hero-section-text,
body .hero-section-text *  { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body .hero-section-text .gradient-text { -webkit-text-fill-color: transparent !important; }

body .btn-primary,
body .btn-primary span,
body .btn-primary i        { color: #fff !important; -webkit-text-fill-color: #fff !important; }

body #loadingScreen,
body #loadingScreen *      { color: var(--text-primary) !important; -webkit-text-fill-color: var(--text-primary) !important; }

body footer,
body footer p,
body footer a,
body footer li,
body footer span,
body footer i              { color: var(--text-muted) !important; }
body footer h1,
body footer h2,
body footer h3,
body footer h4             { color: var(--text-primary) !important; }
body footer a:hover        { color: var(--red) !important; }

body .gradient-text        { color: transparent !important; -webkit-text-fill-color: transparent !important; }
body [class*="bg-gradient"] .text-white { color: #fff !important; }

body .swiper-button-next,
body .swiper-button-prev   { color: var(--red) !important; }

body .trust-badge          { color: var(--text-body) !important; }
body .category-pill,
body .blog-tag,
body .section-tag          { color: inherit !important; }
body #whatsappFloat span { color: var(--text-body) !important; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* ================================================================
   LOADING SCREEN — light theme
   ================================================================ */
#loadingScreen {
    background: #F7F8FC;
    color: var(--text-primary);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    animation: loaderAutoHide 0.6s ease-out 4s forwards;
}
#loadingScreen * { color: inherit !important; }
#loadingScreen.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
    display: none !important;
}
@keyframes loaderAutoHide {
    0%   { opacity:1; visibility:visible; pointer-events:auto; }
    100% { opacity:0; visibility:hidden;  pointer-events:none; }
}
.loading-progress { animation: loadProgress 2s ease-out forwards; }
@keyframes loadProgress { from{width:0} to{width:100%} }

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
    background: var(--red);
    border-bottom: 2px solid var(--red-dark);
    overflow: hidden;
    width: 100%;
}
.top-bar a, .top-bar span   { color: rgba(255,255,255,0.92) !important; }
.top-bar a:hover             { color: #fff !important; }
.top-bar i                   { color: rgba(255,220,220,0.9) !important; }

/* ================================================================
   NAVIGATION — White with bold red-navy accent
   ================================================================ */
#navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    max-width: 100%;
    background: #FFFFFF;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 2px 20px rgba(200,35,42,0.08), 0 1px 0 rgba(28,63,143,0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(200,35,42,0.14), 0 2px 8px rgba(28,63,143,0.08);
}

/* Nav links */
#navbar a.nav-link {
    color: var(--navy-dark) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 8px;
    transition: all 0.2s ease;
}
#navbar a.nav-link:hover {
    color: var(--red) !important;
    background: rgba(200,35,42,0.07) !important;
}
#navbar a.nav-link.active-link,
#navbar a.nav-link[style*="color:#C8232A"] {
    color: var(--red) !important;
    background: rgba(200,35,42,0.09) !important;
    font-weight: 700;
}

/* Mobile menu */
#mobileMenu {
    background: #fff;
    border-top: 2px solid rgba(200,35,42,0.2);
    width: 100%;
    overflow: hidden;
}
#mobileMenu a              { color: var(--navy-dark) !important; font-weight: 600; }
#mobileMenu a:hover        { color: var(--red) !important; background: rgba(200,35,42,0.07) !important; }

/* ================================================================
   GLASSMORPHISM CARDS
   ================================================================ */
.glass-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(28,63,143,0.06);
    transition: all 0.35s ease;
}
.glass-card:hover {
    border-color: var(--red);
    box-shadow: 0 10px 34px var(--red-glow), 0 2px 8px var(--navy-glow);
    transform: translateY(-5px);
}
.glass-card h3, .glass-card h4 { color: var(--text-primary) !important; }
.glass-card p               { color: var(--text-muted) !important; }

/* ================================================================
   GRADIENT TEXT
   ================================================================ */
.gradient-text {
    background: linear-gradient(135deg, #C8232A 0%, #1C3F8F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-warm {
    background: linear-gradient(135deg, #C8232A 0%, #E07020 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-navy {
    background: linear-gradient(135deg, #1C3F8F 0%, #2650B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   HERO SECTION — Bold navy-to-red diagonal gradient
   ================================================================ */
#hero {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    background: var(--grad-hero);
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28,63,143,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28,63,143,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* Hero text — dark for light hero bg */
.hero-title,
.hero-title span,
.hero-title span.text-white {
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}
.hero-title .gradient-text    { -webkit-text-fill-color: transparent !important; }
.hero-subtitle                { color: var(--text-body) !important; -webkit-text-fill-color: var(--text-body) !important; }
.hero-description             { color: var(--text-muted) !important; -webkit-text-fill-color: var(--text-muted) !important; }

/* ── Hero Slider ── */
.hero-slides-bg  { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0; transition: opacity 1.4s ease-in-out, transform 6s ease-out;
    will-change: opacity; transform: scale(1.03);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slides-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: rgba(244, 247, 255, 0.45);
    pointer-events: none;
}

/* Hero slider dots */
.hero-slider-dots {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 20; display: flex; gap: 8px; align-items: center;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(200,35,42,0.3); border: 1.5px solid rgba(200,35,42,0.5);
    cursor: pointer; transition: all 0.3s ease; padding: 0; outline: none;
}
.hero-dot.active {
    background: var(--red); border-color: var(--red); width: 26px; border-radius: 4px;
    box-shadow: 0 0 10px rgba(200,35,42,0.6);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
    background: var(--grad-brand);
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
    -webkit-text-fill-color: #fff !important;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(200,35,42,0.25);
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--grad-brand-r);
    opacity: 0; transition: opacity 0.3s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(200,35,42,0.35);
}
.btn-primary span, .btn-primary i {
    position: relative; z-index: 1;
    color: #fff !important; -webkit-text-fill-color: #fff !important;
}

.btn-outline {
    border: 2px solid var(--red);
    color: var(--red) !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: rgba(200,35,42,0.04);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.02em;
    -webkit-text-fill-color: initial !important;
}
.btn-outline:hover {
    background: var(--red);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(200,35,42,0.28);
}

.btn-navy {
    background: var(--navy);
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 4px 20px rgba(28,63,143,0.25);
}
.btn-navy:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(28,63,143,0.35);
}

/* ================================================================
   SECTION STYLES
   ================================================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,35,42,0.08);
    border: 1.5px solid rgba(200,35,42,0.25);
    color: var(--red) !important;
    -webkit-text-fill-color: var(--red) !important;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28,63,143,0.08);
    border: 1.5px solid rgba(28,63,143,0.25);
    color: var(--navy) !important;
    -webkit-text-fill-color: var(--navy) !important;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.9rem);
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    line-height: 1.2;
    word-break: break-word;
}
.section-title .gradient-text { -webkit-text-fill-color: transparent !important; }

.section-divider {
    width: 60px; height: 4px;
    background: var(--grad-brand);
    border-radius: 3px;
    margin: 14px auto 0;
}
.section-divider-left {
    width: 60px; height: 4px;
    background: var(--grad-brand);
    border-radius: 3px;
    margin: 14px 0 0;
}

/* ================================================================
   PAGE HERO BANNER
   ================================================================ */
.page-hero {
    padding: 110px 0 70px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--border-red);
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 2;
    background-image:
        linear-gradient(rgba(200,35,42,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28,63,143,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--red);
}
.page-hero > .container,
.page-hero > [class*="container"] { position: relative; z-index: 10; width: 100%; }

.page-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.6rem);
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    word-break: break-word;
}
.page-hero-title .gradient-text { -webkit-text-fill-color: transparent !important; }

.breadcrumb-item     { color: var(--text-muted); font-size: 0.875rem; }
.breadcrumb-item.active { color: var(--red); font-weight: 600; }
.breadcrumb-sep      { color: var(--text-faint); margin: 0 8px; }

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.service-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 30px 26px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 3px 12px rgba(28,63,143,0.06);
}
.service-card::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(200, 35, 42, 0.04);
    opacity: 0; transition: opacity 0.4s ease;
    border-radius: 22px;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    border-color: var(--red);
    transform: translateY(-7px);
    box-shadow: 0 18px 48px rgba(200,35,42,0.12), 0 4px 12px rgba(28,63,143,0.08);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { transform: scaleX(1); }

.service-card h3 { color: var(--text-primary) !important; font-weight: 700; }
.service-card p  { color: var(--text-muted) !important; }

.service-icon {
    width: 58px; height: 58px;
    background: rgba(200, 35, 42, 0.08);
    border: 2px solid rgba(200,35,42,0.18);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--red);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.service-card:hover .service-icon {
    background: rgba(28, 63, 143, 0.12);
    box-shadow: 0 0 20px rgba(200,35,42,0.2);
    color: var(--navy);
    border-color: rgba(28,63,143,0.3);
}

/* ================================================================
   STAT CARDS
   ================================================================ */
.stat-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 26px 18px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(28,63,143,0.06);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-brand);
}
.stat-card:hover {
    border-color: var(--red);
    box-shadow: 0 10px 30px rgba(200,35,42,0.14);
    transform: translateY(-4px);
}
.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-card p  { color: var(--text-body) !important; font-weight: 500; }

/* ================================================================
   BRAND SLIDER
   ================================================================ */
.brand-slide {
    display: flex; align-items: center; justify-content: center;
    padding: 16px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
    height: 80px;
}
.brand-slide:hover {
    background: rgba(200,35,42,0.04);
    border-color: var(--red);
    box-shadow: 0 4px 18px rgba(200,35,42,0.1);
}
.brand-slide .brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--text-muted) !important;
    -webkit-text-fill-color: var(--text-muted) !important;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}
.brand-slide:hover .brand-name {
    color: var(--red) !important;
    -webkit-text-fill-color: var(--red) !important;
}

/* ================================================================
   TESTIMONIAL CARDS
   ================================================================ */
.testimonial-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 30px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(28,63,143,0.06);
    transition: all 0.35s ease;
    position: relative;
}
.testimonial-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--grad-brand);
    border-radius: 22px 0 0 22px;
}
.testimonial-card:hover {
    border-color: var(--navy);
    box-shadow: 0 12px 36px rgba(28,63,143,0.12);
    transform: translateY(-4px);
}
.testimonial-card .quote-icon {
    font-size: 3rem;
    color: rgba(200,35,42,0.2);
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: 14px;
}
.testimonial-card p { color: var(--text-muted) !important; }

/* ================================================================
   CLIENT CARD
   ================================================================ */
.client-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(28,63,143,0.05);
}
.client-card:hover {
    background: rgba(200,35,42,0.03);
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(200,35,42,0.1);
}
.client-card p { color: var(--text-primary) !important; font-weight: 600; }

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.product-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(28,63,143,0.06);
}
.product-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(200,35,42,0.12);
}
.product-img-wrap {
    height: 200px;
    background: var(--bg-surface2);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.product-img-placeholder {
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    color: rgba(200,35,42,0.4);
}
.product-card h3 { color: var(--text-primary) !important; font-weight: 700; }
.product-card p  { color: var(--text-muted) !important; }

/* ================================================================
   BLOG CARDS
   ================================================================ */
.blog-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(200,35,42,0.1);
}
.blog-card .blog-img  { height: 200px; object-fit: cover; width: 100%; }
.blog-card h3 a,
.blog-card p          { color: var(--text-body) !important; }
.blog-card h3 a:hover { color: var(--red) !important; }

.blog-tag {
    display: inline-block;
    background: rgba(200,35,42,0.09);
    border: 1.5px solid rgba(200,35,42,0.22);
    color: var(--red) !important;
    -webkit-text-fill-color: var(--red) !important;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ================================================================
   JOB CARD
   ================================================================ */
.job-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    transition: all 0.35s ease;
    box-shadow: 0 3px 10px rgba(28,63,143,0.06);
}
.job-card:hover {
    border-color: var(--red);
    box-shadow: 0 14px 40px rgba(200,35,42,0.1);
    transform: translateY(-4px);
}
.job-card h3 { color: var(--text-primary) !important; font-weight: 700; }

/* ================================================================
   TRUST BADGE
   ================================================================ */
.trust-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(28,63,143,0.06);
    border: 1.5px solid rgba(28,63,143,0.18);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    color: var(--text-body) !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}
.trust-badge:hover {
    background: rgba(200,35,42,0.08);
    border-color: rgba(200,35,42,0.3);
    color: var(--red) !important;
    box-shadow: 0 4px 14px rgba(200,35,42,0.1);
}

/* ================================================================
   CATEGORY PILLS
   ================================================================ */
.category-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.category-gov  { background: rgba(200,120,20,0.1);  color: #9A5010 !important; border: 1.5px solid rgba(200,120,20,0.25); }
.category-edu  { background: rgba(200,35,42,0.09);  color: var(--red-dark) !important; border: 1.5px solid rgba(200,35,42,0.22); }
.category-corp { background: rgba(28,63,143,0.09);  color: var(--navy) !important; border: 1.5px solid rgba(28,63,143,0.22); }

/* ================================================================
   CONTACT FORM
   ================================================================ */
.form-field {
    width: 100%;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
    -webkit-appearance: none;
    appearance: none;
}
.form-field::placeholder { color: var(--text-faint); }
.form-field:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(200,35,42,0.1);
    background: #FFFAFA;
}
.form-label {
    display: block;
    color: var(--text-body);
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 7px;
}
select.form-field option { background: white; color: var(--text-primary); }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: 14px; aspect-ratio: 1; cursor: pointer;
    border: 2px solid var(--border);
    transition: border-color 0.3s ease;
}
.gallery-item:hover { border-color: var(--red); }
.gallery-item img   { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(200, 35, 42, 0.85);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ================================================================
   LIGHTBOX
   ================================================================ */
#lightbox {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(244, 247, 255, 0.95);
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(12px); padding: 20px;
}
#lightbox.active { display: flex; }
#lightboxImg { max-width: min(90vw,900px); max-height: 85vh; object-fit: contain; border-radius: 14px; }

/* ================================================================
   FILTER TABS
   ================================================================ */
.filter-tab {
    padding: 7px 20px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
    border: 2px solid var(--border);
    color: var(--text-body);
    background: white;
    white-space: nowrap;
}
.filter-tab.active, .filter-tab:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 4px 16px rgba(200,35,42,0.28);
}

/* ================================================================
   SWIPER
   ================================================================ */
.swiper { overflow: hidden !important; width: 100%; }
.swiper-pagination-bullet         { background: rgba(200,35,42,0.3) !important; }
.swiper-pagination-bullet-active  { background: var(--red) !important; }
.swiper-button-next, .swiper-button-prev {
    color: var(--red) !important;
    background: rgba(200,35,42,0.08);
    width: 42px !important; height: 42px !important;
    border-radius: 50%;
    border: 2px solid rgba(200,35,42,0.25);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--red);
    color: #fff !important;
    border-color: var(--red);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 14px !important; }

/* ================================================================
   ACCORDION
   ================================================================ */
.accordion-btn {
    transition: color 0.2s ease;
    width: 100%;
    text-align: left;
    color: var(--text-primary) !important;
    font-weight: 600;
}
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.accordion-content.open { max-height: 500px; }
.accordion-content p { color: var(--text-muted) !important; }

/* ================================================================
   DIVIDERS (duplicate-safe)
   ================================================================ */
.section-divider {
    width: 60px; height: 4px;
    background: var(--grad-brand);
    border-radius: 3px; margin: 14px auto 0;
}
.section-divider-left {
    width: 60px; height: 4px;
    background: var(--grad-brand);
    border-radius: 3px; margin: 14px 0 0;
}

/* ================================================================
   ALERTS
   ================================================================ */
.alert-success {
    background: rgba(16,185,129,0.08);
    border: 1.5px solid rgba(16,185,129,0.28);
    color: #065f46;
    padding: 14px 18px; border-radius: 12px; margin-bottom: 16px;
}
.alert-error {
    background: rgba(200,35,42,0.08);
    border: 1.5px solid rgba(200,35,42,0.28);
    color: var(--red-dark);
    padding: 14px 18px; border-radius: 12px; margin-bottom: 16px;
}

/* ================================================================
   FLOATING ELEMENTS
   ================================================================ */
.float-animation         { animation: float 6s ease-in-out infinite; }
.float-animation-delayed { animation: float 6s ease-in-out 2s infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

#whatsappFloat { animation: whatsappPulse 3s ease-in-out infinite; }
@keyframes whatsappPulse {
    0%,100% { box-shadow: 0 0 20px rgba(37,211,102,0.3); }
    50%      { box-shadow: 0 0 44px rgba(37,211,102,0.55); }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes scaleIn { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }

/* ================================================================
   FOOTER — light background
   ================================================================ */
footer {
    background: var(--bg-footer) !important;
    color: var(--text-body);
    border-top: 3px solid var(--red);
}
footer h4   { color: var(--text-primary) !important; -webkit-text-fill-color: var(--text-primary) !important; font-weight: 700; }
footer p, footer a,
footer li, footer span { color: var(--text-muted) !important; -webkit-text-fill-color: var(--text-muted) !important; }
footer a:hover          { color: var(--red) !important; -webkit-text-fill-color: var(--red) !important; }
footer .text-white      { color: var(--text-primary) !important; -webkit-text-fill-color: var(--text-primary) !important; }
footer .gradient-text   { -webkit-text-fill-color: transparent !important; }
footer .section-tag     { color: var(--red) !important; -webkit-text-fill-color: var(--red) !important; }
footer .section-title   { color: var(--text-primary) !important; -webkit-text-fill-color: var(--text-primary) !important; }
footer .section-title .gradient-text { -webkit-text-fill-color: transparent !important; }
footer .btn-primary *   { color: #fff !important; -webkit-text-fill-color: #fff !important; }
footer .btn-outline     { color: var(--red) !important; -webkit-text-fill-color: var(--red) !important; }

/* Footer text on light bg — override Tailwind gray classes */
footer .text-gray-400   { color: var(--text-faint) !important; }
footer .text-gray-500   { color: var(--text-faint) !important; }
footer .text-gray-600   { color: var(--text-muted) !important; }

/* ================================================================
   GRADIENT BORDER UTILITY
   ================================================================ */
.gradient-border { position: relative; }
.gradient-border::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--red);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ================================================================
   HIGHLIGHT CHIPS / BADGES (new utility)
   ================================================================ */
.badge-red {
    display: inline-block;
    background: rgba(200,35,42,0.1);
    border: 1.5px solid rgba(200,35,42,0.25);
    color: var(--red) !important;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-navy {
    display: inline-block;
    background: rgba(28,63,143,0.1);
    border: 1.5px solid rgba(28,63,143,0.25);
    color: var(--navy) !important;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Icon accent color */
.icon-red   { color: var(--red) !important; }
.icon-navy  { color: var(--navy) !important; }

/* ================================================================
   COUNTER
   ================================================================ */
.counter-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    color: var(--text-primary);
}

/* ================================================================
   HIGHLIGHT ROWS / FEATURE STRIPS
   ================================================================ */
.highlight-strip {
    background: #F0F4FF;
    border-top: 2px solid var(--border-red);
    border-bottom: 2px solid var(--border-navy);
}

/* ================================================================
   SECTION BACKGROUNDS (alternating)
   ================================================================ */
.bg-section-alt {
    background: var(--bg-surface2);
}
.bg-section-dark {
    background: var(--bg-surface2);
}
.bg-section-dark h2,
.bg-section-dark h3,
.bg-section-dark p,
.bg-section-dark span { color: var(--text-body) !important; }
.bg-section-dark h2,
.bg-section-dark h3   { color: var(--text-primary) !important; -webkit-text-fill-color: var(--text-primary) !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
section { overflow: hidden; width: 100%; max-width: 100vw; }
header, nav, footer { width: 100%; max-width: 100vw; overflow: hidden; }

@media (max-width: 1024px) {
    .float-animation, .float-animation-delayed { display: none !important; }
}
@media (max-width: 768px) {
    .page-hero              { padding: 80px 0 40px; }
    .page-hero-title        { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .section-title          { font-size: clamp(1.5rem, 6vw, 2.1rem); }
    .service-card           { padding: 22px 18px; }
    .stat-card              { padding: 20px 14px; }
    .testimonial-card       { padding: 22px 18px; }
    .hero-ctas              { flex-direction: column; gap: 12px !important; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline { width: 100%; justify-content: center; }
    #whatsappFloat span     { display: none; }
    .swiper-button-next,
    .swiper-button-prev     { display: none !important; }
    .glass-card:hover, .service-card:hover,
    .product-card:hover, .blog-card:hover, .job-card:hover { transform: none; }
}
@media (max-width: 480px) {
    .container              { padding-left: 14px; padding-right: 14px; }
    .section-title          { font-size: 1.5rem; }
    .stat-number            { font-size: 1.9rem; }
    .brand-slide            { height: 68px; padding: 12px 8px; }
    .btn-primary, .btn-outline { padding: 12px 22px; font-size: 0.85rem; }
}
