/* Custom Overrides & Preloader Styling */

/* PRELOADER SCREEN */
#loader25Residences {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0D0D0D;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#loader25Residences.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand-title {
    font-family: var(--header-font, 'Onest', sans-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-align: center;
}

.loader-brand-title span {
    color: #EA580C;
}

.loader-sub-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

.loader-counter-25 {
    font-family: var(--header-font, 'Onest', sans-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: #EA580C;
    line-height: 1;
    margin-bottom: 16px;
}

.loader-progress-bar-wrap {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #EA580C;
    border-radius: 10px;
    transition: width 0.08s linear;
}

/* TOPBAR & HEADER FIXES */
.header-topbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 12px;
}

.header-main .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.ta-socials a {
    transition: all 0.3s ease;
}

.ta-socials a:hover {
    background: #EA580C !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   PREMIUM ARCHITECTURAL BACKGROUND ENGINE
   ========================================================================== */

body,
.ta-page-wrap {
    background-color: #FAFAF8 !important;
}

/* Hero Background Gradient + Subtle Architectural Blueprint Pattern */
.about-hero,
.services-hero,
.faq-hero,
.contact-hero,
.page-hero-bg {
    position: relative !important;
    background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #F5F5EF 65%, #ECECE4 100%) !important;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 239, 0.9) 70%),
        radial-gradient(rgba(234, 88, 12, 0.06) 1px, transparent 1px) !important;
    background-size: 100% 100%, 32px 32px !important;
    border-bottom: 1px solid #E2E4E8 !important;
    padding: 50px 0 45px !important;
    overflow: hidden !important;
}

/* Subtle Architectural Ambient Glows */
.about-hero::before,
.services-hero::before,
.faq-hero::before,
.contact-hero::before,
.page-hero-bg::before {
    content: '' !important;
    position: absolute !important;
    top: -25% !important;
    right: -10% !important;
    width: 55% !important;
    height: 150% !important;
    background: radial-gradient(circle at 70% 30%, rgba(234, 88, 12, 0.08) 0%, transparent 65%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.about-hero::after,
.services-hero::after,
.faq-hero::after,
.contact-hero::after,
.page-hero-bg::after {
    content: '' !important;
    position: absolute !important;
    bottom: -25% !important;
    left: -10% !important;
    width: 50% !important;
    height: 140% !important;
    background: radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 60%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* ==========================================================================
   DIRECTIONAL SCROLL REVEAL ANIMATIONS SYSTEM
   ========================================================================== */

/* SAFETY FALLBACK: If JS is disabled or fails, ALL content is 100% visible by default! */
html:not(.js-scroll-active) .reveal-top-to-bottom,
html:not(.js-scroll-active) .reveal-left-to-right,
html:not(.js-scroll-active) .reveal-right-to-left,
html:not(.js-scroll-active) .reveal-diagonal-bl,
html:not(.js-scroll-active) .reveal-on-scroll,
html:not(.js-scroll-active) .reveal-from-left,
html:not(.js-scroll-active) .reveal-from-right,
html:not(.js-scroll-active) .stagger-group .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* 1. RIGHT → LEFT */
.reveal-right-to-left,
.reveal-from-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right-to-left.is-visible,
.reveal-from-right.is-visible,
.is-revealed .reveal-right-to-left,
.is-revealed .reveal-from-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* 2. LEFT → RIGHT */
.reveal-left-to-right,
.reveal-from-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left-to-right.is-visible,
.reveal-from-left.is-visible,
.is-revealed .reveal-left-to-right,
.is-revealed .reveal-from-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* 3. TOP → BOTTOM */
.reveal-top-to-bottom,
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-top-to-bottom.is-visible,
.reveal-on-scroll.is-visible,
.is-revealed .reveal-top-to-bottom,
.is-revealed .reveal-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 4. LEFT-BOTTOM → TOP-RIGHT (DIAGONAL) */
.reveal-diagonal-bl {
    opacity: 0;
    transform: translate(-70px, 70px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-diagonal-bl.is-visible,
.is-revealed .reveal-diagonal-bl {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Mobile Responsive Optimization (Reduced transform distance) */
@media (max-width: 768px) {
    .reveal-right-to-left,
    .reveal-from-right {
        transform: translateX(35px);
    }
    .reveal-left-to-right,
    .reveal-from-left {
        transform: translateX(-35px);
    }
    .reveal-top-to-bottom,
    .reveal-on-scroll {
        transform: translateY(-30px);
    }
    .reveal-diagonal-bl {
        transform: translate(-30px, 30px);
    }
}

/* Zoom In Scale Reveal */
.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-zoom-in.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger Group Sequence Animation */
.stagger-group .stagger-item {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.stagger-group.is-visible .stagger-item:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible .stagger-item:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible .stagger-item:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible .stagger-item:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible .stagger-item:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible .stagger-item:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* Interactive Hover Animations */
.hover-lift-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.hover-lift-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
}

.hover-zoom-frame {
    overflow: hidden;
    border-radius: 20px;
}

.hover-zoom-frame img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-zoom-frame:hover img {
    transform: scale(1.06);
}

/* Feature Check Card Styling */
.feature-check-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.icon-box-animated {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(234, 88, 12, 0.08);
    color: #EA580C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.feature-check-card:hover .icon-box-animated {
    background: #EA580C;
    color: #FFFFFF;
    transform: scale(1.08) rotate(5deg);
}

/* Pulse Dot Animation */
.pulse-dot-red,
.pulse-dot-orange {
    width: 8px;
    height: 8px;
    background: #EA580C;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(234, 88, 12, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

/* Location Pills */
.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #111111;
    background: #FFFFFF;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.location-pill:hover {
    border-color: rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

/* FLOATING CONTACT STACK (CALL US & CHAT US - FIXED ON LEFT SIDE) */
.floating-contact-stack {
    position: fixed !important;
    bottom: 30px !important;
    left: 25px !important;
    right: auto !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: flex-start !important;
}

.floating-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    position: relative !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: visible !important;
    animation: floatBounce 4s ease-in-out infinite !important;
}

.whatsapp-float-btn {
    animation-delay: 2s !important;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.floating-btn:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
}

.call-float-btn {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 100%) !important;
    border: 2px solid #FFFFFF !important;
}

.whatsapp-float-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border: 2px solid #FFFFFF !important;
}

/* Icon Pulse Glow Rings */
.call-float-btn .call-pulse-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(234, 88, 12, 0.8);
    animation: pulseRingCall 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

@keyframes pulseRingCall {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.12); opacity: 0.4; }
    100% { transform: scale(1.22); opacity: 0; }
}

.whatsapp-float-btn .whatsapp-pulse-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.8);
    animation: pulseRingWhatsApp 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 0.5s;
    pointer-events: none;
}

@keyframes pulseRingWhatsApp {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 0.4; }
    100% { transform: scale(1.15); opacity: 0; }
}

