/* ==========================================================
   FARM & PRODUCE
   Adraa Agriculture College
========================================================== */

:root{

    --primary:#2E7D32;
    --secondary:#F4B400;
    --dark:#173A1A;
    --light:#f8f9fa;
    --white:#ffffff;
    --text:#555;
    --shadow:0 12px 35px rgba(0,0,0,.12);

}

/*==================================================
GENERAL
==================================================*/

body{

    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    color:#444;
    background:#fff;
    line-height:1.7;

}

section{

    position:relative;
    overflow:hidden;

}

.section-heading h2{

    font-size:2.5rem;
    font-weight:700;
    color:var(--dark);

}

.section-heading p{

    color:#666;
    max-width:760px;
    margin:auto;

}

.line{

    width:90px;
    height:4px;
    background:var(--secondary);
    margin:15px auto 25px;
    border-radius:30px;

}

img{

    transition:.4s;

}

/*==================================================
HERO
==================================================*/

.farm-hero{

    height:90vh;

    background:

    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),

    url("../img/farm/farm-banner.jpg") center center/cover no-repeat;

    display:flex;

    align-items:center;

    justify-content:center;

}

.hero-overlay{

    width:100%;

    padding:120px 0;

}

.farm-hero h1{

    color:#fff;

    font-size:4rem;

    font-weight:800;

    margin-bottom:20px;

}

.farm-hero p{

    color:#fff;

    font-size:1.25rem;

    margin-bottom:35px;

}

.farm-hero .btn{

    padding:14px 40px;

    border-radius:40px;

    font-weight:600;

}

/*==================================================
INTRODUCTION
==================================================*/

#overview img{

    border-radius:18px;

    box-shadow:var(--shadow);

}

#overview p{

    font-size:17px;

    color:#555;

}

/*==================================================
OBJECTIVES
==================================================*/

.objectives{

    background:#F7FAF6;

}

.objective-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.4s;

    height:100%;

}

.objective-card:hover{

    transform:translateY(-10px);

}

.objective-card i{

    font-size:60px;

    color:var(--primary);

    margin-bottom:20px;

}

.objective-card h4{

    font-weight:700;

}

.spec-card{

    background:#fff;

    border-radius:15px;

    padding:25px;

    text-align:center;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.spec-card:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-8px);

}

.spec-card:hover i{

    color:#fff;

}

.spec-card i{

    font-size:35px;

    color:var(--secondary);

    margin-bottom:15px;

}

/*==================================================
ENTERPRISE CARDS
==================================================*/

.enterprise-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.45s;

    height:100%;

}

.enterprise-card:hover{

    transform:translateY(-10px);

}

.enterprise-card img{

    width:100%;

    height:260px;

    object-fit:cover;

}

.enterprise-card:hover img{

    transform:scale(1.08);

}

.enterprise-card .card-body{

    padding:28px;

}

.enterprise-card h3{

    color:var(--dark);

    font-weight:700;

    margin-bottom:18px;

}

.enterprise-card h5{

    color:var(--primary);

    margin-top:20px;

    margin-bottom:10px;

    font-weight:700;

}

.enterprise-card ul{

    padding-left:18px;

}

.enterprise-card li{

    margin-bottom:8px;

}

/*==================================================
CROP SECTION
==================================================*/

.crop-section{

    background:#f8faf8;

}

.crop-section img{

    border-radius:18px;

    box-shadow:var(--shadow);

}

.crop-section h3{

    font-size:2rem;

    color:var(--dark);

    font-weight:700;

    margin-bottom:20px;

}

.crop-section h5{

    color:var(--primary);

    font-weight:700;

    margin-top:20px;

}

.crop-section ul{

    padding-left:20px;

}

.crop-section li{

    margin-bottom:8px;

}

/*==================================================
GALLERY
==================================================*/

.produce-gallery{

    background:#fff;

}

.gallery-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    box-shadow:var(--shadow);

}

.gallery-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.gallery-card:hover img{

    transform:scale(1.12);

}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    align-items:center;

    justify-content:center;

    opacity:0;

    transition:.4s;

}

.gallery-card:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay h5{

    color:#fff;

    font-size:1.4rem;

    font-weight:700;

}

/*==================================================
CTA
==================================================*/

.farm-cta{

    background:

    linear-gradient(rgba(32,90,38,.90),rgba(32,90,38,.90)),

    url("../img/farm/cta-bg.jpg") center/cover;

    padding:90px 0;

}

.farm-cta h2{

    color:#fff;

    font-size:2.7rem;

    font-weight:700;

}

.farm-cta p{

    color:#eee;

    max-width:760px;

    margin:20px auto 35px;

}

.farm-cta .btn{

    padding:14px 35px;

    border-radius:35px;

    font-weight:600;

}

/*==================================================
BUTTONS
==================================================*/

.btn-success{

    background:var(--primary);

    border:none;

}

.btn-success:hover{

    background:#1E5E23;

}

.btn-warning{

    background:var(--secondary);

    border:none;

    color:#222;

}

.btn-warning:hover{

    background:#e5a500;

}

/*==================================================
ANIMATION
==================================================*/

.enterprise-card,
.gallery-card,
.objective-card,
.spec-card{

    animation:fadeUp .7s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px){

.farm-hero h1{

font-size:3.4rem;

}

}

@media(max-width:992px){

.farm-hero{

height:70vh;

}

.farm-hero h1{

font-size:2.8rem;

}

.section-heading h2{

font-size:2rem;

}

.crop-section h3{

font-size:1.7rem;

}

}

@media(max-width:768px){

.farm-hero{

height:65vh;

text-align:center;

}

.farm-hero h1{

font-size:2.2rem;

}

.farm-hero p{

font-size:1rem;

}

.hero-overlay{

padding:80px 0;

}

.enterprise-card img{

height:220px;

}

.gallery-card img{

height:200px;

}

.section-heading h2{

font-size:1.8rem;

}

}

@media(max-width:576px){

.farm-hero{

height:60vh;

}

.farm-hero h1{

font-size:1.8rem;

}

.farm-hero p{

font-size:.95rem;

}

.objective-card{

padding:25px;

}

.spec-card{

padding:18px;

}

.enterprise-card .card-body{

padding:20px;

}

.gallery-card img{

height:180px;

}

.farm-cta h2{

font-size:1.8rem;

}

.farm-cta .btn{

display:block;

margin:10px auto;

width:220px;

}

}

/* =========================
FOOTER
========================= */
.footer {
    background: #0b1f3a;
    color: #ccc;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
}

.logo {
    color: #22c55e;
    margin-bottom: 10px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.footer-col a:hover {
    color: #22c55e;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #1f3a5f;
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #22c55e;
}


/* MOBILE */
@media(max-width:768px){

    .nav-menu{
        display:none;
        flex-direction:column;
    }

    .nav-menu.active{
        display:flex;
    }

    .hamburger{
        display:block;
        cursor:pointer;
    }

    .footer-container{
        grid-template-columns:1fr;
    }
}