/* 
========================================
   MARCO HANNA - ULTRA MODERN PORTFOLIO
   Futuristic | Creative | Professional
======================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Futuristic Color Palette */
    --bg-primary: #030305;
    --bg-secondary: #08080c;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    --text-main: #FFFFFF;
    --text-muted: #94a3b8;
    --text-accent: #00F0FF;
    --text-accent-secondary: #a855f7;

    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.3);

    --primary-gradient: linear-gradient(135deg, #00F0FF 0%, #a855f7 50%, #ff006e 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --text-gradient: linear-gradient(135deg, #ffffff 0%, #00F0FF 50%, #a855f7 100%);

    --font-main: 'Inter', 'Outfit', sans-serif;
    --font-head: 'Orbitron', 'Space Grotesk', sans-serif;

    /* Spacing */
    --spac-xs: 0.5rem;
    --spac-sm: 1rem;
    --spac-md: 2rem;
    --spac-lg: 4rem;
    --spac-xl: 6rem;

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.2), 0 0 60px rgba(168, 85, 247, 0.15);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);

    /* Gradients & Overlays */
    --bg-body-gradient: radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 25%);
    --bg-navbar: rgba(3, 3, 5, 0.7);
    --bg-navbar-scrolled: rgba(3, 3, 5, 0.95);
    --bg-hero-shape: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    --bg-section-overlay: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
    --bg-market-section: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
    --bg-image-overlay: linear-gradient(180deg, transparent 0%, rgba(3, 3, 5, 0.4) 100%);

    --text-gradient-hero: var(--text-gradient);
    --hero-text-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

[data-theme="light"] {
    /* Color Palette - Clean Professional Light */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-glass-hover: #FFFFFF;

    --text-main: #111827;
    --text-muted: #4B5563;
    --text-accent: #0284C7;
    /* Darker Blue for better readability */
    --text-accent-secondary: #7C3AED;

    --border-light: rgba(0, 0, 0, 0.08);
    /* Slightly clearer border */
    --border-glow: rgba(2, 132, 199, 0.15);

    --primary-gradient: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);

    /* Shadows */
    --shadow-glow: 0 0 15px rgba(14, 165, 233, 0.15);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);

    /* Gradients & Overlays (Light) */
    --bg-body-gradient: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 40%);
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --bg-navbar-scrolled: rgba(255, 255, 255, 0.98);
    --bg-hero-shape: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
    --bg-section-overlay: transparent;
    --bg-market-section: #F8F9FA;
    --bg-image-overlay: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* 
========================================
   RESET & BASE STYLES
======================================== 
*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    background-image: var(--bg-body-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 
========================================
   UTILITIES & COMPONENTS
======================================== 
*/

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spac-sm);
}

.section {
    padding: var(--spac-xl) 0;
    position: relative;
}

/* Dynamic Gradients Backgrounds for Sections */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-section-overlay);
    pointer-events: none;
    z-index: -1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--trans-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    border: none;
    box-shadow: var(--shadow-neon);
    font-weight: 800;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6), 0 0 60px rgba(168, 85, 247, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    transform: translateY(-4px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spac-lg);
    text-align: center;
    position: relative;
}

.section-title span {
    color: var(--text-accent);
}

.text-accent {
    color: var(--text-accent);
}

/* 
========================================
   ANIMATIONS
======================================== 
*/

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for live market */
@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.pulse-dot {
    animation: pulse-dot 2s infinite;
}

/* 
========================================
   HEADER & NAVIGATION
======================================== 
*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: var(--bg-navbar-scrolled);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--trans-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--text-accent);
    transform: rotate(15deg);
}

.logo {
    margin-right: auto;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--text-accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--text-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* 
========================================
   HERO SECTION
======================================== 
*/

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--bg-hero-shape);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-family: var(--font-main);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    background: var(--text-gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--hero-text-shadow);
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* 
========================================
   MARKET PULSE
======================================== 
*/

.market-pulse-section {
    padding: var(--spac-lg) 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    background: var(--bg-market-section);
}

.market-header h2 {
    background: linear-gradient(to right, #fff, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.market-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    transition: var(--trans-smooth);
    overflow: hidden;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.market-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.1);
}

