/* Mobile: 0 - 767px */
@media (max-width: 767px) {
    .hero-image {
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slider-bg {
        width: 80vw;
        height: 80vw;
        max-width: 300px;
        max-height: 300px;
        position: relative;
        z-index: 1;
        margin: 0 auto;
    }

    .ice-img {
        position: relative;
        left: 0;
        max-width: 60vw;
        max-width: 240px;
        width: 100%;
        height: auto;
        z-index: 2;
        display: block;
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
        padding: 15px;
    }

    .hero-text h5 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hero-text h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .ellipse-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 1 / 1;
        /* Keeps it square */
        background-image: url('assets/image/your-ellipse-image.png');
        /* Replace with actual */
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 0;
        pointer-events: none;
        /* Avoid interference with hover/clicks */
    }

    .carousel-control-next.custom-arrow {
        right: 10px;
        bottom: 20px;
    }

    .carousel-control-prev.custom-arrow {
        left: 10px;
        bottom: 20px;
    }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .ellipse-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 1 / 1;
        /* Keeps it square */
        background-image: url('assets/image/your-ellipse-image.png');
        /* Replace with actual */
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 0;
        pointer-events: none;
        /* Avoid interference with hover/clicks */
    }

    .hero-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 80px 40px 120px;
    }

    .hero-text {
        padding: 20px;
    }

    .hero-text h5 {
        font-size: 28px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .slider-bg {
        width: 400px;
        height: 400px;
        position: relative;
        z-index: 1;
    }

    .ice-img {
        max-width: 350px;
        position: relative;
        z-index: 2;
    }

    .hero-image {
        position: relative;
        z-index: 2;
    }

    .carousel-control-prev.custom-arrow {
        left: 10px;
    }

    .carousel-control-next.custom-arrow {
        right: 10px;
    }
}

/* Laptop: 1024px - 1199px */
@media (min-width: 1024px) and (max-width: 1199px) {
    .ellipse-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        /* Keeps it square */
        background-image: url('assets/image/your-ellipse-image.png');
        /* Replace with actual */
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 0;
        pointer-events: none;
        /* Avoid interference with hover/clicks */
    }

    .hero-section {
        padding: 100px 60px 150px;
    }

    .hero-text h5 {
        font-size: 30px;
    }

    .hero-text h1 {
        font-size: 56px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .slider-bg {
        width: 450px;
        height: 450px;
        position: relative;
        z-index: 1;
    }

    .ice-img {
        left: -50px;
        max-width: 250px;
        position: relative;
        z-index: 2;
    }

    .hero-image {
        position: relative;
        z-index: 2;
    }

    .carousel-control-prev.custom-arrow {
        left: 15px;
    }

    .carousel-control-next.custom-arrow {
        right: 15px;
    }
}

