:root {
    --primary-gold: #c5a059;
    --primary-gold-dark: #a68541;
    --bg-beige: #fdfaf5;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --white: #ffffff;
    --accent-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --gold-gradient: linear-gradient(135deg, #c5a059 0%, #a68541 100%);

    /* Responsive Spacing & Sizes */
    --font-base: 1rem;
    /* 16px */
    --section-padding-desktop: 6.25rem;
    /* 100px */
    --section-padding-mobile: 3.125rem;
    /* 50px */
}

/* Base Responsive Typography */
html {
    font-size: 16px;
    /* Base 1rem = 16px */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Kufi Arabic', 'Outfit', sans-serif;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--bg-beige);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Touch-Friendly Targets */
button,
a,
input,
select,
textarea {
    min-height: 2.75rem;
    /* 44px */
    min-width: 2.75rem;
    font-size: 1rem;
}

/* Breakpoints and Layout */
section {
    padding: var(--section-padding-desktop) 5%;
    position: relative;
    overflow-x: hidden;
}

/* Responsive Padding Adjustment */
@media (max-width: 991px) {
    section {
        padding: var(--section-padding-mobile) 4%;
    }
}

@media (max-width: 575px) {
    section {
        padding: 2rem 1rem;
    }
}

/* Premium Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* 1. Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out;
}

.hero-info-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1.4s ease-out;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.info-item .value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.cta-button {
    padding: 15px 40px;
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

/* 2. Quick Overview Bar */
.quick-overview-bar {
    background: var(--white);
    padding: 2.5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    margin-top: -3.125rem;
    z-index: 10;
    position: relative;
    border-radius: 0.9375rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.overview-card {
    text-align: center;
    padding: 1.25rem;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .overview-card {
    border-right: none;
    border-left: 1px solid #eee;
}

@media (max-width: 768px) {
    .quick-overview-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem 4%;
        width: 95%;
        margin-top: -2rem;
    }

    .overview-card:nth-child(even) {
        border-right: none;
        border-left: none;
    }
}

@media (max-width: 480px) {
    .quick-overview-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .overview-card {
        padding: 0.75rem;
    }
}

.overview-card i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.625rem;
}

.overview-card h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.overview-card p {
    font-size: 0.95rem;
    font-weight: 700;
}

/* 3. About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-dark);
}

.about-content p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 1.875rem 1.875rem 0 var(--primary-gold);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        box-shadow: 1rem 1rem 0 var(--primary-gold);
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 4. Unit Types */
.unit-types-section {
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.9375rem;
}

.section-header .line {
    width: 3.75rem;
    height: 0.25rem;
    background: var(--gold-gradient);
    margin: 0 auto;
}

.units-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 575px) {
    .units-container {
        grid-template-columns: 1fr;
    }
}

.unit-card {
    background: var(--bg-beige);
    border-radius: 0.9375rem;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.unit-card:hover {
    transform: translateY(-0.625rem);
    border-color: var(--primary-gold);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
}

.unit-img {
    height: 15.625rem;
    background-size: cover;
    background-position: center;
}

.unit-info {
    padding: 1.5625rem;
}

.unit-info h3 {
    margin-bottom: 0.9375rem;
    font-size: 1.3rem;
}

.unit-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail i {
    color: var(--primary-gold);
}

.unit-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

/* 5. Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 575px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.amenity-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 0.9375rem;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.amenity-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.9375rem;
}

.amenity-item:hover i {
    color: var(--white);
}

/* 6. Location */
.location-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    background: var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.map-wrapper iframe {
    width: 100%;
    height: 31.25rem;
    border: none;
}

.accessibility-info {
    padding: 2.5rem;
}

@media (max-width: 575px) {
    .accessibility-info {
        padding: 1.25rem;
    }
}

.landmark-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.9375rem;
    margin-bottom: 0.9375rem;
    border-bottom: 1px solid #eee;
}

.landmark-name {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
}

.landmark-name i {
    color: var(--primary-gold);
}

/* 7. Gallery */
.gallery-section .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 600px;
    height: 400px;
    border-radius: 15px;
}

