﻿/* ================================================
   Alsooq Valet - Mobile First Stylesheet
   ================================================ */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #D4AF37;
    --primary-dark: #B8941F;
    --primary-light: #F5E6C8;
    --secondary-color: #F8F9FA;
    --bg-body: #FFFFFF;
    --bg-dark: #1A1A1A;
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Cairo', 'Outfit', sans-serif;
    --header-height: 180px;
    /* topbar(38) + middle(90) + navbar(52) */
    --topbar-h: 38px;
    --middle-h: 90px;
    --navbar-h: 52px;
    --header-dark: #111827;
}

/* ===== Global Reset & Mobile First Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

/* ===== Typography (Mobile Base) ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.7rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===== Layout Utilities (Mobile First) ===== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

/* Grid System - Mobile First (1 column default) */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.section-padding {
    padding: 60px 0;
}

/* Section Titles */
.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    max-width: 600px;
}

.section-title p {
    margin-inline: auto;
}

/* ===== Components ===== */

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ═══════════════════════════════════════════════
   MULTI-SECTION HEADER
   ═══════════════════════════════════════════════ */

header.header-multi {
    position: fixed;
    top: 0;
    inset-inline: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

/* ── TOP BAR ── */
.header-topbar {
    background: var(--header-dark);
    height: var(--topbar-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.topbar-welcome {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.topbar-welcome .fa-circle-dot {
    color: var(--primary-color);
    font-size: 0.55rem;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-soc {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.topbar-soc:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.topbar-soc-img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    filter: brightness(0) invert(0.6);
    transition: filter 0.2s;
}

.topbar-soc:hover .topbar-soc-img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(60%) saturate(400%) hue-rotate(5deg);
}

/* ── MIDDLE (Logo + Phones) ── */
.header-middle {
    background: #ffffff;
    height: var(--middle-h);
    border-bottom: 1px solid #f0f0f4;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.middle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* Phone Cards */
.header-phones {
    display: flex;
    gap: 15px;
    align-items: center;
}

.phone-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fafafa;
    transition: all 0.25s;
    cursor: pointer;
}

.phone-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.phone-icon-wrap {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.phone-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.phone-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.phone-card:hover .phone-num {
    color: var(--primary-dark);
}

/* ── NAV BAR ── */
.header-navbar {
    background: var(--header-dark);
    height: var(--navbar-h);
}

.navbar-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 4px;
}

.navbar-mobile-logo {
    display: none;
}

/* Nav Links List */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 100%;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    inset-inline: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s;
    border-radius: 3px 3px 0 0;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #fff;
    background: rgba(212, 175, 55, 0.18);
    border-bottom: 3px solid var(--primary-color);
    font-weight: 800;
}

.nav-link.active::after {
    display: none;
}

.nav-home-icon {
    font-size: 0.7rem;
}

/* CTA Button in Nav */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 6px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.88rem;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45);
}

/* Actions (lang + login) */
.nav-actions-li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    padding-inline-start: 10px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
    height: 60%;
}

/* Language Switch (in dark bar) */
header.header-multi .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    width: auto;
    height: auto;
    white-space: nowrap;
}

header.header-multi .lang-switch:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.nav-user-btn,
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-user-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-login-btn {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.3);
}

.nav-login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Hamburger */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s;
}

.mobile-menu-btn:active,
.mobile-menu-btn.active {
    background: rgba(212, 175, 55, 0.25);
}

.mobile-menu-btn i {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Sticky scrolled state */
header.header-sticky.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}

