/**
 * SADA - Luxury Student Living Core CSS
 * هوية بصرية فاخرة، عصرية متوافقة 100% مع ألوان sade.sa
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    /* Official sade.sa Visual Identity Palette */
    --primary-color: #333240;
    --primary-dark: #22212B;
    --primary-light: #4A485B;
    --secondary-color: #F36F25;
    --secondary-dark: #D85813;
    --secondary-light: #F79256;
    --accent-color: #F36F25;
    --accent-soft: #E1AA8A;
    --dark-color: #1D1B1A;
    --heading-color: #333240;
    --text-color: #555259;
    --text-light: #696969;
    --background-color: #F4F2F1;
    --surface-color: #FFFFFF;
    --section-beige: #EAE6E1;
    --border-color: #D9D9D9;
    --hover-color: #D85813;
    --white: #FFFFFF;

    /* Semantic Aliases */
    --primary: #333240;
    --secondary: #F36F25;
    --secondary-light: #F79256;
    --accent: #F36F25;
    --accent-light: #E1AA8A;
    --accent-dark: #D85813;
    --accent-gradient: linear-gradient(135deg, #F36F25 0%, #F79256 50%, #D85813 100%);
    --accent-glow: 0 0 25px rgba(243, 111, 37, 0.35);
    
    --bg-light: #F4F2F1;
    --bg-white: #FFFFFF;
    --bg-dark: #1D1B1A;
    
    --text-primary: #333240;
    --text-secondary: #555259;
    --text-muted: #696969;
    
    --border-light: rgba(217, 217, 217, 0.8);
    --border-gold: rgba(243, 111, 37, 0.35);
    
    --shadow-sm: 0 2px 8px rgba(29, 27, 26, 0.04);
    --shadow-md: 0 8px 24px rgba(29, 27, 26, 0.08);
    --shadow-lg: 0 16px 40px rgba(29, 27, 26, 0.12);
    --shadow-gold: 0 10px 30px rgba(243, 111, 37, 0.22);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Bootstrap 5 Theme Overrides - Strict SADE Visual Identity (No Yellow) */
    --bs-warning: #F36F25;
    --bs-warning-rgb: 243, 111, 37;
    --bs-warning-text-emphasis: #D85813;
    --bs-warning-bg-subtle: rgba(243, 111, 37, 0.12);
    --bs-warning-border-subtle: rgba(243, 111, 37, 0.35);

    --bs-primary: #333240;
    --bs-primary-rgb: 51, 50, 64;
    --bs-secondary: #F36F25;
    --bs-secondary-rgb: 243, 111, 37;
    --bs-dark: #1D1B1A;
    --bs-dark-rgb: 29, 27, 26;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base & Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    line-height: 1.65;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.35;
    margin-top: 0;
}

/* Page Header Banners & Dark Sections Typography (Guaranteed 100% High Contrast) */
.page-header-banner,
.page-banner,
.hero-banner,
.py-5.text-white,
.luxury-hero,
.luxury-footer,
.stats-section {
    color: #FFFFFF !important;
}

.page-header-banner h1, .page-header-banner h2, .page-header-banner h3, .page-header-banner h4, .page-header-banner h5, .page-header-banner h6,
.page-banner h1, .page-banner h2, .page-banner h3, .page-banner h4, .page-banner h5, .page-banner h6,
.hero-banner h1, .hero-banner h2, .hero-banner h3, .hero-banner h4, .hero-banner h5, .hero-banner h6,
.py-5.text-white h1, .py-5.text-white h2, .py-5.text-white h3, .py-5.text-white h4, .py-5.text-white h5, .py-5.text-white h6,
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.modal-content h1, .modal-content h2, .modal-content h3, .modal-content h4, .modal-content h5, .modal-content h6,
.card.bg-dark h1, .card.bg-dark h2, .card.bg-dark h3, .card.bg-dark h4, .card.bg-dark h5, .card.bg-dark h6 {
    color: #FFFFFF !important;
}

