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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
    font-weight: 200;
    overflow-x: hidden;
}

/* CSS Variables for Colors */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --accent-primary: #00ff88;
    --accent-secondary: #ff6b35;
    --accent-tertiary: #3b82f6;
    --text-primary: #e5e5e5;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border-color: #262626;
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    --shadow-primary: 0 10px 40px rgba(0, 255, 136, 0.1);
    --shadow-secondary: 0 10px 40px rgba(255, 107, 53, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.4;
}

p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 200;
    color: var(--text-secondary);
}

.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 200;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.donate-btn {
    background: var(--gradient-primary);
    color: var(--primary-bg) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.donate-btn::after {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.05) 0%, transparent 70%);  <!-- used to be rgba(0, 255, 136, 0.05) -->
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 100;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-weight: 200;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-primary);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 100;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookstove-placeholder {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 100;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Impact Section */
.impact {
    background: var(--secondary-bg);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.impact-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-primary);
}

.impact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.impact-header h3 {
    font-weight: 200;
}

.country-flag {
    font-size: 2rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.impact-stat {
    text-align: center;
}

.impact-stat h4 {
    font-size: 2rem;
    font-weight: 100;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.impact-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary); <!-- used to be -accent-secondary  -->
    box-shadow: var(--shadow-primary); <!-- used to be -shadow-secondary  -->
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit h4 {
    margin-bottom: 1rem;
    font-weight: 300;
}

/* News Section */
.stories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.story-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-primary);
}

.story-card.featured {
    grid-row: span 2;
}

.story-image {
    height: 200px;
    background: var(--secondary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-card.featured .story-image {
    height: 300px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.1;
}

.story-content {
    padding: 2rem;
}

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

.story-author {
    font-weight: 300;
    color: var(--accent-primary);
}

.updates-list {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.update-date {
    font-weight: 300;
    color: var(--accent-primary);
    min-width: 100px;
}

.update-content h4 {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

/* About Section */
.about {
    background: var(--secondary-bg);
}

.about-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-mission p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.tech-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-feature,
.team-category {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-feature:hover,
.team-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);  <!-- used to be -accent-tertiary -->
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);  <!-- used to be 59, 130, 246, 0.1 -->
}

.tech-feature h4,
.team-category h4 {
    margin-bottom: 1rem;
    color: var(--accent-primary);<!-- used to be -accent-tertiary -->
    font-weight: 300;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
    font-weight: 300;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

/* Donate Section */
.donate {
    background: var(--secondary-bg);
}

.donate-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.amount-btn {
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
}

.custom-amount {
    margin: 1rem 0;
}

.custom-amount input {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
}

.donation-impact {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.donation-impact p {
    margin-bottom: 0.5rem;
}

.help-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.help-option {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.help-option:hover {
    border-color: var(--accent-primary);  <!-- used to be -accent-secondary -->
    transform: translateX(10px);
}

.help-option h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-primary);    <!-- used to be -accent-secondary -->
    font-weight: 300;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-weight: 300;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid,
    .donate-options {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .tech-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}