/* Inner page header (other pages): darken middle slightly */
header.header-inner .header-middle {
    background: #fdfdfd;
    box-shadow: none;
    border-bottom-color: #e8e8e8;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1023px) {
    :root {
        --header-height: 62px;
    }

    .header-topbar {
        display: none;
    }

    .header-middle {
        display: none;
    }

    .header-navbar {
        height: 62px;
    }

    .navbar-mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        display: flex;
        margin-inline-start: auto;
    }

    .nav-links {
        position: fixed;
        top: 62px;
        inset-inline: 0;
        width: 100%;
        background: var(--header-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        transform: translateY(-110%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 4px;
        max-height: calc(100vh - 62px);
        overflow-y: auto;
        height: auto;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        height: auto;
        padding: 13px 16px;
        border-bottom: none;
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(212, 175, 55, 0.15);
        color: var(--primary-color);
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions-li {
        flex-wrap: wrap;
        padding: 12px 0 4px;
        border-inline-start: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-inline-start: 0;
        height: auto;
        width: 100%;
    }

    .nav-cta-btn {
        width: 100%;
        justify-content: center;
        margin: 4px 0;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none !important;
    }
}


/* ===== Professional Logo ===== */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s ease;
}

.logo-link:hover {
    transform: translateY(-1px);
}

/* Animated Icon Box */
.logo-icon-box {
    width: clamp(38px, 5vw, 44px);
    height: clamp(38px, 5vw, 44px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.logo-icon-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    transform: rotate(45deg);
    transition: 0.6s;
}

.logo-link:hover .logo-icon-box::before {
    left: 150%;
}

.logo-icon-box i {
    color: #fff;
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Text Stack */
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #8a6100 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-main);
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}

.logo-tagline {
    font-size: clamp(0.55rem, 1.2vw, 0.68rem);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.75;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}

/* Image Logo */
.header-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s;
}

.logo-link:hover .header-logo-img {
    opacity: 0.9;
}

/* RTL Logo Fixes */
[dir="rtl"] .logo-brand {
    letter-spacing: 0;
}

[dir="rtl"] .logo-tagline {
    letter-spacing: 0.5px;
    text-transform: none;
}

[dir="rtl"] .logo-link:hover .logo-icon-box::before {
    left: auto;
    right: 150%;
}

/* ═══════════════════════════════════════════
   HERO SLIDER — PROFESSIONAL
   ═══════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0d14;
    padding-top: var(--header-height);
}

/* Slides wrapper fills the hero */
.hero-slides-wrapper {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ── Background Image (Ken Burns) ────── */
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 22s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0);
    }

    100% {
        transform: scale(1.12) translateX(-2%);
    }
}

/* ── Cinematic Overlay ─────────────────── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.60) 0%,
            rgba(0, 0, 0, 0.30) 35%,
            rgba(0, 0, 0, 0.55) 75%,
            rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(to right,
            rgba(0, 0, 0, 0.45) 0%,
            transparent 55%);
    z-index: 1;
}

[dir="rtl"] .hero-overlay {
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.60) 0%,
            rgba(0, 0, 0, 0.30) 35%,
            rgba(0, 0, 0, 0.55) 75%,
            rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(to left,
            rgba(0, 0, 0, 0.45) 0%,
            transparent 55%);
}

/* ── Content Area ────────────────────── */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: calc(var(--header-height) + 20px) 8% 140px;
    width: 100%;
}

[dir="rtl"] .hero-content {
    align-items: flex-end;
    text-align: right;
}

/* ── Badge (pulse) ────────────────────── */
.hs-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.12);
    color: #f5d060;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.30);
    backdrop-filter: blur(8px);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 22px;
    letter-spacing: 0.6px;
    position: relative;
}

.hs-pulse {
    width: 8px;
    height: 8px;
    background: #f5d060;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }
}

/* ── Title ────────────────────────────── */
.hs-title {
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
    max-width: 760px;
}

/* ── Subtitle ─────────────────────────── */
.hs-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
    line-height: 1.5;
    max-width: 620px;
}

/* ── Description ──────────────────────── */
.hs-desc {
    font-size: clamp(0.85rem, 1.5vw, 0.98rem);
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 560px;
}

/* ── Action Buttons ───────────────────── */
.hs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hs-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark, #b8962e));
    color: #111;
    font-weight: 800;
    font-size: 0.98rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.45);
    transition: all 0.3s;
    white-space: nowrap;
}

.hs-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(212, 175, 55, 0.65);
    filter: brightness(1.08);
}

.hs-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    white-space: nowrap;
}

.hs-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 255, 255, 0.08);
}

