/* =========================================================
   SHIV HARE KHAD BEEJ BHANDAR
   RESPONSIVE STYLESHEET
========================================================= */


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
   1200px
========================================================= */

@media (max-width: 1200px) {

    .header-container,
    .hero-container,
    .container {
        width: min(1100px, calc(100% - 30px));
    }

    .site-logo {
        width: 235px;
    }

    .main-nav a {
        padding: 10px 9px;
        font-size: 13px;
    }

    .header-call {
        min-width: 185px;
        padding: 8px 10px;
    }

    .hero-section,
    .hero-container {
        min-height: 650px;
    }

    .hero-content {
        width: 56%;
    }

    .hero-content h1 {
        font-size: 62px;
    }

    .hero-visual {
        width: 56%;
        right: -10px;
    }

}


/* =========================================================
   TABLET
   992px
========================================================= */

@media (max-width: 992px) {

    /* -------------------------
       Header
    ------------------------- */

    .site-header {
        padding-top: 8px;
    }

    .header-container {
        min-height: 72px;

        padding: 0 12px;

        gap: 15px;
    }

    .site-logo {
        width: 220px;
    }

    .main-nav {
        position: absolute;

        top: calc(100% + 7px);
        left: 0;
        right: 0;

        width: 100%;

        display: none;

        padding: 10px;

        background: #fff;

        border-radius: 10px;

        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 2px;
    }

    .main-nav a {
        padding: 12px 15px;

        border-radius: 6px;

        font-size: 14px;
    }

    .header-call {
        margin-left: auto;

        min-width: auto;

        padding: 7px 10px;
    }

    .header-call small {
        font-size: 9px;
    }

    .header-call strong {
        font-size: 12px;
    }

    .call-icon {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }


    /* -------------------------
       Hero
    ------------------------- */

    .hero-section {
        min-height: 650px;

        background-position: center;
    }

    .hero-container {
        min-height: 650px;
    }

    .hero-content {
        width: 58%;

        padding-top: 75px;
    }

    .hero-content h1 {
        font-size: 53px;
    }

    .hero-content h1 span {
        font-size: 0.65em;
    }

    .hero-tag {
        font-size: 14px;
    }

    .hero-content p {
        max-width: 420px;

        font-size: 13px;
    }

    .hero-features {
        gap: 17px;
    }

    .hero-feature {
        min-width: 65px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .hero-feature span {
        font-size: 10px;
    }

    .hero-visual {
        width: 56%;

        right: -30px;
    }


    /* -------------------------
       Welcome
    ------------------------- */

    .welcome-grid {
        grid-template-columns: 1fr 1fr;

        gap: 25px;
    }

    .welcome-content h2 {
        font-size: 25px;
    }

    .welcome-content p {
        font-size: 13px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-bottom: 1px solid #dce5d8;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }


    /* -------------------------
       Products
    ------------------------- */

    .products-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }


    /* -------------------------
       Why
    ------------------------- */

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-image {
        height: 230px;
    }


    /* -------------------------
       Footer
    ------------------------- */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 35px;
    }

}


/* =========================================================
   MOBILE
   768px
========================================================= */

