/* ================================================================
   POLITYX CONSULTING — ENHANCEMENTS CSS
   Live Ticker, Theme Toggle, Language Switcher, Media Marquee,
   Brain Trust Grid, Lead Magnet, WhatsApp Float
   ================================================================ */

/* --- CSS VARIABLES FOR THEMES --- */
[data-theme="dark"] {
    --bg-primary: #000229;
    --bg-secondary: #000445;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --saffron: #FF6B35;
    --saffron-light: rgba(255, 107, 53, 0.1);
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.15);
}

:root {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1a24;
    --text-secondary: #4a4a5a;
    --border-color: rgba(0, 0, 0, 0.1);
    --saffron: #e65c27;
    --saffron-light: rgba(230, 92, 39, 0.1);
    --gold: #b39129;
    --gold-glow: rgba(179, 145, 41, 0.15);
}

/* Base theme overrides */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

section { background-color: transparent; }
.about-section, .impact-section, .why-section, .brain-trust-section, .lead-magnet-section {
    background-color: var(--bg-secondary);
}
.expertise-card, .campaign-item, .impact-card, .why-card, .bt-card, .media-quote-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}
.section-title, .about-content h2, .expertise-card h3, .campaign-item h3, .impact-card h3, .why-card h3, .bt-card h3 {
    color: var(--text-primary);
}
.section-desc, .about-text p, .expertise-card p, .campaign-item p, .why-card p, .bt-card p {
    color: var(--text-secondary);
}

