@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1b4332;
    --primary-light: #2d6a4f;
    --accent: #52b788;
    --accent-light: #d8f3dc;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}
.top-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    flex: 1;
}
.top-info i {
    color: var(--accent);
}
.top-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.top-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}
.top-links a:hover {
    color: var(--accent);
}


/* Header */
header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-leaf {
    background: var(--accent-light);
    color: var(--primary);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}
.logo-text span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}
nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav a:hover, nav a.active {
    color: var(--primary-light);
}
.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.2s, transform 0.2s !important;
}
.btn-nav:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

#nav-toggle { display: none; }
.nav-toggle-label { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.nav-toggle-label span { width: 25px; height: 3px; background: var(--text-dark); border-radius: 2px; }

@media(max-width: 992px) {
    .nav-toggle-label { display: flex; }
    nav {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        max-height: 0; overflow: hidden;
        transition: max-height 0.4s ease-out;
    }
    nav ul {
        flex-direction: column;
        padding: 20px 25px;
        gap: 15px;
        max-height: 75vh;
        overflow-y: auto;
    }
    #nav-toggle:checked ~ nav {
        max-height: 85vh;
    }
    .top-bar { display: flex; padding: 6px 0; font-size: 0.78rem; }
    .top-bar .container { flex-wrap: wrap; gap: 6px; justify-content: space-between; }
    .top-info { flex: 1 1 100%; text-align: center; }
    .lang-toggle { display: flex !important; margin: 0 auto; }
    .top-links { display: none; } /* Hide duplicate links in top-bar on mobile since they are in hamburger menu */
}

/* Hero */
.hero {
    background: linear-gradient(rgba(27,67,50,0.75), rgba(27,67,50,0.75)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h1 span {
    color: var(--accent);
}
.hero p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-primary {
    background: var(--accent);
    color: var(--primary);
}
.btn-primary:hover {
    background: #40916c;
    color: var(--white);
    transform: translateY(-3px);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Impact Counter */
.impact-counter {
    background: var(--bg-light);
    padding: 50px 0;
    border-bottom: 1px solid #eaeaea;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    text-align: center;
}
.counter-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.counter-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.counter-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}
.counter-item p {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-subtitle {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-muted);
}

/* Pillars Section */
.pillars { padding: 100px 0; }
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}
.pillar-card {
    background: var(--white);
    border: 1px solid #eaeaea;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}
.pillar-icon {
    font-size: 2rem;
    color: var(--primary);
    background: var(--accent-light);
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
}
.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.card-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}
.card-link:hover {
    gap: 12px;
    color: var(--accent);
}

/* Programs Preview */
.bg-light { background-color: var(--bg-light); }
.programs-preview { padding: 100px 0; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}
.program-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(40,167,69,0.1);
    height: 100%;
}
.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(40,167,69,0.15);
    border-color: var(--primary);
}
.program-badge {
    background: rgba(40,167,69,0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.program-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: color 0.3s;
}
.program-card:hover h3 {
    color: var(--primary);
}
.program-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
}
.card-img {
    height: 190px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    background-color: #e8f5e9;
    display: block;
}
.program-card:hover .card-img {
    transform: scale(1.03);
}
.program-card {
    text-decoration: none !important;
    color: var(--text-dark) !important;
}
.program-card:hover {
    text-decoration: none !important;
}
.program-card h3, .program-card p, .program-card .read-more {
    text-decoration: none !important;
}
.card-read-more,
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    gap: 8px;
}
.btn-text {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-text:hover { color: var(--accent); }
.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-inline;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Journey Section */
.journey-section { padding: 100px 0; }
.journey-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
}
.journey-step {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
}
.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: #e9ecef;
    margin-bottom: 10px;
}
.journey-step h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.journey-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: var(--white);
}
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.cta-box p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-about p { color: #adb5bd; font-size: 0.9rem; margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-links a {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}
.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #adb5bd; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { color: #adb5bd; font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #6c757d;
    font-size: 0.85rem;
}

@media(max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}


/* Dropdown Menu Styles (Simple vertical list) */
.dropdown {
    position: relative;
}
.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}
nav ul ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    display: block; /* Change from grid to block for vertical list */
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 10px 0;
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 1100;
    border: 1px solid #eaeaea;
    pointer-events: none;
}
.dropdown:hover ul.dropdown-menu,
.dropdown:focus-within ul.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
ul.dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}
ul.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
ul.dropdown-menu a:hover {
    background: var(--accent-light);
    color: var(--primary);
}


/* ===== Dropdown mobile ===== */
@media(max-width: 992px){
    nav ul ul.dropdown-menu{
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 14px;
        display: flex;
        flex-direction: column;
    }
    ul.dropdown-menu a{ padding: 8px 14px; font-size: .9rem; }
    nav ul{ gap: 12px; }
}

/* ===== Timeline ===== */
.timeline{ position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.timeline::before{ content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; background: var(--accent-light); border-radius: 2px; }
.timeline-item{ position: relative; margin-bottom: 36px; background: var(--white); border: 1px solid #eaeaea; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.timeline-item::before{ content: ""; position: absolute; left: -31px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.timeline-year{ font-weight: 800; color: var(--accent); font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* ===== Quote block ===== */
.quote-block{ background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); padding: 48px 40px; border-radius: var(--radius); text-align: center; font-size: 1.25rem; font-weight: 600; line-height: 1.7; box-shadow: var(--shadow); }
.quote-block i{ color: var(--accent); margin-right: 8px; }

/* ===== Step list ===== */
.step-item{ display: flex; gap: 18px; background: var(--white); border: 1px solid #eaeaea; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 16px; box-shadow: var(--shadow); align-items: flex-start; text-align: left; }
.step-num-badge{ flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-light); color: var(--primary); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border: 2px solid var(--accent); }
.step-item h4{ color: var(--primary); margin-bottom: 6px; }
.step-item p{ color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ===== Note box ===== */
.note-box{ background: #eef7f0; border: 1px solid #cde8d3; border-left: 5px solid var(--accent); padding: 16px 20px; border-radius: 8px; font-size: .9rem; color: var(--text-dark); margin: 20px 0; }

/* ===== Section padding helper ===== */
.section-pad{ padding: 90px 0; }

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 18px;
}
.lang-toggle a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}
.lang-toggle a:hover, .lang-toggle a.active {
    color: var(--white);
    background: var(--accent);
}
@media(max-width: 992px) {
    .lang-toggle { display: none; }
}
