/* ==========================================================================
   POWER SOLAR SYSTEM — $10,000 BESPOKE CLEAN-TECH PLATFORM
   Organic Green & Warm Off-White Agency Architecture
   Awwwards / FWA Standard Animation & Interaction System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Brand Green Ecosystem */
    --primary: #15803D;             /* Rich Forest Green */
    --primary-hover: #14532D;       /* British Racing Green */
    --primary-light: #22C55E;       /* Kinetic Leaf Green */
    --primary-glow: rgba(34, 197, 94, 0.25);
    --primary-subtle: #F0FDF4;      /* Mint / Sage Tint */
    --primary-border: #BBF7D0;

    /* Off-White & Organic Canvas */
    --bg-page: #FBFBF8;             /* Warm Minimalist Off-White */
    --bg-surface: #FFFFFF;          /* Pure White */
    --bg-cream: #F4F6EE;            /* Soft Linen / Organic Off-White */
    --bg-cream-dark: #EAECE2;
    --border-light: #E3E7DE;
    --border-subtle: #EDF1E8;

    /* Deep Forest Authority */
    --forest-deep: #071A10;         /* Midnight Pine */
    --forest-surface: #0C2B1B;      /* Deep Forest Slate */
    --forest-card: #133A26;
    --forest-border: rgba(255, 255, 255, 0.12);

    /* Text */
    --text-primary: #0A2114;        /* Deep Forest Charcoal */
    --text-secondary: #364B3E;      /* Muted Pine Slate */
    --text-muted: #5B7264;          /* Earthy Sage Gray */
    --text-white: #F8FAF8;

    /* Accents */
    --sunburst-gold: #EAB308;
    --amber-tag: #D97706;
    --hud-cyan: #06B6D4;

    /* Layout Geometry */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Elevation */
    --shadow-sm: 0 1px 3px rgba(10, 33, 20, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(10, 33, 20, 0.07), 0 4px 10px -2px rgba(10, 33, 20, 0.03);
    --shadow-lg: 0 24px 48px -12px rgba(10, 33, 20, 0.09), 0 12px 24px -6px rgba(10, 33, 20, 0.04);
    --shadow-drawer: -20px 0 60px rgba(7, 26, 16, 0.25);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --spring-transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   SCROLL READING PROGRESS BAR (Top Edge)
   ========================================================================== */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #16A34A 0%, #22C55E 50%, #4ADE80 100%);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   AMBIENT GLOW ORBS (Cinematic Depth)
   ========================================================================== */
.ambient-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    animation: orbFloat 14s ease-in-out infinite alternate;
}

.orb-primary {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.22) 0%, rgba(22, 163, 74, 0.05) 60%, transparent 80%);
}

.orb-gold {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.18) 0%, transparent 70%);
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ==========================================================================
   KINETIC MARQUEE TICKER (High-Fashion Clean Tech)
   ========================================================================== */
.marquee-ticker {
    background: var(--forest-deep);
    color: var(--text-white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--forest-border);
    position: relative;
    z-index: 1001;
}

.marquee-track {
    display: inline-flex;
    gap: 40px;
    animation: marqueeSlide 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-light);
    box-shadow: 0 0 8px var(--primary-light);
}

@keyframes marqueeSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 251, 248, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(7, 26, 16, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(7, 26, 16, 0.12);
    border: 1.5px solid var(--border-light);
    transition: var(--spring-transition);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
}

.brand-logo-dark {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--forest-deep);
    line-height: 1.15;
}

.brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item-link {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-item-link:hover, .nav-item-link.active {
    color: var(--primary);
}

.nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-item-link:hover::after, .nav-item-link.active::after {
    width: 100%;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-phone-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--forest-deep);
    transition: var(--transition);
}

.nav-phone-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-subtle);
    transform: translateY(-2px);
}

.phone-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--primary-light);
    border-radius: 50%;
    position: relative;
}

.phone-pulse::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    opacity: 0.6;
    animation: pulsePing 1.8s infinite;
}

@keyframes pulsePing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--forest-deep);
    margin: 5px 0;
    transition: var(--transition);
}

/* ==========================================================================
   BUTTONS WITH SHIMMER & INTERACTIVE HOVER
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 22px -5px rgba(22, 163, 74, 0.42);
}

/* Luxury button light sweep animation */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.btn-primary:hover::before {
    animation: btnShimmer 1.2s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% { left: -120%; }
    100% { left: 220%; }
}

