﻿:root {
    /* Pine Green Colors */
    --primary-color: #01796f;
    --secondary-color: #2e8b57;
    --accent-color: #66cdaa;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f9f7;
    --text-primary: #064e3b;
    --text-secondary: #047857;
    --border-color: #d1fae5;
    --shadow-color: rgba(1, 121, 111, 0.12);
}

[data-theme="dark"] {
    /* Pure Dark Mode - Proper Colors */
    --primary-color: #6b7280;
    --secondary-color: #4b5563;
    --accent-color: #60a5fa;
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: #30363d;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center center;
        background-size: cover;
        opacity: 0.3;
    }

    .page-header .container {
        position: relative;
        z-index: 2;
    }

.page-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.page-description {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

    .timeline-item.animate {
        opacity: 1;
        transform: translateY(0);
    }

/* Timeline Content */
.timeline-content {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 15px 40px var(--shadow-color);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 400px;
}

    .timeline-content:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px var(--shadow-color);
    }

/* Left aligned items (odd) - Text Left, Image Right */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 5%;
}

.timeline-item:nth-child(odd) .timeline-text {
    flex: 1;
    padding: 2.5rem;
    order: 1;
}

.timeline-item:nth-child(odd) .timeline-image {
    flex: 1;
    height: 400px;
    order: 2;
}

/* Right aligned items (even) - Image Left, Text Right */
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
}

.timeline-item:nth-child(even) .timeline-text {
    flex: 1;
    padding: 2.5rem;
    order: 2;
}

.timeline-item:nth-child(even) .timeline-image {
    flex: 1;
    height: 400px;
    order: 1;
}

.timeline-image {
    overflow: hidden;
    position: relative;
}

    .timeline-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .timeline-features li {
        color: var(--text-primary);
        margin-bottom: 0.5rem;
        position: relative;
        padding-left: 1.5rem;
    }

        .timeline-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--accent-color);
            position: absolute;
            left: 0;
            top: 0;
        }

/* Timeline Dots */
.timeline-dot {
    position: absolute;
    top: 200px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content:hover + .timeline-dot {
    background: var(--primary-color);
    transform: translateX(-50%) scale(1.3);
}

/* Timeline Arrows */
.timeline-arrow {
    position: absolute;
    top: 200px;
    width: 0;
    height: 0;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-arrow {
    right: calc(50% - 25px);
    border-left: 15px solid var(--bg-primary);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-arrow {
    left: calc(50% - 25px);
    border-right: 15px solid var(--bg-primary);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

    .btn-cta:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column;
        margin-left: 80px;
        margin-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-text,
    .timeline-item:nth-child(even) .timeline-text {
        order: 2;
        padding: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-image,
    .timeline-item:nth-child(even) .timeline-image {
        order: 1;
        height: 250px;
    }

    .timeline-dot {
        left: 20px !important;
        right: auto !important;
        transform: translateX(0) !important;
    }

    .timeline-arrow {
        left: 50px !important;
        right: auto !important;
        border-right: 15px solid var(--bg-primary) !important;
        border-left: none !important;
        border-top: 15px solid transparent !important;
        border-bottom: 15px solid transparent !important;
    }

    .timeline-title {
        font-size: 1.5rem;
    }
}

