/* =====================================
   AGRIKSTARTEX ABOUT PAGE CSS
===================================== */


/* HERO SECTION */

.about-hero{

min-height:70vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:80px 10%;
background:
linear-gradient(135deg,#006400,#0b8f45),
url("../images/agrikexpo1.jpeg")

center/cover no-repeat;


color:white;

}


.hero-overlay{

position:absolute;

inset:0;

background:

linear-gradient(
90deg,
rgba(0,70,30,.60),
rgba(0,0,0,.30)
);

}
.hero-content{

max-width:900px;

}


.badge{

display:inline-block;
background:white;
color:#006400;
padding:10px 22px;
border-radius:30px;
font-weight:bold;
font-size:15px;

}



.about-hero h1{

font-size:4rem;
margin:25px 0 10px;

}



.about-hero h2{

font-size:2rem;
font-weight:500;

}



.about-hero p{

font-size:1.3rem;

}



.hero-buttons a{

display:inline-block;
padding:14px 30px;
margin:25px 8px;
border-radius:30px;
background:white;
color:#006400;
text-decoration:none;
font-weight:bold;
transition:.3s;

}



.hero-buttons a:hover{

background:#ffd700;
color:#006400;

}


/* HERO IMAGE SECTION */
.hero-image-section{
    width: 100%;
    margin: -40px 0 0;
    padding: 0;
    position: relative;
    z-index: 10;
}

.hero-image-frame{
    width: 70%;
    max-width: 1100px;

    /* This centers the frame */
    margin: 0 auto;

    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.hero-image-frame img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Tablet */
@media (max-width:992px){
    .hero-image-frame{
        width:85%;
    }
}

/* Mobile */
@media (max-width:768px){
    .hero-image-frame{
        width:95%;
    }

    .hero-image-section{
        margin-top:-20px;
    }
}

/* =====================================
   GENERAL SECTIONS
===================================== */


.theme-section,
.objectives-section,
.audience-section,
.activities-section,
.impact-section{

padding:80px 8%;

}



.section-title,
.theme-section h2,
.objectives-section h2,
.audience-section h2,
.activities-section h2,
.impact-section h2{

text-align:center;
color:#006400;
font-size:2.4rem;

}


/* =====================================
   THEME CARDS
===================================== */


.theme-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:40px;

}



.theme-card{

background:white;
padding:30px;
border-radius:15px;
box-shadow:0 10px 30px #0002;
text-align:center;
transition:.3s;

}


.theme-card:hover{

transform:translateY(-8px);

}



.icon{

font-size:40px;
margin-bottom:15px;

}



/* =====================================
   CONCEPT SECTION
===================================== */


.concept-section{

padding:80px 10%;

}



.concept-content{

max-width:1100px;
margin:auto;

}



.concept-section h2{

color:#006400;
font-size:2.5rem;

}



.concept-section p{

line-height:1.8;
color:#555;

}



.concept-points{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:40px;

}



.concept-points div{

padding:25px;
background:#f1f8f1;
border-radius:15px;

}



.concept-points span{

display:block;
font-size:30px;
font-weight:bold;
color:#006400;

}



/* =====================================
   OBJECTIVES SECTION
===================================== */


.objective-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:40px;

}



.objective-card{

background:white;
border-radius:18px;
box-shadow:0 10px 30px #0002;
overflow:hidden;
transition:.35s ease;

}



.objective-card:hover{

transform:translateY(-10px);

}



/* Objective Images */

.objective-card img{

width:100%;
height:230px;
object-fit:cover;
display:block;

}



.objective-card h3{

color:#006400;
font-size:1.3rem;
margin:20px 25px 12px;

}



.objective-card p{

padding:0 25px 30px;
line-height:1.8;
color:#555;

}



/* =====================================
   AUDIENCE SECTION
===================================== */


.audience-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;

}



.audience-grid div{

background:#006400;
color:white;
padding:25px;
border-radius:15px;
text-align:center;
font-size:1.1rem;
transition:.3s;

}



.audience-grid div:hover{

background:#0b8f45;

}



/* =====================================
   ACTIVITIES TIMELINE
===================================== */


.timeline{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:40px;

}



.timeline div{

padding:30px;
background:#f5f5f5;
border-left:5px solid #006400;
border-radius:10px;

}



.timeline h3{

color:#006400;

}



.timeline p{

line-height:1.7;
color:#555;

}



/* =====================================
   IMPACT SECTION
===================================== */


.impact-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;

}



.impact-grid div{

text-align:center;
background:#006400;
color:white;
padding:35px 20px;
border-radius:15px;

}



.impact-grid h3{

font-size:3rem;
color:#ffd700;
margin:0;

}



/* =====================================
   RESPONSIVENESS
===================================== */


@media(max-width:1100px){


.theme-grid,
.objective-grid{

grid-template-columns:repeat(2,1fr);

}


.audience-grid{

grid-template-columns:repeat(2,1fr);

}


.impact-grid{

grid-template-columns:repeat(2,1fr);

}


.concept-points{

grid-template-columns:repeat(2,1fr);

}


}



@media(max-width:768px){


.theme-section,
.objectives-section,
.audience-section,
.activities-section,
.impact-section{

padding:60px 20px;

}



.about-hero{

padding:60px 20px;

}



.about-hero h1{

font-size:2.5rem;

}



.about-hero h2{

font-size:1.3rem;

}



.theme-grid,
.objective-grid,
.audience-grid,
.impact-grid,
.timeline,
.concept-points{

grid-template-columns:1fr;

}



.objective-card img{

height:200px;

}



.section-title,
.theme-section h2,
.objectives-section h2,
.audience-section h2,
.activities-section h2,
.impact-section h2{

font-size:2rem;

}



}