/* Light mode specific overrides */
html:not([data-theme="dark"]) .hero-title, html:not([data-theme="dark"]) .hero-subtitle, html:not([data-theme="dark"]) .hero-tag {
    color: #ffffff; /* Keep hero text white due to background image */
}
html:not([data-theme="dark"]) .side-nav { background: #ffffff; border-right: 1px solid var(--border-color); }
html:not([data-theme="dark"]) .nav-link { color: var(--text-secondary); }
html:not([data-theme="dark"]) .nav-link.active { background: var(--saffron-light); color: var(--saffron); }
html:not([data-theme="dark"]) .nav-link:hover { color: var(--text-primary); }
html:not([data-theme="dark"]) .side-nav-logo span { color: var(--text-primary); }
html:not([data-theme="dark"]) .expertise-card, html:not([data-theme="dark"]) .why-card, html:not([data-theme="dark"]) .bt-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
html:not([data-theme="dark"]) .lm-form-wrapper {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
html:not([data-theme="dark"]) .section-eyebrow.light, html:not([data-theme="dark"]) .section-title.light, html:not([data-theme="dark"]) .section-desc.light {
    color: var(--text-primary);
}
html:not([data-theme="dark"]) .section-desc.light { color: var(--text-secondary); }

/* --- 1. LIVE PULSE TICKER --- */
.live-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--saffron);
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.ticker-live-badge {
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    z-index: 2;
    position: relative;
    border-right: 2px solid rgba(255,255,255,0.2);
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.ticker-track-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }
.ticker-track.paused { animation-play-state: paused; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Assuming content is duplicated via JS */
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 15px;
}

.ticker-item i { color: #fff; opacity: 0.8; }
.ticker-sep { color: rgba(255,255,255,0.4); font-size: 0.7rem; }

.ticker-controls {
    display: flex;
    align-items: center;
    height: 100%;
    background: rgba(0,0,0,0.15);
    padding: 0 15px;
    gap: 15px;
    z-index: 2;
    position: relative;
}

.ticker-pause-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.2s;
}
.ticker-pause-btn:hover { opacity: 1; transform: scale(1.1); }

/* --- 2 & 3. THEME & LANG TOGGLES --- */
.theme-toggle {
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
    transition: 0.3s;
}
.theme-toggle:hover { opacity: 1; transform: rotate(30deg); }

.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(0,0,0,0.2);
    padding: 3px;
    border-radius: 4px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: #fff; color: var(--saffron); }

/* Adjust main body for ticker */
body { margin-top: 40px; }
#side-nav { top: 40px; height: calc(100vh - 40px); }
.mobile-header { top: 40px; }
.mobile-nav-overlay { top: 100px; } /* 40 + 60 */

.mob-lang-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.lang-btn-mob {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
}
.lang-btn-mob.active { background: var(--saffron); border-color: var(--saffron); }


/* --- 4. BRAIN TRUST (TEAM) SECTION --- */
.brain-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.bt-card {
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.bt-card:hover { border-color: var(--saffron); transform: translateY(-5px); }

.bt-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bt-icon {
    font-size: 2rem;
    color: var(--saffron);
    position: relative;
    z-index: 2;
}
.bt-pulse-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid var(--saffron-light);
    border-radius: 50%;
    animation: pulseRing 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.bt-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 5px; }
.bt-role { color: var(--gold); font-size: 0.9rem; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.bt-card p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }

.bt-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.bt-skills span {
    background: var(--saffron-light);
    color: var(--saffron);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.bt-bottom-banner {
    margin-top: 50px;
    background: linear-gradient(90deg, var(--saffron), #ff8c42);
    border-radius: 12px;
    padding: 30px;
    color: #fff;
}
.bt-banner-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.bt-banner-stat { text-align: center; }
.bt-stat-num { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 5px; }
.bt-stat-label { font-size: 0.9rem; font-weight: 500; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }
.bt-banner-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
    .bt-banner-divider { display: none; }
    .bt-banner-stat { width: 45%; }
}


/* --- 5. MEDIA / PRESS SECTION --- */
.media-section {
    background: #000; /* Always dark for media punch */
    padding: 80px 0;
    overflow: hidden;
}
html:not([data-theme="dark"]) .media-section { background: #111; }

.media-marquee-wrapper {
    margin: 50px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}
/* Gradient masks for marquee */
.media-marquee-wrapper::before, .media-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
}
.media-marquee-wrapper::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.media-marquee-wrapper::after { right: 0; background: linear-gradient(to left, #000, transparent); }

.media-marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}
.media-marquee:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls exactly half, seamlessly repeats */
}

.media-logo-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px 30px;
    margin: 0 15px;
    min-width: 180px;
    text-align: center;
    transition: 0.3s;
    filter: grayscale(100%);
    opacity: 0.7;
}
.media-logo-card:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

.ml-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 5px;
}
/* Fake brand colors on hover */
.media-logo-card:hover .ndtv { color: #e53935; }
.media-logo-card:hover .republic { color: #ff1744; }
.media-logo-card:hover .aajtak { color: #d32f2f; }
.media-logo-card:hover .thehindu { color: #f5f5f5; }
.ml-sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

.media-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.media-quote-card {
    padding: 30px;
    border-left: 3px solid var(--saffron);
}
.mq-icon { color: rgba(255, 107, 53, 0.3); font-size: 2rem; margin-bottom: 15px; }
.media-quote-card p { font-style: italic; font-size: 1.1rem; line-height: 1.7; color: #eee; margin-bottom: 20px; }
.mq-source { color: var(--gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }


/* --- 6. LEAD MAGNET SECTION --- */
.lead-magnet-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.lm-bg-glow {
    position: absolute;
    top: 50%; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--saffron-light) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 0;
}
.lm-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--saffron-light);
    color: var(--saffron);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.lm-title { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
.lm-desc { font-size: 1.1rem; line-height: 1.7; margin-bottom: 30px; }

.lm-features { margin-bottom: 40px; }
.lm-feature { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.lm-feature i { color: var(--gold); font-size: 1.2rem; }

.lm-doc-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.ldp-page {
    width: 40px; height: 50px;
    background: #fff;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: #333; font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: rotate(-5deg);
}
.ldp-page:nth-child(2) { transform: rotate(0deg) scale(1.1); z-index: 2; margin: 0 -10px; }
.ldp-page:nth-child(3) { transform: rotate(5deg); }
.lm-doc-preview span { font-weight: 600; margin-left: 10px; color: var(--gold); }

.lm-form-wrapper {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
}
/* Ensure form border respects light theme */
html:not([data-theme="dark"]) .lm-form-wrapper { border-color: rgba(0,0,0,0.05); }

.lm-form-header { text-align: center; margin-bottom: 30px; }
.lm-form-header i { font-size: 2rem; color: var(--saffron); margin-bottom: 10px; }
.lm-form-header h3 { font-size: 1.5rem; margin-bottom: 5px; }
.lm-form-header p { font-size: 0.85rem; color: var(--text-secondary); }

.lm-form .form-group { margin-bottom: 20px; }
.lm-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.lm-form input, .lm-form select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    transition: 0.3s;
}
html:not([data-theme="dark"]) .lm-form input, html:not([data-theme="dark"]) .lm-form select { background: #f8f9fa; }
.lm-form input:focus, .lm-form select:focus { border-color: var(--saffron); outline: none; }
.lm-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--saffron);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s;
}
.lm-submit-btn:hover { background: #e65c27; transform: translateY(-2px); }
.lm-privacy { text-align: center; font-size: 0.75rem; color: var(--text-secondary); margin-top: 15px; }

.lm-success {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 30px; z-index: 10;
}
.lm-success i { font-size: 4rem; color: #4CAF50; margin-bottom: 20px; }

@media (max-width: 992px) {
    .lm-grid { grid-template-columns: 1fr; }
    .lm-bg-glow { display: none; }
}


/* --- 7. WHATSAPP FLOAT BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Kept on left so it doesn't clash with back-to-top on right */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

.waf-ripple {
    position: absolute;
    width: 100%; height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: waRipple 2s ease-out infinite;
}
.waf-ripple-2 { animation-delay: 1s; }

@keyframes waRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.waf-tooltip {
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.waf-tooltip::before {
    content: '';
    position: absolute;
    left: -4px; top: 50%; transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}
.whatsapp-float:hover .waf-tooltip {
    opacity: 1;
    visibility: visible;
    left: 80px;
}

@media (max-width: 768px) {
    .whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 30px; }
    .waf-tooltip { display: none; }
}

/* --- SPECIFIC TWEAK FOR PORTRAIT PHOTO --- */
.about-photo {
    object-fit: contain !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 5px;
}


/* --- ENFORCE LIGHT THEME READABILITY --- */
html:not([data-theme="dark"]) p, 
html:not([data-theme="dark"]) h1, 
html:not([data-theme="dark"]) h2, 
html:not([data-theme="dark"]) h3, 
html:not([data-theme="dark"]) h4, 
html:not([data-theme="dark"]) .stat-label, 
html:not([data-theme="dark"]) .bt-stat-label, 
html:not([data-theme="dark"]) .campaign-desc, 
html:not([data-theme="dark"]) .mq-source {
    color: var(--text-primary) !important;
}
html:not([data-theme="dark"]) p {
    color: var(--text-secondary) !important;
}

/* Keep hero, footer, and about-section text white (dark backgrounds) */
html:not([data-theme="dark"]) .hero-section *,
html:not([data-theme="dark"]) .footer-top * {
    color: #fff !important;
}
html:not([data-theme="dark"]) .about-section *:not(.about-bg-text) {
    color: #fff !important;
}
html:not([data-theme="dark"]) .about-section .about-bg-text {
    color: rgba(255,255,255,0.03) !important;
}
html:not([data-theme="dark"]) .about-section .section-eyebrow {
    color: #d4af37 !important;
}
html:not([data-theme="dark"]) .about-section .highlight-text {
    color: var(--saffron) !important;
}
html:not([data-theme="dark"]) .about-section .agency-tagline {
    color: rgba(255,255,255,0.5) !important;
}
html:not([data-theme="dark"]) .about-section .pillar-body p {
    color: rgba(255,255,255,0.55) !important;
}
html:not([data-theme="dark"]) .about-section .ast-label {
    color: rgba(255,255,255,0.4) !important;
}
html:not([data-theme="dark"]) .about-section .ast-num {
    color: #d4af37 !important;
}
html:not([data-theme="dark"]) .about-section .pillar-credentials span,
html:not([data-theme="dark"]) .about-section .pillar-tags span {
    color: #d4af37 !important;
}
html:not([data-theme="dark"]) .about-section .agency-secure-note {
    color: rgba(255,255,255,0.35) !important;
}
html:not([data-theme="dark"]) .hero-subtitle strong {
    color: var(--gold) !important;
}
html:not([data-theme="dark"]) .ticker-live-badge, html:not([data-theme="dark"]) .ticker-item {
    color: #fff !important;
}


/* --- FEATURED VIDEO SECTION --- */
.video-feature-section { padding: 80px 0; background: var(--bg-primary); }
.video-container { position: relative; width: 100%; max-width: 900px; margin: 40px auto 0; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); border: 1px solid var(--border-color); background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }


/* --- VIDEO FACADE STYLES --- */
.video-container { background-size: cover; background-position: center; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); transition: 0.3s; z-index: 1; }
.video-container:hover .video-overlay { background: rgba(0, 0, 0, 0.2); }
.video-play-btn { width: 80px; height: 80px; background: var(--saffron); border-radius: 50%; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 2; transition: 0.3s; box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); animation: pulsePlay 2s infinite; }
.video-play-btn i { margin-left: 5px; }
.video-container:hover .video-play-btn { transform: scale(1.1); background: #e65c27; }
@keyframes pulsePlay { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(255, 107, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); } }


/* --- STRATEGIC FOOTPRINT MAP --- */
.footprint-section { padding: 100px 0; background: var(--bg-secondary); overflow: hidden; }
.map-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); padding: 20px; }
[data-theme="dark"] .map-container { box-shadow: 0 15px 40px rgba(0,0,0,0.3); }


/* --- PREMIUM HERO REDESIGN --- */
.premium-hero { background-color: var(--bg-primary); position: relative; overflow: hidden; }
.hero-animated-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(0, 2, 41, 0.05) 0%, transparent 40%); z-index: 0; }
[data-theme="dark"] .hero-animated-bg { background: radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%); }
.premium-hero .hero-content { position: relative; z-index: 10; margin-top: 5vh; }
.premium-hero .hero-title { font-size: 5rem; line-height: 1.1; letter-spacing: -1px; margin-bottom: 30px; color: var(--text-primary) !important; }
.premium-hero .hero-subtitle { font-size: 1.4rem; color: var(--text-secondary) !important; max-width: 800px; }
.hero-glass-stats { display: flex; gap: 20px; margin-top: 60px; flex-wrap: wrap; }
.glass-stat-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 16px; padding: 20px 25px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); flex: 1; min-width: 250px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
[data-theme="dark"] .glass-stat-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.glass-stat-card:hover { transform: translateY(-10px); border-color: var(--saffron); }
.gsc-icon { width: 50px; height: 50px; background: var(--saffron-light); color: var(--saffron); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.gsc-num-row { display: flex; align-items: baseline; font-family: var(--font-display); color: var(--text-primary); }
.gsc-num-row .stat-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.gsc-num-row .stat-plus { font-size: 1.2rem; color: var(--saffron); font-weight: 700; margin-left: 2px; }
.gsc-info .stat-label { display: block; font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }
.dark-scroll span { color: var(--text-secondary) !important; }
.dark-scroll .scroll-line { background: var(--text-secondary) !important; }
@media (max-width: 768px) { .premium-hero .hero-title { font-size: 3rem; } }


/* --- ULTIMATE HERO ADDITIONS --- */
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1400px; margin: 0 auto; }
.hero-content { flex: 1; max-width: 700px; }
.hero-visuals { flex: 1; position: relative; height: 400px; display: none; }
@media (min-width: 1024px) { .hero-visuals { display: block; } }
.urgency-pulse { display: inline-flex; align-items: center; background: rgba(255, 107, 53, 0.1); border: 1px solid rgba(255, 107, 53, 0.3); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; color: var(--text-primary); margin-bottom: 25px; gap: 8px; }
.pulse-dot { width: 8px; height: 8px; background: #ff3333; border-radius: 50%; animation: pulse-red 1.5s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(255, 51, 51, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0); } }
.typewriter::after { content: '|'; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-media-strip { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(100,100,100,0.2); }
.hms-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); margin-bottom: 10px; display: block; }
.hms-logos { display: flex; gap: 30px; align-items: center; color: var(--text-secondary); font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; opacity: 0.6; }
[data-theme="dark"] .hms-logos { opacity: 0.4; }
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-video-cta { display: flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-video-cta:hover { color: var(--saffron); }
.glow-play { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-primary); box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); color: var(--saffron); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 107, 53, 0.5); transition: all 0.3s ease; }
.btn-video-cta:hover .glow-play { background: var(--saffron); color: #fff; box-shadow: 0 0 30px rgba(255, 107, 53, 0.6); }
.floating-dashboard { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.9); border-radius: 12px; padding: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); position: absolute; animation: float 6s ease-in-out infinite; }
[data-theme="dark"] .floating-dashboard { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255,255,255,0.1); }
.fd-1 { top: 50px; right: 50px; width: 200px; animation-delay: 0s; }
.fd-2 { bottom: 50px; left: 50px; width: 220px; animation-delay: -3s; }
.fd-header { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; }
.fd-chart { display: flex; align-items: flex-end; gap: 8px; height: 60px; }
.fd-bar { flex: 1; background: rgba(0, 2, 41, 0.1); border-radius: 3px 3px 0 0; }
[data-theme="dark"] .fd-bar { background: rgba(255, 255, 255, 0.1); }
.active-bar { background: var(--saffron) !important; box-shadow: 0 0 10px rgba(255, 107, 53, 0.4); }
.fd-pulse-map { height: 80px; background: rgba(0,2,41,0.03); border-radius: 8px; position: relative; overflow: hidden; }
[data-theme="dark"] .fd-pulse-map { background: rgba(255,255,255,0.03); }
.fd-node { width: 6px; height: 6px; background: var(--text-secondary); border-radius: 50%; position: absolute; }
.fd-node.active { background: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2); animation: pulse-red 2s infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }


