/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3F7D58;
    --secondary-color: #EF9651;
    --accent-color: #EC5228;
    --background-color: #EFEFEF;
    --text-color: #333333;
    --white: #FFFFFF;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Accessibility */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    z-index: 1001;
}

.nav-brand a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    background-color: var(--white);
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CTA Button */
.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2d5a40;
}

/* Mission Section */
.mission {
    padding: 4rem 5%;
    text-align: center;
    background-color: var(--background-color);
}

.mission h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #2d5a40;
        --secondary-color: #d87a2f;
        --accent-color: #d13d1a;
        --text-color: #000000;
    }

    .card {
        border: 2px solid #000;
    }

    input, textarea, select {
        border: 2px solid #000;
    }
}

/* Success Stories Section */
.success-stories {
    padding: 4rem 2rem;
    background-color: var(--mint-cream);
}

.success-stories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 1.5rem;
}

.story-quote {
    font-style: italic;
    color: var(--deep-burgundy);
    font-size: 1.1rem;
    margin: 1rem 0;
}

.story-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.story-stats span {
    font-size: 0.9rem;
    color: var(--forest-green);
}

/* Features Showcase */
.features-showcase {
    padding: 4rem 2rem;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--mint-cream);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--forest-green);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
}

.feature-link:hover {
    color: var(--deep-burgundy);
}

/* Learning Path */
.learning-path {
    padding: 4rem 2rem;
    background-color: var(--sage-green);
}

.path-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.path-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--deep-burgundy);
}

.path-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--deep-burgundy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 2rem;
    z-index: 1;
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.step-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.step-features li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--forest-green);
}

/* Community Section */
.community {
    padding: 4rem 2rem;
    background-color: var(--mint-cream);
    text-align: center;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--deep-burgundy);
}

.stat-label {
    color: var(--forest-green);
    margin-top: 0.5rem;
}

.community-cta {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .path-timeline::before {
        left: 20px;
    }

    .path-step {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }

    .step-number {
        margin: 0 0 1rem 0;
    }

    .community-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .story-card,
    .feature-card,
    .step-content {
        border: 2px solid var(--deep-burgundy);
    }

    .story-stats span,
    .feature-link,
    .stat-label {
        color: var(--deep-burgundy);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .story-card,
    .blog-card,
    .story-image img,
    .blog-image img {
        transition: none;
    }
}

/* Logo Link Styles */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo-link:hover {
    text-decoration: none;
}

.logo-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .logo-link:focus {
        outline: 2px solid #000;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2d5a40;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #d87a2f;
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #d13d1a;
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
} 