@font-face {
    font-family: 'Careem';
    src: url('/website/webfonts/ArbFONTS-CAREEM-BOLD.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Careem';
    src: url('/website/webfonts/ArbFONTS.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --villa-gold: #B1915D;
    --villa-gold-dark: #8F7448;
    --villa-gold-hover: #967a4e;

    --villa-dark-blue: #312F4C;
    --villa-dark-blue-light: #4A486B;
    --villa-blue-accent: #225D77;
    --villa-blue-secondary: #2E6F8A;

    --villa-white: #FFFFFF;
    --villa-white-muted: rgba(255, 255, 255, 0.7);
    --villa-white-dim: rgba(255, 255, 255, 0.4);
    --villa-bg-light: #F8F9FA;
    --villa-border-light: #CCCCCC;

    --villa-text-muted: #6c757d;
    --villa-text-dark: #444444;
    --villa-placeholder: #999999;

    --villa-font-main: 'Cairo', sans-serif;
    --villa-font-careem: 'Careem', sans-serif;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--villa-font-main);
    color: var(--villa-dark-blue);
    background-color: var(--villa-white);
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.site-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.maskan-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-rail {
    height: 43px;
    background: var(--accent);
}

.navbar {
    padding-block: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 90px;
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    transition: color 0.3s, background-color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;

    font-family: Careem;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0%;

}

.nav-link:hover {
    color: var(--accent) !important;
    opacity: 0.8;
}

.btn-cta {
    background: var(--gold);
    color: #fff !important;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.3s, opacity 0.2s;
}

.btn-cta.active {
    background-color: var(--accent) !important;
    opacity: 1;
}

.btn-cta:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.lang-badge {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.lang-badge:hover {
    background: rgba(0, 0, 0, 0.08);
}

.mobile-cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Responsive Design (Global Standards) ===== */

/* Large Tablets & Small Desktops (max-width: 1199.98px) */
@media (max-width: 1199.98px) {
    .villa-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 22px;
    }

    .villa-feature-label,
    .villa-feature-value {
        font-size: 1.05rem;
    }
}

/* Tablets (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .navbar-nav {
        gap: 0.5rem !important;
    }

    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem !important;
        font-size: 16px !important;
    }

    .navbar-nav .btn-cta {
        padding: 0.5rem 1rem !important;
        font-size: 16px !important;
        min-height: auto !important;
    }

    .hero-section {
        height: 65vh;
        min-height: 480px;
    }

    .hero-main-title {
        font-size: 32px;
    }

    .hero-main-description {
        font-size: 18px;
        line-height: 1.4;
    }

    .hero-cta-container {
        width: 100%;
        max-width: 480px;
        height: auto;
        padding-block: 20px;
        margin-inline: auto;
    }

    .villa-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .peek-swiper {
        padding-inline: 64px;
    }

    .peek-swiper .swiper-slide {
        width: 82%;
    }

    .peek-swiper .swiper-slide-prev,
    .peek-swiper .swiper-slide-next {
        transform: scale(.9) translateX(0);
    }

    .payment-option-card {
        min-width: 300px;
        padding: 25px;
    }

    .villa-footer-form-panel {
        max-width: 100%;
    }

    .villa-footer-form-title {
        text-align: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-social-title {
        font-size: 1.45rem;
        text-align: center !important;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    background: var(--hero-bg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
}

.hero-main-title {
    font-family: Careem;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: 0%;

    margin-bottom: 20px;
}

.hero-main-description {
    color: #fff;
    margin-bottom: 40px;
    font-family: Careem;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0%;
    text-align: center;

}

.hero-cta-container {
    background: rgba(154, 161, 168, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 600px;
    max-width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-villa-gold-action {
    background-color: var(--villa-gold);
    color: #fff;
    padding: 12px 50px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    font-family: Careem;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0%;

}

.btn-villa-gold-action:hover {
    background-color: var(--villa-gold-dark);
    color: #fff;
    transform: scale(1.05);
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.section-title {
    color: var(--villa-dark-blue);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--villa-gold);
}

/* Buttons */
.btn-villa-gold {
    background-color: var(--villa-gold);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-villa-gold:hover {
    background-color: var(--villa-gold-dark);
    color: white;
}

.btn-villa-outline {
    background-color: transparent;
    color: var(--villa-white);
    border: 2px solid var(--villa-white);
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-villa-outline:hover {
    background-color: var(--villa-white);
    color: var(--villa-gold);
}

.bg-villa-dark {
    background-color: var(--villa-dark-blue);
    color: white;
}

.text-villa-gold {
    color: var(--villa-gold);
}

.about-section-title {
    color: var(--maskan-header-accent, #225D77);
    margin-bottom: 5px;
    font-family: Careem;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0%;


}

.about-ornament {
    width: 200px;
    height: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 10" preserveAspectRatio="none"><path d="M0,5 Q50,0 100,5 T200,5" fill="none" stroke="%23B1915D" stroke-width="4" stroke-linecap="round"/></svg>');
    background-size: cover;
}

.about-description {
    color: #838384;
    font-family: Careem;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0%;
    text-align: center;
}

.about-stat-box h4 {
    color: #404040;

    font-family: Careem;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0%;

}

.about-stat-box p {
    font-family: Careem;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0%;
    color: #5F5F5F;
}

.stat-icon svg {
    display: block;
}


.features-section-title {
    color: var(--maskan-header-accent, #225D77);
    margin-bottom: 5px;

    font-family: Careem;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0%;



}

.features-ornament {
    width: 200px;
    height: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 10" preserveAspectRatio="none"><path d="M0,5 Q50,0 100,5 T200,5" fill="none" stroke="%23B1915D" stroke-width="4" stroke-linecap="round"/></svg>');
    background-size: cover;
}

.feature-item-box h5 {
    color: #333;
    font-weight: 700;
    font-size: 1.15rem;
}

.villa-features-section {
    background: #F0F0F0;
}

.villa-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 28px;
    margin-top: 18px;
}

.villa-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 132px;
    text-align: center;
    padding: 8px 6px;
}

.villa-feature-icon {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.villa-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.villa-feature-icon i {
    font-size: 1.9rem;
    color: var(--villa-feature-text, #1f2d3d);
}

.villa-feature-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.villa-feature-label {
    margin: 0;
    color: var(--villa-feature-text, #1f2d3d);
    font-family: Careem;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;



}

.villa-feature-value {
    color: var(--villa-feature-text, #1f2d3d);
    font-family: Careem;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
}


.feature-icon-circle {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-circle svg {
    stroke: #333;
}

.plan-container {
    background: rgba(177, 145, 93, 0.1);
    padding: 60px;
    border-radius: 30px;
    position: relative;
}

.plan-image-box {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-info-overlay {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 20px;
    width: 80%;
}

.plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-row:last-child {
    border-bottom: none;
}

.plan-row h4 {
    color: var(--villa-white);
    margin: 0;
    font-size: 1.2rem;
}

.plan-row span {
    color: var(--villa-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.payment-section {
    background: linear-gradient(180deg,
            var(--payment-bg-start, var(--villa-dark-blue)) 0%,
            var(--payment-bg-end, var(--villa-blue-accent)) 100%);
    padding: 80px 0;
}

.payment-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.payment-card {
    background: var(--payment-card-bg, var(--villa-white));
    padding: 30px;
    border-radius: 15px;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 10px 40px var(--payment-card-shadow, rgba(0, 0, 0, 0.2));
    border: 1px solid var(--payment-card-border, transparent);
}

.payment-card h4 {
    color: var(--payment-card-title, var(--villa-blue-accent));
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-card p {
    color: var(--payment-card-text, var(--villa-dark-blue-light));
    font-size: 1.1rem;
    margin: 0;
}

.map-container {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-container {
    border: 4px solid var(--villa-dark-blue);
    padding: 50px;
    border-radius: 20px;
    background: var(--villa-white);
}

.contact-container .form-control {
    border: 1px solid var(--villa-dark-blue);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}


.footer-logo h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--villa-white);
    color: var(--villa-dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--villa-gold);
    color: var(--villa-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

section {
    padding: 50px 0;
    overflow-x: hidden;
}

.peek-swiper {
    --shift: 88%;
    --scale: .86;
    position: relative;
    margin-inline: auto;
    padding-inline: 96px;
    overflow: hidden;
}

.peek-swiper .swiper-wrapper {
    align-items: center;
}

.peek-swiper .swiper-slide {
    width: 76%;
    aspect-ratio: 16/9;
    border-radius: 18px;
    transition: transform .35s, box-shadow .35s, opacity .35s;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
    will-change: transform;
    z-index: 1;
    overflow: hidden;
}

.peek-swiper .swiper-slide img,
.peek-swiper .swiper-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.gallery-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-video-thumb video {
    pointer-events: none;
}

.gallery-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
}

.peek-swiper .swiper-slide-active {
    transform: scale(1);
    z-index: 3;
}

.peek-swiper .swiper-slide-prev {
    transform: scale(var(--scale)) translateX(var(--shift));
    opacity: .98;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    z-index: 2;
}

.peek-swiper .swiper-slide-next {
    transform: scale(var(--scale)) translateX(calc(-1 * var(--shift)));
    opacity: .98;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    z-index: 2;
}

.peek-prev,
.peek-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    transition: .2s;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.peek-prev {
    left: 2px;
}

.peek-next {
    right: 2px;
}

.peek-prev i,
.peek-next i {
    font-size: 22px;
    color: #225D77;
}

.peek-prev:hover i,
.peek-next:hover i {
    color: #B1915D;
    transform: scale(1.12);
}


/* ====== Plans Section ====== */
.plans-hero-box {
    height: 450px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plans-overlay {
    position: absolute;
    inset: 0;
    background: var(--plans-overlay-color, rgba(177, 145, 93, 0.65));
    z-index: 1;
}

.plans-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
}

.plan-floor-btn {
    width: 100%;
    max-width: 590px;
    padding: 12px 30px;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: Careem;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0%;
}

.plan-floor-btn:hover {
    background: #FFFFFF;
    color: #B1915D;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.plan-floor-btn.plan-floor-btn-static:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: none;
    box-shadow: none;
}

.payment-section {
    background: linear-gradient(90deg,
            var(--payment-bg-start, #225D77) 0%,
            var(--payment-bg-end, #A2D2DF) 100%);
    padding: 100px 0;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.payment-title {
    color: var(--payment-title-color, #FFFFFF) !important;
    font-family: Careem;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: 0%;
}

.payment-option-card {
    background: var(--payment-card-bg, #FFFFFF);
    padding: 30px 40px;
    border-radius: 15px;
    width: 400px;
    min-height: 92px;
    box-shadow: 0 10px 30px var(--payment-card-shadow, rgba(0, 0, 0, 0.1));
    border: 1px solid var(--payment-card-border, transparent);
    transition: transform 0.3s ease;
    text-align: center;
}

.payment-option-card:hover {
    transform: translateY(-5px);
}

.payment-option-card h5 {
    color: var(--payment-card-title, #333333);
    font-family: Careem;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 5px;
}

.payment-option-card p {
    color: var(--payment-card-text, #555555);
    font-family: Careem;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0%;
    text-align: center;
}


.location-description {
    color: #838384;
    margin: 0 auto;
    font-family: Careem;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0%;
    text-align: center;
}

.map-wrapper {
    width: 100%;
    margin-top: 30px;
    border-top: 1px solid #eee;
    overflow: hidden;
}


.contact-framed-container {
    max-width: 1077px;
    border: 15px solid var(--contact-frame-color, var(--villa-blue-accent));
    border-radius: 20px;
    background-color: var(--villa-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.contact-framed-title {
    color: var(--villa-blue-accent);
    font-family: Careem;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 30px !important;
}

.contact-framed-input {
    border: 1px solid var(--villa-border-light);
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.95rem;
    color: var(--villa-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 53px;
    max-width: 480px;
    width: 100%;
}

.contact-framed-input::placeholder {
    color: var(--villa-placeholder);
}

.contact-framed-input.form-select {
    color: var(--villa-placeholder);
}

.contact-framed-input.form-select:valid,
.contact-framed-input.form-select:focus {
    color: var(--villa-text-dark);
}

.contact-framed-input.form-select option {
    color: var(--villa-text-dark);
}

.contact-framed-input.form-select option[disabled] {
    color: var(--villa-placeholder);
}

.contact-framed-input:focus {
    border-color: var(--villa-gold);
    box-shadow: 0 0 0 0.2rem rgba(177, 145, 93, 0.25);
}

.contact-framed-submit-btn {
    background-color: var(--contact-send-bg, var(--villa-gold));
    color: var(--villa-white);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: Careem;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0%;
    height: 54px;
    max-width: 320px;
    width: 100%;
}

.contact-framed-submit-btn:hover {
    background-color: var(--contact-send-bg, var(--villa-gold-hover));
    color: var(--villa-white);
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(177, 145, 93, 0.4);
}


/* ====== Footer Section ====== */
.villa-footer {
    height: auto;
    background-color: #2E7899;
    color: var(--villa-white);
    padding: 12px 0 10px;
}

.villa-footer-shell {
    max-width: 1220px;
    padding-bottom: 14px !important;
}

.villa-footer-grid {
    min-height: auto;
}

.villa-footer-form-panel {
    max-width: 470px;
}

.villa-footer-form-title {
    font-family: var(--villa-font-careem);
    text-align: right;
    font-family: Careem;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;

}

.footer-title {
    font-family: var(--villa-font-careem);
    margin: 0;
    font-family: Careem;
    font-weight: 700;
    font-style: Bold;
    font-size: 55px;

    letter-spacing: 0%;
    text-align: start;

}

.footer-description {
    font-family: var(--villa-font-careem);
    max-width: 520px;
    text-align: start;
    font-family: Careem;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    letter-spacing: 0%;

}

.footer-social-title {
    font-family: var(--villa-font-careem);
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;

    letter-spacing: 0%;
    text-align: start;

}

.footer-social-circle {
    width: 46px;
    height: 46px;
    background-color: var(--villa-white);
    color: #55606a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-circle:hover {
    background-color: var(--villa-gold);
    color: var(--villa-white);
    transform: translateY(-3px);
}

.footer-form-input {
    background-color: transparent !important;
    border: 1px solid var(--villa-white) !important;
    border-radius: 10px !important;
    color: var(--villa-white) !important;
    padding: 0.52rem 0.8rem;
    min-height: 40px;
    font-size: 0.95rem !important;
    text-align: right;
    direction: rtl;
}

.footer-form-input::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.footer-form-input:focus {
    border-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.2) !important;
}

.footer-form-textarea {
    min-height: 96px;
    resize: vertical;
}

.footer-submit-btn {
    background-color: var(--villa-gold);
    color: var(--villa-white);
    border: 1px solid #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 14px;
    min-width: 200px;
    padding: 0.42rem 1.8rem;
    transition: all 0.3s ease;
}

.footer-submit-btn:hover {
    background-color: var(--villa-gold-hover);
    color: var(--villa-white);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background-color: var(--villa-white-dim);
    width: 100%;
}



/* Mobile Large Devices - Landscape Phones (max-width: 767.98px) */
@media (max-width: 767.98px) {

    /* Layout & Spacing */
    section,
    section.py-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .container,
    .container-fluid {
        padding-inline: 14px !important;
    }

    /* Header */
    .top-rail {
        height: 32px !important;
    }

    .navbar {
        min-height: 60px !important;
        padding-block: 0.4rem !important;
    }

    /* Hero Section */
    .hero-section {
        height: 55vh !important;
        min-height: 320px !important;
    }

    .hero-main-title {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    .hero-main-description {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
    }

    .hero-cta-container {
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
        margin-inline: auto;
    }

    .btn-villa-gold-action {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        padding: 10px 22px !important;
        border-radius: 8px !important;
    }

    /* Typography */
    .about-section-title,
    .features-section-title,
    .payment-title,
    .contact-framed-title {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }

    .about-description,
    .location-description,
    .footer-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .about-stat-icon svg {
        width: 38px !important;
        height: auto !important;
    }

    .about-stat-content h4 {
        font-size: 16px !important;
    }

    .about-stat-content p {
        font-size: 13px !important;
    }

    /* Features Grid */
    .villa-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .villa-feature-icon {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px;
    }

    .villa-feature-label,
    .villa-feature-value {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .villa-feature-item {
        min-height: 90px;
        gap: 6px;
        padding: 6px 4px;
    }

    /* Gallery/Slider */
    .peek-swiper {
        width: 100%;
        max-width: 100%;
        padding-inline: 10px;
    }

    .peek-swiper .swiper-slide {
        width: 100% !important;
        border-radius: 12px;
    }

    .peek-swiper .swiper-slide-prev,
    .peek-swiper .swiper-slide-next {
        transform: none !important;
        opacity: 0 !important;
        pointer-events: none;
    }

    .peek-prev,
    .peek-next {
        width: 36px;
        height: 36px;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: rgba(255, 255, 255, 0.95);
    }

    .peek-prev {
        left: 12px;
    }

    .peek-next {
        right: 12px;
    }

    .peek-prev i,
    .peek-next i {
        font-size: 16px;
    }

    .gallery-video-play {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    /* Plans Section */
    .plans-hero-box {
        height: 220px !important;
        border-radius: 12px !important;
    }

    .plans-content-wrapper {
        gap: 0.5rem !important;
    }

    .plan-floor-btn {
        width: 88% !important;
        max-width: 88% !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        padding: 8px 12px !important;
        min-height: 44px !important;
    }

    /* Payment Section */
    .payment-section {
        padding: 30px 0 !important;
        min-height: 0 !important;
    }

    .payment-title {
        font-size: 17px !important;
        margin-bottom: 14px !important;
    }

    #payment .d-flex.gap-4 {
        gap: 0.6rem !important;
    }

    .payment-option-card {
        width: 100% !important;
        max-width: 560px !important;
        min-height: 44px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        margin-inline: auto;
    }

    .payment-option-card h5,
    .payment-option-card p {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    /* Location Section */
    .map-wrapper iframe,
    #location iframe {
        height: 200px !important;
        max-height: 200px !important;
    }

    /* Contact Form */
    .contact-framed-container {
        border-width: 6px !important;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .contact-framed-title {
        font-size: 17px !important;
        text-align: center !important;
    }

    .contact-framed-input,
    .contact-framed-input.form-select,
    .contact-framed-input.form-control,
    .contact-framed-container .form-control,
    .contact-framed-container .form-select,
    .contact-framed-container input,
    .contact-framed-container textarea,
    .contact-framed-container select,
    .footer-form-input,
    .footer-form-input.form-control,
    .villa-footer-form-panel .form-control,
    .villa-footer-form-panel input,
    .villa-footer-form-panel textarea {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 13px !important;
        padding: 8px 10px !important;
        border-radius: 8px !important;
    }

    .contact-framed-container textarea,
    .contact-framed-input.form-control[rows],
    .footer-form-textarea,
    .footer-form-input.footer-form-textarea,
    .villa-footer-form-panel textarea {
        min-height: 90px !important;
        height: auto !important;
    }

    .contact-framed-submit-btn,
    .contact-framed-container .btn,
    .contact-framed-container button[type="submit"],
    .footer-submit-btn,
    .villa-footer-form-panel .btn,
    .villa-footer-form-panel button[type="submit"] {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        width: 100%;
    }

    .villa-footer-form-title {
        font-size: 14px !important;
    }

    /* Footer */
    .villa-footer {
        padding: 10px 0 8px;
    }

    .footer-title {
        font-size: 26px !important;
        line-height: 1.15 !important;
    }

    .footer-description {
        font-size: 14px !important;
    }

    .footer-social-title {
        font-size: 18px !important;
    }

    .footer-social-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Mobile Small Devices - Portrait Phones (max-width: 575.98px) */
@media (max-width: 575.98px) {

    /* Layout & Spacing */
    section,
    section.py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .container,
    .container-fluid {
        padding-inline: 12px !important;
    }

    /* Hero Section */
    .hero-section {
        height: 50vh !important;
        min-height: 300px !important;
    }

    .hero-main-title {
        font-size: 17px !important;
    }

    .hero-main-description {
        font-size: 13px !important;
    }

    .btn-villa-gold-action {
        font-size: 14px !important;
        padding: 7px 16px !important;
        min-height: 38px !important;
    }

    .hero-cta-container {
        max-width: 260px !important;
        padding: 5px 6px !important;
        border-radius: 12px !important;
    }
}

/* Intermediate Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .btn-villa-gold-action {
        font-size: 13px !important;
        padding: 6px 14px !important;
        min-height: 34px !important;
    }

    .hero-cta-container {
        max-width: 220px !important;
        padding: 4px 5px !important;
        border-radius: 10px !important;
    }
}

/* ===== Mobile Consistency Patch (2026-02) ===== */
@media (max-width: 767.98px) {
    .top-rail {
        display: none !important;
    }

    .navbar {
        min-height: 56px !important;
        padding-block: 0.35rem !important;
    }

    .navbar-brand img {
        max-height: 30px !important;
    }

    .navbar-brand span {
        font-size: 1.15rem !important;
        line-height: 1.1 !important;
    }

    .navbar-toggler {
        width: 44px !important;
        height: 40px !important;
        padding: 0 !important;
        border: 2px solid rgba(45, 45, 45, 0.45) !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        width: 1.2rem !important;
        height: 1.2rem !important;
        background-size: 1.2rem 1.2rem !important;
    }

    .navbar-collapse {
        margin-top: 8px !important;
        padding: 0.6rem !important;
        border-radius: 12px !important;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }

    .navbar-nav {
        gap: 0.2rem !important;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 0.35rem 0.6rem !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .mobile-cta-row {
        gap: 8px !important;
        align-items: stretch !important;
    }

    .mobile-cta-row .btn-cta {
        min-height: 42px !important;
        padding: 0.45rem 0.9rem !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    .mobile-cta-row .lang-badge {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        flex: 0 0 42px !important;
    }

    .mobile-cta-row .lang-badge svg {
        width: 24px !important;
        height: 24px !important;
    }

    .about-stats-wrap {
        gap: 1rem !important;
        margin-top: 0.5rem !important;
    }

    .about-stat-item {
        width: min(100%, 280px);
        justify-content: center !important;
        gap: 0.55rem !important;
    }

    .about-stat-icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    .about-stat-content h4 {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .about-stat-content p {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .villa-features-grid {
        gap: 14px 10px !important;
        margin-top: 8px !important;
    }

    .villa-feature-item {
        min-height: 82px !important;
        gap: 4px !important;
        padding: 4px 2px !important;
    }

    .villa-feature-icon {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .villa-feature-text {
        gap: 2px !important;
    }

    .villa-feature-label,
    .villa-feature-value {
        font-size: 12px !important;
        line-height: 1.28 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-wrap: balance;
    }

    .plan-floor-btn,
    .payment-option-card {
        width: 88% !important;
        max-width: 88% !important;
        margin-inline: auto !important;
    }

    .payment-option-card {
        min-height: 48px !important;
        padding: 11px 12px !important;
    }

    .payment-option-card h5,
    .payment-option-card p {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .villa-footer {
        padding: 14px 0 12px !important;
    }

    .villa-footer-shell {
        padding-top: 1.3rem !important;
        padding-bottom: 1rem !important;
    }

    .villa-footer-grid {
        row-gap: 1.3rem !important;
    }

    .footer-title {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    .footer-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }

    .footer-social-title {
        font-size: 17px !important;
        margin-bottom: 0.7rem !important;
    }

    .footer-social-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    .villa-footer-form-title {
        font-size: 14px !important;
        margin-bottom: 0.6rem !important;
    }

    .footer-form-input {
        min-height: 42px !important;
        height: 42px !important;
        font-size: 14px !important;
    }

    .footer-form-textarea {
        min-height: 120px !important;
    }

    .footer-submit-btn {
        min-height: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 14px !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand span {
        font-size: 1.05rem !important;
    }

    .plan-floor-btn,
    .payment-option-card {
        width: 92% !important;
        max-width: 92% !important;
    }

    .payment-option-card h5,
    .payment-option-card p {
        font-size: 13px !important;
    }

    .villa-footer-form .row.g-2 > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .footer-form-textarea {
        min-height: 105px !important;
    }
}

/* ===== Title Spacing Tweak ===== */
@media (max-width: 991.98px) {
    #about,
    #features,
    #gallery,
    #plans,
    #location,
    #contact {
        padding-top: 38px !important;
    }

    .about-title-wrapper,
    .features-title-wrapper {
        margin-bottom: 1.75rem !important;
    }

    .about-title-wrapper .about-section-title,
    .features-title-wrapper .features-section-title {
        margin-bottom: 0.25rem !important;
    }

    .about-title-wrapper .mx-auto,
    .features-title-wrapper .mx-auto {
        margin-top: 0 !important;
        line-height: 0;
    }
}

@media (max-width: 767.98px) {
    #about,
    #features,
    #gallery,
    #plans,
    #location,
    #contact {
        padding-top: 26px !important;
    }

    .about-title-wrapper,
    .features-title-wrapper {
        margin-bottom: 1.1rem !important;
    }
}

/* ===== Unified Typography + Gallery Controls ===== */
body {
    font-size: 15px;
    line-height: 1.55;
}

.nav-link {
    font-size: 15px !important;
    line-height: 1.25 !important;
}

.btn-cta,
.btn-villa-gold-action,
.contact-framed-submit-btn,
.footer-submit-btn {
    font-size: 15px !important;
}

.hero-main-title {
    font-size: clamp(40px, 5vw, 54px) !important;
    line-height: 1.12 !important;
}

.hero-main-description {
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: 1.5 !important;
}

.about-section-title,
.features-section-title,
.payment-title,
.contact-framed-title {
    font-size: clamp(28px, 3.2vw, 36px) !important;
    line-height: 1.2 !important;
}

.about-description,
.location-description {
    font-size: clamp(15px, 1.6vw, 19px) !important;
    line-height: 1.55 !important;
}

.villa-feature-label,
.villa-feature-value {
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.plan-floor-btn {
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.payment-option-card h5,
.payment-option-card p {
    font-size: clamp(18px, 2vw, 22px) !important;
    line-height: 1.25 !important;
}

.contact-framed-input,
.footer-form-input {
    font-size: 14px !important;
}

.villa-footer-form-title {
    font-size: 17px !important;
}

.footer-title {
    font-size: clamp(34px, 3.8vw, 44px) !important;
    line-height: 1.12 !important;
}

.footer-description {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.footer-social-title {
    font-size: 20px !important;
}

.peek-swiper {
    padding-inline: clamp(12px, 3.8vw, 72px);
}

.peek-prev,
.peek-next {
    width: 44px;
    height: 44px;
    z-index: 24;
    border: 1px solid rgba(34, 93, 119, 0.14);
    backdrop-filter: blur(2px);
}

.peek-prev {
    left: auto !important;
    right: auto !important;
    inset-inline-start: 14px !important;
}

.peek-next {
    left: auto !important;
    right: auto !important;
    inset-inline-end: 14px !important;
}

.peek-prev i,
.peek-next i {
    font-size: 18px !important;
}

@media (max-width: 991.98px) {
    .nav-link {
        font-size: 15px !important;
    }

    .btn-cta,
    .btn-villa-gold-action,
    .contact-framed-submit-btn,
    .footer-submit-btn {
        font-size: 14px !important;
    }

    .hero-main-title {
        font-size: clamp(28px, 5.2vw, 34px) !important;
    }

    .hero-main-description {
        font-size: clamp(14px, 2.4vw, 17px) !important;
    }

    .about-section-title,
    .features-section-title,
    .payment-title,
    .contact-framed-title {
        font-size: clamp(22px, 4.2vw, 28px) !important;
    }

    .about-description,
    .location-description {
        font-size: clamp(13px, 2.2vw, 15px) !important;
    }

    .villa-feature-label,
    .villa-feature-value {
        font-size: 13px !important;
    }

    .plan-floor-btn {
        font-size: 14px !important;
    }

    .payment-option-card h5,
    .payment-option-card p {
        font-size: clamp(14px, 2.6vw, 16px) !important;
    }

    .villa-footer-form-title {
        font-size: 14px !important;
    }

    .footer-title {
        font-size: clamp(26px, 5.4vw, 32px) !important;
    }

    .footer-description {
        font-size: 13px !important;
    }

    .footer-social-title {
        font-size: 16px !important;
    }
}

@media (max-width: 767.98px) {
    .nav-link {
        font-size: 13px !important;
    }

    .btn-cta,
    .btn-villa-gold-action,
    .contact-framed-submit-btn,
    .footer-submit-btn {
        font-size: 13px !important;
    }

    .hero-main-title {
        font-size: 21px !important;
    }

    .hero-main-description {
        font-size: 13px !important;
    }

    .about-section-title,
    .features-section-title,
    .payment-title,
    .contact-framed-title {
        font-size: 16px !important;
    }

    .about-description,
    .location-description {
        font-size: 13px !important;
    }

    .villa-feature-label,
    .villa-feature-value {
        font-size: 11px !important;
    }

    .plan-floor-btn {
        font-size: 13px !important;
    }

    .payment-option-card h5,
    .payment-option-card p {
        font-size: 13px !important;
    }

    .villa-footer-form-title {
        font-size: 13px !important;
    }

    .footer-title {
        font-size: 24px !important;
    }

    .footer-description {
        font-size: 13px !important;
    }

    .footer-social-title {
        font-size: 15px !important;
    }

    .peek-swiper {
        padding-inline: 8px !important;
    }

    .peek-prev,
    .peek-next {
        width: 34px;
        height: 34px;
    }

    .peek-prev {
        inset-inline-start: 8px !important;
    }

    .peek-next {
        inset-inline-end: 8px !important;
    }

    .peek-prev i,
    .peek-next i {
        font-size: 15px !important;
    }

    .contact-framed-input,
    .contact-framed-input.form-select,
    .contact-framed-input.form-control,
    .contact-framed-container .form-control,
    .contact-framed-container .form-select,
    .contact-framed-container input,
    .contact-framed-container textarea,
    .contact-framed-container select,
    .footer-form-input,
    .footer-form-input.form-control,
    .villa-footer-form-panel .form-control,
    .villa-footer-form-panel input,
    .villa-footer-form-panel textarea {
        min-height: 36px !important;
        height: 36px !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .contact-framed-container textarea,
    .contact-framed-input.form-control[rows],
    .footer-form-textarea,
    .footer-form-input.footer-form-textarea,
    .villa-footer-form-panel textarea {
        min-height: 88px !important;
        height: auto !important;
    }

    .contact-framed-submit-btn,
    .contact-framed-container .btn,
    .contact-framed-container button[type="submit"],
    .footer-submit-btn,
    .villa-footer-form-panel .btn,
    .villa-footer-form-panel button[type="submit"] {
        min-height: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
        padding-block: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .contact-framed-input,
    .contact-framed-input.form-select,
    .contact-framed-input.form-control,
    .contact-framed-container .form-control,
    .contact-framed-container .form-select,
    .contact-framed-container input,
    .contact-framed-container textarea,
    .contact-framed-container select,
    .footer-form-input,
    .footer-form-input.form-control,
    .villa-footer-form-panel .form-control,
    .villa-footer-form-panel input,
    .villa-footer-form-panel textarea {
        min-height: 34px !important;
        height: 34px !important;
        font-size: 11.5px !important;
        padding: 5px 9px !important;
    }

    .contact-framed-submit-btn,
    .contact-framed-container .btn,
    .contact-framed-container button[type="submit"],
    .footer-submit-btn,
    .villa-footer-form-panel .btn,
    .villa-footer-form-panel button[type="submit"] {
        min-height: 34px !important;
        height: 34px !important;
        font-size: 11.5px !important;
    }
}

/* ===== Form Direction + Hero CTA Polish ===== */
.footer-form-input,
.footer-form-input.form-control,
.contact-framed-input,
.contact-framed-input.form-control,
.contact-framed-input.form-select {
    text-align: inherit !important;
    direction: inherit !important;
    unicode-bidi: plaintext;
}

.footer-form-input::placeholder,
.contact-framed-input::placeholder {
    text-align: inherit;
}

html[dir="rtl"] .footer-form-input,
html[dir="rtl"] .footer-form-input.form-control,
html[dir="rtl"] .contact-framed-input,
html[dir="rtl"] .contact-framed-input.form-control,
html[dir="rtl"] .contact-framed-input.form-select {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .footer-form-input,
html[dir="ltr"] .footer-form-input.form-control,
html[dir="ltr"] .contact-framed-input,
html[dir="ltr"] .contact-framed-input.form-control,
html[dir="ltr"] .contact-framed-input.form-select {
    direction: ltr !important;
    text-align: left !important;
}

.hero-cta-container {
    width: min(760px, 95%) !important;
    height: 108px !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
    background: rgba(222, 228, 236, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-cta-container .btn-villa-gold-action {
    min-width: min(300px, 100%);
    min-height: 56px;
    padding: 10px 28px !important;
    border-radius: 8px !important;
    font-size: clamp(18px, 1.6vw, 24px) !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.hero-cta-container .btn-villa-gold-action:hover {
    transform: translateY(-1px) !important;
}

@media (max-width: 991.98px) {
    .hero-cta-container {
        width: min(560px, 96%) !important;
        height: 92px !important;
        border-radius: 16px !important;
    }

    .hero-cta-container .btn-villa-gold-action {
        min-width: min(260px, 100%);
        min-height: 50px;
        font-size: 17px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-cta-container {
        height: auto !important;
        min-height: 74px !important;
        padding: 10px 10px !important;
        border-radius: 14px !important;
    }

    .hero-cta-container .btn-villa-gold-action {
        min-width: min(230px, 100%);
        min-height: 44px;
        font-size: 15px !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
    }
}

/* ===== Footer Vertical Gap Fix ===== */
@media (max-width: 991.98px) {
    .villa-footer-grid {
        --bs-gutter-y: 0.9rem !important;
    }

    .footer-description {
        margin-bottom: 0.55rem !important;
    }

    .footer-social-title {
        margin-bottom: 0.4rem !important;
    }
}

@media (max-width: 767.98px) {
    .villa-footer-grid {
        --bs-gutter-y: 0.65rem !important;
    }
}

/* ===== iPad Footer Tuning ===== */
@media (max-width: 991.98px) {
    .villa-footer-form-panel {
        max-width: 100% !important;
        width: 100% !important;
        margin-inline: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .villa-footer-shell {
        padding-top: 1rem !important;
        padding-bottom: 0.9rem !important;
    }

    .villa-footer-grid {
        --bs-gutter-y: 0.4rem !important;
    }

    .footer-description {
        margin-bottom: 0.35rem !important;
    }

    .footer-social-title {
        margin-bottom: 0.25rem !important;
    }

    .villa-footer-form-title {
        margin-bottom: 0.45rem !important;
    }
}

/* ===== Sticky Header On Mobile/Tablet ===== */
@media (max-width: 991.98px) {
    .maskan-header {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1400 !important;
    }

    body {
        padding-top: var(--mobile-header-offset, 88px);
    }
}

/* ===== About Gap Tightening ===== */
@media (max-width: 991.98px) {
    #about .row.justify-content-center.mb-5 {
        margin-bottom: 1rem !important;
    }

    #about .about-stats-wrap {
        margin-top: 0.4rem !important;
        gap: 0.85rem !important;
    }
}

@media (max-width: 767.98px) {
    #about .row.justify-content-center.mb-5 {
        margin-bottom: 0.7rem !important;
    }

    #about .about-stats-wrap {
        margin-top: 0.1rem !important;
        gap: 0.65rem !important;
    }
}

/* ===== Mobile Header CTA Final Size ===== */
@media (max-width: 991.98px) {
    .navbar-collapse .mobile-cta-row {
        align-items: center !important;
        gap: 7px !important;
    }

    .navbar-collapse .mobile-cta-row .btn-cta {
        width: auto !important;
        min-width: 116px !important;
        max-width: 170px !important;
        min-height: 36px !important;
        height: 36px !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
        border-radius: 9px !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .navbar-collapse .mobile-cta-row .lang-badge {
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
    }

    .navbar-collapse .mobile-cta-row .lang-badge svg {
        width: 21px !important;
        height: 21px !important;
    }
}

@media (max-width: 767.98px) {
    .navbar-collapse .mobile-cta-row .btn-cta {
        min-height: 34px !important;
        height: 34px !important;
        min-width: 108px !important;
        max-width: 156px !important;
        padding: 5px 11px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }

    .navbar-collapse .mobile-cta-row .lang-badge {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
    }

    .navbar-collapse .mobile-cta-row .lang-badge svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ===== About Stats Compact Layout (Mobile/Tablet) ===== */
@media (max-width: 991.98px) {
    #about .about-stats-wrap {
        margin-top: 0.1rem !important;
        gap: 0.45rem 0.75rem !important;
        justify-content: center !important;
    }

    #about .about-stat-item {
        width: auto !important;
        min-width: 0 !important;
        flex: 0 1 240px !important;
        gap: 0.45rem !important;
    }
}

@media (max-width: 575.98px) {
    #about .about-stats-wrap {
        gap: 0.38rem !important;
    }

    #about .about-stat-item {
        flex-basis: 100% !important;
        justify-content: center !important;
    }
}

