/* === Agrofa Global Styles === */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

.container {
    max-width: 1145px;
    margin: 0 auto;
}


/* Header */

.header_section {
    padding: 10px 0;
    background-color: #F3F0EB;
}

.header_section .manu_col .nav-item .nav-link:hover,
.nav-item .nav-link:hover {
    color: #ff6600 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease, text-decoration 0.3s ease !important;
}


/* Banner */

.banner_section .banner_img img,
.banner_section video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}


/* Headings */

h2,
h5 {
    font-size: 25px;
    font-weight: 500;
    color: #A53F1B;
    text-transform: capitalize;
    text-align: center;
}

h2 {
    padding: 70px 0 30px;
}


/* Card Buttons */

.card-body a,
.weather_launcher a {
    text-decoration: none;
    color: #fff;
    padding: 10px 40px;
    background-color: #A53F1B;
    border-radius: 50px;
    display: inline-block;
    transition: 0.3s ease;
}

.card-body a:hover,
.weather_launcher a:hover {
    background-color: #842c0a;
}


/* Sections */

.Farming_Guides,
.Corps_Details,
.Pest_Control,
.weather_launcher {
    background-color: #F3F0EB;
}

.card-img,
.card-img-top,
iframe.card-img-top {
    height: 30vh;
    object-fit: cover;
}


/* Footer */

.footer_section {
    padding: 80px 0;
    background-color: #EFCB9A;
}

.footer_section .cp p {
    font-size: 25px;
    font-weight: 500;
    color: #268C44;
    text-transform: capitalize;
    text-align: center;
}


/* About Section */

.details {
    background-color: #F3F0EB;
}

.details .about_img img {
    width: 100%;
}

.details .about_text {
    margin-top: 160px;
}

.details .about_text h4 {
    font-size: 25px;
    font-weight: 500;
    color: #A53F1B;
    padding: 20px 0;
    text-transform: capitalize;
}


/* Form */

form {
    margin: 50px 0;
}

.form-group {
    margin-bottom: 20px;
}

.text {
    text-align: center;
    color: #A53F1B;
}

iframe {
    width: 100%;
}


/* Responsive Styles */

@media (min-width: 768px) and (max-width: 991px) {
    h2 {
        font-size: 22px;
        padding: 50px 0 20px;
    }
    .card-img,
    .card-img-top {
        height: 25vh;
    }
    .details .about_text {
        margin-top: 100px;
    }
    .footer_section .cp p {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        max-width: 120px;
    }
    h2 {
        font-size: 20px;
        padding: 40px 0 20px;
    }
    .card-body a {
        padding: 8px 30px;
        font-size: 14px;
    }
    .card-img,
    .card-img-top {
        height: 20vh;
    }
    .details .about_text {
        margin-top: 50px;
        text-align: center;
    }
    .footer_section {
        padding: 50px 0;
    }
    .footer_section .cp p {
        font-size: 18px;
    }
    .banner_section .banner_img img,
    .details .about_img img {
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
    .nav-item .nav-link {
        text-align: center;
        padding: 10px 0;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
