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

/* --- CSS Variables & Design System --- */
:root {
    --primary-navy: #0c235f;
    --primary-navy-rgb: 12, 35, 95;
    --primary-blue: #008ddf;
    --primary-blue-rgb: 0, 141, 223;
    --primary-blue-hover: #0077c2;
    --secondary-blue: #e6f0fa;
    --accent-gold: #ffb800;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-dark: #07153b;
    --white: #ffffff;
    
    --border-radius-sm: 8px;
    --border-radius: 14px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    --box-shadow: 0 10px 30px rgba(12, 35, 95, 0.05);
    --box-shadow-hover: 0 20px 40px rgba(12, 35, 95, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

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

/* --- Reusable Components & Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.section {
    padding: 90px 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: var(--border-radius-full);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 141, 223, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 35, 95, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(0, 141, 223, 0.1);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--border-radius-full);
}

/* --- Header / Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.header-scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

.header-scrolled .nav-container {
    height: 70px;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-navy);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--primary-blue);
    transition: var(--transition);
    border-radius: var(--border-radius-full);
}

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

.nav-link.active {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-navy);
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 10% 20%, rgba(230, 240, 250, 0.5) 0%, rgba(255, 255, 255, 1) 90%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 141, 223, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.hero-title span {
    color: var(--primary-blue);
    position: relative;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}

.benefits-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(12, 35, 95, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.benefit-badge i {
    font-size: 1.2rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(12, 35, 95, 0.12);
    border: 6px solid var(--white);
}

.hero-image-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.hero-image-frame:hover img {
    transform: scale(1.05);
}

.hero-badge-floating {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(7, 21, 59, 0.25);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.hero-badge-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-badge-text p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- About Us Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.about-main-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.about-main-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.about-main-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: justify;
}

.about-main-stats {
    display: flex;
    gap: 30px;
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.about-stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
}

.about-stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.about-main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(12, 35, 95, 0.08);
}

.about-main-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(0, 141, 223, 0.3);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background-color: var(--secondary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.about-card:hover .about-card-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.about-card h3 {
    font-size: 1.4rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-navy);
}

.value-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(0, 141, 223, 0.3);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 35, 95, 0) 60%, rgba(12, 35, 95, 0.4) 100%);
}

.service-icon-floating {
    position: absolute;
    top: -27px;
    left: 25px;
    right: auto;
    width: 55px;
    height: 55px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(12, 35, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
    border: 2px solid var(--secondary-blue);
    z-index: 5;
    transition: var(--transition);
}

.service-card:hover .service-icon-floating {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.service-body {
    position: relative;
    padding: 40px 25px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
    align-self: flex-start;
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(-4px);
}

/* --- Why Choose Us & Working Hours --- */
.why-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.why-us-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.why-us-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.why-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background-color: rgba(0, 141, 223, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.why-point-text h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.why-point-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hours-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

.hours-header {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hours-header-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.hours-header-text h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.hours-header-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hours-body {
    padding: 30px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hour-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.hour-row.active {
    background-color: var(--secondary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 141, 223, 0.08);
}

.hour-day {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--primary-navy);
}

.hour-day i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.hour-time {
    font-weight: 700;
    color: var(--text-dark);
}

.hour-status {
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    background-color: #e2e8f0;
    color: var(--text-muted);
}

.hour-row.active .hour-status {
    background-color: #25d366;
    color: var(--white);
}

/* --- Coverage Area --- */
.coverage-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.coverage-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.coverage-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.coverage-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.neighborhood-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.neighborhood-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-blue);
}

.neighborhood-card-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.neighborhood-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

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

.coverage-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--secondary-blue);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    border-right: 4px solid var(--primary-blue);
}

.coverage-info-box i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.coverage-info-box p {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.map-wrapper {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-map {
    width: 100%;
    height: auto;
    max-width: 450px;
}

.map-bg {
    fill: #f1f5f9;
    stroke: #cbd5e1;
    stroke-width: 2;
}

.map-district {
    fill: #e2e8f0;
    stroke: #cbd5e1;
    stroke-width: 1.5;
    transition: var(--transition);
}

.map-district.active-zone {
    fill: rgba(0, 141, 223, 0.08);
    stroke: var(--primary-blue);
    stroke-width: 2.5;
}

.map-district.active-zone:hover {
    fill: rgba(0, 141, 223, 0.18);
}

.map-pin {
    fill: var(--primary-blue);
    stroke: var(--white);
    stroke-width: 2;
    filter: drop-shadow(0 3px 5px rgba(0, 141, 223, 0.4));
    animation: bounce 2s infinite ease-in-out;
}

.map-pin:nth-child(2) {
    animation-delay: 0.3s;
}

.map-pin:nth-child(3) {
    animation-delay: 0.6s;
}

.map-pin-pulse {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 2;
    animation: pulse-ring 2s infinite;
    transform-origin: center;
}

.map-text {
    font-size: 14px;
    font-weight: 800;
    fill: var(--primary-navy);
    font-family: 'Tajawal', sans-serif;
    text-anchor: middle;
}

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

@keyframes pulse-ring {
    0% {
        r: 4px;
        opacity: 1;
    }
    100% {
        r: 20px;
        opacity: 0;
    }
}

/* --- Lead Generation Form --- */
.booking-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-navy) 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.booking-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 141, 223, 0.1) 0%, transparent 70%);
}

