/* 
========================================
   MARCO DXB - DXB INTERACT STYLE
   Inspired by dxbinteract.com Design
======================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* DXB Interact Color Palette */
    --primary-blue: #1F47F4;
    --success-green: #21A821;
    --deep-text: #1A1A1A;
    --highlight-blue: #DEE6FC;
    --pure-white: #FFFFFF;
    --light-grey: #E0E0E0;
    --pitch-black: #000000;

    /* Neon Gradient Accent */
    --neon-gradient: linear-gradient(90deg, #00F0FF 0%, #FF006E 50%, #FFD700 100%);
    --glow-blue: rgba(31, 71, 244, 0.4);
    --glow-accent: rgba(0, 240, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #7A7A7A;
    --text-white: #FFFFFF;

    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: #000000;
    --bg-highlight: #DEE6FC;
    --bg-card: #FFFFFF;

    /* Borders */
    --border-light: #E0E0E0;
    --border-medium: #D0D0D0;

    /* Shadows - Minimal */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Border Radius - Pill Shaped */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 50px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Light Theme (Default) */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0F0F0F;
    --bg-secondary: #1A1A1A;
    --bg-card: #1F1F1F;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    --border-light: #2A2A2A;
    --border-medium: #333333;

    /* Keep accent colors vibrant in dark mode */
    --primary-blue: #3D6BFF;
    --success-green: #2DBE2D;
    --highlight-blue: #1F2B4D;
}

/* RTL and Arabic Font Support */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600;700;800;900&display=swap');

[dir="rtl"] {
    font-family: 'Tajawal', 'Poppins', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Tajawal', 'Poppins', sans-serif;
    font-weight: 800;
}

[dir="rtl"] .btn {
    font-family: 'Tajawal', 'Poppins', sans-serif;
    font-weight: 700;
}

[dir="rtl"] .contact-info-item p,
[dir="rtl"] .footer-logo,
[dir="rtl"] .logo {
    direction: ltr;
    unicode-bidi: embed;
}

[dir="rtl"] .contact-info-item h4 {
    direction: rtl;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Container */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-xl) 0;
    /* Slightly reduced for mobile better feel */
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-lg) 0;
    }
}

/* Buttons - Pill Shaped */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-primary:hover {
    background: #1639C9;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-green);
    color: var(--text-white);
}