/* --- FIX LAYOUT Constraints --- */
.hero-inner-wrapper { position: relative; z-index: 10; padding-top: 15vh; padding-bottom: 80px; width: 100%; }
@media (max-width: 1024px) { .hero-inner-wrapper { padding-top: 120px; } .hero-container { flex-direction: column; } .hero-content { max-width: 100%; text-align: center; } .hero-ctas { justify-content: center; } .hms-logos { justify-content: center; } .hero-tag, .urgency-pulse { margin-left: auto; margin-right: auto; } }
@media (max-width: 768px) { .hero-title { font-size: 2.5rem !important; } .hero-subtitle { font-size: 1.1rem !important; } .hero-glass-stats { flex-direction: column; } }


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');
/* --- ULTIMATE HERO (DARK PARLIAMENT THEME) --- */
.ultimate-hero { position: relative; min-height: 100vh; padding: 0; overflow: hidden; background-color: #040a18; }
.hero-bg, .hero-bg-img, .hero-gradient-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg-img { object-fit: cover; object-position: center; opacity: 0.4; mix-blend-mode: luminosity; }
.hero-gradient-overlay { background: linear-gradient(to bottom, rgba(4, 10, 24, 0.8) 0%, rgba(4, 10, 24, 0.6) 40%, rgba(4, 10, 24, 0.95) 100%); }
.uh-inner-wrapper { position: relative; z-index: 10; padding-top: 15vh; padding-bottom: 20px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; }
.uh-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.uh-content { max-width: 650px; }
.uh-eyebrow { color: #d4af37; font-size: 0.75rem; letter-spacing: 2px; font-weight: 700; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.uh-line { height: 1px; width: 40px; background: #d4af37; }
.uh-title { font-family: 'Playfair Display', serif; font-size: 4.5rem; line-height: 1.15; color: #ffffff !important; font-weight: 600; margin-bottom: 25px; }
.highlight-gold { color: #d4af37; }
.uh-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.7) !important; line-height: 1.6; margin-bottom: 40px; max-width: 550px; }
.uh-ctas { display: flex; gap: 20px; }
.btn-gold-solid, .btn-gold-outline { padding: 14px 28px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; border-radius: 4px; display: inline-flex; align-items: center; text-decoration: none; transition: all 0.3s ease; }
.btn-gold-solid { background: #d4af37; color: #040a18; border: 1px solid #d4af37; }
.btn-gold-solid:hover { background: #b8962d; border-color: #b8962d; }
.btn-gold-outline { background: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.3); }
.btn-gold-outline:hover { border-color: #ffffff; }
.uh-dashboards { position: relative; width: 450px; height: 500px; display: none; }
@media (min-width: 1024px) { .uh-dashboards { display: block; } }
.uh-card { background: rgba(9, 18, 41, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 20px; position: absolute; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.uh-card-header { font-size: 0.65rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; margin-bottom: 15px; font-weight: 600; }
.card-donut { top: 0; right: 0; width: 260px; }
.uh-donut-wrap { display: flex; align-items: center; gap: 20px; }
.uh-donut-chart { width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(#3b82f6 28%, #d4af37 0 52%, #a8a29e 0 72%, #475569 0); position: relative; }
.uh-donut-chart::after { content: ''; position: absolute; inset: 15px; background: rgba(9, 18, 41, 0.9); border-radius: 50%; }
.uh-donut-legend { font-size: 0.65rem; color: rgba(255,255,255,0.7); display: flex; flex-direction: column; gap: 5px; }
.uh-donut-legend div { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot.north { background: #3b82f6; } .dot.south { background: #d4af37; } .dot.east { background: #a8a29e; } .dot.west { background: #475569; }
.card-line { top: 160px; left: 0; width: 320px; }
.uh-line-chart { width: 100%; height: 80px; }
.uh-line-chart svg { width: 100%; height: 100%; overflow: visible; }
.card-impact { bottom: 80px; right: 20px; width: 220px; }
.uh-impact-content { display: flex; justify-content: space-between; align-items: flex-end; }
.uh-impact-num { font-size: 2rem; color: #fff; font-family: var(--font-display); line-height: 1; }
.uh-up { font-size: 0.75rem; color: #10b981; font-family: sans-serif; display: block; margin-top: 5px; }
.uh-icon { width: 35px; height: 35px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.uh-bottom-bar { background: rgba(14, 23, 44, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; margin-top: 60px; flex-wrap: wrap; gap: 20px; }
.uh-bar-left { display: flex; gap: 40px; }
.uh-bar-item { display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,0.9); }
.uh-bar-item i { font-size: 1.5rem; color: rgba(255,255,255,0.4); }
.uh-bar-item span { font-size: 0.8rem; font-weight: 500; line-height: 1.4; }
.uh-bar-right { display: flex; align-items: center; gap: 30px; }
.uh-trusted { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 1px; font-weight: 600; }
.uh-logos { display: flex; gap: 20px; color: rgba(255,255,255,0.3); font-weight: 700; font-family: var(--font-display); }
@media (max-width: 1024px) { .uh-grid { flex-direction: column; } .uh-bottom-bar { flex-direction: column; align-items: flex-start; } .uh-bar-left { flex-direction: column; gap: 20px; } }
@media (max-width: 768px) { .uh-title { font-size: 3rem; } .uh-ctas { flex-direction: column; } }


/* --- I-PAC CLONE HERO STYLES --- */
.ipac-slider-hero { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: #000; }
.ipac-slider-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ipac-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s; z-index: 1; }
.ipac-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.ipac-slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.05); transition: transform 10s ease-out; }
.ipac-slide.active .ipac-slide-bg { transform: scale(1); }
.ipac-slide-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%); }
.ipac-slide-overlay { position: relative; z-index: 3; width: 100%; height: 100%; display: flex; align-items: center; padding: 0 10%; }
.ipac-slide-content { max-width: 600px; color: #fff; transform: translateY(30px); opacity: 0; transition: all 0.8s ease 0.5s; }
.ipac-slide.active .ipac-slide-content { transform: translateY(0); opacity: 1; }
.ipac-slide-title { font-family: 'Playfair Display', serif; font-size: 5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.15; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.ipac-slide-desc { font-size: 1.5rem; margin-bottom: 40px; opacity: 0.9; font-weight: 300; }
.ipac-btn { display: inline-block; padding: 15px 40px; background: #d4af37; color: #000; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; transition: background 0.3s; }
.ipac-btn:hover { background: #fff; }
.ipac-slider-controls { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 10; width: 320px; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); border-left: 1px solid rgba(255,255,255,0.1); }
.ipac-control-item { display: flex; align-items: center; padding: 15px 20px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; }
.ipac-control-item:hover, .ipac-control-item.active { background: rgba(255,255,255,0.15); }
.ipac-control-item.active { border-left: 4px solid #d4af37; }
.ipac-control-thumb { width: 60px; height: 40px; background-size: cover; background-position: center; margin-right: 15px; border-radius: 2px; }
.ipac-control-text { flex: 1; }
.ipac-control-title { color: #fff; font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.ipac-control-sub { color: #aaa; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.ipac-floating-join { position: absolute; bottom: 40px; right: 40px; z-index: 10; background: #e67c24; color: #fff; padding: 12px 30px; text-transform: uppercase; font-weight: bold; text-decoration: none; border-radius: 30px; box-shadow: 0 4px 15px rgba(230, 124, 36, 0.4); transition: transform 0.3s; }
.ipac-floating-join:hover { transform: translateY(-3px); color: #fff; }
@media (max-width: 992px) { .ipac-slider-controls { display: none; } .ipac-slide-title { font-size: 3rem; } }


/* --- SLIDER PROGRESS DOTS --- */
.ipac-slide-dots {
    position: absolute;
    bottom: 30px;
    left: 10%;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.ipac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.ipac-dot.active {
    background: #d4af37;
    width: 24px;
    border-radius: 4px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 100px 0;
    background: var(--navy, #000229);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(212,175,55,0.3);
}
.featured-testimonial {
    border-color: rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.06);
}
.featured-testimonial::before {
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}
.tcard-quote {
    font-size: 2rem;
    color: #d4af37;
    opacity: 0.6;
    margin-bottom: 20px;
}
.tcard-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}
.tcard-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tcard-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.tcard-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}
.tcard-role {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}
@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 100px 0;
    background: #00031a;
}
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    margin-top: 70px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), rgba(212,175,55,0.4), rgba(212,175,55,0.4), transparent);
}
.process-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    position: relative;
}
.step-number {
    font-size: 0.7rem;
    color: rgba(212,175,55,0.5);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: #d4af37;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    background: #00031a;
}
.process-step:hover .step-icon {
    background: #d4af37;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212,175,55,0.4);
}
.process-step h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}
.process-step p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}
@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    .process-steps::before { display: none; }
    .process-step { padding: 0; text-align: left; display: flex; align-items: flex-start; gap: 20px; }
    .step-icon { margin: 0; flex-shrink: 0; width: 50px; height: 50px; font-size: 1.1rem; }
    .process-step h3, .process-step p, .step-number { text-align: left; }
}

/* ===========================
   FOOTER COMPLETE FIX
   =========================== */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

.site-footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    background: #000115;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
    width: 100%;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr 1.4fr;
    gap: 48px;
    width: 100%;
    box-sizing: border-box;
}

.site-footer .footer-brand {
    min-width: 0;
    box-sizing: border-box;
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    min-width: 0;
}

.site-footer .footer-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-footer .footer-logo-text {
    min-width: 0;
    overflow: visible;
}

.site-footer .fl-main {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.25rem;
    background: linear-gradient(135deg, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.site-footer .fl-sub {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.3rem;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer .container {
        padding: 0 24px;
    }
}

/* --- AGENCY ABOUT SECTION (No Photo) --- */
.agency-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}
.agency-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
}
.agency-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}
.agency-pillar {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.agency-pillar:hover {
    transform: translateY(-5px);
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(255,107,53,0.1));
    border: 1px solid rgba(212,175,55,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #d4af37;
    flex-shrink: 0;
}
.pillar-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.pillar-body p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    margin-bottom: 14px;
}
.pillar-credentials, .pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pillar-credentials span, .pillar-tags span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    color: #d4af37;
}

/* Agency Stats Strip */
.agency-stat-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(0,2,41,0.4));
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 16px;
    padding: 36px 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}
.ast-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}
.ast-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    margin-bottom: 6px;
}
.ast-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}
.ast-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* CTA Row */
.agency-cta-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.agency-secure-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 7px;
}
.agency-secure-note i {
    color: #d4af37;
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .agency-pillars { grid-template-columns: 1fr; }
    .agency-stat-strip { padding: 28px 24px; }
    .ast-divider { display: none; }
    .ast-item { min-width: 80px; }
}

