:root {
    --primary: #1b4d3e; /* Deep forest green */
    --primary-light: #2c6b56;
    --accent: #e9c46a; /* Refined luminous gold */
    --accent-glow: rgba(233, 196, 106, 0.2);
    --bg-color: #f8faf9;
    --card-bg: #ffffff;
    --text-main: #1e2923;
    --text-muted: #52635a;
    --border-color: rgba(27, 77, 62, 0.08); /* Thinner, softer borders */
    --shadow-soft: 0 15px 35px -5px rgba(27, 77, 62, 0.05), 0 5px 15px rgba(0,0,0,0.02);
    --shadow-hover: 0 25px 45px -10px rgba(27, 77, 62, 0.12), 0 10px 20px rgba(233, 196, 106, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Keeps your sticky header from covering up the section titles */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-slide-up { animation: fadeIn 1.2s ease-out 0.2s forwards; opacity: 0; }
.animate-fade-in-stagger-1 { animation: fadeIn 0.8s ease-out 0.1s forwards; opacity: 0; }
.animate-fade-in-stagger-2 { animation: fadeIn 0.8s ease-out 0.3s forwards; opacity: 0; }
.animate-fade-in-stagger-3 { animation: fadeIn 0.8s ease-out 0.5s forwards; opacity: 0; }

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 250, 249, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(27, 77, 62, 0.05);
    transition: var(--transition);
}

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

/* Logo Image Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 42px; /* Fixed height so it's not huge */
    width: auto;
    object-fit: contain;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

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

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 6px 20px rgba(27, 77, 62, 0.15);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 77, 62, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-cta {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 6rem 1.5rem;
    overflow: hidden;
}

/* Adds a beautiful subtle glow behind the hero text */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    max-width: 1200px;
    max-height: 1200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(233, 196, 106, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 1.05;
    color: var(--primary);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

h1 span {
    color: #b58352;
    font-style: italic;
    font-weight: 600;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: -0.01em;
    width: 100%;
    max-width: 280px;
}

@media (min-width: 500px) {
    .btn { width: auto; max-width: none; }
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
    background: #f4f8f6;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

/* Stats Strip */
.stats-strip {
    background: var(--primary);
    color: white;
    padding: 3rem 1.5rem;
    margin: -3rem 1.5rem 0 1.5rem;
    position: relative;
    z-index: 3;
    border-radius: 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 25px 50px rgba(27, 77, 62, 0.2);
}

@media (max-width: 1150px) {
    .stats-strip { margin: -2.5rem 1rem 0 1rem; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-family: 'Cormorant Garamond', serif;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Main Container & Sections */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 7rem 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4.5rem auto;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Grid Layouts & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233, 196, 106, 0.4);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f4f8f6, #e9f2ee);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.75rem;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(27,77,62,0.05);
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Unique Rich External Resource Card */
.card-resources {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.resources-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
    opacity: 0.8;
}

.rich-resource-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem;
    background: #f9fbfaf2;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.rich-resource-link:hover {
    background: #ffffff;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 77, 62, 0.06);
}

.resource-icon-badge {
    font-size: 1.3rem;
    background: white;
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.resource-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Blueprint Timeline / Phases */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.timeline-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233, 196, 106, 0.4);
}

.timeline-number {
    position: absolute;
    top: -18px;
    right: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(27, 77, 62, 0.04);
    line-height: 1;
}

.timeline-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.timeline-list {
    list-style: none;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.timeline-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #b58352;
    font-size: 0.85rem;
    top: 3px;
}

/* Vision Section / Callout */
.vision-box {
    background: linear-gradient(135deg, #163e32 0%, #0d221c 100%);
    border-radius: 28px;
    padding: 4.5rem 3.5rem;
    color: white;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 30px 60px rgba(13, 34, 28, 0.3);
}

@media (max-width: 900px) {
    .vision-box {
        grid-template-columns: 1fr;
        padding: 3.5rem 2rem;
        gap: 3rem;
    }
}

.vision-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.vision-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.vision-stats-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.vision-stat-item {
    margin-bottom: 2rem;
}

.vision-stat-item:last-child {
    margin-bottom: 0;
}

.vision-stat-item h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.vision-stat-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #0f1c16;
    color: rgba(255, 255, 255, 0.65);
    padding: 5rem 1.5rem 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand p {
    margin-top: 1.25rem;
    font-size: 1rem;
    max-width: 360px;
    line-height: 1.7;
}

/* Footer Logo CSS Magic - Turns dark green png white */
.footer-logo {
    color: white;
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1150px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Smooth UI Tweaks */
html {
    scroll-padding-top: 90px;
}