:root {
    --primary: #1a3a17;
    /* Darker forest green for better contrast */
    --primary-light: #2d5a27;
    --accent: #bc8a5f;
    /* More vibrant cedar */
    --accent-hover: #a6764d;
    --bg: #fdfaf6;
    --text: #1a1a1a;
    --text-muted: #4a4a4a;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

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

/* Flair Elements */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent);
    z-index: 1000;
    transition: width 0.1s ease;
}

.bg-blob {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate;
}

.blob-1 {
    background: radial-gradient(circle, var(--primary-light), transparent);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: radial-gradient(circle, var(--accent), transparent);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(10%, 10%) scale(1.1);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
    margin-bottom: -1px;
    /* Prevent tiny gap */
}

/* Hero Divider */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 5;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-divider .shape-fill {
    fill: var(--bg);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1518005020251-58296d11a91e?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Main Content Flow */
main {
    background: linear-gradient(180deg, var(--bg) 0%, #f4f7f4 50%, var(--bg) 100%);
    position: relative;
}

section {
    padding: 8rem 0;
}

#impact {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.impact-content p {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1.4;
    font-style: italic;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

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

.card {
    background: var(--white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.card:hover::before {
    transform: scaleY(1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: var(--primary);
}

/* CTA */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c18e5e;
}

/* Contact */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info .name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-info .email a {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    background: linear-gradient(to right, var(--accent), var(--accent));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.contact-info .email a:hover {
    background-size: 100% 2px;
}

#contact {
    padding-bottom: 10rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(188, 138, 95, 0.2);
}

footer {
    background: var(--primary);
    padding: 4rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

footer p {
    margin: 0;
}

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }
}