.btn-primary:hover {
    background: linear-gradient(135deg, #15803D 0%, #14532D 100%);
    box-shadow: 0 14px 28px -4px rgba(22, 163, 74, 0.52);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-secondary {
    background: var(--forest-surface);
    color: var(--text-white);
    border: 1px solid var(--forest-border);
}

.btn-secondary:hover {
    background: var(--forest-card);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-whatsapp {
    background: #16A34A;
    color: #FFFFFF;
    box-shadow: 0 8px 20px -3px rgba(22, 163, 74, 0.35);
}

.btn-whatsapp:hover {
    background: #14532D;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -4px rgba(22, 163, 74, 0.5);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-subtle);
}

.btn-block {
    width: 100%;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.chip-mint {
    background: var(--primary-subtle);
    color: var(--primary);
    border: 1px solid var(--primary-border);
}

.chip-dark {
    background: rgba(7, 26, 16, 0.08);
    color: var(--forest-deep);
    border: 1px solid rgba(7, 26, 16, 0.15);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver)
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   HERO SECTION & "LIVE SOLAR HUD"
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, #FBFBF8 0%, #F4F6EE 55%, #E9ECE0 100%);
    padding: 85px 0 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.65rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.8px;
    margin-bottom: 22px;
    color: var(--forest-deep);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #16A34A 0%, #15803D 60%, #064E3B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 46px;
}

.hero-trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* LIVE SOLAR HUD (Interactive Bespoke Widget) */
.hero-hud-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    border: 4px solid #FFFFFF;
    transition: var(--spring-transition);
}

.hero-hud-card:hover {
    box-shadow: 0 30px 60px -10px rgba(10, 33, 20, 0.16);
    transform: translateY(-4px);
}

.hud-media-container {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.hud-media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-hud-card:hover .hud-media-container img {
    transform: scale(1.06);
}

/* Animated sunray pulse over solar roof */
.hud-media-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.25) 0%, transparent 60%);
    animation: sunPulse 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes sunPulse {
    0% { transform: scale(0.9); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0.8; }
}

.hud-top-telemetry {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.hud-badge-live {
    background: rgba(7, 26, 16, 0.88);
    backdrop-filter: blur(10px);
    color: #4ADE80;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.hud-telemetry-body {
    padding: 24px;
    background: #FFFFFF;
}

.hud-meters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.hud-meter-box {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Subtle live electrical pulse border */
.hud-meter-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #22C55E, transparent);
    animation: meterPulse 2.5s infinite;
}

@keyframes meterPulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hud-meter-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hud-meter-num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest-deep);
}

.hud-status-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 0.825rem;
    color: var(--text-muted);
}

.hud-status-strip strong {
    color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE DRAGGABLE BEFORE & AFTER COMPARISON SLIDER
   ========================================================================== */
.bill-transform-section {
    padding: 95px 0;
    background: var(--bg-cream);
    position: relative;
}

.interactive-slider-wrapper {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    background: #FFFFFF;
}

.split-slider-container {
    position: relative;
    width: 100%;
    height: 420px;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
}

/* The "Before" side (Bottom Layer) */
.slider-layer-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #991B1B;
}

/* The "After" side (Top Layer, clipped) */
.slider-layer-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #071A10 0%, #0C2B1B 100%);
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    transition: none;
}

.split-layer-content {
    max-width: 480px;
}

.split-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-50%);
}

.split-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #16A34A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.6);
    border: 3px solid #FFFFFF;
    cursor: ew-resize;
    transition: transform 0.2s ease;
}

.split-handle-button:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.split-slider-tip {
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-muted);
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   THE 18 SERVICES MASTER DIRECTORY & BENTO MATRIX
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-page);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px auto;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--forest-deep);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Category Filter Bar */
.service-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-chip-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip-btn.active, .filter-chip-btn:hover {
    background: var(--forest-surface);
    color: #FFFFFF;
    border-color: var(--forest-surface);
    box-shadow: 0 6px 16px rgba(7, 26, 16, 0.15);
    transform: translateY(-2px);
}

/* Bento Grid */
.bento-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* SPOTLIGHT CARD INTERACTION */
.service-bento-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--spring-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

/* Mouse spotlight glow overlay */
.service-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 197, 94, 0.14), transparent 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-bento-card:hover::before {
    opacity: 1;
}

.service-bento-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(10, 33, 20, 0.12);
    border-color: var(--primary-border);
}

.bento-card-media {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.bento-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-bento-card:hover .bento-card-media img {
    transform: scale(1.09);
}

.service-num-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(7, 26, 16, 0.9);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 3;
}

.service-category-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--forest-deep);
    font-size: 0.725rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 3;
}

.bento-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 3;
}

.bento-service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest-deep);
    line-height: 1.25;
    margin-bottom: 10px;
}

.bento-service-desc {
    font-size: 0.885rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bento-specs-row {
    margin-top: auto;
    padding: 12px 14px;
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--forest-deep);
    margin-bottom: 18px;
    transition: var(--transition);
}

