/* ==========================================================================
   PREMIUM IVORIAN LIGHT SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Côte d'Ivoire & DEF Inspired Colors */
    --clr-bg: #f8fafc;            /* Light slate background */
    --clr-surface: #ffffff;       /* Pure white panels */
    --clr-surface-card: #ffffff;  /* Pure white cards */
    --clr-surface-hover: #f1f5f9; /* Soft grey for hover states */
    
    /* National Flag Colors */
    --clr-primary: #f97316;       /* Côte d'Ivoire Orange (Alert / Fire) */
    --clr-primary-glow: rgba(249, 115, 22, 0.08);
    
    --clr-secondary: #009e49;     /* Côte d'Ivoire Green (Safety / Safe State) */
    --clr-secondary-glow: rgba(0, 158, 73, 0.08);
    
    --clr-text-main: #0f172a;     /* Deep slate for text */
    --clr-text-muted: #475569;    /* Medium slate for description */
    --clr-border: rgba(15, 23, 42, 0.08); /* Soft dark border */
    --clr-border-hover: rgba(249, 115, 22, 0.35);
    
    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08), 0 1px 5px rgba(15, 23, 42, 0.03);
    
    --transition-smooth: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: 0.2s ease;
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--clr-bg);
}

body.light-theme {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--clr-text-main);
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    color: var(--clr-text-main);
}

/* Layout container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Custom premium scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary);
}

/* ==========================================================================
   CIV NATIONAL TOP BAR & ALERTS
   ========================================================================== */
.top-bar-civ {
    background-color: #0b0f19;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.65rem 0;
    position: relative;
    z-index: 1001;
}

.top-bar-civ::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f97316 33.3%, #ffffff 33.3%, #ffffff 66.6%, #009e49 66.6%);
}

.top-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 576px) {
    .top-bar-container {
        flex-direction: row;
    }
}

.top-bar-contact a {
    color: #f97316;
}

.top-bar-contact a:hover {
    color: #ffffff;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), #ea580c);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--clr-surface-hover);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(15, 23, 42, 0.15);
    color: var(--clr-text-main);
}

.btn-outline:hover {
    border-color: var(--clr-text-main);
    background-color: rgba(15, 23, 42, 0.03);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 2.2rem; /* Account for Top Bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

@media (max-width: 575px) {
    .site-header {
        top: 3.4rem; /* Account for wrapped top bar on small screens */
    }
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    padding: 0.95rem 0;
    box-shadow: var(--shadow-sm);
    top: 0; /* Align to top when scrolled */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 950;
    color: var(--clr-text-main);
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--clr-primary);
    display: flex;
    align-items: center;
}

.logo-sub {
    color: var(--clr-secondary); /* Green dot represent CI (.ci) */
}

.nav-menu {
    display: none;
}

@media (min-width: 992px) {
    .nav-menu {
        display: block;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

.nav-link {
    color: var(--clr-text-muted);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.35rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-text-main);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Burger Toggle for Mobile */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--clr-text-main);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
}

.mobile-link {
    color: var(--clr-text-main);
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 700;
    display: block;
}

.btn-mobile-cta {
    max-width: 250px;
    margin: 1.5rem auto 0 auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 15rem 0 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff url('../assets/hero_fire_safety.png') no-repeat center;
    background-size: cover;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 35%, rgba(255, 255, 255, 0.82) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-content {
    max-width: 650px;
}

.hero-content .badge {
    background-color: var(--clr-primary-glow);
    border: 1px solid rgba(249, 115, 22, 0.15);
    color: var(--clr-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--clr-text-main);
    background: linear-gradient(135deg, var(--clr-text-main) 60%, var(--clr-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 576px) {
    .hero-title {
        font-size: 3.85rem;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Floating graphical widgets */
.hero-visual {
    height: 400px;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-visual {
        display: flex;
    }
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-badge-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--clr-text-main);
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth);
}

.floating-badge:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary);
}

.badge-1 {
    top: 20%;
    left: 5%;
    border-left: 4px solid var(--clr-primary); /* Orange */
}

.badge-2 {
    top: 45%;
    right: 5%;
    border-left: 4px solid var(--clr-secondary); /* Green */
}

.badge-3 {
    top: 70%;
    left: 15%;
    border-left: 4px solid #f59e0b; /* Amber */
}

/* ==========================================================================
   KPI / STATS SECTION (DEF France Style)
   ========================================================================== */
.kpi-section {
    padding: 4rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    z-index: 3;
}

.kpi-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .kpi-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kpi-item {
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .kpi-item {
        border-right: 1px solid rgba(15, 23, 42, 0.08);
        border-bottom: none;
        padding-bottom: 0;
        padding-right: 1.5rem;
    }
    .kpi-item:last-child {
        border-right: none;
        padding-right: 0;
    }
}

.kpi-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 850;
    color: var(--clr-primary); /* CIV Orange representing emergency/active statistics */
    line-height: 1.1;
    margin-bottom: 0.5rem;
    display: block;
}