/* Subtitle and Paragraphs on Dark Backgrounds */
.page-header-banner p,
.page-banner p,
.hero-banner p,
.py-5.text-white p,
.py-5.text-white .text-white-50,
.page-header-banner .text-white-50,
.page-banner .text-white-50,
.text-white .text-white-50,
.bg-dark .text-white-50,
.card.bg-dark .text-white-50,
.luxury-footer .text-white-50 {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Dedicated Page Header Banner Class */
.page-header-banner {
    background: radial-gradient(circle at center, #333240 0%, #1D1B1A 100%) !important;
    border-bottom: 2px solid var(--secondary-color) !important;
    padding: 3rem 0 !important;
    position: relative;
    text-align: center;
    color: #FFFFFF !important;
}

/* Bootstrap 5 Theme Overrides - Strict SADE Visual Identity (Eliminating Yellow completely) */
.text-warning,
.text-gold,
.text-accent,
i.text-warning,
span.text-warning,
strong.text-warning,
small.text-warning,
a.text-warning {
    color: #F36F25 !important;
}

.bg-warning,
.bg-gold,
.bg-accent {
    background-color: #F36F25 !important;
    color: #FFFFFF !important;
}

.border-warning,
.border-gold {
    border-color: #F36F25 !important;
}

.btn-warning {
    background-color: #F36F25 !important;
    border-color: #F36F25 !important;
    color: #FFFFFF !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #D85813 !important;
    border-color: #D85813 !important;
    color: #FFFFFF !important;
}

.badge.bg-warning {
    background-color: #F36F25 !important;
    color: #FFFFFF !important;
}

.badge.bg-warning.bg-opacity-10,
.badge.bg-warning.bg-opacity-20 {
    background-color: rgba(243, 111, 37, 0.15) !important;
    color: #F36F25 !important;
    border: 1px solid rgba(243, 111, 37, 0.35) !important;
}

.badge.bg-warning.text-dark {
    color: #FFFFFF !important;
    background-color: #F36F25 !important;
}

.badge.bg-warning.text-warning {
    color: #F36F25 !important;
    background-color: rgba(243, 111, 37, 0.15) !important;
    border: 1px solid rgba(243, 111, 37, 0.35) !important;
}

.hover-text-warning {
    transition: color 0.2s ease;
}

.hover-text-warning:hover {
    color: #F36F25 !important;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--hover-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.preloader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: preloader-spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.preloader-ring:nth-child(2) {
    border-top-color: var(--accent-soft);
    animation-delay: -0.3s;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
}

.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.preloader-text {
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.85;
}

@keyframes preloader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes floatHeroCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes goldShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Top Contact Bar */
.top-contact-bar {
    background-color: #1D1B1A;
    color: #F4F2F1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(243, 111, 37, 0.15);
}

.hover-text-warning:hover {
    color: var(--secondary-color) !important;
}

/* Navigation */
.luxury-navbar {
    background: rgba(51, 50, 64, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(243, 111, 37, 0.25);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.luxury-navbar.scrolled {
    padding: 10px 0;
    background: rgba(51, 50, 64, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-bottom-color: var(--secondary-color);
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF !important;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-badge {
    background: var(--secondary-color);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link-custom {
    color: #F4F2F1 !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 14.5px;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--secondary-color) !important;
    background: rgba(243, 111, 37, 0.15);
}

/* Buttons */
.btn-gold {
    background: var(--secondary-color);
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    padding: 11px 26px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(243, 111, 37, 0.28);
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-align: center;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(216, 88, 19, 0.45);
    background: var(--secondary-dark);
    color: #FFFFFF !important;
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-outline-gold {
    background: transparent;
    color: var(--secondary-color) !important;
    font-weight: 700;
    border: 2px solid var(--secondary-color);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: var(--secondary-color);
    color: #FFFFFF !important;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-dark-luxury {
    background: var(--dark-color);
    color: #FFFFFF !important;
    font-weight: 700;
    border: 1px solid rgba(243, 111, 37, 0.3);
    padding: 11px 26px;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-dark-luxury:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #333240 0%, #1D1B1A 70%, #161514 100%);
    color: #FFFFFF;
    padding: 110px 0 130px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(243, 111, 37, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--background-color), transparent);
    pointer-events: none;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 111, 37, 0.12);
    border: 1px solid rgba(243, 111, 37, 0.35);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-title .text-gold-gradient {
    background: linear-gradient(135deg, #F36F25 0%, #E1AA8A 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 17px;
    color: #F4F2F1;
    line-height: 1.75;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(243, 111, 37, 0.35);
}

.hero-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.hero-floating-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(29, 27, 26, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(243, 111, 37, 0.35);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
}

.floating-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Filter Search Bar */
.search-filter-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    box-shadow: 0 20px 45px rgba(29, 27, 26, 0.08);
    border: 1px solid var(--border-color);
    margin-top: -55px;
    position: relative;
    z-index: 100;
}

.form-label-custom {
    font-size: 13px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 6px;
    display: block;
}

.form-control-custom, .form-select-custom {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: #FFFFFF;
    color: var(--heading-color);
    transition: all var(--transition-fast);
}

.form-control-custom:focus, .form-select-custom:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(243, 111, 37, 0.15);
}

/* Room Cards */
.room-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(29, 27, 26, 0.12);
    border-color: var(--secondary-color);
}

.room-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--dark-color);
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.room-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.room-card-price {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(29, 27, 26, 0.9);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(243, 111, 37, 0.35);
}

.price-amount {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 17px;
}

.price-period {
    font-size: 11.5px;
    color: #F4F2F1;
}

.room-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.room-card-title a {
    color: var(--heading-color);
}

.room-card-title a:hover {
    color: var(--secondary-color);
}

.room-card-desc {
    color: var(--text-color);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-specs-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-color);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-item i {
    color: var(--secondary-color);
    font-size: 15px;
}

.room-amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.amenity-tag {
    background: var(--section-beige);
    color: var(--heading-color);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 600;
}

.room-card-footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
}

.badge-success {
    background: #E8F8EE;
    color: #1E824C;
}

.badge-warning {
    background: #FFF4ED;
    color: #D85813;
    border: 1px solid rgba(243, 111, 37, 0.3);
}

.badge-amber {
    background: #FFF1E6;
    color: #C05621;
    border: 1px solid #FBD38D;
}

.badge-info {
    background: #EBF8FF;
    color: #2B6CB0;
}

.badge-danger {
    background: #FEE8E8;
    color: #C53030;
}

.badge-secondary {
    background: var(--section-beige);
    color: var(--heading-color);
}

/* Features Grid */
.feature-box {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    text-align: center;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(243, 111, 37, 0.08), rgba(225, 170, 138, 0.2));
    border: 1px solid rgba(243, 111, 37, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 30px;
    transition: all var(--transition-smooth);
}

.feature-box:hover .feature-icon-wrapper {
    background: var(--secondary-color);
    color: #FFFFFF;
    transform: rotate(5deg) scale(1.08);
}

/* Stats Counter Section */
.stats-section {
    background: var(--dark-color);
    color: #FFFFFF;
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgba(243, 111, 37, 0.25);
    border-bottom: 1px solid rgba(243, 111, 37, 0.25);
}

.stat-counter-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--secondary-color);
    font-family: 'Tajawal', sans-serif;
    margin-bottom: 6px;
}

.stat-counter-label {
    color: #F4F2F1;
    font-size: 15px;
    font-weight: 600;
}

/* FAQ Accordion */
.luxury-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--surface-color);
}