.floating-btn i {
    font-size: 1.2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Scroll To Top Button (Moved to Right Side) */
.scroll-to-top-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 25px !important;
    left: auto !important;
    z-index: 99999 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #0F172A !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.scroll-to-top-btn.is-active,
.scroll-to-top-btn.visible,
.scroll-to-top-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.scroll-to-top-btn:hover {
    background: #EA580C !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(234, 88, 12, 0.4) !important;
}

/* ==========================================================================
   ENTRANCE OPENING ANIMATIONS & LUXURY ARCHITECTURAL STYLE ENGINE
   ========================================================================== */

/* Hero Container Background & Ambient Elements */
.hero-section-wrapper {
    background: radial-gradient(circle at 50% 10%, #FFFFFF 0%, #FAF9F5 50%, #F5F4EC 100%) !important;
    position: relative;
    overflow: hidden;
}

.hero-ambient-glow-1 {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0) 70%);
    pointer-events: none;
    z-index: 1;
    animation: pulseAmbient 8s ease-in-out infinite alternate;
}

.hero-ambient-glow-2 {
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, rgba(245, 158, 11, 0) 70%);
    pointer-events: none;
    z-index: 1;
    animation: pulseAmbient 10s ease-in-out infinite alternate-reverse;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(234, 88, 12, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    opacity: 0.65;
    z-index: 1;
}