.kpi-label {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--clr-text-main);
    font-weight: 500;
}

/* ==========================================================================
   SOLUTIONS SECTION (Extinction Gaz)
   ========================================================================== */
.solutions-section {
    padding: 9rem 0;
    background-color: var(--clr-surface);
    position: relative;
}

.section-badge {
    color: var(--clr-secondary); /* CIV Green representing safety/compliance */
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 850;
    color: var(--clr-text-main);
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 15%;
    width: 4px;
    height: 70%;
    background-color: var(--clr-primary); /* Orange line accent like DEF site */
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.solutions-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .solutions-details-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.solution-info-card {
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.solution-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--clr-secondary); /* Green indicator */
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.solution-info-card h3 {
    font-size: 1.65rem;
    color: var(--clr-text-main);
    margin-bottom: 1rem;
}

.solution-info-card p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.solution-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-points li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--clr-text-muted);
}

.solution-points li strong {
    color: var(--clr-text-main);
}

.solution-points li::before {
    content: '→';
    color: var(--clr-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.solution-visual-card {
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.gas-cylinder-graphic {
    position: relative;
    margin-bottom: 2rem;
}

.glowing-pulse {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--clr-primary);
    filter: blur(8px);
    animation: sim-pulse 2s infinite;
}

.visual-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.visual-text p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   SERVICES SECTION (Multi-marque)
   ========================================================================== */
.services-section {
    padding: 9rem 0;
    background-color: var(--clr-bg);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-border-hover);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.08);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--clr-text-main);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.highlighted-card {
    border: 1px solid rgba(249, 115, 22, 0.25);
    background: linear-gradient(180deg, var(--clr-surface) 0%, rgba(249, 115, 22, 0.01) 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.02);
}

.highlighted-card:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.12);
}

/* ==========================================================================
   COMPLEMENTARY SERVICES (Gardiennage & Décoration)
   ========================================================================== */
.complementary-section {
    padding: 9rem 0;
    background-color: var(--clr-surface);
}

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

@media (min-width: 992px) {
    .complementary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.complementary-card {
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.complementary-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-border-hover);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.06);
}

.comp-image-container {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, var(--clr-bg) 100%);
}

.comp-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.comp-tag {
    color: var(--clr-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.complementary-card h3 {
    font-size: 1.5rem;
    color: var(--clr-text-main);
}

.complementary-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR
   ========================================================================== */
.simulator-section {
    padding: 9rem 0;
    background-color: var(--clr-bg);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .simulator-container {
        grid-template-columns: 1fr 1fr;
    }
}

.simulator-intro .section-title {
    color: var(--clr-text-main);
}

.simulator-intro .section-desc {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.simulator-interactive-box {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    box-shadow: var(--shadow-sm);
}

.interactive-building {
    width: 140px;
    height: 180px;
    color: #94a3b8;
    transition: color var(--transition-smooth);
}

.interactive-building.active {
    color: var(--clr-primary);
}

/* Window flash anim */
.win-sim {
    transition: fill var(--transition-smooth), opacity var(--transition-smooth);
}

@keyframes sim-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0; }
}

.simulator-card {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: var(--clr-text-muted);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: var(--clr-text-main);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--clr-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--clr-primary-glow);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* Results section styling */
.simulator-results {
    margin-top: 2rem;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
    animation: simFadeIn var(--transition-smooth) forwards;
}

@keyframes simFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.simulator-results h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--clr-secondary); /* Green representing final simulated safe state result */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background-color: var(--clr-bg);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    border-left: 3px solid var(--clr-secondary);
}

.result-icon {
    font-size: 1.5rem;
}

.result-item h4 {
    font-size: 1.05rem;
    color: var(--clr-text-main);
    margin-bottom: 0.25rem;
}

.result-item p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.results-actions {
    margin-top: 1.5rem;
    text-align: right;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 9rem 0;
    background-color: var(--clr-surface);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    color: var(--clr-primary);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--clr-text-main);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--clr-text-muted);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--clr-primary);
}

.contact-form-wrapper {
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--clr-text-main);
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .premium-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
    accent-color: var(--clr-primary);
}

.checkbox-group label {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}

.feedback-msg {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.feedback-msg.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.feedback-msg.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.footer-brand {
    max-width: 450px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-brand .logo-icon {
    color: var(--clr-primary);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-links-col h3 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--clr-primary);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

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

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
    }
}

.footer-bottom p {
    font-size: 0.85rem;
}

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

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entrance transitions */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: heroFadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.25s;
}

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

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