@media (max-width: 768px) {

    .container,
    .header-container,
    .hero-container {
        width: calc(100% - 28px);
    }


    /* -------------------------
       Header
    ------------------------- */

    .header-container {
        min-height: 64px;

        border-radius: 7px;
    }

    .site-logo {
        width: 190px;
    }

    .header-call {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;

        width: 40px;
        height: 40px;
    }


    /* -------------------------
       Hero
    ------------------------- */

    .hero-section {
        min-height: 760px;

        background:
            linear-gradient(
                180deg,
                rgba(255, 248, 220, 0.96),
                rgba(255, 248, 220, 0.80)
            ),
            url("../images/hero-bg.jpg") center / cover no-repeat;
    }

    .hero-container {
        min-height: 760px;

        display: block;

        padding-top: 100px;
    }

    .hero-content {
        width: 100%;

        padding-top: 15px;

        text-align: center;
    }

    .hero-small-title {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 45px;

        line-height: 1;
    }

    .hero-content h1 span {
        font-size: 0.65em;
    }

    .hero-tag {
        font-size: 13px;

        padding: 8px 23px;
    }

    .hero-content p {
        max-width: 500px;

        margin-left: auto;
        margin-right: auto;

        font-size: 12px;
    }

    .hero-features {
        justify-content: center;

        gap: 12px;

        margin-top: 12px;
    }

    .hero-feature {
        min-width: 67px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;

        font-size: 18px;
    }

    .hero-feature span {
        font-size: 9px;
    }

    .hero-visual {
        position: absolute;

        width: 100%;

        height: 330px;

        left: 0;
        right: 0;
        bottom: 0;

        justify-content: center;
    }

    .hero-farmer {
        width: 100%;

        max-height: 340px;

        object-position: center bottom;
    }


    /* -------------------------
       Section
    ------------------------- */

    .section-heading {
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 25px;
    }


    /* -------------------------
       Welcome
    ------------------------- */

    .welcome-section {
        padding: 50px 0;
    }

    .welcome-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .welcome-content {
        padding-right: 0;

        text-align: center;
    }

    .welcome-content .section-line {
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-content h2 {
        font-size: 25px;
    }

    .welcome-content p {
        font-size: 13px;
    }

    .welcome-images {
        order: 2;
    }

    .welcome-content {
        order: 1;
    }

    .welcome-image {
        height: 135px;
    }

    .welcome-large-image {
        height: 190px;
    }


    /* -------------------------
       Statistics
    ------------------------- */

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 20px;
    }

    .stat-item {
        padding: 13px 5px;
    }


    /* -------------------------
       Products
    ------------------------- */

    .products-section {
        padding: 45px 0 50px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .product-image {
        height: 140px;
    }

    .product-content {
        padding: 11px 10px 13px;
    }

    .product-content h3 {
        font-size: 15px;
    }

    .product-content p {
        font-size: 10px;

        min-height: 58px;
    }

    .product-button {
        min-width: 100px;

        padding: 6px 10px;

        font-size: 10px;
    }


    /* -------------------------
       Why Choose
    ------------------------- */

    .why-section {
        padding: 50px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .why-content {
        padding-left: 0;

        text-align: center;
    }

    .why-content h2 {
        font-size: 25px;
    }

    .why-list {
        display: inline-block;

        text-align: left;
    }

    .why-list li {
        font-size: 12px;
    }

    .why-image {
        height: 230px;

        border-radius: 25px;
    }


    /* -------------------------
       CTA
    ------------------------- */

    .cta-section {
        padding: 35px 0;
    }

    .cta-content {
        flex-direction: column;

        text-align: center;

        gap: 20px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 12px;
    }

    .cta-button {
        padding: 10px 20px;
    }


    /* -------------------------
       Footer
    ------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 28px;

        padding-top: 45px;
    }

    .footer-brand,
    .footer-column {
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column h3::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact p {
        justify-content: center;

        text-align: left;

        max-width: 280px;

        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   SMALL MOBILE
   576px
========================================================= */

@media (max-width: 576px) {

    .container,
    .header-container,
    .hero-container {
        width: calc(100% - 22px);
    }


    /* Header */

    .header-container {
        min-height: 58px;

        padding: 0 9px;
    }

    .site-logo {
        width: 165px;
    }

    .menu-toggle {
        width: 37px;
        height: 37px;

        font-size: 16px;
    }


    /* Hero */

    .hero-section {
        min-height: 700px;
    }

    .hero-container {
        min-height: 700px;

        padding-top: 90px;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-content h1 span {
        font-size: 0.63em;
    }

    .hero-tag {
        max-width: 330px;

        font-size: 11px;

        padding: 7px 17px;
    }

    .hero-content p {
        max-width: 330px;

        font-size: 11px;

        line-height: 1.6;
    }

    .hero-features {
        gap: 5px;
    }

    .hero-feature {
        min-width: 62px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .hero-feature span {
        font-size: 8px;
    }

    .hero-visual {
        height: 290px;
    }

    .hero-farmer {
        max-height: 300px;
    }


    /* Welcome */

    .welcome-section {
        padding: 40px 0;
    }

    .welcome-top-images {
        gap: 4px;
    }

    .welcome-image {
        height: 105px;
    }

    .welcome-large-image {
        height: 145px;
    }

    .welcome-content h2 {
        font-size: 22px;
    }

    .welcome-content p {
        font-size: 12px;
    }


    /* Statistics */

    .stat-item strong {
        font-size: 16px;
    }

    .stat-item span {
        font-size: 9px;
    }


    /* Products */

    .products-grid {
        grid-template-columns: 1fr 1fr;

        gap: 9px;
    }

    .product-image {
        height: 110px;
    }

    .product-content h3 {
        font-size: 13px;
    }

    .product-content p {
        min-height: 65px;

        font-size: 9px;
    }

    .product-button {
        min-width: 90px;

        padding: 5px 7px;

        font-size: 9px;
    }


    /* Why */

    .why-image {
        height: 190px;
    }

    .why-content h2 {
        font-size: 22px;
    }

    .why-list li {
        font-size: 11px;
    }


    /* CTA */

    .cta-content h2 {
        font-size: 21px;
    }

    .cta-content span {
        font-size: 11px;
    }


    /* Footer */

    .footer-grid {
        gap: 25px;
    }

    .footer-brand img {
        width: 180px;

        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand p {
        font-size: 11px;
    }

    .footer-column li a {
        font-size: 11px;
    }

    .footer-contact p {
        font-size: 11px;
    }

    .footer-bottom {
        font-size: 9px;

        padding: 10px 5px;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
   400px
========================================================= */

@media (max-width: 400px) {

    .site-logo {
        width: 145px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-section,
    .hero-container {
        min-height: 670px;
    }

    .hero-visual {
        height: 270px;
    }

    .hero-farmer {
        max-height: 275px;
    }

    .hero-features {
        gap: 2px;
    }

    .hero-feature {
        min-width: 57px;
    }

    .feature-icon {
        width: 37px;
        height: 37px;

        font-size: 14px;
    }

    .hero-feature span {
        font-size: 7px;
    }

    .products-grid {
        gap: 7px;
    }

    .product-image {
        height: 95px;
    }

    .product-content {
        padding: 8px 5px 10px;
    }

    .product-content h3 {
        font-size: 12px;
    }

    .product-content p {
        font-size: 8px;
    }

}