@keyframes pulseAmbient {
    0% { transform: scale(1) translateY(0); opacity: 0.7; }
    100% { transform: scale(1.15) translateY(15px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   STAGGERED ENTRANCE ANIMATION CLASSES (TRIGGERED ON PAGE OPEN)
   -------------------------------------------------------------------------- */

/* Title Mask Entrance */
.hero-entrance-title {
    opacity: 0;
    transform: translateY(-35px) scale(0.95);
    filter: blur(10px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loaded .hero-entrance-title {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Left Hero Content Entrance */
.hero-entrance-left {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(6px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, filter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.page-loaded .hero-entrance-left {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Right Hero Image Entrance */
.hero-entrance-right {
    opacity: 0;
    transform: perspective(1000px) rotateY(-8deg) scale(0.92) translateY(30px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.page-loaded .hero-entrance-right {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) scale(1) translateY(0);
}

/* Floating Trust Card Entrance */
.hero-floating-card {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

.page-loaded .hero-floating-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Floating Top Right Corner Badge Entrance */
.hero-corner-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(234, 88, 12, 0.92);
    backdrop-filter: blur(12px);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 8px 22px rgba(234, 88, 12, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.8s ease 0.65s, transform 0.8s ease 0.65s;
}

.page-loaded .hero-corner-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Pills Stagger Entrance */
.hero-pill-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loaded .hero-pill-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.page-loaded .hero-pill-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.page-loaded .hero-pill-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

/* --------------------------------------------------------------------------
   LUXURY STYLING UPGRADES
   -------------------------------------------------------------------------- */

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #EA580C;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    padding: 9px 20px;
    border-radius: 30px;
    margin-bottom: 22px;
    border: 1px solid rgba(234, 88, 12, 0.22);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.05);
}

.hero-main-heading {
    font-family: var(--header-font, 'Onest', sans-serif);
    font-weight: 950;
    color: #111111;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.dream-property-highlight {
    color: #EA580C;
    font-size: clamp(3.2rem, 6.5vw, 5.2rem);
    font-weight: 950;
    display: block;
    font-style: normal;
    letter-spacing: -0.01em;
    margin-top: 6px;
    text-shadow: 0 10px 25px rgba(234, 88, 12, 0.12);
    position: relative;
}

.hero-lead-text {
    font-size: 1.15rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 32px;
    font-weight: 450;
}

/* Glassmorphism Trust Card Style */
.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(17, 17, 17, 0.88) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    color: #FFFFFF !important;
    padding: 24px 28px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-width: 430px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38) !important;
}

.hero-card-title {
    font-size: 1.1rem;
    font-weight: 850;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.hero-card-desc {
    font-size: 0.9rem;
    color: #E5E7EB;
    margin: 0;
    line-height: 1.5;
}

.hero-stars {
    display: flex;
    gap: 4px;
    color: #F59E0B;
    font-size: 0.95rem;
}

/* Shimmer Button Micro-Animation */
.btn-interactive {
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-interactive::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 70%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.75s ease;
    pointer-events: none;
}

.btn-interactive:hover::before {
    transform: rotate(30deg) translateX(100%);
}

.hero-btn-primary {
    background-color: #EA580C !important;
    color: #FFFFFF !important;
    padding: 14px 32px !important;
    font-size: 1.02rem !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3) !important;
}

.hero-btn-primary:hover {
    background-color: #C2410C !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.42) !important;
}

.hero-btn-secondary {
    padding: 14px 30px !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
    background: #FFFFFF !important;
    color: #111111 !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04) !important;
}

.hero-btn-secondary:hover {
    border-color: #EA580C !important;
    color: #EA580C !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US GRID SECTION STYLING & ANIMATIONS
   -------------------------------------------------------------------------- */
.why-choose-section {
    background: #F9FAFB;
    padding: 100px 0;
    position: relative;
}

.why-choose-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #EA580C, #F59E0B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    border-color: rgba(234, 88, 12, 0.35);
    box-shadow: 0 22px 45px rgba(234, 88, 12, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.why-choose-card:hover::before {
    transform: scaleX(1);
}

.why-choose-icon-box {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(234, 88, 12, 0.18);
    color: #EA580C;
    font-size: 2rem;
}

.why-choose-card:hover .why-choose-icon-box {
    background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
    color: #FFFFFF !important;
    transform: scale(1.1) rotate(4deg);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.32);
}

.why-choose-card:hover .why-choose-icon-box svg path {
    stroke: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.why-choose-title {
    font-family: var(--header-font, 'Onest', sans-serif);
    font-size: 1.25rem;
    font-weight: 850;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-title {
    color: #EA580C;
}

.why-choose-desc {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.65;
    margin: 0;
    font-weight: 450;
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION MENU DRAWER STYLING & ANIMATIONS
   -------------------------------------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -340px;
    width: 310px;
    max-width: 88vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 99999;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #F3F4F6;
    background: #FAF9F6;
}

.mobile-menu-close {
    background: #E5E7EB;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #111111;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-menu-close:hover {
    background: #EA580C;
    color: #FFFFFF;
}

.mobile-menu-body {
    padding: 24px 20px;
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #1F2937;
    font-weight: 750;
    font-size: 1.02rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link i {
    color: #EA580C;
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(234, 88, 12, 0.09);
    color: #EA580C;
}

.mobile-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-social-icon:hover {
    background: #EA580C;
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   COMPREHENSIVE MOBILE RESPONSIVE MEDIA QUERIES FOR ALL PAGES
   -------------------------------------------------------------------------- */

/* Prevent horizontal scrollbars globally */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* TABLETS & SMALL LAPTOPS (max-width: 991px) */
@media (max-width: 991px) {
    .site-logo {
        margin-left: 0 !important;
    }

    .header-main {
        padding: 6px 0 !important;
    }

    .site-logo img {
        height: 75px !important;
        width: auto !important;
        max-width: 320px !important;
        border-radius: 0 !important;
        object-fit: contain !important;
    }

    /* Section Paddings */
    section, 
    .why-choose-section {
        padding: 60px 0 !important;
    }

    .hero-section-wrapper {
        padding: 30px 0 40px !important;
        min-height: auto !important;
    }

    /* Fixed Height Frames on Mobile */
    .hover-zoom-frame,
    div[style*="height: 480px"],
    div[style*="height: 460px"],
    div[style*="height: 500px"] {
        height: 340px !important;
    }

    /* Hero Floating Card Positioning */
    .hero-floating-card {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Grid Gaps */
    .gx-60 {
        --bs-gutter-x: 1.5rem !important;
    }

    .header-topbar {
        font-size: 0.8rem !important;
    }
    .site-logo {
        margin-left: 0 !important;
    }
}

/* MOBILE PHONES (max-width: 767px) */
@media (max-width: 767px) {
    /* Hero Banners Mobile Paddings & Heights */
    .contact-hero,
    .about-hero,
    .services-hero,
    .faq-hero {
        padding: 35px 0 30px !important;
        min-height: 160px !important;
    }

    .hero-section-wrapper {
        padding: 24px 0 35px !important;
        min-height: auto !important;
    }

    .site-logo {
        margin-left: 0 !important;
    }

    .site-logo img {
        height: 68px !important;
        width: auto !important;
        max-width: 280px !important;
        border-radius: 0 !important;
        object-fit: contain !important;
    }

@media (max-width: 380px) {
    .site-logo img {
        height: 58px !important;
        width: auto !important;
        max-width: 240px !important;
        border-radius: 0 !important;
        object-fit: contain !important;
    }
}

    .scroll-to-top-btn {
        bottom: 85px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
    }

    /* Section Paddings */
    section, 
    .why-choose-section {
        padding: 45px 0 !important;
    }

    /* Headings */
    .header-xxl,
    .hero-main-heading {
        font-size: clamp(1.8rem, 6.5vw, 2.5rem) !important;
        line-height: 1.18 !important;
    }

    .header-xl {
        font-size: clamp(1.5rem, 5.5vw, 2.1rem) !important;
        line-height: 1.25 !important;
    }

    .dream-property-highlight {
        font-size: clamp(2.2rem, 8vw, 3.4rem) !important;
    }

    .ta-hero-one-heading {
        font-size: clamp(1.5rem, 6.5vw, 2.8rem) !important;
        line-height: 1.15 !important;
    }

    /* Floating Image Containers */
    .hover-zoom-frame,
    div[style*="height: 480px"],
    div[style*="height: 460px"],
    div[style*="height: 500px"],
    div[style*="height: 380px"],
    div[style*="height: 320px"] {
        height: 250px !important;
    }

    /* Topbar on Small Mobile */
    .header-topbar {
        padding: 6px 0 !important;
        font-size: 0.78rem !important;
    }

    .header-topbar .container {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Buttons & Interactive Elements */
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 12px 24px !important;
        font-size: 0.92rem !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .header-actions .ta-button-01 {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }

    /* Hero Feature Pills Grid */
    .hero-pill-item {
        font-size: 0.82rem !important;
        padding: 6px 12px !important;
    }

    /* Footer Responsive */
    .site-footer {
        padding-top: 50px !important;
        padding-bottom: 25px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .footer-bottom > div {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* SMALL MOBILE PHONES (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .header-actions .ta-button-01 {
        display: none !important;
    }

    .why-choose-card {
        padding: 28px 18px !important;
    }

    .why-choose-icon-box {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 18px !important;
    }

    .why-choose-title {
        font-size: 1.1rem !important;
    }

}

/* --------------------------------------------------------------------------
   YOUTUBE SHORTS & RESPONSIVE MOBILE FULLSCREEN VIDEO MODAL
   -------------------------------------------------------------------------- */
.ratio-9x16 {
    --bs-aspect-ratio: 177.777778%;
}

@media (max-width: 767.98px) {
    #ytVideoModal .modal-dialog {
        max-width: 100vw !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #ytVideoModal .modal-content {
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        background: #000000 !important;
    }
    #ytVideoModal .modal-body {
        flex: 1 1 auto !important;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        background: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    #ytVideoModal #ytRatioContainer {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    #ytVideoModal #ytRatioContainer::before {
        display: none !important;
        padding: 0 !important;
    }
    #ytVideoModal #ytVideoIframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        border: none !important;
    }
}

@media (min-width: 768px) {
    /* Standard Horizontal 16:9 Videos on Desktop */
    #ytVideoModal:not(.is-shorts-modal) .modal-dialog {
        max-width: 800px !important;
        margin: 1.75rem auto !important;
    }
    #ytVideoModal:not(.is-shorts-modal) .modal-content {
        height: auto !important;
        border-radius: 16px !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
    }
    #ytVideoModal:not(.is-shorts-modal) .modal-body {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        background: #000000 !important;
    }
    #ytVideoModal:not(.is-shorts-modal) #ytRatioContainer {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        display: block !important;
    }
    #ytVideoModal:not(.is-shorts-modal) #ytRatioContainer::before {
        display: block !important;
        content: "" !important;
        padding-top: 56.25% !important;
    }
    #ytVideoModal:not(.is-shorts-modal) #ytVideoIframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;
    }

    /* Vertical Shorts 9:16 Videos on Desktop */
    #ytVideoModal.is-shorts-modal .modal-dialog {
        max-width: 400px !important;
        margin: 1.75rem auto !important;
    }
    #ytVideoModal.is-shorts-modal .modal-content {
        height: 720px !important;
        max-height: 85vh !important;
        border-radius: 20px !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
    }
    #ytVideoModal.is-shorts-modal .modal-body {
        flex: 1 1 auto !important;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        background: #000000 !important;
    }
    #ytVideoModal.is-shorts-modal #ytRatioContainer {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        display: block !important;
    }
    #ytVideoModal.is-shorts-modal #ytRatioContainer::before {
        display: none !important;
    }
    #ytVideoModal.is-shorts-modal #ytVideoIframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;
    }
}

/* --------------------------------------------------------------------------
   TOUCH & POINTER EVENT FIXES FOR MOBILE SCREENS
   -------------------------------------------------------------------------- */
.df-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: dfRippleAnim 0.6s linear;
    background-color: rgba(234, 88, 12, 0.25);
    pointer-events: none !important;
    z-index: 9;
}

@keyframes dfRippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hide desktop custom mouse cursor elements on touch devices to prevent touch block */
@media (max-width: 991px) {
    .mouseCursor,
    .cursor-outer,
    .cursor-inner {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
}

/* YouTube Modal Pointer & Touch Controls */
.yt-modal-trigger {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(234, 88, 12, 0.2) !important;
    user-select: none;
    -webkit-user-select: none;
}

#ytVideoModal,
#ytVideoModal .modal-dialog,
#ytVideoModal .modal-content,
#ytVideoModal .modal-body,
#ytRatioContainer,
#ytVideoIframe {
    pointer-events: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch;
}

#ytVideoIframe {
    position: relative !important;
    z-index: 100 !important;
}


