/*
====================================
  Tablet — 992px to 1199px
====================================
*/
@media screen and (min-width: 992px) and (max-width: 1199px) {

    .scrollto-top {
        width: 6rem;
        height: 6rem;
        padding-top: 1.4rem;
        font-size: 2.4rem;
    }

    .hero_btn {
        min-height: 100vh;
    }

    .hero-area {
        background-size: cover;
        background-position: center;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        gap: 3rem;
    }

    .slider1 .slider_item img {
        width: 400px !important;
        height: 400px !important;
        display: block;
        margin-left: auto;
        object-fit: cover !important;
    }

    .slider2 .slider_item img {
        width: 400px !important;
        height: 400px !important;
        display: block;
        margin-right: auto;
        object-fit: cover !important;
    }

}

/*
====================================
  Tablet — 768px to 991px
====================================
*/
@media screen and (min-width: 768px) and (max-width: 991px) {

    .scrollto-top {
        width: 7.5rem;
        height: 7.5rem;
        padding-top: 2rem;
        font-size: 3.2rem;
    }

    .hero_btn {
        min-height: 70vh;
    }

    .hero-area {
        background-size: cover;
        background-position: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 60rem;
        margin-left: auto;
        margin-right: auto;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .request-card {
        padding: 4rem 3.5rem;
    }

    .slider1 .slider_item img {
        width: 330px !important;
        height: 330px !important;
        display: block;
        margin-left: auto;
        object-fit: cover !important;
    }

    .slider2 .slider_item img {
        width: 330px !important;
        height: 330px !important;
        display: block;
        margin-right: auto;
        object-fit: cover !important;
    }

}

/*
====================================
  Mobile — up to 767px
====================================
*/
@media screen and (max-width: 767px) {

    html {
        font-size: 50%;
    }

    /* Header */
    .header-area {
        padding: 0.6rem 1.5rem;
    }

    .navbar-brand img {
        width: 20rem;
    }

    /* Hero */
    .hero-area {
        background-size: cover;
        background-position: center;
    }

    .hero_btn {
        min-height: 75vh;
        padding-bottom: 4rem;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .hero-heading {
        max-width: 100%;
        margin-top: 3rem;
        padding: 2.5rem 2rem;
    }

    .hero-tagline {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .hero-h1 {
        font-size: 6rem;
    }

    .hero-sub {
        font-size: 2.6rem;
    }

    .hero_btn ul {
        margin-left: auto;
        margin-right: auto;
    }

    .hero_btn ul li a {
        font-size: 3.6rem;
        padding: 1rem 2.5rem;
    }

    .hero_btn ul li .btn2 {
        font-size: 3rem;
    }

    /* Section shared */
    .section-title {
        font-size: 5.5rem;
    }

    .section-intro {
        font-size: 2.8rem;
    }

    /* Products overview — horizontal swipe carousel on mobile */
    .products-overview-area {
        padding: 6rem 0 5rem;
    }

    .products-overview-area .section-label,
    .products-overview-area .section-title {
        padding: 0 2rem;
    }

    .products-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1.5rem;
        padding: 1rem 0 3rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-top: 3rem;
    }

    .products-grid::-webkit-scrollbar {
        display: none;
    }

    /* 80% wide cards — first/last get 10% margin so each card snaps centered */
    .product-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
        min-width: 0;
    }

    .product-card:first-child {
        margin-left: 10%;
    }

    .product-card:last-child {
        margin-right: 10%;
    }

    .product-card-body h3 {
        font-size: 4rem;
    }

    .product-card-body p {
        font-size: 2.6rem;
    }

    .product-card-btn {
        font-size: 2.6rem;
    }

    /* Sliders */
    .slider-area {
        padding-top: 5rem;
    }

    .main_slider {
        margin-bottom: 4rem;
    }

    .slider1,
    .slider2 {
        padding: 0;
    }

    .slider_cnt {
        width: 100%;
        padding: 0 3rem !important;
    }

    .slider_item {
        padding: 0 3rem !important;
        margin-top: 3rem;
    }

    .slider_cnt h4 {
        font-size: 4rem;
    }

    .slider_cnt p {
        font-size: 2.4rem;
    }

    .section-cta {
        font-size: 2.8rem;
    }

    .call-notice {
        font-size: 2.6rem;
    }

    .slider1 .slider_item img,
    .slider2 .slider_item img {
        width: 100% !important;
        height: 260px !important;
        display: block;
        margin: 0;
        object-fit: cover !important;
    }

    /* Why section */
    .why-area {
        padding: 6rem 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-card h3 {
        font-size: 3.2rem;
    }

    .why-card p {
        font-size: 2.4rem;
    }

    /* Request form */
    .request-area {
        padding: 6rem 2rem;
    }

    .request-card {
        padding: 3.5rem 2.5rem;
        border-radius: 1.6rem;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recaptcha-wrap {
        transform: scale(0.92);
        transform-origin: 0 0;
    }

    .form-submit-btn {
        font-size: 3.2rem;
        padding: 1.4rem 3rem;
    }

    /* Pickup notice */
    .pickup-notice {
        padding: 2.5rem 2rem;
    }

    .pickup-notice-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .pickup-notice-inner p {
        font-size: 2.6rem;
    }

    .pickup-badge {
        font-size: 2.6rem;
    }

    /* Footer */
    .footer-area {
        padding: 5rem 2rem 3rem;
    }

    .footer_btn a {
        font-size: 3.2rem;
    }

    .footer-cnt p {
        font-size: 2rem;
    }

    .footer-logo-link img {
        width: 22rem;
    }

}

/*
====================================
  Extra small — up to 575px
====================================
*/
@media screen and (max-width: 575px) {

    html {
        font-size: 45%;
    }

    .navbar-brand img {
        width: 19rem;
    }

    .offcanvas-header img {
        width: 18rem;
    }

    .slider_cnt {
        padding: 0 2.5rem !important;
    }

    .slider_item {
        padding: 0 2.5rem !important;
    }

    .hero-h1 {
        font-size: 5rem;
    }

    .hero-sub {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 4.8rem;
    }

    .form-submit-btn {
        font-size: 2.8rem;
    }

    .recaptcha-wrap {
        transform: scale(0.85);
        transform-origin: 0 0;
    }

}