.service-bento-card:hover .bento-specs-row {
    background: var(--primary-subtle);
    border: 1px solid var(--primary-border);
}

.bento-inspect-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    background: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.bento-inspect-btn svg {
    transition: transform 0.3s ease;
}

.service-bento-card:hover .bento-inspect-btn svg {
    transform: translateX(6px);
}

.bento-inspect-btn:hover {
    color: var(--primary-hover);
}

/* ==========================================================================
   SLIDE-OUT TECHNICAL SERVICE DRAWER (Modal / Sheet)
   ========================================================================== */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 26, 16, 0.65);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.service-drawer {
    position: fixed;
    top: 0;
    right: -600px;
    width: 100%;
    max-width: 560px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: var(--shadow-drawer);
    z-index: 2001;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.service-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--bg-cream);
}

.drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--spring-transition);
}

.drawer-close-btn:hover {
    background: var(--forest-deep);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.drawer-body {
    padding: 32px;
    flex-grow: 1;
}

.drawer-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.875rem;
}

.drawer-spec-table tr {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

.drawer-spec-table tr:hover {
    background: var(--bg-cream);
}

.drawer-spec-table td {
    padding: 13px 8px;
}

.drawer-spec-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 40%;
}

.drawer-spec-table td:last-child {
    font-weight: 700;
    color: var(--forest-deep);
}

.drawer-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-light);
    background: #FFFFFF;
}

/* ==========================================================================
   SOLAR CALCULATOR & PM SURYA GHAR
   ========================================================================== */
.calc-section {
    padding: 95px 0;
    background: var(--bg-page);
    position: relative;
}

.calc-container-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    transition: var(--transition);
}

.calc-inputs-side {
    padding: 44px 48px;
    background: #FFFFFF;
}

.calc-slider-card {
    margin-bottom: 34px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.slider-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-deep);
}

.slider-current-value {
    font-family: var(--font-mono);
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--primary);
    transition: color 0.2s ease;
}

.custom-range-slider {
    width: 100%;
    height: 10px;
    border-radius: 6px;
    background: var(--bg-cream-dark);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.55);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.calc-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.calc-spec-pill {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
}

.calc-spec-pill:hover {
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-border);
}

.spec-icon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.spec-number-val {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--forest-deep);
}

/* Calculator Results Side (Deep Forest & Mint) */
.calc-results-side {
    background: linear-gradient(135deg, #071A10 0%, #0C2B1B 100%);
    color: #FFFFFF;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid var(--forest-border);
}

.results-head-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.subsidy-display-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.subsidy-label {
    font-size: 0.825rem;
    color: #A7C5B4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 6px;
}

.subsidy-amount {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: #4ADE80;
    line-height: 1;
}

.subsidy-note {
    font-size: 0.75rem;
    color: #A7C5B4;
    margin-top: 6px;
}

.savings-breakdown-list {
    margin-bottom: 28px;
}

.savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.savings-row:last-child {
    border-bottom: none;
}

.savings-row span {
    color: #A7C5B4;
}

.savings-row strong {
    color: #FFFFFF;
    font-weight: 700;
}

.savings-row.highlight-row strong {
    color: #4ADE80;
    font-size: 1.15rem;
    font-family: var(--font-mono);
}

/* ==========================================================================
   INSTALLATION TIMELINE
   ========================================================================== */
.timeline-section {
    padding: 95px 0;
    background: var(--bg-cream);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--spring-transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border);
}

.step-num-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-subtle);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest-deep);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   REVIEWS & REPUTATION
   ========================================================================== */
.reviews-section {
    padding: 95px 0;
    background: var(--forest-deep);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.reviews-head-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.overall-rating-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--forest-border);
    padding: 14px 22px;
    border-radius: var(--radius-md);
}

.rating-big-num {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 800;
    color: #4ADE80;
    line-height: 1;
}

.rating-stars-gold {
    color: #FACC15;
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.rating-count-text {
    font-size: 0.8rem;
    color: #A7C5B4;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-glass-card {
    background: rgba(12, 43, 27, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--forest-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--spring-transition);
}

.review-glass-card:hover {
    border-color: rgba(74, 222, 128, 0.4);
    transform: translateY(-6px);
}

.review-stars {
    color: #FACC15;
    margin-bottom: 16px;
    font-size: 1rem;
}

.review-quote {
    font-size: 0.95rem;
    color: #D1E0D7;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.review-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: #FFFFFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.user-name-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
}

.user-meta-sub {
    font-size: 0.775rem;
    color: #A7C5B4;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
    padding: 95px 0;
    background: var(--bg-cream);
}

.faq-accordion-wrap {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: #FFFFFF;
}

.faq-item.active {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-sm);
}

