/* =========================
   CEGLIS GLOBAL STYLES
   style.css
========================= */

/* =========================
   GOOGLE FONTS
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   RESET
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */

body{
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #222;
    overflow-x: hidden;
}

/* =========================
   CONTAINER
========================= */

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   IMAGES
========================= */

img{
    max-width: 100%;
    height: auto;
}

/* =========================
   LINKS
========================= */

a{
    text-decoration: none;
}

/* =========================
   LISTS
========================= */

ul{
    list-style: none;
}

/* =========================
   SECTION SPACING
========================= */

section{
    padding: 90px 0;
}

/* =========================
   SECTION TITLES
========================= */

.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 42px;
    color: #174d2c;
    margin-bottom: 18px;
}

.section-title p{
    color: #666;
    max-width: 750px;
    margin: auto;
    line-height: 1.8;
    font-size: 16px;
}

/* =========================
   BUTTONS
========================= */

.btn-primary{
    display: inline-block;
    background-color: #174d2c;
    color: white;
    padding: 14px 34px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-primary:hover{
    background-color: #0f361f;
    transform: translateY(-3px);
}

/* =========================
   HEADER
========================= */

header{
    width: 100%;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* =========================
   LOGO
========================= */

.logo h1{
    font-size: 32px;
    color: #174d2c;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =========================
   NAVIGATION
========================= */

nav ul{
    display: flex;
    align-items: center;
    gap: 28px;
}

nav ul li a{
    color: #333;
    font-weight: 500;
    transition: 0.3s ease;
    font-size: 15px;
}

nav ul li a:hover{
    color: #174d2c;
}

/* =========================
   HERO DEFAULT
========================= */

.hero,
.about-hero,
.projects-hero,
.focus-hero,
.partners-hero,
.news-hero,
.gallery-hero,
.contact-hero{
    background-color: #f5f7f3;
}

.gallery-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hero .container,
.about-hero .container,
.projects-hero .container,
.focus-hero .container,
.partners-hero .container,
.news-hero .container,
.gallery-hero .container,
.contact-hero .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* =========================
   HERO TEXT
========================= */

.hero-text,
.about-hero-text,
.projects-hero-text,
.focus-hero-text,
.partners-hero-text,
.news-hero-text,
.gallery-hero-text,
.contact-hero-text{
    flex: 1;
}

.hero-text h1,
.about-hero-text h1,
.projects-hero-text h1,
.focus-hero-text h1,
.partners-hero-text h1,
.news-hero-text h1,
.gallery-hero-text h1,
.contact-hero-text h1{
    font-size: 56px;
    color: #174d2c;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p,
.about-hero-text p,
.projects-hero-text p,
.focus-hero-text p,
.partners-hero-text p,
.news-hero-text p,
.gallery-hero-text p,
.contact-hero-text p{
    color: #555;
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 30px;
}

/* =========================
   HERO IMAGES
========================= */

.hero-image,
.about-hero-image,
.
projects-hero-image,
.focus-hero-image,
.partners-hero-image,
.news-hero-image,
.gallery-hero-image,
.contact-hero-image{
    flex: 1;
}

.hero-image img,
.about-hero-image img,
.projects-hero-image img,
.focus-hero-image img,
.partners-hero-image img,
.news-hero-image img,
.gallery-hero-image img,
.contact-hero-image img{
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.hero-image img:hover,
.about-hero-image img:hover,
.projects-hero-image img:hover,
.focus-hero-image img:hover,
.partners-hero-image img:hover,
.news-hero-image img:hover,
.gallery-hero-image img:hover,
.contact-hero-image img:hover{
    transform: scale(1.02);
}

/* =========================
   CARDS
========================= */

.card,
.project-card,
.focus-card,
.partner-card,
.news-card,
.gallery-card,
.team-card,
.value-card,
.impact-card,
.mission-card,
.approach-card,
.collaboration-card{
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.card:hover,
.project-card:hover,
.focus-card:hover,
.partner-card:hover,
.news-card:hover,
.gallery-card:hover,
.team-card:hover,
.value-card:hover,
.impact-card:hover,
.mission-card:hover,
.approach-card:hover,
.collaboration-card:hover{
    transform: translateY(-6px);
}

/* =========================
   FOOTER
========================= */

footer{
    background-color: #174d2c;
    color: white;
    text-align: center;
    padding: 50px 0;
}

footer h2{
    font-size: 36px;
    margin-bottom: 15px;
}

footer p{
    color: #d9d9d9;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* =========================
   FORMS
========================= */

form input,
form textarea{
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    transition: 0.3s ease;
}

form input:focus,
form textarea:focus{
    border-color: #174d2c;
}

.form-group{
    margin-bottom: 25px;
}

form label{
    display: block;
    margin-bottom: 10px;
    color: #174d2c;
    font-weight: 500;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media(max-width: 992px){

    nav ul{
        gap: 18px;
    }

    .hero-text h1,
    .about-hero-text h1,
    .projects-hero-text h1,
    .focus-hero-text h1,
    .partners-hero-text h1,
    .news-hero-text h1,
    .gallery-hero-text h1,
    .contact-hero-text h1{
        font-size: 46px;
    }

}

@media(max-width: 768px){

    header .container{
        flex-direction: column;
        gap: 20px;
    }

    nav ul{
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero .container,
    .about-hero .container,
    .projects-hero .container,
    .focus-hero .container,
    .partners-hero .container,
    .news-hero .container,
    .gallery-hero .container,
    .contact-hero .container{
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1,
    .about-hero-text h1,
    .projects-hero-text h1,
    .focus-hero-text h1,
    .partners-hero-text h1,
    .news-hero-text h1,
    .gallery-hero-text h1,
    .contact-hero-text h1{
        font-size: 38px;
    }

    .section-title h2{
        font-size: 34px;
    }

}

@media(max-width: 480px){

    .hero-text h1,
    .about-hero-text h1,
    .projects-hero-text h1,
    .focus-hero-text h1,
    .partners-hero-text h1,
    .news-hero-text h1,
    .gallery-hero-text h1,
    .contact-hero-text h1{
        font-size: 30px;
    }

    .section-title h2{
        font-size: 28px;
    }

    .btn-primary{
        padding: 12px 24px;
        font-size: 14px;
    }
.social-image img{
    width: 0px;
    height: 0px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: inline-block;
}
.social-image{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 80px;
    justify-content: center;
    margin-left: 100px;
    margin-right: 100px;
}
.social-image.s img:hover{
    transform: scale(1.12) translateY(-6px);
    opacity: 2;
    filter: brightness(1.1);
}
.social-image a{
    display: inline-flex;
    width: auto;
}
.social-image.s img:hover{
    transform: translateY(-6px) scale(1.12);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(23, 77, 44, 0.3);
    border-radius: 8px;
}
.info-box h3 i{
    color: #174d2c;
    margin-right: 10px;
    display: flex;
}
.project-card,
.focus-card,
.partner-card,
.news-card,
.gallery-card,
.impact-card{
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

.project-card.show,
.focus-card.show,
.partner-card.show,
.news-card.show,
.gallery-card.show,
.impact-card.show{
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   MOBILE MENU
========================= */

.menu-toggle{
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #174d2c;
}

/* =========================
   MOBILE RESPONSIVE NAV
========================= */

@media(max-width: 768px){

    .menu-toggle{
        display: block;
    }

    nav{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;

        display: none;
    }

    nav.active{
        display: block;
    }

    nav ul{
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

}
/* =========================
   COUNTER SECTION
========================= */

.counter-section{
    background-color: #174d2c;
    color: white;
    padding: 100px 8%;
}

.counter-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.counter-card{
    text-align: center;
}

.counter-card h2{
    font-size: 56px;
    margin-bottom: 15px;
}

.counter-card p{
    font-size: 18px;
    color: #f0f0f0;
}
}