/* Global Styles */
:root {
    /* Color palette */
    --primary-color: #005587; /* Miller blue */
    --secondary-color: #d89e22; /* Orange accent color */
    --text-color: #333;
    --light-bg: #fff;
    --dark-bg: #f7f9fc;
    --gray: #e0e0e0;
    --dark-gray: #666;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
}

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

.nav-links ul li {
    margin: 0 15px;
}

.nav-links ul li a {
    font-weight: 500;
    color: var(--text-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    border-radius: 1px;
    transition: var(--transition);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #00456e;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn i {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--dark-bg);
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.hero-content {
    flex: 1 1 500px;
}

.hero h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-buttons {
    margin-bottom: 30px;
}

.hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-height: 500px;
    object-fit: cover;
}

/* Story Sections */
.story-section {
    padding: 100px 0;
}

.light-section {
    background-color: var(--light-bg);
}

.dark-section {
    background-color: var(--dark-bg);
}

.chapter-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.chapter-number {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.chapter-heading h2 {
    position: relative;
    display: inline-block;
}

.chapter-heading h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.story-content.reverse {
    flex-direction: row-reverse;
}

.story-content.centered {
    justify-content: center;
}

.story-text {
    flex: 1 1 500px;
}

.story-text.full-width {
    flex: 0 0 100%;
    max-width: 900px;
    margin: 0 auto;
}

.story-image {
    flex: 1 1 500px;
}

blockquote {
    font-style: italic;
    padding: 20px 30px;
    margin: 30px 0;
    background-color: #f1f7fc;
    border-left: 4px solid var(--primary-color);
    position: relative;
    border-radius: var(--border-radius);
}

blockquote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 10px;
    top: -15px;
    color: var(--primary-color);
    opacity: 0.2;
}

blockquote.featured-quote {
    background-color: var(--primary-color);
    color: var(--white);
    border-left: none;
    border-radius: 10px;
    padding: 40px;
    margin: 50px 0;
}

blockquote.featured-quote:before {
    color: var(--white);
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.stat-block {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
}

/* Challenge Blocks */
.challenge-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.challenge-block {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.challenge-block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.challenge-block p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Feature Blocks */
.feature-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-block {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-block h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-block p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Results Blocks */
.results-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.results-block {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-label {
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: #f1f7fc;
    text-align: center;
}

.video-section h2 {
    margin-bottom: 40px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-container video {
    width: 100%;
    display: block;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .story-section {
        padding: 80px 0;
    }
    
    .feature-blocks, 
    .results-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .story-section {
        padding: 60px 0;
    }
    
    blockquote.featured-quote {
        padding: 30px;
    }
    
    .challenge-blocks,
    .feature-blocks, 
    .results-blocks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .story-section {
        padding: 40px 0;
    }
    
    .chapter-heading {
        margin-bottom: 40px;
    }
    
    .stats-row {
        flex-direction: column;
    }
}