.faq-trigger {
    width: 100%;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-q-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-deep);
}

.faq-icon-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-body-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 26px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-body-content {
    max-height: 300px;
    padding-bottom: 24px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 95px 0;
    background: var(--bg-page);
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
}

.contact-details-panel {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-head-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--forest-deep);
    line-height: 1.2;
}

.contact-card-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-subtle);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forest-deep);
    margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-info-text a:hover {
    color: var(--primary);
}

.form-wrapper-panel {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-md);
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field-group {
    margin-bottom: 18px;
}

.form-field-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--forest-deep);
    margin-bottom: 8px;
}

.form-input-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-cream);
    transition: var(--transition);
}

.form-input-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.map-embed-wrapper {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.map-embed-wrapper iframe {
    width: 100%;
    height: 380px;
    display: block;
    border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--forest-deep);
    color: #A7C5B4;
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--forest-border);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 18px;
    margin-bottom: 24px;
    color: #A7C5B4;
}

.footer-partner-strip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--forest-border);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    font-size: 0.9rem;
    color: #A7C5B4;
    transition: var(--transition);
}

.footer-nav-list a:hover {
    color: #4ADE80;
    transform: translateX(3px);
}

.footer-bottom-bar {
    padding-top: 30px;
    border-top: 1px solid var(--forest-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: #6C8D7B;
    flex-wrap: wrap;
    gap: 14px;
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-floating-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background: #16A34A;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.45);
    z-index: 999;
    transition: var(--spring-transition);
}

.whatsapp-floating-bubble:hover {
    transform: scale(1.14);
    box-shadow: 0 16px 35px rgba(22, 163, 74, 0.65);
}

.whatsapp-floating-bubble svg {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.85rem;
    }

    .bento-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-slider-container {
        height: 480px;
    }

    .slider-layer-before, .slider-layer-after {
        padding: 35px 25px;
    }

    .calc-container-box {
        grid-template-columns: 1fr;
    }

    .calc-results-side {
        border-left: none;
        border-top: 1px solid var(--forest-border);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 30px 24px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta-group .btn {
        display: none;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-trust-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-services-grid {
        grid-template-columns: 1fr;
    }

    .split-slider-container {
        height: 520px;
    }

    .calc-inputs-side, .calc-results-side {
        padding: 28px 20px;
    }

    .calc-specs-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .service-drawer {
        max-width: 100%;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.8px;
    }

    .section-title-large {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .split-slider-container {
        height: 480px;
    }

    .slider-layer-before, .slider-layer-after {
        padding: 24px 18px;
    }

    .slider-layer-before .split-layer-content {
        margin-left: 0 !important;
    }

    .split-layer-content {
        max-width: 100% !important;
    }

    .calc-inputs-side, .calc-results-side {
        padding: 24px 16px;
    }

    .subsidy-amount {
        font-size: 2.1rem;
    }

    .drawer-header {
        padding: 20px 18px;
    }

    .drawer-body {
        padding: 20px 18px;
    }

    .drawer-footer {
        padding: 16px 18px;
    }

    .service-filter-bar {
        gap: 6px;
    }

    .filter-chip-btn {
        padding: 8px 14px;
        font-size: 0.775rem;
    }
}


/* ==========================================================================
   UPGRADE 1: PM SURYA GHAR LIVE TELEMETRY STRIP
   ========================================================================== */
.pm-telemetry-bar {
    background: linear-gradient(90deg, #071A10 0%, #0D301E 50%, #071A10 100%);
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
    padding: 8px 0;
    color: #A7C5B4;
    font-size: 0.8rem;
    font-weight: 600;
}

.pm-telemetry-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.pm-telemetry-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-telemetry-items {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.pm-telemetry-node {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pm-telemetry-node strong {
    color: #FFFFFF;
}

.pm-telemetry-node .highlight {
    color: #4ADE80;
}

/* ==========================================================================
   UPGRADE 2: BILINGUAL LANGUAGE TOGGLE (ENG / ਪੰਜਾਬੀ)
   ========================================================================== */
.lang-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    background: var(--bg-cream-dark);
    padding: 3px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    margin-right: 6px;
}

.lang-toggle-btn {
    border: none;
    background: transparent;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.lang-toggle-btn.active {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

/* ==========================================================================
   UPGRADE 3: SOLAR ENERGY FLOW VISUALIZER & SCENARIOS
   ========================================================================== */
.hud-view-toggle {
    display: flex;
    background: rgba(7, 26, 16, 0.85);
    padding: 4px;
    border-radius: var(--radius-full);
    gap: 4px;
    margin-bottom: 12px;
}

.hud-view-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #A7C5B4;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.hud-view-btn.active {
    background: #16A34A;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.solar-flow-engine-panel {
    background: radial-gradient(circle at 50% 30%, #0F3220 0%, #071A10 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--forest-border);
    padding: 24px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.flow-scenarios-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.flow-scenario-chip {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #A7C5B4;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.flow-scenario-chip.active, .flow-scenario-chip:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #4ADE80;
    color: #4ADE80;
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.25);
}

.flow-circuit-svg {
    width: 100%;
    height: 250px;
    display: block;
}

/* Animated Flow Paths */
.flow-line-dc {
    stroke: #F59E0B;
    stroke-dasharray: 6 6;
    animation: flowDcAnim 1.2s linear infinite;
}

.flow-line-ac {
    stroke: #10B981;
    stroke-dasharray: 6 6;
    animation: flowAcAnim 1.2s linear infinite;
}

.flow-line-export {
    stroke: #06B6D4;
    stroke-dasharray: 6 6;
    animation: flowExportAnim 1s linear infinite;
}

@keyframes flowDcAnim {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

@keyframes flowAcAnim {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

@keyframes flowExportAnim {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

.flow-telemetry-readout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
}

.flow-stat-label {
    font-size: 0.7rem;
    color: #A7C5B4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.flow-stat-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 800;
}

/* ==========================================================================
   UPGRADE 4: TATA POWER SOLAR RFID & WARRANTY VERIFICATION SECTION
   ========================================================================== */
.tata-verify-section {
    padding: 95px 0;
    background: linear-gradient(180deg, #071A10 0%, #0A2417 50%, #071A10 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.tata-verify-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(34, 197, 94, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.5;
}

.tata-verify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tata-pillars-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.tata-pillar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--spring-transition);
}

.tata-pillar-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4ADE80;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tata-pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.tata-pillar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.tata-pillar-desc {
    font-size: 0.8rem;
    color: #A7C5B4;
    line-height: 1.5;
}

/* Interactive Serial Scanner Simulator */
.rfid-scanner-panel {
    background: rgba(15, 45, 29, 0.6);
    border: 1.5px solid rgba(74, 222, 128, 0.35);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    position: relative;
}

.rfid-scanner-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rfid-serial-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.rfid-serial-input {
    flex: 1;
    background: rgba(7, 26, 16, 0.8);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    outline: none;
    text-transform: uppercase;
}

.rfid-serial-input:focus {
    border-color: #4ADE80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
}

.sample-serials-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #A7C5B4;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.sample-serial-chip {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: #4ADE80;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.sample-serial-chip:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ADE80;
}

.rfid-verification-card {
    background: rgba(7, 26, 16, 0.95);
    border: 1px solid #4ADE80;
    border-radius: var(--radius-md);
    padding: 18px;
    display: none;
    animation: fadeIn 0.4s ease;
}

.rfid-verification-card.active {
    display: block;
}

.rfid-cert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rfid-cert-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #16A34A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.rfid-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 0.8rem;
}

.rfid-cert-item span {
    display: block;
    color: #A7C5B4;
    font-size: 0.7rem;
}

.rfid-cert-item strong {
    color: #FFFFFF;
    font-family: var(--font-mono);
}

/* ==========================================================================
   UPGRADE 5: PDF PROPOSAL MODAL & PRINT STYLES
   ========================================================================== */
.proposal-modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 26, 16, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.proposal-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.proposal-modal-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    position: relative;
    padding: 40px;
    color: var(--text-primary);
}

.proposal-print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--forest-deep);
    margin-bottom: 28px;
}

.proposal-brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.proposal-brand-box img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.proposal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.proposal-table th, .proposal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.proposal-table th {
    background: var(--bg-cream);
    color: var(--forest-deep);
    font-weight: 800;
    text-align: left;
}

.proposal-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

@media print {
    body * {
        visibility: hidden !important;
    }
    .proposal-modal-card, .proposal-modal-card * {
        visibility: visible !important;
    }
    .proposal-modal-card {
        position: absolute;
        left: 0; top: 0;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    .proposal-modal-actions, .proposal-modal-close {
        display: none !important;
    }
}

/* ==========================================================================
   UPGRADE 7: STICKY MOBILE QUICK-ACTION CONVERSION DRAWER
   ========================================================================== */
.mobile-sticky-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(22, 163, 74, 0.2);
    padding: 10px 16px;
    box-shadow: 0 -8px 25px rgba(7, 26, 16, 0.12);
}

.mobile-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 8px;
    align-items: center;
}

.mobile-action-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    line-height: 1.1;
    transition: var(--transition);
}

.mobile-action-pill.call-pill {
    background: var(--bg-cream-dark);
    color: var(--forest-deep);
    border: 1px solid var(--border-light);
}

.mobile-action-pill.whatsapp-pill {
    background: #16A34A;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.mobile-action-pill.survey-pill {
    background: var(--forest-deep);
    color: #FFFFFF;
}

/* Ensure padding on mobile so content does not get hidden under sticky bar */
@media (max-width: 768px) {
    .mobile-sticky-actions {
        display: block;
    }
    
    .site-footer {
        padding-bottom: 100px;
    }

    .whatsapp-floating-bubble {
        bottom: 85px;
    }

    .tata-verify-grid {
        grid-template-columns: 1fr;
    }

    .tata-pillars-list {
        grid-template-columns: 1fr;
    }

    .rfid-serial-input-group {
        flex-direction: column;
    }
}


/* ==========================================================================
   DESKTOP SYMMETRICAL HEADER (min-width: 769px)
   ========================================================================== */
@media (min-width: 769px) {
    .site-header {
        width: 100%;
        overflow: visible;
    }

    .navbar-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 84px;
        gap: 20px;
    }

    .brand-logo {
        flex-shrink: 0;
    }

    .nav-links {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 22px;
        flex-grow: 1;
        position: static;
        width: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }

    .nav-cta-group {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .nav-phone-chip {
        display: inline-flex !important;
        padding: 7px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .nav-cta-btn {
        display: inline-flex !important;
        padding: 10px 18px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .mobile-toggle {
        display: none !important;
    }

    .mobile-nav-backdrop {
        display: none !important;
    }

    .mobile-drawer-extra {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE BURGER MENU & HEADER SYSTEM (max-width: 768px)
   Rock-solid stacking context: Header & Nav above Backdrop (Zero Blur Bug)
   ========================================================================== */
@media (max-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 2000 !important;
        background: #FFFFFF !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        overflow: visible !important;
    }

    .navbar-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        padding: 0 16px;
        gap: 8px;
        position: relative;
    }

    .brand-logo {
        gap: 10px;
        flex-shrink: 1;
        min-width: 0;
    }

    .brand-logo-img {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .logo-info {
        min-width: 0;
        overflow: hidden;
    }

    .brand-name {
        font-size: 1.1rem;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-tagline {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-cta-group {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* Hide desktop phone chip and CTA button from top bar on mobile */
    .nav-cta-group .nav-phone-chip,
    .nav-cta-group .nav-cta-btn {
        display: none !important;
    }

    /* Compact language toggle */
    .lang-toggle-wrapper {
        padding: 2px;
        border-radius: 6px;
    }

    .lang-toggle-btn {
        padding: 4px 8px;
        font-size: 0.725rem;
    }

    /* Animated Mobile Hamburger Button */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 8px 6px;
        background: var(--bg-cream);
        border: 1px solid var(--border-light);
        border-radius: 10px;
        cursor: pointer;
        transition: var(--transition);
        z-index: 2002;
    }

    .mobile-toggle:hover,
    .mobile-toggle.active {
        background: var(--primary-subtle);
        border-color: var(--primary);
    }

    .hamburger-line {
        display: block;
        width: 20px;
        height: 2px;
        background-color: var(--forest-deep);
        margin: 2.5px 0;
        border-radius: 2px;
        transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.2s ease;
    }

    .mobile-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--primary);
    }

    .mobile-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .mobile-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--primary);
    }

    /* MOBILE DRAWER: Positioned directly beneath sticky header, 100% crisp white */
    .nav-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        background: #FFFFFF !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 16px 28px !important;
        border-top: 1px solid var(--border-light) !important;
        border-bottom: 3px solid var(--primary) !important;
        box-shadow: 0 16px 40px rgba(7, 26, 16, 0.22) !important;
        z-index: 2001 !important;
        gap: 4px !important;
    }

    .nav-links.active {
        display: flex !important;
        animation: mobileMenuSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes mobileMenuSlide {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-item-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        font-size: 1rem;
        font-weight: 700;
        color: var(--forest-deep);
        border-radius: var(--radius-sm);
        border-bottom: 1px solid var(--border-light);
        text-decoration: none;
    }

    .nav-item-link::after {
        display: none !important;
    }

    .nav-item-link:hover,
    .nav-item-link.active {
        background: var(--primary-subtle);
        color: var(--primary);
        border-left: 3px solid var(--primary);
    }

    /* Mobile In-Drawer Action Area */
    .mobile-drawer-extra {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px dashed var(--border-light);
    }

    .mobile-drawer-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px;
        background: var(--bg-cream);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        color: var(--forest-deep);
        font-weight: 800;
        font-size: 0.9rem;
        text-decoration: none;
    }

    .mobile-drawer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        background: var(--primary);
        color: #FFFFFF;
        border-radius: var(--radius-sm);
        font-weight: 800;
        font-size: 0.9rem;
        box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
        text-decoration: none;
    }

    /* Backdrop: sits BELOW header (z-index: 1990 < 2000), dimming the page content only */
    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 26, 16, 0.5);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 1990 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Telemetry strip fix on mobile */
    .pm-telemetry-bar {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    .pm-telemetry-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .pm-telemetry-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .pm-telemetry-node {
        white-space: normal;
        font-size: 0.75rem;
    }

    /* Hero actions full-width on mobile */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Flow chips clean wrapping */
    .flow-scenario-chip {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}
/* ==========================================================================
   ACHIEVEMENTS & FOUNDER MULTI-PAGE STYLING & LIGHTBOX ENGINE
   ========================================================================== */

/* Subpage Hero Banner */
.subpage-hero {
    position: relative;
    padding: 70px 0 50px;
    background: linear-gradient(180deg, rgba(244, 246, 238, 0.8) 0%, rgba(251, 251, 248, 1) 100%);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.subpage-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.subpage-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    color: var(--forest-deep);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.subpage-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 24px;
}

/* Breadcrumb Bar */
.subpage-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.subpage-breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.subpage-breadcrumb a:hover {
    text-decoration: underline;
}

/* Grand Plaque Featured Card */
.grand-plaque-section {
    padding: 60px 0 80px;
}

.grand-plaque-card {
    background: linear-gradient(145deg, #0C2B1B 0%, #071A10 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 25px 60px -15px rgba(7, 26, 16, 0.4), 0 0 35px rgba(234, 179, 8, 0.15);
    padding: 48px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.grand-plaque-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #EAB308, #FACC15, #EAB308);
}

.grand-plaque-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.plaque-image-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    group: hover;
}

.plaque-image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.plaque-image-box:hover img {
    transform: scale(1.03);
}

.plaque-inspect-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(7, 26, 16, 0.85);
    backdrop-filter: blur(8px);
    color: #FACC15;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(234, 179, 8, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.plaque-image-box:hover .plaque-inspect-badge {
    background: #EAB308;
    color: #071A10;
    transform: translateY(-2px);
}