/* ===== ABOUT SECTION DARK OVERRIDE =====
   The about-section has light background in style.css.
   Override it to dark since content is now dark-themed. */
.about-section {
    background: linear-gradient(180deg, #00031a 0%, #000229 100%) !important;
    color: #fff !important;
}
.about-section .about-bg-text {
    color: rgba(255,255,255,0.03) !important;
}
.about-section .section-title {
    color: #fff !important;
}
.about-section .section-eyebrow {
    color: #d4af37 !important;
}

/* ===== MOBILE HEADER PADDING FIX =====
   Ticker (40px) + Mobile Header (~65px) = 105px.
   Increase padding to prevent hero content hiding under header. */
@media (max-width: 768px) {
    #main-content {
        padding-top: 110px !important;
    }
}

/* ===== SIDE NAV OVERFLOW FIX =====
   With many nav items, allow scrolling in side nav */
.side-nav-links {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
}
.side-nav-links::-webkit-scrollbar { display: none; }

/* ===== PRE-FOOTER CTA BANNER ===== */
.prefooter-cta {
    background: linear-gradient(135deg, #000229 0%, #00031a 40%, #0a0005 100%);
    border-top: 1px solid rgba(212,175,55,0.15);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.prefooter-cta::before {
    content: '2029';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 18rem;
    font-weight: 900;
    color: rgba(212,175,55,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.pfcta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.pfcta-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #ff6b35;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pfcta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.pfcta-title span {
    color: #d4af37;
}
.pfcta-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    line-height: 1.7;
}
.pfcta-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}
.pfcta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37, #b8962d);
    color: #000;
    padding: 18px 36px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.pfcta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212,175,55,0.4);
    color: #000;
}
.pfcta-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.3);
    color: #25d366;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pfcta-wa:hover {
    background: rgba(37,211,102,0.2);
    color: #25d366;
    transform: translateY(-2px);
}
@media (max-width: 900px) {
    .pfcta-inner { flex-direction: column; align-items: flex-start; gap: 40px; padding: 0 24px; }
    .pfcta-title { font-size: 2rem; }
    .prefooter-cta::before { display: none; }
}

