/* ===== NADA MAHMOUD - PREMIUM COASTAL REAL ESTATE 2025 ===== */
/* Main.css - Global Styles */

/* ===== CSS Variables - Coastal Luxury Palette ===== */
:root {
    /* Primary Gold Colors (Text & Buttons) */
    --primary: #C5A059;
    --primary-light: #d4b880;
    --primary-dark: #a38446;
    --primary-gradient: linear-gradient(135deg, #C5A059 0%, #a38446 50%, #8c703a 100%);

    /* Accent - Gold */
    --accent: #C5A059;
    --accent-light: #d4b880;
    --accent-dark: #a38446;
    --accent-gradient: linear-gradient(135deg, #C5A059 0%, #a38446 100%);

    /* Sand & Beach */
    --sand: #fef3c7;
    --sand-dark: #fde68a;

    /* Backgrounds (Reverted to Blue/Cool Schema) */
    --bg-primary: #ffffff;
    --bg-secondary: #f0fdfa;
    --bg-card: #ffffff;
    --bg-dark: #0c4a6e;
    --bg-hero: linear-gradient(135deg, rgba(8, 145, 178, 0.92) 0%, rgba(14, 116, 144, 0.88) 50%, rgba(22, 78, 99, 0.95) 100%);

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-accent: rgba(197, 160, 89, 0.2);
    --shadow-sm: 0 2px 8px rgba(8, 145, 178, 0.08);
    --shadow: 0 10px 40px rgba(8, 145, 178, 0.12);
    --shadow-lg: 0 25px 60px rgba(8, 145, 178, 0.18);
    --shadow-accent: 0 8px 30px rgba(245, 158, 11, 0.35);
    --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.3);

    /* Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode - Midnight Ocean */
[data-theme="dark"] {
    --primary: #C5A059 !important;
    --primary-light: #DFC27D !important;
    --primary-dark: #A07F3E !important;

    --bg-primary: #0c1929;
    --bg-secondary: #0f2438;
    --bg-card: #1a3651;
    --bg-dark: #0a1525;

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);

    --accent: #C5A059 !important;
}

/* Dark Mode FORCE Overrides (No Blue Tint) */
[data-theme="dark"] body {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .header {
    background: #0f172a !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #f8fafc !important;
}

[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span:not(.badge):not(.btn) {
    color: #cbd5e1 !important;
}

/* Fix Cards Background in Dark Mode */
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .content-block,
[data-theme="dark"] .project-sidebar .appointment-booking,
[data-theme="dark"] .contact-form-container,
[data-theme="dark"] .inquiry-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}

/* Fix Inputs in Dark Mode */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #fff !important;
}

/* Ensure Gold Logo in Header always - Refined to match original gradient look */
.logo-text h1 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    background: var(--primary-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .logo-text h1 {
    background: linear-gradient(135deg, #C5A059, #E6C87C) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ===== Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1;
    transition: opacity 0.2s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #C5A059, #E6C87C) !important;
    color: white !important;
    box-shadow: var(--shadow-accent);
    animation: pulseGold 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(197, 160, 89, 0.4);
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
        transform: scale(1);
    }
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-secondary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ===== PARTNERS SECTION (Golden Cards) ===== */
.partners-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.partners-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.partners-logos-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: linear-gradient(135deg, #fbeebb 0%, #dbb66b 100%);
    border-radius: 15px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.partners-logos-grid a:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-height: 60px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .partners-logos-grid a {
    background: linear-gradient(135deg, #2a3a4d 0%, #1e293b 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

[data-theme="dark"] .partner-logo {
    filter: brightness(1.1) saturate(1.2);
    /* Enhanced visibility without forcing white */
}

@media (max-width: 992px) {
    .partners-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
    }

    .testimonial-card {
        min-width: 85%;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* ===== GLOBAL COMPONENTS ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-secondary {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--primary) !important;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

[data-theme="dark"] .badge {
    background: rgba(197, 160, 89, 0.15);
    color: var(--primary-light) !important;
}

/* ===== PREMIUM HEADER - Glassmorphism ===== */
.header {
    position: fixed !important;
    /* Force fixed for visibility during scroll */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2000;
    /* Higher z-index to stay above everything */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(8, 145, 178, 0.12);
}

[data-theme="dark"] .header {
    background: rgba(12, 25, 41, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    gap: 30px;
    padding: 0 20px;
}

/* Premium Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition);
    flex-shrink: 0 !important;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow), 0 0 20px rgba(197, 160, 89, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    animation: logoShine 3s infinite;
}

@keyframes logoShine {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    position: relative;
    z-index: 1;
}

/* Wave decoration in logo */
.logo-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='rgba(255,255,255,0.2)' d='M0,60 C200,100 400,20 600,60 C800,100 1000,20 1200,60 L1200,120 L0,120 Z'/%3E%3C/svg%3E");
    background-size: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.logo-text span {
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* Navigation Links - Corrected Alignment */
.nav-links {
    display: flex;
    gap: 6px !important;
    align-items: center;
    margin-right: auto !important;
    margin-left: 20px !important;
    padding: 0 !important;
}

.nav-links a {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: var(--text-secondary);
    padding: 12px 20px !important;
    border-radius: var(--radius);
    position: relative;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent) !important;
    background: rgba(197, 160, 89, 0.08);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #C5A059 0%, #a38446 100%) !important;
    border-radius: var(--radius-full);
    transition: var(--transition);
    animation: callPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.nav-phone:hover {
    background: linear-gradient(135deg, #d4b880 0%, #C5A059 100%) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(197, 160, 89, 0.5);
}

.nav-phone svg {
    width: 18px;
    height: 18px;
    color: white !important;
}

@keyframes callPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 25px rgba(197, 160, 89, 0.6);
        transform: scale(1.03);
    }
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Button - Aligned Far Left */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    margin-right: 0;
    order: 2;
    /* Menu second from left */
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Navigation Bar Mobile Layout */
    .nav {
        padding: 0 15px;
        height: 70px;
    }

    /* Actions Container (Left Side) */
    .nav-actions {
        margin-right: auto;
        margin-left: 0;
        gap: 12px;
        padding-left: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-menu-btn {
        order: 99;
    }

    .nav-actions .btn {
        display: none;
    }
}

/* ===== Modern Footer Redesign ===== */
.modern-footer {
    background: linear-gradient(180deg, #0c1929 0%, #071018 100%);
    color: #cbd5e1;
    padding: 80px 0 30px;
    direction: rtl;
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    /* 3 Columns: Brand, Links, Contact */
    gap: 60px;
    margin-bottom: 60px;
}

/* Brand Column */
.logo-text h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.logo-text span {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bio {
    line-height: 1.8;
    color: #94a3b8;
    margin: 25px 0;
    font-size: 0.95rem;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    /* Rounded Square */
    background: transparent;
    border: 1px solid var(--accent);
    /* Gold Border */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    /* Gold Icon */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    /* Force no padding */
    margin: 0 !important;
    /* Force no margin */
}

.social-icons a:hover {
    background: var(--accent);
    color: #0c1929;
    /* Dark text on gold bg */
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    margin: 0 !important;
    /* Force no margin */
    padding: 0 !important;
    /* Force no padding */
    display: block;
    /* Remove line-height issues */
}

/* Columns & Headings */
.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Quick Links List */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--accent);
    padding-right: 8px;
    /* Slide effect */
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.icon-box svg {
    width: 18px;
    height: 18px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .modern-footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: right;
        /* Default Right Align */
    }

    .brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center Brand Column Items */
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-bio {
        margin: 15px auto 25px;
        /* Center Bio */
    }

    .social-icons {
        justify-content: center;
        /* Center Social Icons */
    }

    /* Links & Contact Stay Right Aligned */
    .links-col,
    .contact-col {
        text-align: right;
        padding-right: 15px;
        /* Add slight padding for visual balance */
        border-right: 2px solid rgba(255, 255, 255, 0.05);
        /* Subtle marker */
    }
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, #0c1929 0%, #071018 100%);
    color: #cbd5e1;
    padding: 80px 0 40px;
    /* More vertical padding */
    direction: rtl;
    text-align: right;
}

/* NUCLEAR FIX: FORCE ALL FOOTER ICONS TO BE SMALL */
.footer svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    /* Prevent squishing */
}

.social-links svg {
    width: 18px !important;
    /* Social icons slightly smaller inside circles */
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 18px !important;
}

/* Global Social Links (Default) */
.social-links {
    display: flex;
    gap: 12px;
    /* Nicer gap */
    justify-content: flex-start;
    /* Right aligned in RTL */
    margin-top: 20px;
    /* Space above icons */
}

.social-links a {
    width: 42px;
    /* Slightly larger targets */
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle background */
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* Default Desktop Layout - Enhanced Spacing */
.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    /* Wider info column */
    gap: 60px;
    /* Much larger gap */
    margin-bottom: 60px;
    align-items: start;
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* ... existing code ... */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: white !important;
    /* Force White Color */
}

.footer-bottom p {
    color: white !important;
    opacity: 1;
}

/* ===== Footer Text Contrast & Styling Fixes ===== */
.footer h3,
.footer h4 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

/* Chic Underline for Headings */
.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer p {
    color: #cbd5e1 !important;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* More space between items */
}

.footer a {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: var(--accent) !important;
    transform: translateX(-5px);
    /* Slide left on hover (RTL) */
}


/* Ensure Logo Text is Visible */
.footer-logo h2 {
    color: #ffffff !important;
    font-size: 1.8rem;
}


/* Powered By Badge */
.dev-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    direction: ltr !important;
    /* Fix reversed text */
}

.dev-badge-small:hover {
    background: rgba(197, 160, 89, 0.2);
    color: var(--accent);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.dev-badge-small .PREFIX {
    font-weight: 500;
    opacity: 0.7;
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.dev-badge-small .NAME {
    font-weight: 700;
    color: var(--accent);
}

/* ===== Global Components ===== */
/* WhatsApp Float */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 8px 50px rgba(37, 211, 102, 0.65);
    }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
}

.floating-contact-toggle {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.floating-contact-toggle:hover {
    transform: scale(1.1);
}

.floating-contact-toggle svg {
    width: 24px;
    height: 24px;
}

.floating-contact-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 300px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-contact-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-panel h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.floating-quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-quick-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.floating-quick-links a:hover {
    background: var(--primary);
    color: white;
}

.floating-quick-links svg {
    width: 20px;
    height: 20px;
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

[data-theme="dark"] .page-loader {
    background: #0f172a !important;
}

.loader-wave {
    display: flex;
    gap: 6px;
}

.loader-wave span {
    width: 8px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 4px;
    animation: wave 0.8s ease-in-out infinite;
}

.loader-wave span:nth-child(2) {
    animation-delay: 0.1s;
}

.loader-wave span:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-wave span:nth-child(4) {
    animation-delay: 0.3s;
}

.loader-wave span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1.2);
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-secondary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h3 {
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.95rem;
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Page Header (Inner Pages) */
.page-header {
    background: var(--bg-hero), url('../images/hero-bg.jpg') center/cover;
    position: relative;
    padding: 160px 0 100px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-hero) !important;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C480,80 960,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
    background-size: cover;
}

[data-theme="dark"] .page-header::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%230c1929' d='M0,40 C480,80 960,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--accent-light);
}

.breadcrumb a:hover {
    color: white;
}

/* Page Header with Background - Additional Style */
.page-header.has-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 50px;
    margin-top: 0 !important;
}

.page-header.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-hero) !important;
    z-index: 1;
}

.page-header.has-bg .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-header.has-bg h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #C5A059 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-header.has-bg p {
    font-size: 1.3rem;
    color: #f1f5f9 !important;
    max-width: 700px;
    margin: 0 auto 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Inner Page Header Fixed Fix */
body.inner-page .header {
    background: var(--bg-card) !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.inner-page .logo-text h1 {
    color: var(--accent) !important;
}

body.inner-page .nav-links a {
    color: var(--text-primary) !important;
}

body.inner-page .nav-links a:hover,
body.inner-page .nav-links a.active {
    color: var(--accent) !important;
}

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2.5rem;
}

.text-sm {
    font-size: 0.85rem;
}

/* ===== RESPONSIVE & MOBILE FIXES (Clean Start) ===== */
/* 1. Global Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    /* PREMIUM HEADER MOBILE FIXES */
    .nav {
        height: 70px !important;
        gap: 15px !important;
        padding: 0 15px !important;
        flex-direction: row-reverse !important;
    }

    .nav-links,
    .nav-actions .btn-primary,
    .nav-phone span {
        display: none !important;
    }

    .nav-actions {
        flex-direction: row-reverse !important;
        /* Menu icon on the edge */
        gap: 12px !important;
        margin-left: -10px !important;
        /* Pull closer to left edge */
    }

    .mobile-menu-btn {
        display: block !important;
        padding: 4px !important;
        order: 1;
        /* Far right in code, Far left in RTL row-reverse */
    }

    .theme-toggle {
        order: 2;
        /* Next to menu */
    }

    .logo {
        order: 3;
        /* Next to toggle */
        margin-right: -10px !important;
        /* Pull closer to right edge */
        margin-left: auto !important;
        /* Push everything else */
    }

    .section {
        padding: 45px 0 !important;
        /* Reduced spacing */
    }

    .section::after {
        width: 100% !important;
        /* Stronger divider */
        height: 1px !important;
        opacity: 0.4 !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px !important;
        text-align: center !important;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .footer-logo {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }

    .footer-info p {
        max-width: 400px !important;
        margin: 0 auto 30px !important;
    }

    .footer h3::after {
        right: 50% !important;
        transform: translateX(50%) !important;
    }

    .footer-links ul {
        align-items: center !important;
        padding: 0 !important;
    }

    .footer-links a {
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-links a::before {
        display: none !important;
    }

    .footer-contact ul {
        align-items: center !important;
        padding: 0 !important;
    }

    .footer-contact li {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .footer-contact li {
        justify-content: center !important;
    }
}

/* 2. Extra Small Screen Adjustments */
@media (max-width: 576px) {
    .logo-text span {
        display: block !important;
        font-size: 0.55rem !important;
    }

    .logo-text h1 {
        font-size: 1.15rem !important;
    }

    .nav {
        height: 65px !important;
        gap: 8px !important;
    }

    .logo-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px;
    }
}

/* 3. Mobile Nav Overlay & Drawer */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -350px;
    /* Absolutely off-screen */
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--bg-hero);
    /* Blue Gradient from Original */
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 2100;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    direction: rtl;
    visibility: hidden;
    overflow-y: auto;
    color: white;
}

.mobile-nav.active {
    right: 0 !important;
    visibility: visible !important;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav-header .logo {
    margin: 0 !important;
}

.mobile-nav-header .logo-text h1 {
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.mobile-nav-header .logo-text span {
    color: var(--accent-light) !important;
}

.mobile-nav-header .modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 24px;
    padding: 0;
    line-height: normal;
}

.mobile-nav-header .modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    /* Smaller, more elegant font */
    padding: 14px 20px;
    display: block;
    transition: var(--transition);
    font-weight: 600;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    /* Golden Divider */
}

.mobile-nav li:last-child a {
    border-bottom: none;
    /* Remove divider for last item */
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-light);
    padding-right: 25px;
}




/* 4. Lightbox Modal Fixes */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 1100px) {
    .lightbox-prev {
        left: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .lightbox-next {
        right: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}

/* ===== CTA Sections ===== */
.cta-parallax {
    padding: 120px 0;
    background: var(--primary-gradient), url('../images/hero-bg.jpg') center/cover fixed;
    position: relative;
    text-align: center;
    overflow: hidden;
    color: white;
}

.cta-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.92) 0%, rgba(14, 116, 144, 0.95) 100%);
}

