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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

/* Color Variables */
:root {
    --primary-blue: #1a237e; /* Dark Blue from PDF background  */
    --accent-green: #4caf50; /* Green from timeline/checkmarks  */
    --light-gray: #f4f4f4;
    --white: #fff;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-blue);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: var(--primary-blue);
    color: var(--white);
    height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--accent-green);
    color: var(--white);
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    opacity: 0.9;
}

/* Common Section Styles */
.section-light {
    padding: 60px 0;
    background: var(--white);
}

.section-dark {
    padding: 60px 0;
    background: var(--light-gray);
}

.section-accent {
    padding: 60px 0;
    background: var(--primary-blue);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 30px;
}

.card, .feature-item {
    background: var(--white);
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.section-dark .feature-item {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lead-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: auto;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.step-number {
    background: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    font-weight: bold;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-box h2 {
    font-size: 2.5rem;
    color: var(--accent-green);
}
/* --- STATS IMAGE FIX --- */

.stats-image {
    max-width: 100%;       /* Forces image to fit inside the container width */
    height: auto;          /* Maintains the aspect ratio (doesn't squish it) */
    display: block;        /* Removes tiny gap below image */
    margin: 0 auto;        /* Centers the image if it's smaller than the screen */
    border-radius: 8px;    /* Optional: Adds slightly rounded corners for a modern look */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow */
}

/* Mobile Tweak: Ensure it doesn't touch the edges on phones */
@media(max-width: 768px) {
    .stats-image {
        width: 90%;        /* Takes up 90% of screen width on mobile */
    }
}

/* Timeline */
.timeline-list {
    list-style: none;
    max-width: 800px;
    margin: auto;
}

.timeline-list li {
    background: var(--light-gray);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid var(--primary-blue);
}

/* Footer */
footer {
    background: #222;
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: var(--accent-green);
}

.disclaimer {
    font-size: 0.8rem;
    color: #999;
    margin-top: 20px;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .grid-2, .features-grid, .steps-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-wrapper {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .hero {
        height: auto;
        padding: 60px 0;
    }
}
/* --- NEW IMAGE STYLES --- */

/* Make all images responsive so they don't overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section Layout Update */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split text and image 50/50 */
    align-items: center;
    gap: 40px;
    text-align: left; /* Align text to left instead of center */
}

/* Mobile fix for Hero */
@media(max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Stack them on phone */
        text-align: center;
    }
    
    .hero-image {
        order: -1; /* Put image on top on mobile */
        margin-bottom: 20px;
    }
}

/* Step Images */
.step img {
    max-height: 150px; /* Limits height so icons are uniform */
    margin: 0 auto 20px auto; /* Centers the image */
}
/* Fix: Make "The Numbers" title white inside the blue section */
.section-accent .section-title {
    color: var(--white);
}
/* Solution Image Styling */
.solution-image {
    width: 100%;             /* Forces it to fill the width of the text area */
    max-width: 800px;        /* Prevents it from getting too huge on big screens */
    height: auto;            /* Keeps the proportions correct */
    display: block;
    margin: 30px auto;       /* Adds space above and below, and centers it */
    border-radius: 5px;      /* Optional: rounds corners slightly */
}
/* FIXED: Hero Logo Styling */
.hero-logo {
    width: 150px;            /* Much smaller width */
    height: auto;            /* Keeps shape correct */
    margin-top: 0px;
    margin-bottom: 10px;     /* Less gap between logo and text */
    
    background-color: #ffffff;
    padding: 2px;           /* Reduced padding inside the white box */
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Adds a nice pop/shadow */
}
/* --- MOBILE RESPONSIVE FIXES --- */
@media(max-width: 768px) {
    
    /* 1. HIDE Navigation Links on Mobile (Logo stays visible) */
    .nav-links {
        display: none;
    }

    /* 2. Fix Grids: Force everything into 1 column */
    .grid-2, .features-grid, .steps-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* 3. Fix Hero Section */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1; /* Puts image above text on mobile */
        margin-bottom: 20px;
    }

    /* 4. Fix Stats Image */
    .stats-image {
        width: 100%;
    }
}