/* ===== LIGHT MODE SECTION TITLE FIX =====
   Sections with dark backgrounds must keep white text even in light mode */
.expertise-section .section-title,
.impact-section .section-title,
.contact-section .section-title,
.media-section .section-title {
    color: #fff !important;
}
.expertise-section .section-eyebrow,
.impact-section .section-eyebrow,
.contact-section .section-eyebrow,
.media-section .section-eyebrow {
    color: #d4af37 !important;
}
.expertise-section .section-desc,
.impact-section .section-desc,
.contact-section .section-desc,
.media-section .section-desc {
    color: rgba(255,255,255,0.7) !important;
}

/* ===== FOOTER NAV POLISH ===== */
.site-footer .footer-nav ul {
    list-style: none;
    padding: 0;
}
.site-footer .footer-nav ul li {
    margin-bottom: 10px;
}
.site-footer .footer-nav h4,
.site-footer .footer-services h4,
.site-footer .footer-contact h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

/* ===== GALLERY MASONRY SPACING ===== */
.gallery-grid {
    gap: 12px;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

/* ===== MICRO HOVER ANIMATIONS ===== */
.expertise-card:hover .expertise-icon i {
    transform: scale(1.2) rotate(-5deg);
    transition: transform 0.3s ease;
}
.expertise-icon i {
    transition: transform 0.3s ease;
    display: inline-block;
}
.impact-card:hover .impact-icon i {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}
.impact-icon i {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* ===== CAMPAIGN CARD WINNER HIGHLIGHT ===== */
.mega-campaign .campaign-card-header {
    position: relative;
}
.mega-campaign .campaign-card-header::after {
    content: '★ LATEST WIN';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #d4af37;
    background: rgba(212,175,55,0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.3);
}

/* ===== SECTION SMOOTH TRANSITIONS ===== */
.section {
    scroll-margin-top: 0;
}

/* ===== CONTACT SECTION FINAL POSITIONING ===== */
.contact-section {
    scroll-margin-top: 40px;
}

/* === ALWAYS-DARK SECTIONS: Keep white text regardless of theme === */
html:not([data-theme="dark"]) .warroom-section *,
html:not([data-theme="dark"]) .process-section *,
html:not([data-theme="dark"]) .testimonials-section *,
html:not([data-theme="dark"]) .prefooter-cta *,
html:not([data-theme="dark"]) .media-section *,
html:not([data-theme="dark"]) .contact-section *:not(.contact-bg-text),
html:not([data-theme="dark"]) .ipac-slider-hero * {
    color: #fff !important;
}
html:not([data-theme="dark"]) .warroom-section .section-eyebrow,
html:not([data-theme="dark"]) .process-section .section-eyebrow,
html:not([data-theme="dark"]) .testimonials-section .section-eyebrow,
html:not([data-theme="dark"]) .contact-section .section-eyebrow {
    color: #d4af37 !important;
}
html:not([data-theme="dark"]) .warroom-section .highlight-text,
html:not([data-theme="dark"]) .process-section .highlight-text,
html:not([data-theme="dark"]) .contact-section .highlight-text {
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
html:not([data-theme="dark"]) .warroom-section .section-desc,
html:not([data-theme="dark"]) .process-section .section-desc,
html:not([data-theme="dark"]) .testimonials-section .section-desc,
html:not([data-theme="dark"]) .contact-section .section-desc {
    color: rgba(255,255,255,0.65) !important;
}

/* Impact card text visibility in light mode */
html:not([data-theme="dark"]) .impact-card .impact-label {
    color: var(--text-primary) !important;
}
html:not([data-theme="dark"]) .impact-card .impact-sublabel {
    color: var(--text-secondary) !important;
}

/* Side-nav social icons in light mode */
html:not([data-theme="dark"]) .side-nav-social a {
    color: var(--text-secondary) !important;
    border-color: var(--border-color) !important;
}

/* Campaign cards in dark mode */
[data-theme="dark"] .campaign-card {
    background: var(--bg-card) !important;
}