/* ── Slide Counter ────────────────────── */
.hs-counter {
    position: absolute;
    top: calc(var(--header-height) + 24px);
    inset-inline-end: 28px;
    z-index: 20;
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hs-cur {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.hs-sep {
    font-size: 1rem;
    opacity: 0.5;
    margin: 0 2px;
}

/* ── Navigation Arrows ────────────────── */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.hero-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #111;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.hero-prev {
    inset-inline-start: 22px;
}

.hero-next {
    inset-inline-end: 22px;
}

/* ── Dots ─────────────────────────────── */
.hs-dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 8px;
    align-items: center;
}

.hs-dot {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: width 0.3s, background 0.3s;
    position: relative;
}

.hs-dot.active {
    width: 52px;
    background: rgba(255, 255, 255, 0.15);
}

.hs-dot-fill {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0%;
    transition: none;
}

.hs-dot.active .hs-dot-fill {
    width: 100%;
    transition: none;
    /* filled by JS progress, not CSS */
}

/* ── Bottom Progress Bar ──────────────── */
.hs-progress-bar {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #f5e27a);
    z-index: 25;
    /* width transition controlled by JS */
}

/* ══════════════════════════════════════════
   HERO RESPONSIVE FIXES
   ══════════════════════════════════════════ */

/* Mobile phones */
@media (max-width: 767px) {
    .hero-content {
        align-items: center !important;
        text-align: center !important;
        padding: calc(var(--header-height) + 16px) 5% 110px;
    }

    .hs-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
        margin-bottom: 10px;
    }

    .hs-subtitle {
        font-size: 0.93rem;
        margin-bottom: 8px;
    }

    .hs-desc {
        font-size: 0.84rem;
        margin-bottom: 20px;
    }

    .hs-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .hs-actions {
        justify-content: center;
        gap: 10px;
    }

    .hs-btn-primary,
    .hs-btn-ghost {
        padding: 11px 22px;
        font-size: 0.87rem;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .hero-prev {
        inset-inline-start: 10px;
    }

    .hero-next {
        inset-inline-end: 10px;
    }

    .hs-dots {
        bottom: 55px;
    }

    .hs-counter {
        top: calc(var(--header-height) + 8px);
        inset-inline-end: 14px;
    }

    .hs-cur {
        font-size: 1.35rem;
    }
}

/* Short viewport height (laptop 768px~) */
@media (max-height: 800px) {
    .hero-content {
        justify-content: flex-start;
        padding-top: calc(var(--header-height) + 25px);
        padding-bottom: 120px;
    }

    .hs-badge {
        margin-bottom: 12px;
    }

    .hs-title {
        font-size: clamp(1.5rem, 4.5vw, 2.8rem);
        margin-bottom: 10px;
    }

    .hs-subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
        margin-bottom: 8px;
    }

    .hs-desc {
        margin-bottom: 20px;
    }

    .hs-dots {
        bottom: 52px;
    }
}