.luxury-accordion .accordion-button {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--heading-color);
    padding: 18px 24px;
    background-color: var(--surface-color);
    box-shadow: none;
}

.luxury-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary-dark);
    background-color: var(--section-beige);
    border-bottom: 1px solid var(--border-color);
}

.luxury-accordion .accordion-body {
    padding: 20px 24px;
    color: var(--text-color);
    line-height: 1.8;
}

/* Footer */
.luxury-footer {
    background-color: var(--dark-color);
    color: #F4F2F1;
    padding: 70px 0 25px;
    border-top: 3px solid var(--secondary-color);
}

.footer-brand-title {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 22px;
    color: #D9D9D9;
}

.footer-heading {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #D9D9D9;
    font-size: 14px;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-icon-btn:hover {
    background: var(--secondary-color);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 13px;
    color: #D9D9D9;
}

/* Toast Container */
#toast-container {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.luxury-toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 420px;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(29, 27, 26, 0.18);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    animation: toast-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.luxury-toast.toast-success {
    border-right: 4px solid #28a745;
}

.luxury-toast.toast-error {
    border-right: 4px solid #dc3545;
}

.luxury-toast.toast-warning {
    border-right: 4px solid var(--secondary-color);
}

.luxury-toast.toast-info {
    border-right: 4px solid var(--primary-color);
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .hero-title {
        font-size: 34px;
    }
    .hero-image-wrapper img {
        height: 360px;
    }
    .hero-floating-card {
        bottom: 15px;
        right: 15px;
        padding: 12px 15px;
    }
    .search-filter-card {
        margin-top: -30px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-section {
        padding: 70px 0 90px;
    }
    .hero-image-wrapper img {
        height: 280px;
    }
    .btn-gold, .btn-outline-gold, .btn-dark-luxury {
        width: 100%;
    }
}

/* ========================================================
   SADA LUXURY HERO SLIDER & BACKGROUND IMAGES
   ======================================================== */

.hero-slider-section {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-color);
    overflow: hidden;
    padding: 70px 0 90px;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    transform: scale(1.05);
    filter: brightness(1.12) contrast(1.08) saturate(1.15); /* صورة واضحة ومشرقة وأكثر وضوحاً */
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 7s linear;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 17, 16, 0.35) 0%, rgba(20, 19, 18, 0.40) 50%, rgba(18, 17, 16, 0.65) 100%);
    z-index: 2;
}