.booking-section .section-title h2 {
    color: var(--white);
}

.booking-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.form-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.booking-form {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / span 2;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 14px 18px;
    color: var(--white);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 141, 223, 0.3);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 24px;
    padding-left: 45px;
}

select.form-control option {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 10px;
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.submit-btn-wrapper {
    grid-column: 1 / span 2;
    margin-top: 10px;
}

.booking-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-col-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: var(--border-radius-full);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-blue);
}

.footer-link:hover i {
    transform: translateX(-4px);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.footer-contact-text h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-contact-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    direction: ltr;
    text-align: right;
}

/* --- Redesigned Centered Footer Bottom Section --- */
.footer-bottom {
    padding-top: 35px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    width: 100%;
}

.footer-barcode {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.barcode-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    background-color: #ffffff; /* Always white for barcode scanner readability */
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.barcode-img:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 25px rgba(0, 141, 223, 0.55);
}

.footer-cr-info {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff !important; /* Force white for readability on dark footer background */
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    margin-top: 5px;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-bottom-link:hover {
    color: var(--primary-blue) !important;
}

/* --- Floating Widgets --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-navy);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 141, 223, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-image-frame img {
        height: 380px;
    }
    
    .about-main-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .why-hours-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col-about {
        grid-column: 1 / span 2;
    }
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 25px;
        transition: var(--transition-slow);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero {
        padding: 130px 0 70px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .benefits-bar {
        justify-content: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-image-frame img {
        height: 320px;
    }
    
    .hero-badge-floating {
        right: 10px;
        bottom: 20px;
    }
    
    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-form {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .form-group-full {
        grid-column: 1;
    }
    
    .submit-btn-wrapper {
        grid-column: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-col-about {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 20px;
        left: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* --- Modals / Popups for Legal Policies --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 35, 95, 0.6); /* Translucent navy backdrop */
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background-color: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(12, 35, 95, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 141, 223, 0.1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-light);
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.modal-body h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-body p {
    margin-bottom: 12px;
    text-align: justify;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-right: 20px;
    list-style: disc;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    color: var(--primary-navy);
}

.modal-body .highlight-box {
    background-color: var(--secondary-blue);
    border-right: 4px solid var(--primary-blue);
    padding: 16px;
    margin: 20px 0;
    border-radius: var(--border-radius-sm);
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--border-radius-full);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 90vh;
    }
    .modal-body {
        padding: 16px;
    }
}


/* ==========================================================================
   Antigravity Added: Multi-language (RTL/LTR) & Theme Toggling (Light/Dark)
   ========================================================================== */

/* --- Dark Mode Variables & Overrides --- */
[data-theme="dark"] {
    --primary-navy: #f8fafc;
    --primary-navy-rgb: 248, 250, 252;
    --text-dark: #f1f5f9;
    --text-muted: #94a3b8;
    --bg-light: #0b1329;
    --bg-dark: #030712;
    --white: #0f172a;
    --secondary-blue: #1e293b;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Specific elements to keep correct colors in dark mode */
[data-theme="dark"] body {
    background-color: var(--bg-light);
}

/* Ensure the footer remains dark with white text in dark mode */
[data-theme="dark"] .footer {
    background-color: var(--bg-dark);
    color: #ffffff;
}
[data-theme="dark"] .footer-logo {
    background-color: #ffffff;
}
[data-theme="dark"] .footer-logo img {
    filter: none;
}
[data-theme="dark"] .footer-col-about p,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact-item p {
    color: #cbd5e1;
}

/* Ensure booking section remains dark and matches theme */
[data-theme="dark"] .booking-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0c235f 100%);
    color: #ffffff;
}
[data-theme="dark"] .booking-section .section-title h2 {
    color: #ffffff;
}
[data-theme="dark"] .booking-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}
[data-theme="dark"] .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
[data-theme="dark"] .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
}
[data-theme="dark"] select.form-control option {
    background-color: #0f172a;
    color: #ffffff;
}