/* Desktop: 1200px and larger */
@media (min-width: 1200px) {


    .hero-text {
        max-width: 700px;
    }

    .hero-text h5 {
        font-size: 32px;
    }

    .hero-text h1 {
        font-size: 64px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .slider-bg {
        width: 500px;
        height: 500px;
        position: relative;
        z-index: 1;
    }

    .ice-img {
        max-width: 420px;
        position: relative;
        z-index: 2;
    }

    .hero-image {
        position: relative;
        z-index: 2;
    }

    .ellipse-bg {
        max-width: 600px;
    }

    .ice-img {
        max-width: 420px;
    }

    .carousel-control-prev.custom-arrow {
        left: 65px;
    }

    .carousel-control-next.custom-arrow {
        right: 65px;
    }
}

@media (min-width: 1440px) {
    .slider-bg {
        width: 550px;
        height: 550px;
    }

    .ice-img {
        left: -15px;
        max-width: 380px;
    }

    .hero-text h1 {
        font-size: 72px;
    }
}

/* Ultra-Wide Screens: ≥1600px */
@media (min-width: 1600px) {
    .slider-bg {
        /* width: 600px; */
        height: 600px;
    }

    .ice-img {
        left: 10px;
        max-width: 500px;
    }

    .hero-text h1 {
        font-size: 75px;
    }

    .hero-text p {
        font-size: 20px;
    }
}



/* === Mobile Styles (up to 767px) === */
@media (max-width: 767px) {
    /* .icecream-container {
        height: 750px;
    } */

    .about-secation {
        margin-top: -20px;
    }

    .product-card {
        width: 90%;
        height: auto;
        padding-top: 80px;
    }

    /* .icecream-image {
        width: 100%;
        max-width: 10px;
        margin: 0 auto;
        display: block;
        position: static;
        transform: none;
        margin: 0px -111px 18px 271px;

    } */

    .text-right-p,
    .compromises,
    .eco-friendly {
        margin-left: 0;
        text-align: center;
    }

    .strong {
        font-size: 18px;
    }

    .product-card:hover .product-image {
        transform-origin: center center;
        transform: scale(1.3) translate(40px, -20px) rotate(-5deg);
        /* Reduce -40px to -20px */
    }
}


/* === Tablet Styles (768px to 1024px) === */
@media (min-width: 768px) and (max-width: 1024px) {
    .icecream-container {
        height: auto;
        padding: 40px 30px;
        background-size: contain;
    }

    /* .icecream-image {
        max-width: 360px;
        right: 0;
        top: 50%;
        width:200px;
        transform: translateY(-50%);
    } */

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

    .product-card {
        width: 80%;
        height: auto;
    }

    .text-right-p
    /*, .compromises, */
    .eco-friendly {
        margin-left: 40px;
    }

    .strong {
        font-size: 20px;
    }
}

/* === Desktop Styles (1025px and up) === */
@media (min-width: 1025px) {
    /* .icecream-container {
        height: 925px;
    } */

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

    .product-card {
        height: 400px;
        width: 250px;
    }

    /* .icecream-image {
        max-width: 480px;
        right: -60px;
        top: 45%;
        transform: translateY(-50%);
    } */

    .text-right-p {
        margin-left: 100px;
    }

    .compromises {
        margin-left: 75px;
    }

    .eco-friendly {
        margin-left: 150px;
    }

    .strong {
        font-size: 25px;
    }
}



/* ---------------------------
   📱 Mobile (max-width: 767px)
----------------------------- */
@media (max-width: 767px) {
    .bg-drip {
        padding: 30px 15px 120px 15px;
        /* margin-top: -100px; */
    }

    .section-heading {
        font-size: 2rem;
        margin-top: 10px;
    }

    .main-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .category-icons img {
        width: 55px;
        height: 55px;
    }

    .ice-cream-img,
    .ice-cream-imgcenter {
        width: 100%;
    }

    .category-icons {
        gap: 10px;
        margin-bottom: 20px;

    }

    .promo-text h1 {
        font-size: 1.2rem;
        margin: -132px 0px 0px -20px;
    }

    .promo-text p {
       font-size: 15px;
        margin: 0 auto;
    }

    /* .product-img {
        max-width: 71%;
        position: absolute;
        margin: -246px 0px 0px 165px;
    } */

    .discount-badge {
        width: 60px;
        height: 60px;
        font-size: 12px;
        top: -25px;
        left: 10px;
    }

    .special-dotedarrow {
       margin: -115px 0 -75px 49px;
        width: 230px;
    }

    .white-triangle {
        width: 100%;
        height: 40%;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    }
    footer.footer {
    margin-top: 0;
    margin-bottom: 0;
}
.ice-cream-left {
    margin: 0!important;
}
p.footer-num {
    text-align: left;
}
.product-footer .wave-wrapper-test {
    margin-top: -100px;
    height: 70px;
}
.product-footer .custom-bottom-wave-test {
    position: unset;
    height: 150px;
}
}

/* ---------------------------
   📱📲 Tablet (768px–1024px)
----------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
    .bg-drip {
        padding: 40px 20px 150px 20px;
        /* margin-top: -140px; */
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .category-icons img {
        width: 85px;
        height: 85px;
    }

    .ice-cream-img,
    .ice-cream-imgcenter {
        width: 90%;
        height: auto;
    }

    .promo-text h1 {
        font-size: 3.5rem;
        margin: 0 80px;
    }

    .promo-text p {
        font-size: 10px;
        margin: 10px 80px 0px 100px;
    }

    /* .product-img {
        max-width: 90%;
    } */

    .discount-badge {
        width: 70px;
        height: 70px;
        font-size: 13px;
        top: 15px;
        left: -15px;
    }

    .special-dotedarrow {
        margin: -70px 0px -100px -150px;
    }

    .white-triangle {
        width: 50%;
    }
}

/* ---------------------------
   💻 Desktop (1025px and up)
----------------------------- */
@media (min-width: 1025px) {
    .promo-text h1 {
        font-size: 6rem;
        margin: 0 150px;
    }

    .promo-text p {
        font-size: 1.3rem;
        margin: 0 150px;
    }

    /* .product-img {
        max-width: 655px;
    } */

    .discount-badge {
        width: 80px;
        height: 80px;
        font-size: 14px;
        top: 20px;
        left: -30px;
    }

    .special-dotedarrow {
        margin: -90px 0px -113px -330px;
    }

    .white-triangle {
        width: 45%;
    }
}


