/* ── MOBILE NAV: 992px and below ─────────────────────────────────────────── */
@media (max-width: 991px) {

    .menu-toggle {
        display: block;
        color: #fff;
    }

    .btn-app {
        display: none;
    }

    /* Off-canvas nav panel — dark background */
    .nav-bar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #111;
        padding: 80px 30px 30px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-bar.active {
        right: 0;
    }

    /* Close button */
    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        z-index: 999;
        transition: 0.3s;
    }

    .menu-close:hover {
        transform: rotate(90deg);
    }

    /* Nav links */
    .nav-bar ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
    }

    .nav-bar ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-bar ul li:last-child {
        border-bottom: none;
    }

    .nav-bar ul li a {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 18px;
        color: #fff;
        padding: 14px 0;
    }

    .dropdown-menu-custom {
        width: 100%;
    }

    /* Mobile mega menu */
    .mega-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        background: rgba(255,255,255,0.05);
        border: none;
        border-radius: 8px;
        padding: 15px;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: none !important;
        grid-template-columns: 1fr !important;
        margin-top: 0 !important;
        box-shadow: none;
    }

    .dropdown-menu-custom.active .mega-menu {
        display: grid !important;
    }

    .mega-image {
        display: none;
    }

    .mega-column h5 {
        color: rgba(255,255,255,0.5);
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .mega-column a {
        font-size: 16px;
        color: #fff;
        margin-bottom: 10px;
        padding-left: 0;
    }

    .footer-text {
        display: none;
    }

    .footer-btn {
        display: none;
    }

    .mega-footer {
        display: none;
    }

    /* Logo on mobile */
    .logo img {
        height: 32px;
        width: auto;
    }

    /* Page content responsive */
    .story-content { width: 100%; padding: 40px; }
    .story-image { position: relative; width: 100%; top: 0; margin-top: 30px; }
    .story-content h2 { font-size: 36px; }
    .atelier-story-section::before { font-size: 80px; }
    .about-section { padding: 90px 0; }
    .about-image img { height: 500px; }
    .about-content { padding-left: 0; text-align: center; }
    .about-content h2 { font-size: 42px; }
    .point-item { justify-content: center; text-align: left; }
    .speciality-section { padding: 90px 0; }
    .speciality-title h2 { font-size: 42px; }
    .speciality-card { height: 500px; }
    .atelier-section { padding: 90px 0; }
    .atelier-title h2 { font-size: 42px; }
    .testimonial-section { padding: 90px 0; }
    .testimonial-title h2 { font-size: 42px; }
    .international-section { padding: 90px 0; }
    .international-card h2, .pricing-card h2 { font-size: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 34px; }
    .consultation-box, .faq-box { padding: 30px; }
    .sub-mg-1 { margin-top: 0px; }
    .about-top h2 { font-size: 42px; }
    .about-showcase { grid-template-columns: 1fr; }
    .process-section { grid-template-columns: 1fr; }
    .appointment-banner { flex-direction: column; text-align: center; gap: 25px; }
    .about-image img { height: auto; }
    .section-title { font-size: 36px; }
    .contact-info-box, .contact-form-box { padding: 35px; }
    .consultation-box, .booking-form, .international-box { padding: 30px; }
    .content-box, .shipping-box, .ddp-box { padding: 30px; }
    .price { text-align: left; margin-top: 10px; }
    .pricing-cta { padding: 35px; }
    .hero-content { text-align: center; margin-bottom: 40px; }
    .hero-content h1 { font-size: 46px; }
    .hero-img img { height: 500px; }
    .story-box h2 { font-size: 36px; }
    .cta-box { padding: 40px 25px; }
    .hero-img { border-radius: 25px; overflow: hidden; margin-top: 41px; }
    .banner-content { padding: 0 25px; align-items: center; text-align: center; }
    .banner-content h1 { font-size: 54px; }
    .banner-content p { font-size: 16px; line-height: 1.8; }
}

/* ── 767px and below ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {

    .banner-content h1 { font-size: 40px; }
    .banner-content p { font-size: 15px; }
    .banner-btns { flex-direction: column; width: 100%; }
    .banner-btn, .banner-btn-outline { width: 100%; }
    .appointment-note { font-size: 13px; line-height: 1.6; }
    .about-image img { height: 400px; }
    .about-content h2 { font-size: 32px; }
    .about-content p { font-size: 15px; }
    .about-floating-card { left: 15px; right: 15px; bottom: 15px; padding: 20px; }
    .about-floating-card h4 { font-size: 22px; }
    .speciality-title h2 { font-size: 32px; }
    .speciality-title p { font-size: 15px; }
    .speciality-card { height: 430px; }
    .speciality-content { padding: 25px; }
    .speciality-content span { font-size: 24px; }
    .atelier-card { padding: 35px 25px; }
    .atelier-title h2 { font-size: 32px; }
    .card-heading h3 { font-size: 28px; }
    .atelier-box, .process-item { gap: 15px; }
    .atelier-icon, .step-number { min-width: 50px; height: 50px; font-size: 15px; }
    .atelier-text h4, .process-text h4 { font-size: 20px; }
    .atelier-text p, .process-text p { font-size: 15px; }
    .testimonial-title h2 { font-size: 32px; }
    .testimonial-card { padding: 30px 25px; }
    .testimonial-card p { font-size: 15px; }
    .quote-icon { width: 60px; height: 60px; }
    .quote-icon i { font-size: 22px; }
    .international-card, .pricing-card { padding: 35px 25px; }
    .international-card h2, .pricing-card h2 { font-size: 30px; }
    .info-box { gap: 15px; }
    .info-icon { min-width: 50px; height: 50px; }
    .info-text h4 { font-size: 20px; }
    .price-item { flex-direction: column; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-section, .hero-content { height: 80vh; }
    .hero-image { height: 82vh; }
    .hero-content h1 { font-size: 48px; }
    .hero-content p { font-size: 16px; padding-right: 14px; }
    .about-top h2 { font-size: 42px; }
    .about-showcase { grid-template-columns: 1fr; }
    .process-section { grid-template-columns: 1fr; }
    .appointment-banner { flex-direction: column; text-align: center; gap: 25px; }
    .about-image img { height: auto; }
    .hero-img { margin-top: 20px; }
    .aboutme-top h2 { color: #000; font-size: 33px; line-height: 1.1; margin-bottom: 25px; font-weight: 700; }
    .aboutme-showcase { display: block; }
    .aboutme-image img { width: 100%; height: 400px; object-fit: cover; border-radius: 30px; margin-bottom: 71px; }
    .process-box { padding: 0px 35px; }
    .appointment-banner h3 { font-size: 24px; margin-top: 10px; color: #fff; }
    .sub-mg-1 { margin-top: 0px; }
    .sub-mg { margin-top: 0px; }
}

/* ── DESKTOP: ensure mega menu always works above 991px ──────────────────── */
@media (min-width: 992px) {
    .nav-bar {
        position: static !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .menu-close {
        display: none !important;
    }

    .mega-menu {
        position: fixed !important;
        top: 78px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(860px, 90vw) !important;
        grid-template-columns: 280px 1fr 1fr !important;
        display: grid !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.2s ease 0.4s, visibility 0.2s ease 0.4s !important;
        background: rgba(10, 10, 10, .98) !important;
        padding: 25px !important;
        border-radius: 25px !important;
        margin-top: 0 !important;
    }

    .dropdown-menu-custom:hover .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: opacity 0.15s ease, visibility 0.15s ease !important;
    }
}