.plaque-content-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #FACC15;
    font-size: 0.785rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.plaque-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 14px;
}

.plaque-conferred {
    font-size: 0.95rem;
    color: #A7F3D0;
    line-height: 1.6;
    margin-bottom: 22px;
}

.plaque-highlights-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.plaque-highlight-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plaque-highlight-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.plaque-highlight-text strong {
    display: block;
    font-size: 0.85rem;
    color: #FFFFFF;
}

.plaque-highlight-text span {
    font-size: 0.75rem;
    color: #94A3B8;
}

/* Certificate Gallery Cards */
.cert-gallery-section {
    padding: 40px 0 80px;
    background: var(--bg-page);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.cert-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(7, 26, 16, 0.1);
    border-color: var(--primary);
}

.cert-media-wrap {
    position: relative;
    padding-top: 72%;
    background: var(--bg-cream);
    overflow: hidden;
    cursor: pointer;
}

.cert-media-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-media-wrap img {
    transform: scale(1.05);
}

.cert-overlay-inspect {
    position: absolute;
    inset: 0;
    background: rgba(7, 26, 16, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay-inspect {
    opacity: 1;
}

.cert-inspect-pill {
    background: #FFFFFF;
    color: var(--forest-deep);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cert-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cert-category-badge {
    align-self: flex-start;
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest-deep);
    line-height: 1.3;
    margin-bottom: 10px;
}

.cert-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.cert-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 0.775rem;
    color: var(--text-muted);
}

.cert-meta-row strong {
    color: var(--forest-deep);
}

/* Milestone Timeline */
.timeline-section {
    padding: 70px 0;
    background: var(--bg-cream);
}

.timeline-tree {
    position: relative;
    max-width: 860px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline-tree::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, #22C55E 100%);
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    width: 50%;
    padding: 20px 36px;
    box-sizing: border-box;
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.right {
    left: 50%;
    text-align: left;
}

.timeline-step::after {
    content: '';
    position: absolute;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid var(--primary);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    z-index: 2;
}

.timeline-step.left::after {
    right: -8px;
}

.timeline-step.right::after {
    left: -8px;
}

.timeline-card {
    background: #FFFFFF;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 6px;
}

.timeline-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--forest-deep);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .timeline-tree::before {
        left: 20px;
    }
    .timeline-step {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 15px;
    }
    .timeline-step::after {
        left: 12px !important;
    }
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .grand-plaque-grid {
        grid-template-columns: 1fr;
    }
    .grand-plaque-card {
        padding: 24px;
    }
    .plaque-highlights-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FOUNDER PAGE SPECIFIC STYLES
   ========================================================================== */
.founder-hero-section {
    padding: 70px 0 80px;
    position: relative;
    background: linear-gradient(180deg, #FBFBF8 0%, #F4F6EE 100%);
    overflow: hidden;
}

.founder-hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.founder-portrait-frame {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #0C2B1B 0%, #071A10 100%);
    padding: 16px;
    box-shadow: 0 25px 60px -10px rgba(7, 26, 16, 0.35);
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.founder-portrait-img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 10px);
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.founder-corner-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background: linear-gradient(135deg, #071A10 0%, #133A26 100%);
    border: 1.5px solid #FACC15;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.founder-corner-badge strong {
    display: block;
    font-size: 0.9rem;
    color: #FACC15;
}

.founder-corner-badge span {
    font-size: 0.75rem;
    color: #CBD5E1;
}

.founder-bio-card {
    display: flex;
    flex-direction: column;
}

.founder-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    color: var(--forest-deep);
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.founder-title-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.founder-lead-quote {
    position: relative;
    background: #FFFFFF;
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--forest-deep);
    line-height: 1.6;
    margin-bottom: 24px;
}

.founder-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0 28px;
}

