/* =========================================================================
   AG HOMES INDIA - DEDICATED MOBILE DESIGN SYSTEM & RESPONSIVE LAYOUT
   =========================================================================
   STRICT ISOLATION POLICY:
   All styles in this file are scoped strictly inside @media (max-width: 768px)
   and @media (max-width: 480px).
   Desktop layouts (> 768px) are 100% untouched and preserved.
   ========================================================================= */

@media (max-width: 768px) {

    /* ── 1. GLOBAL MOBILE RESETS & STRICT SYMMETRICAL GUTTERS ── */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
    }

    .page-wraper {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    *, *::before, *::after {
        box-sizing: border-box !important;
    }
    
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Reset Bootstrap row negative margins so they stay centered within container */
    .row {
        margin-left: -7px !important;
        margin-right: -7px !important;
    }
    .row > [class*="col-"] {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    /* ── 2. HERO SLIDER / REVOLUTION SLIDER MOBILE FIXES ── */
    .main-slider,
    .tp-banner-container,
    .tp-banner,
    .rev_slider_wrapper,
    #rev_slider_1014_1_wrapper,
    #rev_slider_1014_1 {
        min-height: 430px !important;
        height: 430px !important;
        max-height: 430px !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    /* Hero Heading Layer */
    #rev_slider_1014_1 .tp-caption span.text-uppercase,
    #rev_slider_1014_1 .tp-caption[id*="-layer-2"] span {
        font-size: 24px !important;
        line-height: 30px !important;
        white-space: normal !important;
        word-break: break-word !important;
        transform: none !important;
        margin-bottom: 8px !important;
        text-shadow: 0 4px 15px rgba(0,0,0,0.85) !important;
        display: block !important;
        max-width: calc(100vw - 32px) !important;
    }

    /* Hero Paragraph / Subtitle Layer */
    #rev_slider_1014_1 .tp-caption[id^="slide-"][id$="-layer-3"] span,
    #rev_slider_1014_1 .tp-caption[id*="-layer-3"] span {
        font-size: 13px !important;
        line-height: 18px !important;
        transform: none !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
        max-width: calc(100vw - 32px) !important;
        margin-bottom: 12px !important;
        opacity: 0.95 !important;
    }

    /* Hero CTA Button */
    #rev_slider_1014_1 .site-button.button-skew,
    #rev_slider_1014_1 .tp-caption[id*="-layer-4"] a {
        font-size: 12.5px !important;
        padding: 10px 24px !important;
        transform: none !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.4) !important;
        display: inline-flex !important;
        align-items: center !important;
        margin-top: 6px !important;
    }

    /* Slide Navigation Arrows on Mobile */
    .tparrows {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 12px !important;
        opacity: 0.5 !important;
        background: rgba(0,0,0,0.4) !important;
        border-radius: 50% !important;
    }
    .tp-leftarrow { left: 8px !important; }
    .tp-rightarrow { right: 8px !important; }

    /* ── 3. "MEET & ASK" SECTION MOBILE FIXES ── */
    .meet-ask-row:after,
    .meet-ask-row:before {
        display: none !important;
        content: none !important;
    }

    .meet-ask-outer {
        position: relative !important;
        margin-top: -20px !important;
        z-index: 20 !important;
        background: transparent !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 !important;
    }

    .meet-ask-row {
        background: #1a8319 !important;
        border-radius: 18px !important;
        padding: 22px 18px !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-shadow: 0 12px 30px rgba(26, 131, 25, 0.22) !important;
    }

    .meet-ask-row .icon-bx-wraper {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        text-align: left !important;
    }

    .meet-ask-row .icon-xl {
        font-size: 34px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .meet-ask-row .icon-content h3 {
        font-size: 19px !important;
        margin-bottom: 2px !important;
        font-weight: 700 !important;
    }

    .meet-ask-row .icon-content p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
        opacity: 0.9 !important;
        line-height: 1.4 !important;
    }

    /* Meet & Ask Buttons Group */
    .meet-ask-row .col-lg-6.m-t20 {
        margin-top: 14px !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .premium-meet-btn {
        flex: 1 1 0 !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        text-align: center !important;
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 50px !important;
    }

    .premium-meet-btn i {
        font-size: 11px !important;
        margin-left: 5px !important;
    }

    /* ── 4. FLOATING WIDGETS & OVERLAYS ── */
    /* Quick Enquiry Sidebar Tab */
    .sidebar-form .call-action {
        width: 110px !important;
        height: 36px !important;
        left: -73px !important;
        font-size: 11px !important;
        top: 60% !important;
        border-radius: 8px 8px 0 0 !important;
    }

    /* WATI / WhatsApp Floating Widget on Mobile */
    #wa-widget-send-button,
    .wati-whatsapp-button,
    .floating-wa {
        transform: scale(0.88) !important;
        transform-origin: bottom left !important;
        bottom: 16px !important;
        left: 14px !important;
        z-index: 999 !important;
    }

    /* ── 5. PRIME LOCATION CARDS - 2 COLUMNS SIDE BY SIDE ON MOBILE ── */
    .locations-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .location-card {
        height: 220px !important;
        min-height: 220px !important;
        border-radius: 14px !important;
    }

    .location-top-bar {
        top: 8px !important;
        left: 8px !important;
        right: 8px !important;
    }

    .loc-top-pill {
        font-size: 8.5px !important;
        padding: 2px 7px !important;
        gap: 3px !important;
        line-height: 1.2 !important;
    }
    .loc-top-pill i {
        font-size: 7.5px !important;
    }

    .loc-pin-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 9px !important;
    }

    .loc-glass-panel {
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        padding: 8px 10px 7px 10px !important;
        border-radius: 12px !important;
    }

    .loc-label-badge {
        font-size: 7.5px !important;
        letter-spacing: 0.4px !important;
        margin-bottom: 2px !important;
        gap: 3px !important;
    }

    .location-card-title,
    h3.location-card-title {
        font-size: 12px !important;
        line-height: 1.25 !important;
        margin: 1px 0 5px 0 !important;
        min-height: 28px !important;
        max-height: 30px !important;
        -webkit-line-clamp: 2 !important;
        font-weight: 700 !important;
    }

    .loc-action-row {
        padding-top: 5px !important;
    }

    .loc-action-text {
        font-size: 9.5px !important;
    }

    .loc-action-btn {
        width: 18px !important;
        height: 18px !important;
        font-size: 8.5px !important;
    }

    /* Location Highlights 2x2 Grid on Mobile */
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .highlight-item-box {
        padding: 10px 8px !important;
        border-radius: 10px !important;
    }

    .highlight-title {
        font-size: 12.5px !important;
    }

    .highlight-desc {
        font-size: 10.5px !important;
    }

    /* ── 6. FEATURED PROJECTS CAROUSEL ON MOBILE ── */
    .carousel-wrapper {
        padding: 0 !important;
    }

    .projects-slider {
        gap: 14px !important;
        padding: 6px 4px 18px 4px !important;
        scroll-snap-type: x mandatory !important;
    }

    .project-card {
        flex: 0 0 88% !important;
        max-width: 88% !important;
        min-width: 270px !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 16px !important;
    }

    .project-card-image {
        height: 180px !important;
        min-height: 180px !important;
    }
    .project-card-image img {
        object-fit: cover !important;
        object-position: top center !important;
    }

    /* Hide redundant carousel arrows on mobile to prevent blocking touch swipe */
    .carousel-btn {
        display: none !important;
    }

    /* ── 6b. TESTIMONIALS / VIDEO REELS ON MOBILE ── */
    .modern-testimonials {
        padding: 30px 15px 15px 15px !important;
        border-top: none !important;
    }
    .reel-header {
        margin-bottom: 20px !important;
    }
    .reel-subtitle {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    .reel-header h2 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .reel-header p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    .reel-slider-wrapper {
        padding: 0 !important;
    }
    .reel-slider {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 10px 4px 20px 4px !important;
        scrollbar-width: none !important;
    }
    .reel-card {
        flex: 0 0 175px !important;
        width: 175px !important;
        height: 300px !important;
        border-radius: 14px !important;
        scroll-snap-align: start !important;
        background: #0f172a !important;
    }
    .reel-overlay {
        height: 65% !important;
        background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%) !important;
    }
    .reel-play {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
        top: 36% !important;
        background: rgba(255,255,255,0.25) !important;
        backdrop-filter: blur(4px) !important;
    }
    .reel-info {
        bottom: 12px !important;
        left: 10px !important;
        right: 10px !important;
    }
    .reel-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    .reel-role {
        font-size: 10.5px !important;
        color: #86efac !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    .yt-icon {
        font-size: 18px !important;
        top: 10px !important;
        right: 10px !important;
    }

    /* ── 6c. AWARDS & RECOGNITION CARDS ON MOBILE ── */
    .premium-awards-section {
        padding: 30px 15px 15px 15px !important;
    }
    .pa-subtitle {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    .pa-header h2 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .pa-header p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    .pa-slider-wrapper {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .pa-slider {
        gap: 10px !important;
        padding: 8px 10px 14px 10px !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* 2 Cards on Mobile - Perfectly Fitted Side-by-Side */
    .pa-slider.count-2 {
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 6px 8px 14px 8px !important;
        overflow: hidden !important;
    }
    .pa-slider.count-2 .pa-card {
        flex: 1 1 0 !important;
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        min-width: 0 !important;
        height: 260px !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }

    /* 3 Cards or More on Mobile - Smooth Horizontal Swipe */
    .pa-slider.count-3,
    .pa-slider.count-many {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        padding: 6px 12px 16px 12px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .pa-slider.count-3 .pa-card,
    .pa-slider.count-many .pa-card {
        flex: 0 0 190px !important;
        width: 190px !important;
        height: 265px !important;
        border-radius: 14px !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
    }

    /* 1 Card on Mobile */
    .pa-slider.count-1 {
        display: flex !important;
        justify-content: center !important;
    }
    .pa-slider.count-1 .pa-card {
        flex: 0 0 240px !important;
        max-width: 240px !important;
        height: 310px !important;
        border-radius: 16px !important;
    }

    .pa-card {
        border-radius: 14px !important;
    }
    .pa-img-wrapper {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        background: #0f172a !important;
    }
    .pa-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }
    .pa-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 22px 6px 8px 6px !important;
        background: linear-gradient(to top, rgba(9,14,23,0.96) 0%, rgba(9,14,23,0.7) 60%, transparent 100%) !important;
        text-align: center !important;
        z-index: 2 !important;
    }
    .pa-title {
        color: #ffffff !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
    }
    .pa-title-lg {
        font-size: 11.5px !important;
        font-weight: 650 !important;
    }
    .pa-title-md {
        font-size: 10.5px !important;
        font-weight: 600 !important;
    }
    .pa-title-sm {
        font-size: 9.5px !important;
        font-weight: 600 !important;
    }
    .pa-medal {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 3 !important;
    }

    /* ── 7. HEADER & MOBILE LOGO - CENTERED & PROPORTIONATELY ENLARGED ── */
    .header-curve .logo-header,
    .header-curve .logo-header.mostion,
    .logo-header.mostion,
    .site-header .logo-header,
    .logo-header {
        width: 145px !important;
        height: 66px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 99 !important;
    }

    .header-curve .logo-header a.logo-light,
    .header-curve .logo-header a,
    .logo-header a,
    .logo-header .logo-light {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        height: 100% !important;
        width: 100% !important;
        padding-right: 18px !important; /* Perfect visual centering within the angled white curve */
    }

    .header-curve .logo-header img,
    .header-curve .logo-header.mostion img,
    .logo-header.mostion img,
    .logo-header img,
    .logo-header a img {
        height: 54px !important;
        max-height: 56px !important;
        width: auto !important;
        min-width: 50px !important;
        max-width: 100px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        transform: scale(1.35) !important;
        transform-origin: center center !important;
    }

    .navbar-toggler {
        border: none !important;
        padding: 8px !important;
        outline: none !important;
    }

    /* ── MOBILE NAVIGATION DRAWER SPACING & FOOTER ── */
    .header-nav .nav.navbar-nav {
        padding: 8px 16px 20px 16px !important;
    }

    .header-nav .nav.navbar-nav > li {
        border-bottom: none !important;
        margin-bottom: 6px !important;
    }

    .header-nav .nav.navbar-nav > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 13px 18px !important;
        font-size: 15.5px !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        border-radius: 12px !important;
        background-color: transparent !important;
    }

    .header-nav .nav.navbar-nav > li > a:hover,
    .header-nav .nav.navbar-nav > li.active > a {
        background-color: #ecfdf5 !important;
        color: #166534 !important;
        font-weight: 700 !important;
        padding-left: 22px !important;
    }

    .mobile-nav-auth {
        border-bottom: none !important;
        padding: 12px 0 4px 0 !important;
        margin-top: 6px !important;
    }

    .btn-mobile-auth {
        padding: 13px 20px !important;
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    .mobile-nav-footer-box {
        border-bottom: none !important;
        padding: 10px 0 20px 0 !important;
        margin-top: 4px !important;
    }

    .drawer-contact-card {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 12px 12px 10px 12px;
        text-align: center;
    }

    .drawer-phone-btn {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        padding: 9px 12px !important;
        text-decoration: none !important;
        margin-bottom: 10px !important;
    }

    .drawer-phone-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: #1a8319;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
    }

    .drawer-phone-label {
        font-size: 10.5px;
        color: #64748b;
        display: block;
        font-weight: 500;
    }

    .drawer-phone-num {
        font-size: 13.5px;
        color: #0f172a;
        font-weight: 800;
        display: block;
    }

    .drawer-social-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 6px;
    }

    .drawer-social-link {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        text-decoration: none !important;
        background: #ffffff;
        border: 1px solid #e2e8f0;
    }

    .drawer-social-link.wa { color: #25d366; }
    .drawer-social-link.fb { color: #1877f2; }
    .drawer-social-link.ig { color: #e1306c; }
    .drawer-social-link.yt { color: #ff0000; }

    .drawer-rera-tag {
        font-size: 10px;
        color: #64748b;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-weight: 500;
    }
    .drawer-rera-tag i { color: #1a8319; font-size: 9.5px; }

    /* ── 8. ABOUT COMPANY 2-COLUMN SIDE-BY-SIDE FEATURE CARDS ── */
    .about-features-row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    .about-feature-col {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 10px !important;
    }
    .modern-about .feature-card {
        padding: 14px 10px 12px 10px !important;
        gap: 6px !important;
        margin-bottom: 0 !important;
        height: 100% !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1px solid #e9f0ea !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: flex-start !important;
    }
    .modern-about .feature-icon-wrapper {
        width: 40px !important;
        height: 40px !important;
        font-size: 19px !important;
        border-radius: 11px !important;
        background: #eaf6ea !important;
        color: #1a8319 !important;
        margin: 0 auto 4px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .modern-about .feature-text {
        width: 100% !important;
        text-align: center !important;
    }
    .modern-about .feature-text h4 {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    .modern-about .feature-text p {
        font-size: 11px !important;
        line-height: 1.35 !important;
        color: #64748b !important;
        margin-bottom: 0 !important;
    /* ── 9. TESTIMONIALS VIDEO REELS (EXACTLY 2 CARDS PER WINDOW) ── */
    .modern-testimonials {
        padding: 30px 0 15px 0 !important;
        border-top: none;
    }
    .modern-testimonials > .container-fluid {
        padding: 0 12px !important;
    }
    .reel-header {
        margin-bottom: 18px !important;
        padding: 0 10px !important;
    }
    .reel-slider-wrapper {
        padding: 0 !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    .reel-slider { 
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important; 
        padding: 6px 0 16px 0 !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .reel-card {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        width: calc((100% - 10px) / 2) !important;
        min-width: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
        height: 285px !important;
        border-radius: 14px !important;
        scroll-snap-align: start !important;
        background: #0f172a !important;
    }
    .reel-overlay {
        height: 65% !important;
        background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%) !important;
    }
    .reel-play { 
        width: 36px !important; 
        height: 36px !important; 
        font-size: 13px !important; 
        top: 35% !important;
        background: rgba(255,255,255,0.25) !important;
        backdrop-filter: blur(4px) !important;
    }
    .reel-info { 
        bottom: 10px !important; 
        left: 8px !important; 
        right: 8px !important; 
    }
    .reel-name { 
        font-size: 12.5px !important; 
        font-weight: 700 !important; 
        color: #ffffff !important;
        line-height: 1.2 !important; 
        margin-bottom: 2px !important; 
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    .reel-role { 
        font-size: 10px !important; 
        color: #86efac !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        margin-bottom: 2px !important;
    }
    .yt-icon { 
        font-size: 16px !important; 
        top: 8px !important; 
        right: 8px !important; 
    }

    /* ── 10. TESTIMONIALS SEAMLESS CARDS (DYNAMIC TEXT & AVATARS) ── */
    /* ── 10. TESTIMONIALS 3D PERSPECTIVE STAGE CAROUSEL ── */
    .testimonial-seamless {
        padding: 55px 0 45px !important;
        overflow: hidden !important;
        background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 40%, #f8fafc 100%) !important;
    }
    .testi-header {
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    .testi-pill {
        font-size: 11px !important;
        padding: 5px 14px !important;
        margin-bottom: 10px !important;
    }
    .testi-header h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    .testi-header p {
        font-size: 13.5px !important;
    }
    .testi-rating-badge-bar {
        padding: 8px 16px !important;
        gap: 10px !important;
        margin-top: 14px !important;
    }
    .testi-google-badge {
        font-size: 12px !important;
    }
    .testi-rating-stars {
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
    }
    .testi-rating-text {
        font-size: 11px !important;
    }

    /* 3D Stage on Mobile */
    .testi-stage-wrapper {
        min-height: 330px !important;
        margin: 25px auto 0 !important;
        perspective: none !important;
        width: 100% !important;
        padding: 0 10px !important;
    }
    .testi-3d-stage {
        height: 315px !important;
        width: 100% !important;
    }
    .testi-3d-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    .testi-card-inner {
        padding: 22px 20px !important;
        border-radius: 22px !important;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05) !important;
    }
    .testi-3d-card.prev {
        transform: translate3d(-105%, 0, 0) scale(0.9) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .testi-3d-card.next {
        transform: translate3d(105%, 0, 0) scale(0.9) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .testi-3d-card.active {
        transform: translate3d(0, 0, 0) scale(1) !important;
        opacity: 1 !important;
    }
    .testi-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    .testi-nav-prev {
        left: -6px !important;
    }
    .testi-nav-next {
        right: -6px !important;
    }
    .testi-quote-mark {
        font-size: 32px !important;
        margin-bottom: -6px !important;
    }
    .testi-text {
        font-size: 14px !important;
        line-height: 1.65 !important;
        margin: 6px 0 14px 0 !important;
        min-height: 70px !important;
        height: auto !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .testi-avatar {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    .testi-name {
        font-size: 15px !important;
    }
    .testi-role {
        font-size: 10.5px !important;
    }
    .testi-stage-pagination {
        margin-top: 20px !important;
    }
    .testi-dot {
        width: 10px !important;
        height: 10px !important;
    }
    .testi-dot.active {
        width: 28px !important;
    }

    .testi-trust-strip {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin-top: 35px !important;
    }
    .testi-trust-item {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .testi-trust-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    .testi-trust-title {
        font-size: 12.5px !important;
    }
    .testi-trust-sub {
        font-size: 10.5px !important;
    }

    /* ── 11. SECTION HEADINGS ON MOBILE ── */
    .section-head h2,
    .projects-header h2,
    .section-full h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .section-head p,
    .projects-header p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* ── 11. CONTACT & FOOTER ON MOBILE ── */
    .pe-contact {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 auto 15px auto !important;
        max-width: 300px !important;
        text-align: left !important;
    }
    .pe-contact li {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
        font-size: 13px !important;
        justify-content: flex-start !important;
    }
    .pe-contact li i {
        color: #1a8319 !important;
        font-size: 16px !important;
        margin-top: 3px !important;
        flex-shrink: 0 !important;
    }
    .pe-contact li div {
        text-align: left !important;
        line-height: 1.5 !important;
    }
    .pe-cta-group {
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .footer-top {
        padding: 40px 0 20px 0 !important;
    }

    .footer-bottom {
        padding: 15px 0 20px 0 !important;
        text-align: center !important;
    }

    .footer-bottom .text-left,
    .footer-bottom .text-right {
        text-align: center !important;
        float: none !important;
    }
}

/* ── 10. EXTRA SMALL DEVICES (< 480px) ── */
@media (max-width: 480px) {
    #rev_slider_1014_1 .tp-caption span.text-uppercase {
        font-size: 21px !important;
        line-height: 27px !important;
    }

    #rev_slider_1014_1 .tp-caption[id^="slide-"][id$="-layer-3"] span {
        font-size: 12px !important;
        line-height: 17px !important;
        -webkit-line-clamp: 2 !important;
    }

    .premium-meet-btn {
        font-size: 12px !important;
        padding: 9px 8px !important;
    }

    .project-card {
        flex: 0 0 92% !important;
        max-width: 92% !important;
    }

    .locations-grid {
        gap: 9px !important;
    }

    .location-card {
        height: 205px !important;
        min-height: 205px !important;
        border-radius: 12px !important;
    }

    .loc-glass-panel {
        padding: 7px 8px 6px 8px !important;
        border-radius: 10px !important;
    }

    .location-card-title,
    h3.location-card-title {
        font-size: 11px !important;
        line-height: 1.25 !important;
        min-height: 26px !important;
        max-height: 28px !important;
    }

    .loc-action-text {
        font-size: 9px !important;
    }

    .header-curve .logo-header img,
    .header-curve .logo-header.mostion img,
    .logo-header.mostion img,
    .logo-header img,
    .logo-header a img {
        max-height: 52px !important;
        height: 50px !important;
        transform: scale(1.3) !important;
        transform-origin: center center !important;
    }
}
