/*==================================================
                RESPONSIVE CSS
                PART 1 — TABLET
==================================================*/

@media (max-width: 1024px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-right img {
        max-width: 450px;
        margin: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .nav-buttons {
        display: none;
    }
}


/*==================================================
                MOBILE NAVIGATION
==================================================*/

@media (max-width: 992px) {

    .nav-container {
        position: relative;
    }

    .menu-toggle {
        display: block;
        font-size: 32px;
        cursor: pointer;
        color: var(--dark);
        z-index: 1001;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;

        display: flex;
        flex-direction: column;

        padding: 20px;
        gap: 18px;

        border-radius: 0 0 20px 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .12);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);

        transition: .35s ease;
    }

    .navbar.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar a {
        font-size: 17px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-buttons {
        display: none;
    }
}


/*==================================================
                TABLET
==================================================*/

@media (max-width: 991px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-right img {
        width: 80%;
        max-width: 450px;
        margin: auto;
    }

    .hero-buttons,
    .cta-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .about-list {
        display: inline-block;
        text-align: left;
    }

    .about-stats {
        justify-content: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}


/*==================================================
                MOBILE
==================================================*/

@media (max-width: 768px) {

    section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .hero h1 {
        font-size: 42px;
    }

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

    .hero-tag {
        font-size: 14px;
    }

    .feature-box {
        width: 100%;
    }

    .product-grid,
    .why-grid,
    .package-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta-box h2 {
        font-size: 34px;
    }
}


/*==================================================
                SMALL MOBILE
==================================================*/

@media (max-width: 576px) {

    .container {
        width: 92%;
    }

    .header {
        padding: 15px 0;
    }

    .logo span {
        font-size: 24px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
    }

    .feature-box {
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
    }
}


/*==================================================
                POPUPS
==================================================*/

@media (max-width: 768px) {

    .popup,
    .popup-overlay {
        padding: 15px;
    }

    .popup-content {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .selected-product img {
        width: 120px;
    }

    .selected-product h3 {
        font-size: 22px;
    }

    .popup-content h2 {
        font-size: 30px;
    }

    #orderForm input,
    #orderForm textarea,
    #orderForm select {
        padding: 14px;
        font-size: 15px;
    }

    .upi-qr {
        width: 180px;
    }
}


/*==================================================
                HERO OPTIMIZATION
==================================================*/

@media (max-width: 576px) {

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

    .hero-right img {
        width: 90%;
        max-width: 320px;
        margin: auto;
    }

    .hero-rating {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-rating p {
        text-align: center;
    }
}


/*==================================================
                FLOATING BUTTONS
==================================================*/

@media (max-width: 576px) {

    .floating-call,
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .floating-call {
        right: 18px;
        bottom: 90px;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: 20px;
    }
}


/*==================================================
                FOOTER
==================================================*/

@media (max-width: 768px) {

    .footer {
        text-align: center;
    }

    .footer-column ul {
        padding: 0;
    }

    .footer-column ul li {
        list-style: none;
    }
}


/*==================================================
                FINAL RESPONSIVE FIXES
==================================================*/

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

table {
    width: 100%;
    overflow-x: auto;
    display: block;
}


/*==================================================
                MOBILE SAFETY
==================================================*/

@media (max-width: 576px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-grid,
    .about-grid,
    .process-grid,
    .product-grid,
    .package-grid,
    .review-grid,
    .why-grid {
        width: 100%;
    }

    .popup-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    input,
    textarea,
    select {
        max-width: 100%;
    }
}


/*==================================================
                REDUCED MOTION
==================================================*/

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}