[data-theme="dark"] .cta-parallax::before {
    background: linear-gradient(135deg, rgba(12, 25, 41, 0.95) 0%, rgba(15, 36, 56, 0.98) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: white;
    margin-bottom: 24px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-whatsapp-outline:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-section {
    padding: 100px 0;
    background: var(--primary-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .cta-parallax {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

/* ===== Global Page Headers ===== */
.page-header {
    background: var(--bg-hero), url('../images/hero-bg.jpg') center/cover;
    position: relative;
    padding: 140px 0 80px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-hero) !important;
    /* Unified Light Blue Overlay */
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(1.25rem, 3vw, 2.2rem);
    /* Significantly smaller for long titles */
    margin-bottom: 12px;
    color: white;
    line-height: 1.4;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Specific Override for Article Pages */
.article-header h1 {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem) !important;
    /* Very compact */
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.breadcrumb a {
    color: var(--accent-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

/* ========================================= */
/* DEAL PAGE STYLES (Case Study) */
/* ========================================= */
.deal-page {
    padding: 60px 0;
    background-color: var(--bg-body);
}

.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Main Content */
.project-main {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.deal-main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Case Study Cards */
.case-study-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-study-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    border-right: 4px solid var(--accent);
    /* Gold accent on right for RTL */
}

.case-study-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.case-study-card .icon {
    font-size: 1.5rem;
}

.case-study-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.description-text {
    margin-top: 20px;
    line-height: 1.9;
    color: var(--text-body);
}

/* Enhanced HTML Content Styling for Deal Page */
.case-study-full {
    background: var(--bg-card);
    /* Stronger background match */
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Slightly clearer border */
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.description-text h1,
.description-text h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.description-text h3,
.description-text h4 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.description-text section {
    margin-bottom: 30px;
}

.description-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.description-text ul,
.description-text ol {
    margin-bottom: 24px;
    padding-right: 20px;
    color: var(--text-secondary);
}

.description-text li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.description-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.description-text a {
    color: var(--accent);
    text-decoration: underline;
}

.description-text header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.description-text footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-muted);
}

/* Share Box */
.share-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-box h4 {
    color: white;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.inquiry-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.inquiry-card h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

/* Deal Stats */
.deal-stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deal-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.deal-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.deal-stat-item .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.deal-stat-item .value {
    color: var(--text-primary);
    font-weight: 600;
}

.deal-stat-item .value.price {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, var(--accent) 0%, #a38241 100%);
    border: none;
}

.highlight-card h3,
.highlight-card p {
    color: #0c1929;
    /* Dark text on gold */
    border-color: rgba(0, 0, 0, 0.1);
}

.white-btn {
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: transform 0.3s;
}

.white-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Other Deals */
.other-deals-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.other-deals-list li {
    margin-bottom: 12px;
}

.other-deals-list a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s;
}

.other-deals-list a:hover {
    background: var(--accent);
    color: #0c1929;
}

/* Responsive */
@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        position: static;
        order: 2;
        /* Main content first on mobile */
    }
}

/* ========================================= */
/* CRITICAL FIX FOR SOCIAL ICONS ALIGNMENT */
/* ========================================= */
.modern-footer .social-icons {
    direction: ltr !important;
    /* Force Left-to-Right layout */
    display: flex !important;
    gap: 12px !important;
}

.modern-footer .social-icons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
    /* Reset line-height */
    text-align: center !important;
}

.modern-footer .social-icons svg {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    vertical-align: middle !important;
}

/* ========================================= */
/* Blog CTA Box (Replaces inline styles) */
/* ========================================= */
.blog-cta-box {
    background-color: var(--bg-secondary) !important;
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    box-shadow: var(--shadow);
}

.blog-cta-box h3 {
    color: var(--accent) !important;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.blog-cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary) !important;
    margin-bottom: 30px;
    line-height: 1.8;
}

.blog-cta-box .cta-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
}

.blog-cta-box .cta-btn:hover {
    transform: translateY(-3px);
}