/* =========================================
   HOME PAGE
========================================= */

/* SMOOTH SCROLL */

html{
    scroll-behavior:smooth;
}

/* COMMON CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* HERO SECTION */

.hero{
    position:relative;
    height:78vh;

    background:
    linear-gradient(rgba(0,0,0,0.50),rgba(0,0,0,0.50)),
    url('../images/agriBK.jpg') center center/cover no-repeat;

    display:flex;
    align-items:center;
}

.hero-content{
    position:relative;
    z-index:2;
    color:#ffffff;
}

.hero-content h1{
    font-size:50px;
    line-height:1.15;
    max-width:680px;
    margin-bottom:22px;

    font-weight:700;
    letter-spacing:-0.5px;
}

.hero-content p{
    font-size:16px;
    line-height:1.7;
    max-width:620px;
    color:#e5e7eb;
    margin-bottom:32px;
}

/* HERO BUTTONS */

.hero-buttons{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.btn{
    display:inline-block;
    padding:13px 28px;
    border-radius:50px;

    font-size:14px;
    font-weight:700;

    text-decoration:none;

    transition:all 0.3s ease;
}

/* PRIMARY */

.btn{
    background:#1f7d1c;
    color:#ffffff;
}

.btn:hover{
    background:#166534;
    transform:translateY(-3px);
}

/* SECONDARY */

.secondary{
    background:transparent;
    border:2px solid #ffffff;
}

.secondary:hover{
    background:#ffffff;
    color:#111827;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-preview{
    padding:70px 0;
    background:#ffffff;
}

.grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

/* ABOUT CONTENT */

.about-content h2{
    font-size:38px;
    font-weight:700;
    letter-spacing:-0.5px;

    color:#14243b;
    margin-bottom:18px;
}

.about-content p{
    color:#6b7280;
    line-height:1.8;
    margin-bottom:18px;
    font-size:15px;

    max-width:650px;
}

/* ABOUT IMAGE */

.about-image{
    overflow:hidden;
    border-radius:24px;
}

.about-image img{
    width:100%;
    height:380px;
    object-fit:cover;

    border-radius:24px;

    box-shadow:0 4px 18px rgba(0,0,0,0.06);

    transition:0.5s ease;
}

.about-image:hover img{
    transform:scale(1.05);
}

/* =========================================
   STRENGTHS SECTION
========================================= */

.strengths{
    padding:70px 0;
    background:#f5f7fa;
}

/* TITLE */

.section-title{
    text-align:center;

    font-size:38px;
    font-weight:700;
    letter-spacing:-0.5px;

    color:#14243b;
    margin-bottom:14px;
}

.section-subtitle{
    text-align:center;

    max-width:650px;

    margin:0 auto 45px;

    color:#6b7280;
    line-height:1.7;
    font-size:15px;
}

/* CARDS */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:24px;
}

/* CARD */

.card{
    background:#ffffff;

    padding:35px 24px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 4px 18px rgba(0,0,0,0.06);

    transition:all 0.3s ease;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 28px rgba(0,0,0,0.10);
}

/* ICON */

.card i{
    width:68px;
    height:68px;

    background:#1f7d1c;
    color:#ffffff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:26px;

    margin:0 auto 20px;
}

/* CONTENT */

.card h3{
    font-size:20px;
    font-weight:700;

    color:#14243b;

    margin-bottom:12px;
}

.card p{
    color:#6b7280;
    line-height:1.7;
    font-size:14px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:992px){

    .grid-2{
        grid-template-columns:1fr;
    }

    .hero{
        height:auto;
        padding:100px 0;
    }

    .hero-content h1{
        font-size:42px;
    }

    .about-content{
        text-align:center;
    }

    .about-content p{
        margin:auto auto 18px;
    }

    .about-image img{
        height:340px;
    }
}

@media(max-width:768px){

    .hero-content h1{
        font-size:32px;
    }

    .hero-content p{
        font-size:15px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .about-content h2,
    .section-title{
        font-size:30px;
    }

    .about-image img{
        height:260px;
    }
}