.hero-title-main {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.95);
    letter-spacing: -0.5px;
}

.hero-slider-section p {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
}

.hero-buildings-highlight {
    display: inline-block;
}

.hero-buildings-pill {
    background: linear-gradient(135deg, rgba(243, 111, 37, 0.25) 0%, rgba(225, 170, 138, 0.2) 100%);
    border: 1.5px solid rgba(243, 111, 37, 0.55);
    color: var(--secondary-color);
    padding: 8px 28px;
    border-radius: 9999px;
    font-size: clamp(20px, 3.5vw, 28px);
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.btn-building-card {
    background: rgba(29, 27, 26, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(243, 111, 37, 0.35);
    border-radius: 16px;
    transition: all 0.35s ease;
    display: block;
    text-decoration: none;
}

.btn-building-card:hover {
    background: rgba(51, 50, 64, 0.95);
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.building-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(243, 111, 37, 0.2);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.building-arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-building-card:hover .building-arrow-circle {
    transform: translateX(-4px);
    background: var(--secondary-color);
    color: #FFFFFF;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    width: 32px;
    border-radius: 6px;
}

/* Glowing Waitlist Button */
.btn-gold-glow {
    background: var(--secondary-color);
    color: #FFFFFF !important;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(243, 111, 37, 0.45);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-gold-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(216, 88, 19, 0.65);
    background: var(--secondary-dark);
    color: #FFFFFF !important;
}

/* Luxury Service & Facility Cards */
.service-luxury-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(29, 27, 26, 0.12);
    border-color: var(--secondary-color);
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.service-luxury-card:hover .service-img-wrapper img {
    transform: scale(1.06);
}

.service-icon-floating {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--secondary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(243, 111, 37, 0.4);
    border: 3px solid #FFFFFF;
    z-index: 3;
}

/* Step Process Card */
.step-process-card {
    background: var(--section-beige);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    position: relative;
}

.step-process-card:hover {
    transform: translateY(-5px);
    background: #FFFFFF;
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(243, 111, 37, 0.15);
}

.step-num-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(243, 111, 37, 0.15);
    color: var(--secondary-dark);
    font-weight: 800;
    font-family: 'Tajawal', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.step-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(243, 111, 37, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(243, 111, 37, 0.25);
    color: var(--secondary-color);
}

/* Waitlist Modal Icon Box */
.waitlist-modal-icon-box {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: var(--secondary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(243, 111, 37, 0.4);
}

/* Waitlist Grand Hero Card */
.waitlist-hero-card {
    background: linear-gradient(135deg, #1D1B1A 0%, #333240 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(243, 111, 37, 0.35);
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.waitlist-hero-card::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(243, 111, 37, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Near Turn Alert */
.alert-near-turn {
    background: var(--section-beige);
    border: 2px solid var(--secondary-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: 0 8px 25px rgba(243, 111, 37, 0.2);
    animation: pulse-glow 2.5s infinite;
}

.near-turn-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--secondary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(243, 111, 37, 0.35);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(243, 111, 37, 0.2); }
    50% { box-shadow: 0 8px 35px rgba(243, 111, 37, 0.4); }
}

/* Dynamic 6-Step Timeline */
.timeline-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 25px 0 10px;
}

.timeline-stepper::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 30px;
    left: 30px;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.timeline-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.timeline-step.completed .timeline-step-icon {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.timeline-step.active .timeline-step-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #FFFFFF;
    box-shadow: 0 0 0 6px rgba(243, 111, 37, 0.25);
}

.timeline-step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2px;
}

.timeline-step-subtitle {
    font-size: 12px;
    color: var(--text-light);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
}

/* Spin animation for AJAX refresher */
.spin-animation {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

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

@media (max-width: 768px) {
    .timeline-stepper {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-right: 25px;
    }
    .timeline-stepper::before {
        top: 20px;
        bottom: 20px;
        right: 48px;
        left: auto;
        width: 4px;
        height: auto;
    }
    .timeline-step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: right;
    }
    .timeline-step-icon {
        margin: 0;
    }
}

/* ==========================================================================
   Floating WhatsApp Button Component
   ========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 1080;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
    color: #FFFFFF !important;
}

.floating-whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2.5px solid #25D366;
    animation: wa-pulse-ring 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
    pointer-events: none;
}

@keyframes wa-pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.floating-whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #1D1B1A;
    color: #FFFFFF;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
    border: 1px solid rgba(243, 111, 37, 0.35);
}

.floating-whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #1D1B1A;
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 85px;
        left: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
    .floating-whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================================================
   Multi-Image Room Gallery Slider & Cards (Interactive Photo Carousel)
   ========================================================================== */
.room-gallery-slider {
    position: relative;
    width: 100%;
    height: 310px;
    overflow: hidden;
    background-color: #1D1B1A;
    border-radius: 16px 16px 0 0;
    user-select: none;
}

.room-gallery-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.room-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease-in-out, transform 0.45s ease;
    transform: scale(1.03);
}

.room-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.room-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(29, 27, 26, 0.75);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    padding: 0;
    font-size: 15px;
}

.room-slider-btn:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(243, 111, 37, 0.4);
}

.room-slider-btn.prev-btn {
    right: 12px;
}

.room-slider-btn.next-btn {
    left: 12px;
}

.room-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.room-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-slider-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.room-slider-dot.active {
    width: 22px;
    border-radius: 10px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(243, 111, 37, 0.6);
}

.room-img-counter-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(29, 27, 26, 0.75);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Tajawal', sans-serif;
}

.room-showcase-card {
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.room-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(243, 111, 37, 0.12);
    border-color: rgba(243, 111, 37, 0.4);
}

/* Room Details Thumbnails Strip */
.room-details-thumbs-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 4px;
    scrollbar-width: thin;
}

.room-details-thumb {
    width: 84px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.room-details-thumb:hover {
    opacity: 0.95;
    border-color: rgba(243, 111, 37, 0.5);
}

.room-details-thumb.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(243, 111, 37, 0.4);
}

.room-details-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