/* Hero Background in Dark Mode */
[data-theme="dark"] .hero {
    background: radial-gradient(circle at 10% 20%, rgba(12, 35, 95, 0.4) 0%, #07153b 90%);
}

/* Modals in Dark Mode */
[data-theme="dark"] .modal-content {
    background-color: var(--white);
    color: var(--text-dark);
}
[data-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .modal-body strong {
    color: #ffffff;
}

/* Service Card & Floating Icon in Dark Mode */
[data-theme="dark"] .service-icon-floating {
    background-color: #1e293b;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Calendar Badge Statuses in Dark Mode */
[data-theme="dark"] .hour-status {
    background-color: #1e293b;
    color: var(--text-dark);
}
[data-theme="dark"] .hour-row.active .hour-status {
    background-color: rgba(0, 141, 223, 0.2);
    color: #38bdf8;
}

/* Mobile Nav Menu background in Dark Mode */
[data-theme="dark"] .nav-menu {
    background-color: var(--white);
}

/* Back to Top button in Dark Mode */
[data-theme="dark"] .back-to-top {
    background-color: var(--primary-blue);
    color: #ffffff;
}

/* --- Header Controls Styling --- */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 15px;
}

.control-btn {
    background-color: var(--secondary-blue);
    border: 1px solid rgba(0, 141, 223, 0.15);
    color: var(--primary-navy);
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.control-btn:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 141, 223, 0.2);
}

.control-btn i {
    font-size: 1.1rem;
}

/* Specific styling for language toggle to show flag and label */
#lang-toggle {
    width: auto;
    padding: 0 12px;
    gap: 6px;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95rem;
}

#lang-toggle img.flag-icon {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Theme active transitions */
[data-theme="dark"] .control-btn {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}
[data-theme="dark"] .control-btn:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

/* --- Language Visibility --- */
html[lang="en"] .ar-content {
    display: none !important;
}
html[lang="ar"] .en-content {
    display: none !important;
}

/* --- English Mode (LTR) Styles --- */
html[lang="en"] body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    direction: ltr;
    text-align: left;
}

html[lang="en"] h1, 
html[lang="en"] h2, 
html[lang="en"] h3, 
html[lang="en"] h4, 
html[lang="en"] h5, 
html[lang="en"] h6 {
    font-family: 'Outfit', sans-serif;
}

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

html[lang="en"] select.form-control {
    padding-left: 15px;
    padding-right: 45px;
    background-position: right 15px center;
}

html[lang="en"] .coverage-info-box {
    border-right: none;
    border-left: 4px solid var(--primary-blue);
}

html[lang="en"] .modal-body .highlight-box {
    border-right: none;
    border-left: 4px solid var(--primary-blue);
}

html[lang="en"] .footer-contact-text p {
    text-align: left;
}

html[lang="en"] .modal-header h3 {
    text-align: left;
}

/* Ensure list items and text blocks align correctly in modal */
html[lang="en"] .modal-body {
    text-align: left;
}
html[lang="en"] .modal-body ul {
    padding-left: 20px;
    padding-right: 0;
}

/* Mobile responsive fixes for LTR */
@media (max-width: 991px) {
    html[lang="en"] .nav-menu {
        left: -100%;
        right: auto;
    }
    html[lang="en"] .nav-menu.open {
        left: 0;
    }
}

/* Logo visibility drop-shadow in dark mode */
[data-theme="dark"] .logo img {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

/* --- Dark Mode Text Readability & Contrast Overrides --- */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-whatsapp,
[data-theme="dark"] .back-to-top,
[data-theme="dark"] .floating-whatsapp,
[data-theme="dark"] .booking-section,
[data-theme="dark"] .booking-section h2,
[data-theme="dark"] .booking-section h3,
[data-theme="dark"] .booking-section p,
[data-theme="dark"] .booking-section .form-control,
[data-theme="dark"] .booking-section select.form-control,
[data-theme="dark"] .booking-section textarea.form-control,
[data-theme="dark"] .form-header h3,
[data-theme="dark"] .form-header p,
[data-theme="dark"] .form-label {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: #ffffff !important;
    color: var(--primary-blue) !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: #ffffff !important;
    color: var(--primary-navy) !important;
}

[data-theme="dark"] .btn-whatsapp:hover {
    background-color: #ffffff !important;
    color: #25d366 !important;
}

[data-theme="dark"] select.form-control option {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

[data-theme="dark"] .modal-body strong {
    color: #38bdf8 !important; /* light blue for strong tags in dark modals */
}

[data-theme="dark"] .modal-body {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .footer-col h3 {
    color: #ffffff !important;
}

/* LTR Floating Icon Override for English mode */
html[lang="en"] .service-icon-floating {
    right: 25px !important;
    left: auto !important;
}
