/* =========================
   ABOUT PAGE STYLING
   CEGLIS NGO WEBSITE
========================= */

/* =========================
   ABOUT HERO SECTION
========================= */

.about-hero{
    background-color: #f5f7f3;
    padding: 90px 0;
}

.about-hero .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.about-hero-text{
    flex: 1;
}

.about-hero-text h1{
    font-size: 54px;
    color: #174d2c;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-hero-text p{
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    max-width: 600px;
}

.about-hero-image{
    flex: 1;
    text-align: center;
}

.about-hero-image img{
    width: 100%;
    max-width: 540px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    object-fit: cover;
}

/* =========================
   MISSION & VISION
========================= */

.mission-section{
    background-color: #ffffff;
}

.mission-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mission-card{
    background-color: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.mission-card:hover{
    transform: translateY(-5px);
}

.mission-card h3{
    color: #174d2c;
    margin-bottom: 18px;
    font-size: 28px;
}

.mission-card p{
    color: #555;
    line-height: 1.8;
}

/* =========================
   STORY SECTION
========================= */

.story-section{
    background-color: #f8faf7;
}

.story-content{
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.story-image{
    flex: 1;
}

.story-image img{
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.story-text{
    flex: 1;
}

.story-text h2{
    color: #174d2c;
    font-size: 42px;
    margin-bottom: 20px;
}

.story-text p{
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* =========================
   TEAM SECTION
========================= */

.team-section{
    background-color: white;
}

.team-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card{
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    text-align: center;
}

.team-card:hover{
    transform: translateY(-6px);
}

.team-card img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3{
    margin-top: 20px;
    color: #174d2c;
    font-size: 24px;
}

.team-card p{
    color: #666;
    padding: 10px 20px 25px;
}

/* =========================
   VALUES SECTION
========================= */

.values-section{
    background-color: #f5f7f3;
}

.values-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.value-card{
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.value-card:hover{
    transform: translateY(-5px);
}

.value-card h3{
    color: #174d2c;
    margin-bottom: 15px;
}

.value-card p{
    color: #555;
    line-height: 1.7;
}

/* =========================
   CTA SECTION
========================= */

.about-cta{
    background-color: #174d2c;
    text-align: center;
    color: white;
}

.about-cta h2{
    font-size: 42px;
    margin-bottom: 20px;
}

.about-cta p{
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #e5e5e5;
}

.about-cta .btn-primary{
    display: inline-block;
}

/* =========================
   IMAGE EFFECTS
========================= */

.about-hero-image img,
.story-image img,
.team-card img{
    transition: 0.4s ease;
}

.about-hero-image img:hover,
.story-image img:hover{
    transform: scale(1.03);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media(max-width: 992px){

    .
    about-hero-text h1{
        font-size: 44px;
    }

    .story-text h2{
        font-size: 36px;
    }

}

@media(max-width: 768px){

    .about-hero,
    .story-section{
        text-align: center;
    }

    .about-hero .container,
    .story-content{
        flex-direction: column;
    }

    .about-hero-text h1{
        font-size: 36px;
    }

    .story-text h2{
        font-size: 32px;
    }

}

@media(max-width: 480px){

    .about-hero-text h1{
        font-size: 30px;
    }

    .story-text h2{
        font-size: 28px;
    }

}