.market-icon {
    font-size: 1.5rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-data {
    margin-bottom: 1rem;
}

.market-stat {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.market-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.market-trend {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-trend.up {
    color: #00ff88;
}

.market-trend.down {
    color: #ff3366;
}

.market-trend.neutral {
    color: var(--text-accent);
}

/* 
========================================
   ABOUT SECTION
======================================== 
*/

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-image img {
    width: 100%;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-image-overlay);
}

.about-text h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-accent);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 
========================================
   SKILLS & SERVICES (Cards)
======================================== 
*/

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--trans-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tech-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.tech-card:hover::before {
    transform: scale(1.2);
}

.skill-icon,
.service-icon {
    font-size: 2rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Service specifics */
.service-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.service-list li i {
    color: var(--text-accent);
    font-size: 0.8rem;
}


/* 
========================================
   EXPERIENCE (TIMELINE)
======================================== 
*/

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--bg-primary);
    border: 2px solid var(--text-accent);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::after {
    right: -7px;
}

.timeline-item.right::after {
    left: -7px;
}

.timeline-content {
    background: var(--bg-glass);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
    transition: var(--trans-smooth);
}

.timeline-content:hover {
    border-color: var(--text-accent);
    transform: scale(1.02);
}

.timeline-date {
    color: var(--text-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    display: block;
}

/* 
========================================
   VISION SECTION
======================================== 
*/

.vision-section {
    background: linear-gradient(0deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.vision-text {
    font-size: 1.5rem;
    font-family: var(--font-head);
    font-weight: 300;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    color: #e2e8f0;
}

.vision-quote-icon {
    font-size: 3rem;
    color: var(--text-accent);
    opacity: 0.3;
    margin-bottom: 2rem;
}

/* 
========================================
   CONTACT
======================================== 
*/

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-item {
    background: var(--bg-glass);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.contact-info-item:hover {
    border-color: var(--text-accent);
    background: var(--bg-glass-hover);
}

.contact-info-item h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--trans-fast);
}

.social-btn:hover {
    background: var(--text-accent);
    color: #000;
    border-color: var(--text-accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--trans-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--text-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* 
========================================
   FOOTER
======================================== 
*/

footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
    text-align: center;
    background: #020202;
}

.footer-logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 
========================================
   PROPERTY LISTINGS & FORMS
======================================== 
*/

.filter-bar {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    /* Fixed typo variable name */
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    backdrop-filter: blur(10px);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--trans-fast);
    font-family: var(--font-main);
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
    background: var(--bg-glass-hover);
}

.property-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--trans-smooth);
    backdrop-filter: blur(10px);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--text-accent);
}

.property-img {
    height: 250px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-info {
    padding: 1.5rem;
}

.property-tag {
    font-size: 0.8rem;
    color: var(--text-accent);
    background: rgba(0, 240, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-head);
}

.property-loc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    margin-top: 1rem;
    font-family: var(--font-head);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--trans-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--text-accent);
    background: var(--bg-glass-hover);
}

/* Custom Select spacing and options color */
select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--bg-primary);
    color: var(--text-main);
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.step {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.step.active {
    color: var(--text-accent);
}

/* 
========================================
   RESPONSIVE DESIGN (Futuristic Mobile)
======================================== 
*/

@media (max-width: 1200px) {
    .container {
        width: 92%;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spac-xl: 4rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        /* Below navbar */
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(3, 3, 5, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-light);

        /* Slide & Fade animation */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline adjustments */
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }

    .timeline-item.left,
    .timeline-item.right {
        text-align: left;
        left: 0;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 13px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

}

/* 
========================================
   PROPERTY DETAIL MODAL
======================================== 
*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--trans-smooth);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateY(50px);
    transition: var(--trans-smooth);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--trans-fast);
}

.modal-close:hover {
    background: var(--text-accent);
    color: #000;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

.modal-gallery-hero {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.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;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-accent);
    font-family: var(--font-head);
}

.modal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.modal-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--bg-glass);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.spec-item {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.amenity-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity-tag i {
    color: var(--text-accent);
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 2rem;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--trans-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border: 2px solid var(--text-accent);
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-header {
        flex-direction: column;
    }

    .modal-gallery-hero {
        height: 250px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* RTL Support */
[dir="rtl"] {
    font-family: 'Tajawal', sans-serif;
    text-align: right;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .about-text,
[dir="rtl"] .contact-info,
[dir="rtl"] .footer-logo,
[dir="rtl"] .section-title {
    text-align: right;
    align-items: flex-start;
}

[dir="rtl"] .nav-links {
    margin-left: unset;
    margin-right: auto;
}

[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;
    padding-left: 50px;
    padding-right: 20px;
}

[dir="rtl"] .timeline-item.right {
    left: auto;
    right: 50%;
    text-align: right;
    padding-right: 50px;
    padding-left: 20px;
}

[dir="rtl"] .timeline-item.left::after {
    right: auto;
    left: -7px;
}

[dir="rtl"] .timeline-item.right::after {
    left: auto;
    right: -7px;
}

[dir="rtl"] .contact-info-item h4 {
    text-align: right;
}

[dir="rtl"] .form-control {
    text-align: right;
}

/* Button with Icon Flip */
[dir="rtl"] .btn i {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .service-list li i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .hero-cta {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Modal RTL */
[dir="rtl"] .modal-header {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .property-loc,
[dir="rtl"] .amenity-tag {
    flex-direction: row-reverse;
}

[dir="rtl"] .modal-title-wrap {
    text-align: right;
}

[dir="rtl"] .modal-close {
    left: 20px;
    right: auto;
}