/* 8. Contact Form */
.contact-section {
    background: var(--accent-dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        text-align: center;
    }
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 575px) {
    .contact-form {
        padding: 1.5rem;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    outline: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
}

/* Sticky Nav & Mobile Menu */
.project-nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0.9375rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: transform 0.3s linear, background-color 0.3s linear, color 0.3s linear;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

.project-nav .cta-button {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

@media (max-width: 480px) {
    .project-nav {
        padding: 0.75rem 4%;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-gold);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .location-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 2.5rem;
    }
}

/* 9. Construction Progress */
.construction-progress {
    background: var(--white);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 20px;
    margin: 30px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 20px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #eee;
    transform: translateX(-50%);
}

.timeline-item {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid var(--white);
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: var(--bg-beige);
    border-radius: 12px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

/* 10. ROI Calculator */
.roi-calculator {
    background: var(--accent-dark);
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-result {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.calc-result h4 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.calc-val {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* 11. Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #eee;
    overflow: hidden;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

/* 12. Compare Tool */
.compare-container {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
}

.compare-table th,
.compare-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* 13. Download Center */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.download-link:hover {
    transform: scale(1.05);
    border-color: var(--primary-gold);
}

.download-link i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

/* 14. Floating Widgets */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* 15. Booking Journey */
.booking-journey {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    flex: 1;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
}

/* Developer Profile */
.dev-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.dev-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-gold);
}

/* Section Tags */
.section-tag {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/* Animations Trigger */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Video Frame */
.video-frame {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

/* RTL Specific */
[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-dot {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .calc-grid,
    .dev-profile,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .booking-journey {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        flex-direction: row !important;
        gap: 5px !important;
    }

    .timeline::before {
        left: 20px;
        right: auto;
        transform: none;
    }

    .timeline-dot {
        left: 20px;
        right: auto;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

/* FAQ Accordion Styles */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.faq-header {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent-dark);
    transition: background 0.3s;
}

.faq-header:hover {
    background: rgba(197, 160, 89, 0.05);
}

.faq-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.5s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
}

.faq-item.active .faq-header {
    color: var(--primary-gold);
}

.faq-item.active .faq-content {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-header i {
    transition: transform 0.4s ease;
    font-size: 0.8rem;
    opacity: 0.5;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
    color: var(--primary-gold);
    opacity: 1;
}

[dir="rtl"] .faq-header i {
    margin-left: 0;
    margin-right: 15px;
}

/* =========================================
   FINAL MOBILE OVERRIDES (Max-Width: 768px)
   ========================================= */
@media (max-width: 768px) {

    /* Hero Adjustments */
    .hero {
        height: auto !important;
        min-height: 85vh;
        padding-top: 100px;
        align-items: flex-start;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.3;
    }

    .hero-info-bar {
        flex-direction: column;
        gap: 20px;
        background: rgba(0, 0, 0, 0.4);
        padding: 20px;
        border-radius: 15px;
        backdrop-filter: blur(5px);
    }

    /* Video Frame Fix */
    .video-frame {
        height: auto !important;
        aspect-ratio: 16/9;
        margin-top: 30px;
    }

    /* Quick Overview */
    .quick-overview-bar {
        margin-top: 30px;
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    /* Grids to Stack */
    .location-container,
    .contact-grid,
    .about-image {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }

    .about-image {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .about-image div {
        width: 100% !important;
        height: 150px !important;
        min-height: 150px !important;
        margin-top: 0 !important;
    }

    .feature-card {
        min-height: auto !important;
        padding-top: 40px !important;
    }

    .feature-card .status-badge {
        padding: 5px 12px !important;
        font-size: 0.7rem !important;
        border-bottom-left-radius: 10px !important;
    }

    /* Map Fix */
    .map-wrapper iframe {
        height: 300px;
    }

    /* Navigation */
    .project-nav {
        padding: 10px 15px;
        width: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        /* Force background on mobile */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Major Grids - Universal 2 Column Fix */
    .buildings-status-grid,
    .masterplan-features,
    .units-container,
    .offers-grid,
    .amenities-grid,
    .download-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 5px;
    }

    /* Compact Cards for mobile */
    .building-status-card,
    .feature-card,
    .unit-card,
    .overview-card,
    .amenity-item {
        padding: 12px !important;
        border-radius: 12px !important;
        text-align: center;
    }

    .download-link {
        padding: 8px !important;
        border-radius: 10px !important;
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        font-size: 0.7rem !important;
        min-height: 80px;
    }

    .download-link i {
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
    }

    /* Unit Grid specific overrides */
    .units-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .overview-card,
    .amenity-item,
    .feature-card,
    .building-status-card {
        padding: 10px !important;
    }

    .overview-card i,
    .amenity-item i,
    .feature-icon-wrapper i {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }

    .overview-card h4,
    .amenity-item h3,
    .feature-card h3,
    .building-status-card h3 {
        font-size: 0.8rem !important;
    }

    .overview-card p,
    .amenity-item p,
    .feature-card p,
    .building-status-card p {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }

    .section-header {
        margin-bottom: 20px !important;
    }

    .section-header h2 {
        font-size: 1.3rem !important;
    }

    .unit-card {
        border-radius: 12px;
    }

    .unit-img {
        height: 150px;
    }

    .unit-info {
        padding: 12px;
    }

    .unit-info h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .unit-details {
        gap: 8px;
        margin-bottom: 12px;
    }

    .detail {
        font-size: 0.7rem;
    }

    .unit-price {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    /* Global Icon Resize for Mobile */
    i[class^="fas fa-"],
    i[class^="fab fa-"],
    i[class^="far fa-"] {
        font-size: 1.2rem !important;
        /* Smaller icons to save space */
    }

    .overview-card i,
    .amenity-item i,
    .feature-icon-wrapper i {
        font-size: 1.5rem !important;
    }

    .section-header {
        margin-bottom: 30px !important;
    }

    .section-header h2 {
        font-size: 1.5rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   🚀 CUSTOM OPTIMIZATIONS (Space Saving & Mobile Fixes)
   ═══════════════════════════════════════════════════════════════ */

/* 1. Master Plan Features - 4 Column Layout for Smaller Cards */
@media (min-width: 992px) {
    .masterplan-features {
        grid-template-columns: repeat(4, 1fr) !important;
        max-width: 1200px !important;
        margin: 2.5rem auto 0 !important;
        gap: 1.25rem !important;
    }

    .feature-card {
        padding: 1.25rem !important;
        text-align: center;
    }

    .feature-card h3 {
        font-size: 1.1rem !important;
    }

    .feature-card p {
        font-size: 0.9rem !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .masterplan-features {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 800px !important;
        margin: 2rem auto 0 !important;
        gap: 1rem !important;
    }
}

/* 2. Timer Section Mobile Fix */
@media (max-width: 768px) {
    .timer-container {
        flex-direction: column !important;
        padding: 20px 15px !important;
        border-radius: 20px !important;
        gap: 15px !important;
        width: 95% !important;
        margin: 0 auto !important;
    }

    #countdown {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #countdown>div {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    [data-i18n="pd_promo_timer_suffix"] {
        margin-right: 0 !important;
        margin-top: 5px !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 0.8rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   🎯 MASTER PLAN DESIGN (Based on User Reference)
   ═══════════════════════════════════════════════════════════════ */

.masterplan-features {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 40px auto 0 !important;
    max-width: 1100px !important;
}

.masterplan-features .feature-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    border-top: 4px solid transparent !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 180px !important;
}

/* Colors for the top border */
.masterplan-features .feature-card.green {
    border-top-color: #10b981 !important;
}

.masterplan-features .feature-card.blue {
    border-top-color: #3b82f6 !important;
}

.masterplan-features .feature-card.gold {
    border-top-color: #d4af37 !important;
}

.masterplan-features .feature-card.purple {
    border-top-color: #8b5cf6 !important;
}

/* Icon wrapper styles */
.masterplan-features .feature-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
    color: white !important;
    font-size: 1.2rem !important;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
}

.masterplan-features .feature-card.green .feature-icon-wrapper {
    background: #10b981 !important;
}

.masterplan-features .feature-card.blue .feature-icon-wrapper {
    background: #3b82f6 !important;
}

.masterplan-features .feature-card.gold .feature-icon-wrapper {
    background: #d4af37 !important;
}

.masterplan-features .feature-card.purple .feature-icon-wrapper {
    background: #8b5cf6 !important;
}

.masterplan-features .feature-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    color: #1e293b !important;
    font-weight: 800 !important;
}

.masterplan-features .feature-card p {
    font-size: 0.8rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Note style at the bottom */
.masterplan-note {
    background: #fdfaf3 !important;
    border-right: 4px solid #d4af37 !important;
    padding: 20px 25px !important;
    border-radius: 8px !important;
    margin-top: 40px !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 0.85rem !important;
    color: #8b6e2f !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05) !important;
}

.masterplan-note i {
    font-size: 1.2rem !important;
    color: #d4af37 !important;
    flex-shrink: 0;
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .masterplan-features {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 576px) {
    .masterplan-features {
        grid-template-columns: 1fr !important;
    }

    .masterplan-note {
        flex-direction: column !important;
        text-align: center !important;
    }
}