/* Design System Tokens */
:root {
    --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-ar: 'Tajawal', 'Noto Kufi Arabic', 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Color Palette */
    --bg-primary: #070a12;      /* Deep obsidian blue-slate */
    --bg-secondary: #0e1322;    /* Dark navy card container background */
    --bg-tertiary: #161c30;     /* Highlight background */
    
    --accent-gold: #c5a880;     /* High-end architectural bronze/gold */
    --accent-gold-hover: #bda078;
    --accent-gold-rgb: 197, 168, 128;
    
    --text-primary: #f8fafc;    /* Clean off-white */
    --text-secondary: #94a3b8;  /* Muted grey */
    --text-muted: #4f5e75;      /* Darker grey for details */
    
    --border-color: rgba(197, 168, 128, 0.15);
    --border-light: rgba(255, 255, 255, 0.05);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

/* Document level resets & Font Switching */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px;
}

html[dir="rtl"] {
    font-family: var(--font-ar);
}

html[dir="ltr"] {
    font-family: var(--font-en);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Customizations */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 {
    letter-spacing: normal; /* Cairo doesn't need tight letter-spacing */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    gap: 0.5rem;
}

html[dir="rtl"] .btn {
    font-family: var(--font-ar);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: rgba(197, 168, 128, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header & Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: 80px;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.logo .accent {
    color: var(--accent-gold);
    font-weight: 300;
    font-size: 1rem;
    margin-left: 0.3rem;
}

.logo-icon {
    color: var(--accent-gold);
    animation: rotateSlowly 20s linear infinite;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

html[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border-color: rgba(197, 168, 128, 0.4);
}

.globe-icon {
    transition: transform 0.6s ease;
}

.lang-btn:hover .globe-icon {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section Style */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 10, 18, 0.7) 0%, rgba(7, 10, 18, 0.95) 100%);
    z-index: 2;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: zoomOutSlowly 15s forwards ease-out;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s forwards;
}

html[dir="rtl"] .hero-badge {
    letter-spacing: normal;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInUp 1s forwards;
}

html[dir="rtl"] .hero-title {
    font-size: 3.2rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1.2s forwards;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    animation: fadeInUp 1.4s forwards;
}

/* Scroll indicator animation */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 20px;
    animation: scrollMouse 1.8s infinite ease-in-out;
}

/* Stats Bar Style */
.stats-bar {
    position: relative;
    z-index: 5;
    margin-top: -80px;
    background: rgba(14, 19, 34, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-lg);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 2.5rem 1.5rem;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

html[dir="rtl"] .stat-item {
    border-left: 1px solid var(--border-color);
    border-right: none;
}

html[dir="rtl"] .stat-item:last-child {
    border-left: none;
}

.stat-num {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: var(--font-en), -apple-system, sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0 1rem;
}

/* Section Common Styles */
.section {
    padding: 7rem 0;
}

.section-header {
    max-width: 650px;
    margin-bottom: 4rem;
}

html[dir="rtl"] .section-header {
    text-align: right;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.8rem;
}

html[dir="rtl"] .section-tag {
    letter-spacing: normal;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

html[dir="rtl"] .section-title {
    font-size: 2.1rem;
    line-height: 1.4;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Filtering Layout Styling */
.filter-wrapper {
    margin-bottom: 3rem;
}

.filter-controls {
    display: inline-flex;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    padding: 0.4rem;
    border-radius: 8px;
    gap: 0.3rem;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

html[dir="rtl"] .filter-btn {
    font-family: var(--font-ar);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

/* Architecture Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.project-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 10, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 1.5rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link-btn {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

html[dir="rtl"] .project-link-btn {
    font-family: var(--font-ar);
}

.project-link-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

/* Beautiful technical blueprint patterns */
.placeholder-pattern {
    width: 100%;
    height: 100%;
    background-color: #0b111e;
    position: relative;
    overflow: hidden;
}

.placeholder-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(197, 168, 128, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 168, 128, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pattern-lines {
    position: absolute;
    width: 140%;
    height: 2px;
    background-color: rgba(197, 168, 128, 0.2);
    top: 50%;
    left: -20%;
    transform: rotate(30deg);
}

.pattern-lines::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: rgba(197, 168, 128, 0.2);
    top: 0;
    left: 0;
    transform: rotate(-60deg);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-desc-short {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Real Estate Grid & Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.property-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.property-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-img {
    transform: scale(1.06);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    color: var(--bg-primary);
}

html[dir="rtl"] .property-badge {
    right: auto;
    left: 1rem;
}

.property-badge.sale {
    background-color: var(--accent-gold);
}

.property-badge.rent {
    background-color: #38bdf8; /* Soft ocean blue for rent label */
}

.property-info {
    padding: 1.8rem;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.6rem;
    font-family: var(--font-en), -apple-system, sans-serif;
}

.property-title {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.property-loc {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.property-features {
    display: flex;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    justify-content: space-between;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.feature-item:last-child {
    border-right: none;
}

html[dir="rtl"] .feature-item {
    border-left: 1px solid var(--border-light);
    border-right: none;
}

html[dir="rtl"] .feature-item:last-child {
    border-left: none;
}

.feature-val {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    font-family: var(--font-en), -apple-system, sans-serif;
}

.feature-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Consultation & Form Section */
.consultation-section {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, #0c111f 100%);
}

.consultation-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--shadow-lg);
}

.consultation-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.consultation-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.consultation-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.contact-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
}

.contact-val {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Luxury Form Design */
.consultation-form-wrapper {
    position: relative;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

html[dir="rtl"] .form-group input, 
html[dir="rtl"] .form-group select, 
html[dir="rtl"] .form-group textarea {
    font-family: var(--font-ar);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c5a880' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
}

html[dir="rtl"] .form-group select {
    background-position: left 1.2rem center;
}

/* Success Card */
.form-success-box {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: zoomIn 0.5s ease forwards;
}

.form-success-box.hidden {
    display: none;
}

.success-icon {
    margin-bottom: 1rem;
    animation: successPulse 2s infinite ease-in-out;
}

.form-success-box h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.form-success-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 320px;
}

/* Footer Section */
.footer {
    background-color: #04060c;
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.05rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

html[dir="rtl"] .footer-links a:hover {
    transform: translateX(-4px);
}

.footer-info-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Keyframes & Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomOutSlowly {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes rotateSlowly {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollMouse {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(6px);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hide animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .stats-bar {
        margin-top: 0;
        border-radius: 0;
        max-width: 100%;
        border-left: none;
        border-right: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
    }
    
    html[dir="rtl"] .stat-item {
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
    }
    
    .stat-item:nth-child(3), .stat-item:nth-child(4) {
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .consultation-box {
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
        align-items: flex-start;
        border-top: 1px solid var(--border-light);
        gap: 2.5rem;
    }
    
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    html[dir="rtl"] .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.3rem;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    html[dir="rtl"] .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .stat-item {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
    }
    
    html[dir="rtl"] .stat-item {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .projects-grid, .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
}

/* Phone Number Direction Control */
.phone-number, [dir="ltr"].phone-number {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block;
}

/* Social Media Icons Styling */
.social-links-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.social-icon-btn,
.social-links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 16px;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.social-icon-btn:hover,
.social-links-list a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-decoration: none !important;
  border-bottom: none !important;
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: transparent;
}

.social-icon-btn.twitter:hover {
  background: #000000;
  color: #ffffff;
  border-color: #333;
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: transparent;
}

.social-icon-btn.snapchat:hover {
  background: #fffc00;
  color: #000000;
  border-color: transparent;
}

.social-icon-btn.tiktok:hover {
  background: #000000;
  color: #00f2fe;
  border-color: transparent;
}

.social-icon-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: transparent;
}
