﻿
@media(max-width: 768px) {
    .logo-symbol {
        height: 80px;
    }

    .logo-text {
        height: 15px;
    }

    /* Banner */
    .carousel-item img {
        height: 70vh;
    }

    .carousel-caption {
        bottom: 15%;
    }

    .banner-heading {
        font-size: 2rem;
    }

    .badge-style span {
        font-size: 1.8rem;
        padding: 6px 16px;
    }

    .sec-banner-heading {
        font-size: 1.6rem;
        padding: 10px;
    }

    .banner-heading-style h2 {
        font-size: 2rem;
    }

    .banner-heading-style p {
        font-size: 1.5rem;
    }

    .turmeric-heading .thin-line {
        font-size: 2.1rem;
    }

    .turmeric-heading .bold-line {
        font-size: 2.4rem;
    }

    .turmeric-heading .last-line {
        font-size: 1.7rem;
        letter-spacing: 2px;
        padding-left: 0;
    }
    /* About */
    .video-wrapper {
        padding: 10px;
    }

    .clip-text-section {
        padding: 0 10px 40px 10px;
    }

    .glimpse-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
    }

    .glimpse-item {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

        .glimpse-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .video-item {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
        height: auto;
    }

        .video-item iframe {
            width: 100%;
            height: 100%;
            border-radius: 10px;
        }

    .gov-card {
        background: #fff;
        padding: 8px;
    }

    .footer-logo {
        height: 110px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .inner-hero {
        padding: 10px 10px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .about-image-circle {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-img {
        height: auto;
    }

    .variety-item:hover .variety-thumb {
        transform: none;
    }

    .grades-modern-wrapper {
        justify-content: center;
    }

    .grade-modern {
        margin-bottom: 25px;
    }

    .decor-img {
        width: 140px;
        opacity: 0.3;
    }
    .jar-img {
        height: 180px;
    }
    .tub-img {
        max-width: 250px;
    }
    .jaggery-cta {
        height: auto;
        background: url('/images/products/jaggery/jaggery-group.jpg') center/contain no-repeat;        
    }
        .jaggery-cta .content {
            position: relative;
            text-align: center;
            padding: 25px 5px;
        }

}

@media (max-width: 991px) {
    .specialization-section {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .spec-box img {
        max-width: 55px;
    }

    .spec-box p {
        font-size: 14px;
    }
}


/* ===============================
   MOBILE SLIDE NAV FROM RIGHT
================================ */

@media (max-width: 991px) {


    /* FULLSCREEN MENU */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        padding-top: 130px;
        z-index: 9998;
        transition-delay: 0s;
    }

        .mobile-menu.show {
            right: 0;
        }

        /* CENTER MENU */
        .mobile-menu .navbar-nav {
            flex-direction: column;
            align-items: center;
        }

        .mobile-menu .nav-item {
            margin: 16px 0;
        }

        .mobile-menu .nav-link {
            font-size: 1.6rem;
            font-weight: 600;
            color: #fff !important;
            letter-spacing: 2px;
            padding: 12px 28px;
        }

            .mobile-menu .nav-link:hover {
                background: rgba(255,255,255,0.15);
                border-radius: 30px;
            }

    /* ===============================
       HAMBURGER → CROSS
    ================================ */

    .custom-toggler {
        border: none;
        background: transparent;
        padding: 10px;
        z-index: 10000;
    }

        .custom-toggler span {
            display: block;
            width: 28px;
            height: 3px;
            background: #fff;
            margin: 6px 0;
            transition: transform 0.3s ease, opacity 0.2s ease;
            transition-delay: 0.35s;
        }

        /* ACTIVE STATE (X) */
        .custom-toggler[aria-expanded="true"] span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .custom-toggler[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }

        .custom-toggler[aria-expanded="true"] span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        .custom-toggler:focus {
            box-shadow: none;
        }
}