/* Very short screens */
@media (max-height: 640px) {
    .hs-badge {
        display: none;
    }

    .hs-title {
        font-size: clamp(1.3rem, 4vw, 2rem);
        margin-bottom: 8px;
    }

    .hs-subtitle {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .hs-desc {
        display: none;
    }

    .hero-content {
        padding-top: calc(var(--header-height) + 8px);
        padding-bottom: 90px;
    }

    .hs-dots {
        bottom: 40px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-nav {
        width: 56px;
        height: 56px;
    }

    .hero-prev {
        inset-inline-start: 30px;
    }

    .hero-next {
        inset-inline-end: 30px;
    }

    .hs-dots {
        bottom: 75px;
    }
}

/* Cards & Sections */

/* Cards & Sections */
.service-card,
.feature-card,
.why-us-card,
.faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.service-icon,
.feature-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 15px;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Steps Grid (How It Works) - Mobile: 1 col */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 20px;
}

.step-card-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

[dir="rtl"] .step-card-number {
    right: auto;
    left: 0;
}

/* FAQ */
.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    text-align: inherit;
    font-size: 1rem;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    padding: 0 20px;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

/* Stats */
.stats {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    margin: 40px 15px;
    border-radius: 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
}

.stat-item {
    text-align: center;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 15px;
    text-align: center;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.footer-content h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: center;
}

.footer-content ul li i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-info ul li span {
    word-break: break-word;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* WhatsApp Menu */
.whatsapp-menu {
    position: fixed;
    bottom: 90px;
    left: 25px;
    z-index: 998;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 200px;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.whatsapp-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.whatsapp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 10px;
    transition: 0.2s;
}

.whatsapp-item:hover {
    background: var(--secondary-color);
}

.whatsapp-item i {
    color: #25D366;
    font-size: 1.3rem;
}

[dir="rtl"] .whatsapp-menu {
    left: auto;
    right: 25px;
}

/* Floating Elements */
.whatsapp-float,
.book-now-float {
    position: fixed;
    z-index: 999;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover,
.book-now-float:hover {
    transform: translateY(-3px);
}

.whatsapp-float {
    bottom: 25px;
    left: 25px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: white;
    font-size: 1.8rem;
}

.book-now-float {
    bottom: 25px;
    right: 25px;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    font-weight: 700;
    gap: 10px;
    font-size: 0.9rem;
}

[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 25px;
}

[dir="rtl"] .book-now-float {
    right: auto;
    left: 25px;
}

/* =========================================
   SMALL MOBILE (Max-Width: 479px)
   ========================================= */
@media (max-width: 479px) {
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .stats .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }
}

/* =========================================
   TABLET (Min-Width: 768px)
   ========================================= */
@media (min-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        max-width: 780px;
        padding: 0 30px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card,
    .feature-card {
        padding: 30px;
    }

    .service-icon,
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: row;
        width: auto;
        justify-content: center;
    }

    .hero-actions .btn-primary {
        width: auto;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .custom-shape-divider-bottom svg {
        height: 80px;
    }

    .stats {
        padding: 60px 20px;
        margin: 40px auto;
        border-radius: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: right;
    }

    .footer-content ul li {
        justify-content: flex-start;
    }

    [dir="ltr"] .footer-content {
        text-align: left;
    }
}

/* =========================================
   DESKTOP (Min-Width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .container {
        max-width: 1150px;
    }

    h1 {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 100px 0;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Hero Desktop */
    .hero-content h1 {
        font-size: 4rem;
    }

    .custom-shape-divider-bottom svg {
        height: 120px;
    }

    .why-us-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }

    .stats {
        padding: 80px 0;
        max-width: 1200px;
        border-radius: 50px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* =========================================
   LARGE DESKTOP (Min-Width: 1280px)
   ========================================= */
@media (min-width: 1280px) {
    .container {
        max-width: 1300px;
    }

    h1 {
        font-size: 4rem;
    }

    header .nav-links {
        gap: 8px;
    }

    header .nav-links a {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }
}

/* =========================================
   EXTRA LARGE (Min-Width: 1536px)
   ========================================= */
@media (min-width: 1536px) {
    .container {
        max-width: 1440px;
    }

    h1 {
        font-size: 4.5rem;
    }

    .hero-content h1 {
        font-size: 5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Interactive Hovers (Desktop only) */
@media (min-width: 768px) {

    .service-card:hover,
    .feature-card:hover,
    .why-us-card:hover {
        transform: translateY(-8px);
        border-color: var(--primary-color);
        box-shadow: var(--shadow-lg);
    }

    .service-card:hover .service-icon,
    .feature-card:hover .feature-icon {
        background: var(--primary-color);
        color: #fff;
        transform: rotateY(180deg);
        transition: all 0.5s;
    }
}

.service-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.service-more-link:hover i {
    transform: translateX(5px);
    transition: 0.3s;
}

[dir="rtl"] .service-more-link:hover i {
    transform: translateX(-5px);
}

/* Header Inner (Non-homepage) */
.header-inner {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Sticky Header - تأثير التمرير */
.header-sticky.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Nav Button Style */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-size: 0.9rem;
}

/* Language Switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: var(--secondary-color);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Detailed Services Section */
.detailed-services {
    position: relative;
    overflow: hidden;
}

/* Prevent horizontal scroll globally */
.container {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Safe area for floating buttons on mobile */
@media (max-width: 767px) {
    footer {
        padding-bottom: 80px;
    }

    .book-now-float span {
        display: none;
    }

    .book-now-float {
        width: 55px;
        height: 55px;
        padding: 0;
        border-radius: 50%;
    }
}