/* =========================================
   ETFE-UG GLOBAL STYLES
   AFSA-INSPIRED NGO DESIGN
========================================= */

:root {
    --etfe-green: #176b3a;
    --etfe-dark-green: #0b4328;
    --etfe-light-green: #eaf4ed;
    --etfe-gold: #d5a62a;
    --etfe-dark: #17231d;
    --etfe-text: #4b554f;
    --etfe-white: #ffffff;
    --etfe-light: #f7f8f5;
    --etfe-border: #e2e7e3;
}

/* Reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--etfe-text);
    background: #fff;
    line-height: 1.7;
}

/* Main Elementor container */
.elementor-container {
    max-width: 1200px;
}

/* Sections */
.elementor-section {
    position: relative;
}

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

.etfe-section-light {
    background: var(--etfe-light);
}

.etfe-section-green {
    background: var(--etfe-green);
    color: #fff;
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--etfe-dark);
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: clamp(42px, 5vw, 76px);
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -1.5px;
}

h3 {
    font-size: 28px;
}

p {
    font-size: 17px;
}

/* Section heading */
.etfe-section-title {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.etfe-section-title h2 {
    margin-bottom: 18px;
}

.etfe-section-title p {
    color: #66716a;
}

/* =========================================
   HEADER
========================================= */

.etfe-header {
    background: #fff;
    position: relative;
    z-index: 999;
}

.etfe-header .elementor-container {
    min-height: 88px;
    align-items: center;
}

.etfe-header .elementor-nav-menu a {
    color: var(--etfe-dark);
    font-size: 15px;
    font-weight: 600;
    padding: 15px 18px !important;
    transition: .3s ease;
}

.etfe-header .elementor-nav-menu a:hover,
.etfe-header .elementor-nav-menu .current-menu-item > a {
    color: var(--etfe-green);
}

/* Header button */
.etfe-header-btn a {
    background: var(--etfe-green);
    color: #fff !important;
    padding: 13px 24px !important;
    border-radius: 4px;
    transition: .3s ease;
}

.etfe-header-btn a:hover {
    background: var(--etfe-dark-green);
    transform: translateY(-2px);
}

/* =========================================
   HERO
========================================= */

.etfe-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.etfe-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 38, 22, .88) 0%,
            rgba(5, 38, 22, .68) 45%,
            rgba(5, 38, 22, .15) 100%
        );
}

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

.etfe-hero h1 {
    color: #fff;
    max-width: 850px;
    margin-bottom: 25px;
}

.etfe-hero p {
    color: rgba(255,255,255,.9);
    font-size: 20px;
    max-width: 680px;
    margin-bottom: 35px;
}

/* Hero buttons */
.etfe-btn-primary a {
    background: var(--etfe-green);
    color: #fff !important;
    padding: 16px 30px !important;
    border-radius: 4px;
    font-weight: 700;
    transition: .3s ease;
}

.etfe-btn-primary a:hover {
    background: var(--etfe-gold);
    transform: translateY(-3px);
}

.etfe-btn-outline a {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.8);
    padding: 14px 28px !important;
    border-radius: 4px;
    font-weight: 700;
}

.etfe-btn-outline a:hover {
    background: #fff;
    color: var(--etfe-green) !important;
}

/* =========================================
   NEWS CARDS
========================================= */

.etfe-news-card {
    background: #fff;
    border: 1px solid var(--etfe-border);
    overflow: hidden;
    height: 100%;
    transition: .35s ease;
}

.etfe-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.etfe-news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.etfe-news-content {
    padding: 28px;
}

.etfe-news-content h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.etfe-news-date {
    color: var(--etfe-green);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}

/* =========================================
   WORK / PROGRAM CARDS
========================================= */

.etfe-work-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--etfe-border);
    height: 100%;
    overflow: hidden;
    transition: .35s ease;
}

.etfe-work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.etfe-work-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.etfe-work-content {
    padding: 30px;
}

.etfe-work-content h3 {
    margin-bottom: 14px;
}

.etfe-work-content a {
    color: var(--etfe-green);
    font-weight: 700;
    text-decoration: none;
}

.etfe-work-content a:hover {
    color: var(--etfe-gold);
}

/* =========================================
   ABOUT SECTION
========================================= */

.etfe-about-image img {
    width: 100%;
    border-radius: 3px;
    display: block;
}

.etfe-about-content {
    padding-left: 30px;
}

.etfe-about-content h2 {
    margin-bottom: 20px;
}

.etfe-about-content p {
    color: #59635d;
}

/* =========================================
   CTA SECTION
========================================= */

.etfe-cta {
    padding: 85px 30px;
    background: var(--etfe-green);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.etfe-cta h2 {
    color: #fff;
    max-width: 800px;
    margin: 0 auto 20px;
}

.etfe-cta p {
    color: rgba(255,255,255,.88);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* =========================================
   PARTNER / MEMBER LOGOS
========================================= */

.etfe-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 45px;
}

.etfe-logos img {
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: .3s ease;
}

.etfe-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* =========================================
   NEWSLETTER
========================================= */

.etfe-newsletter {
    background: var(--etfe-light-green);
    padding: 70px 30px;
}

.etfe-newsletter h2 {
    margin-bottom: 12px;
}

.etfe-newsletter input[type="email"] {
    min-height: 52px;
    border: 1px solid #ccd6cf;
    padding: 0 18px;
    background: #fff;
}

.etfe-newsletter button,
.etfe-newsletter input[type="submit"] {
    min-height: 52px;
    background: var(--etfe-green);
    color: #fff;
    border: 0;
    padding: 0 28px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================
   FOOTER
========================================= */

.etfe-footer {
    background: var(--etfe-dark-green);
    color: rgba(255,255,255,.78);
    padding: 75px 0 25px;
}

.etfe-footer h3,
.etfe-footer h4 {
    color: #fff;
}

.etfe-footer a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: .25s ease;
}

.etfe-footer a:hover {
    color: var(--etfe-gold);
}

.etfe-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 50px;
    padding-top: 25px;
}

/* =========================================
   ANIMATIONS
========================================= */

.etfe-fade-up {
    animation: etfeFadeUp .8s ease both;
}

@keyframes etfeFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .etfe-section {
        padding: 60px 20px;
    }

    .etfe-hero {
        min-height: 620px;
    }

    .etfe-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .etfe-hero p {
        font-size: 17px;
    }

    .etfe-about-content {
        padding-left: 0;
        padding-top: 30px;
    }

    .etfe-news-card img,
    .etfe-work-card img {
        height: 220px;
    }

    .etfe-cta {
        padding: 60px 20px;
    }

    .etfe-logos {
        gap: 25px;
    }

    .etfe-logos img {
        max-width: 110px;
    }

}

/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .etfe-section {
        padding: 75px 30px;
    }

    .etfe-hero {
        min-height: 650px;
    }

}