/* =========================================
   GLOBAL
========================================= */
:root {
    --primary: #136f3a;
    --secondary: #f26b21;
    --brown: #7a2d12;
    --light-bg: #f5f9f6;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light-bg);
    color: #222;
    line-height: 1.6;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}


/* =========================================
   NAVBAR
========================================= */
.custom-navbar {
    background: #fff;
    border-bottom: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.brand-text {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-custom {
    font-weight: 500;
    color: var(--primary) !important;
    transition: 0.3s ease;
}

.nav-custom:hover {
    color: var(--secondary) !important;
}


/* =========================================
   BUTTONS
========================================= */
.btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-brand {
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
}

.btn-brand:hover {
    background: var(--secondary);
    color: #fff;
}

.btn-hero {
    background: var(--secondary);
    color: #fff;
    border-radius: 30px;
    padding: 12px 30px;
}

.btn-hero:hover {
    background: #fff;
    color: var(--primary);
}


/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 95vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(19, 111, 58, 0.75),
            rgba(122, 45, 18, 0.75));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 800;
    animation: fadeUp 1s ease-out forwards;
}

.hero-section p {
    animation: fadeUp 1.3s ease-out forwards;
}


/* =========================================
   PAGE HEADER
========================================= */
.page-header {
    height: 55vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(rgba(19, 111, 58, 0.85),
            rgba(19, 111, 58, 0.85)),
        url('../images/hero-bg.jpg') center/cover no-repeat;
}


/* =========================================
   FOCUS / FEATURE CARDS
========================================= */
.focus-card {
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}


/* =========================================
   IMPACT SECTION
========================================= */
.impact-section {
    background: linear-gradient(135deg, var(--primary), #0f5c2f);
    color: #fff;
    padding: 90px 0;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}


/* =========================================
   CTA SECTION
========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), #d85c17);
    color: #fff;
}


/* =========================================
   FOOTER
========================================= */
.footer-brand {
    background: var(--brown);
    color: #fff;
    padding: 40px 0;
}

.footer-link {
    color: #f5f9f6;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary);
}


/* =========================================
   SCROLL FADE-IN ANIMATION
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s ease-out;
}

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


/* =========================================
   KEYFRAME ANIMATIONS
========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, 8px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}