.btn-success:hover {
    background: #1C8F1C;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--highlight-blue);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.text-accent {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 15, 15, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    /* Reduced default gap slightly */
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    /* Slightly tighter links */
    align-items: center;
    margin: 0;
    z-index: 1001;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.theme-toggle,
.lang-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.theme-toggle:hover,
.lang-toggle:hover {
    background: var(--highlight-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    /* Increased to clear the fixed header */
    padding-bottom: 60px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .hero {
    padding-top: 160px;
}

.main-hero {
    min-height: 45vh;
    padding-top: 180px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    align-items: flex-start;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
}

.hero .fade-in-up {
    animation-delay: 0.2s;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.tech-card,
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.tech-card:hover,
.glass-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.skill-icon,
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--highlight-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {

    .tech-card,
    .glass-card {
        padding: 1.5rem;
    }
}

/* Grid Layouts */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service List */
.service-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-list li i {
    color: var(--success-green);
    font-size: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 60px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border: 3px solid var(--bg-primary);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::after {
    right: -8px;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.timeline-date {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.contact-info-item:hover {
    border-color: var(--primary-blue);
}

.contact-info-item h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer with Neon Gradient */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-gradient);
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: #1A1A1A;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rotating Halo Background */
.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -2;
    animation: pulse-glow 4s infinite ease-in-out;
}

.profile-decorator-ring {
    position: absolute;
    width: 90%;
    height: 90%;
    border: 2px dashed var(--primary-blue);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
    animation: spin-slow 20s linear infinite;
}

.about-image img {
    max-width: 100%;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.02) translateY(-10px);
}

/* Floating Executive Badge */
.executive-badge {
    position: absolute;
    bottom: 20%;
    right: -5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    z-index: 10;
    box-shadow: var(--shadow-lg);
    animation: float 5s infinite ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

[data-theme="dark"] .executive-badge {
    background: rgba(0, 0, 0, 0.2);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Decorative Corner Lines */
.corner-line {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-blue);
    opacity: 0.4;
    z-index: 5;
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0;
}

@media (max-width: 768px) {
    .about-image {
        padding: 2rem;
    }

    .executive-badge {
        right: 0;
        bottom: 10%;
        padding: 0.75rem 1rem;
    }
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Market Pulse Section */
.market-pulse-section {
    background: var(--bg-secondary);
    padding: var(--space-2xl) 0;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.market-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.market-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.market-icon {
    width: 50px;
    height: 50px;
    background: var(--highlight-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 0 auto 1rem;
}

.market-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.market-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
}

/* Properties/Booking Specific */
.filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    font-weight: 600;
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 71, 244, 0.2);
}

.property-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.property-img {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--primary-blue);
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(31, 71, 244, 0.3);
}

.property-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.property-loc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-loc i {
    color: var(--primary-blue);
}

.property-features {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.property-feature i {
    color: var(--primary-blue);
    font-size: 1rem;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
}

.property-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.step.active {
    background: var(--highlight-blue);
    color: var(--primary-blue);
    font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    border-color: var(--primary-blue);
}

.modal-body {
    padding: 0;
}

.modal-gallery-hero {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-info {
    padding: 2.5rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-title-wrap h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.spec-item {
    text-align: center;
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.amenity-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity-tag i {
    color: var(--success-green);
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}

.gallery-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-blue);
}

/* Tablet Header Fixes */
@media (max-width: 1280px) {
    .nav-container {
        gap: 1rem;
    }

    .nav-links {
        gap: 1.25rem;
    }
}

@media (max-width: 1150px) {
    .nav-links {
        gap: 0.85rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.35rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile Booking Page Fixes */
    .booking-steps {
        gap: 0.5rem;
    }

    .step {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 45px !important;
        padding-right: 15px !important;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0 !important;
        text-align: left !important;
    }

    .timeline-item::after {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 12px !important;
        right: auto !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        padding: 1.25rem;
        width: 100%;
        overflow: hidden;
    }

    .contact-info-item p {
        overflow-wrap: break-word;
        font-size: 0.9rem;
        max-width: 100%;
    }
}

/* RTL Timeline Desktop */
@media (min-width: 769px) {
    [dir="rtl"] .timeline::after {
        left: auto;
        right: 50%;
        margin-left: 0;
        margin-right: -1px;
    }

    [dir="rtl"] .timeline-item.left {
        left: auto;
        right: 0;
        text-align: left;
    }

    [dir="rtl"] .timeline-item.right {
        left: auto;
        right: 50%;
        text-align: right;
    }

    [dir="rtl"] .timeline-item.left::after {
        right: auto;
        left: -8px;
    }

    [dir="rtl"] .timeline-item.right::after {
        left: auto;
        right: -8px;
    }
}

/* RTL Mobile Fixes */
@media (max-width: 768px) {
    [dir="rtl"] .hero-content h1 {
        font-size: 2.2rem;
    }

    [dir="rtl"] .nav-links {
        text-align: right;
    }

    [dir="rtl"] .timeline::after {
        right: 20px !important;
        left: auto !important;
        z-index: 1;
    }

    [dir="rtl"] .timeline-item {
        padding-right: 50px !important;
        padding-left: 10px !important;
        text-align: right !important;
        left: auto !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 2;
    }

    [dir="rtl"] .timeline-item.left,
    [dir="rtl"] .timeline-item.right {
        right: 0 !important;
        left: auto !important;
        text-align: right !important;
    }

    [dir="rtl"] .timeline-item::after {
        right: 12px !important;
        left: auto !important;
        z-index: 3;
    }

    [dir="rtl"] .timeline-item.left::after,
    [dir="rtl"] .timeline-item.right::after {
        right: 12px !important;
        left: auto !important;
    }

    [dir="rtl"] .contact-info-item p {
        direction: ltr;
        unicode-bidi: embed;
    }
}