.founder-stat-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.founder-stat-num {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.founder-stat-label {
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
}

/* Founder Pillars Grid */
.founder-pillars-section {
    padding: 70px 0;
    background: #FFFFFF;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.pillar-card {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    transition: var(--transition);
}

.pillar-card:hover {
    background: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--forest-deep);
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Founder Personal Guarantee Card */
.guarantee-letter-section {
    padding: 60px 0 80px;
    background: var(--bg-page);
}

.guarantee-letter-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-border);
    box-shadow: 0 16px 40px rgba(7, 26, 16, 0.07);
    padding: 44px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.guarantee-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--bg-cream);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.guarantee-seal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-seal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #15803D 0%, #071A10 100%);
    color: #FACC15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.guarantee-body-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.guarantee-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.guarantee-signature-block strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--forest-deep);
}

.guarantee-signature-block span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 900px) {
    .founder-hero-grid {
        grid-template-columns: 1fr;
    }
    .founder-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .guarantee-letter-card {
        padding: 24px;
    }
    .guarantee-header, .guarantee-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ==========================================================================
   HOMEPAGE FOUNDER & AWARD TEASER BANNER
   ========================================================================== */
.home-trust-teaser {
    padding: 60px 0;
    background: linear-gradient(135deg, #071A10 0%, #0D3220 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
    align-items: center;
}

.home-trust-img-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(234, 179, 8, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.home-trust-img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.home-trust-img-box:hover img {
    transform: scale(1.03);
}

.home-trust-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 12px;
}

.home-trust-content p {
    font-size: 0.95rem;
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 22px;
}

.home-trust-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .home-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL FOR CERTIFICATE INSPECTION
   ========================================================================== */
.cert-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 26, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cert-lightbox-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cert-lightbox-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #0C2B1B;
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cert-lightbox-backdrop.active .cert-lightbox-container {
    transform: scale(1);
}

.cert-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.cert-lightbox-close:hover {
    background: #EAB308;
    color: #071A10;
}

.cert-lightbox-img-wrap {
    width: 100%;
    max-height: 72vh;
    overflow: auto;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cert-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}

.cert-lightbox-footer {
    padding: 16px 24px;
    background: #071A10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.cert-lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
}

.cert-lightbox-caption {
    font-size: 0.8rem;
    color: #94A3B8;
}


/* ==========================================================================
   GLOBAL ANCHOR SCROLL-MARGIN & MODAL Z-INDEX ELEVATION
   ========================================================================== */
section[id], div[id].site-anchor-target {
    scroll-margin-top: 92px;
}

@media (max-width: 768px) {
    section[id], div[id].site-anchor-target {
        scroll-margin-top: 72px;
    }
}

/* Ensure full-screen modals always sit above sticky header */
.service-drawer {
    z-index: 25001 !important;
}
.drawer-backdrop {
    z-index: 25000 !important;
}
.proposal-modal-card {
    z-index: 25001 !important;
}
.proposal-modal-backdrop {
    z-index: 25000 !important;
}
.cert-lightbox-container {
    z-index: 30001 !important;
}
.cert-lightbox-backdrop {
    z-index: 30000 !important;
}


/* Official Full Logo Display */
.brand-logo-full {
    height: 46px;
    width: auto;
    max-height: 46px;
    object-fit: contain;
    transition: var(--spring-transition);
}

.brand-logo:hover .brand-logo-full {
    transform: scale(1.03);
}

.brand-tagline-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.22);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .brand-logo-full {
        height: 36px;
        max-height: 36px;
    }
    .brand-tagline-badge {
        display: none;
    }
}
