:root {
    --primary-black: #0a0a0a;
    --secondary-gray: #6b7280;
    --light-gray: #f8fafc;
    --pure-white: #ffffff;
    --accent-orange: #ea580c;
    --accent-amber: #f59e0b;
    --accent-red: #dc2626;
    --subtle-border: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --gradient-primary: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    --gradient-heat: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--pure-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 100px;
    border-bottom: 1px solid var(--subtle-border);
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--pure-white);
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--subtle-border);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.text-content {
    max-width: 800px;
}

.lead-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.text-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.text-content strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Essentials List */
.essentials-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.essentials-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.essentials-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 18px;
}

.emphasis-text {
    font-size: 18px;
    font-style: italic;
    color: var(--accent-orange);
    border-left: 4px solid var(--accent-orange);
    padding-left: 20px;
    margin: 32px 0;
}

/* Quote Box */
.quote-box {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-orange);
    padding: 32px;
    margin: 32px 0;
    border-radius: 8px;
}

.quote-text {
    font-size: 20px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.quote-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-orange);
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(234, 88, 12, 0.1);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Section Backgrounds */
.heat-kits-section {
    background: var(--pure-white);
}

.tree-planting-section {
    background: var(--light-gray);
}

.impact-section {
    background: var(--pure-white);
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.impact-card {
    background: var(--pure-white);
    border: 1px solid var(--subtle-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-orange);
}

.impact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--accent-orange);
}

.impact-icon svg {
    width: 100%;
    height: 100%;
}

.impact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.impact-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Image Slider Section */
.image-slider-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--subtle-border);
    background: var(--light-gray);
}

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

.slider-header {
    text-align: center;
    margin-bottom: 60px;
}

.slider-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.slider-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 20px 20px 0 0;
    transition: transform 0.3s ease;
    background-color: var(--light-gray);
    display: block;
}

.slide img:hover {
    transform: scale(1.02);
}

.slide img[src=""] {
    display: none;
}

.slide-content {
    background: white;
    padding: 32px;
    border-radius: 0 0 20px 20px;
}

.slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.slide-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: var(--accent-orange);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--subtle-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    width: 0%;
    transition: width 0.1s linear;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--subtle-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active,
.dot:hover {
    background: var(--accent-orange);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .content-wrapper {
        gap: 40px;
    }

    .lead-text {
        font-size: 18px;
    }

    .stat-number {
        font-size: 48px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .quote-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-section {
        padding: 120px 16px 80px;
    }

    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-card {
        padding: 32px 24px;
    }

    .impact-card {
        padding: 32px 24px;
    }
}
