/* ============================================================
   مركز إنجاز سريع — Style Sheet
   COMPLETE RESPONSIVE OVERHAUL v3.0
   ============================================================ */

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

/* ============================================================
   SECTION 1: CSS VARIABLES & RESET
   ============================================================ */
:root {
    --bg-dark: #070A0F;
    --bg-navy-metal: #0D1724;
    --primary-blue: #1E88FF;
    --primary-blue-glow: rgba(30, 136, 255, 0.25);
    --primary-blue-light: rgba(30, 136, 255, 0.08);
    --accent-orange: #FF8A1F;
    --accent-orange-glow: rgba(255, 138, 31, 0.35);
    --accent-orange-light: rgba(255, 138, 31, 0.1);
    --text-white: #F5F7FA;
    --text-gray: #AAB3C2;
    --glass-card: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-card-hover: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.16);
    --font-cairo: 'Cairo', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    /* Header height variables — single source of truth */
    --header-height: 76px;
    --header-height-mobile: 64px;
}

/* ============================================================
   SECTION 2: UNIVERSAL RESET — SAFE FOUNDATION
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CRITICAL: html & body must NEVER exceed viewport width */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;  /* safe horizontal clipping */
    direction: rtl;
    scroll-behavior: smooth;
    font-size: 16px;
    background: #070A0F;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;  /* safe horizontal clipping */
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-cairo);
    text-align: right;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Space for fixed header */
    padding-top: var(--header-height);
}

/* Body scroll lock when mobile menu is open — no layout shift */
body.scroll-locked {
    position: fixed;
    width: 100%;
    overflow-y: scroll; /* keep scrollbar to prevent layout shift */
}

/* All block-level structural elements: width-safe */
main,
section,
article,
aside,
header,
footer,
nav {
    width: 100%;
    max-width: 100%;
}

/* All media elements: never overflow container */
img,
video,
svg,
canvas,
iframe,
embed,
object {
    max-width: 100%;
    display: block;
}

img,
video {
    height: auto;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

p {
    overflow-wrap: break-word;
}

ul, ol {
    list-style: none;
}

/* ============================================================
   SECTION 3: SITE CONTAINER SYSTEM (UNIFIED)
   ============================================================ */

/* Primary container — used everywhere */
.site-container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 24px;
    position: relative;
    z-index: 2;
}

/* Legacy container alias — DO NOT use fixed pixel padding from here */
.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 24px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   SECTION 4: CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: var(--bg-navy-metal);
    border: 2px solid var(--bg-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }

/* ============================================================
   SECTION 5: BACKGROUND EFFECTS (FIXED — SAFE)
   ============================================================ */
.bg-grid-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(30, 136, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 136, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

.bg-glow-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-radial-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.45;
}

.glow-blue-1 {
    background: radial-gradient(circle, var(--primary-blue-glow) 0%, transparent 70%);
    top: -10%;
    right: -10%;
}
.glow-blue-2 {
    background: radial-gradient(circle, var(--primary-blue-glow) 0%, transparent 70%);
    top: 50%;
    left: -15%;
}
.glow-orange-1 {
    background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
    opacity: 0.3;
}

/* ============================================================
   SECTION 6: TYPOGRAPHY UTILITIES
   ============================================================ */
.gradient-text {
    background: linear-gradient(135deg, #FFF 30%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-orange {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FFA751 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   SECTION 7: GLOBAL BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    font-family: var(--font-cairo);
    white-space: nowrap;
    text-align: center;
    min-height: 46px;
}

.btn-primary-orange {
    background: var(--accent-orange);
    color: #FFF;
    box-shadow: 0 4px 20px var(--accent-orange-light);
}
.btn-primary-orange:hover {
    background: #FF9F3E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-orange-glow);
}

.btn-secondary-blue {
    background: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    box-shadow: 0 4px 15px var(--primary-blue-light);
}
.btn-secondary-blue:hover {
    background: var(--primary-blue);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-blue-glow);
}

.btn-glass {
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-white);
}
.btn-glass:hover {
    background: var(--glass-card-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Glassmorphism Panel Utility */
.glass-panel {
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    transition: var(--transition-smooth);
}
.glass-panel:hover {
    background: var(--glass-card-hover);
    border-color: var(--glass-border-hover);
}

/* ============================================================
   SECTION 8: HEADER — DEFINITIVE REBUILD
   Single source of truth. No !important overrides needed.
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    /* Use logical properties for RTL safety */
    inset-inline-start: 0;
    inset-inline-end: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background 0.4s ease, border-color 0.4s ease, height 0.4s ease;
    border-bottom: 1px solid rgba(30, 136, 255, 0.05);
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    background: rgba(7, 10, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(30, 136, 255, 0.15);
}

/* Header inner row */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 100%;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-desktop {
    display: block;
    height: 42px;
    width: auto;
}

.logo-mobile {
    display: none;
    height: 34px;
    width: auto;
}

/* Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

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

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 9px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
    min-height: 38px;
}

/* Hamburger — hidden on desktop */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1101;
    flex-shrink: 0;
    padding: 0;
}

.burger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.burger-menu.open .burger-bar:nth-child(1) {
    transform: translateY(7.75px) rotate(45deg);
}
.burger-menu.open .burger-bar:nth-child(2) {
    opacity: 0;
}
.burger-menu.open .burger-bar:nth-child(3) {
    transform: translateY(-7.75px) rotate(-45deg);
}

/* ============================================================
   SECTION 9: MOBILE NAV DRAWER — DEFINITIVE REBUILD
   Uses transform (no overflow issues). Slides from right.
   ============================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1098;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    /* RTL: drawer slides from right */
    right: 0;
    width: min(300px, 85vw);
    height: 100dvh; /* dvh = dynamic viewport height (handles mobile bars) */
    max-height: 100vh;
    background: rgba(7, 10, 15, 0.99);
    border-left: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 1099;
    /* Slide out to the right */
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
}

/* Mobile Nav: Logo Area */
.mobile-nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 8px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.mobile-logo-sub {
    font-size: 0.78rem;
    color: var(--text-gray);
    margin-top: 8px;
    font-weight: 600;
}

/* Mobile Nav: Links */
.mobile-menu {
    flex: 1;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-gray);
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary-blue);
    padding-right: 14px;
}

/* Mobile Nav: Action Buttons */
.mobile-actions {
    padding: 16px 20px 28px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   SECTION 10: HERO SECTION — DEFINITIVE REBUILD
   Desktop: 2-column grid | Mobile: single column
   ============================================================ */
.hero-section {
    /* No padding-top needed — body has padding-top: var(--header-height) */
    padding-top: 60px;
    padding-bottom: 80px;
    position: relative;
    /* overflow:hidden clips floating cards but still needed for decorations */
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

/* Hero 2-column grid */
.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

/* Right Column: Text */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0; /* prevent grid blowout */
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 136, 255, 0.1);
    border: 1px solid rgba(30, 136, 255, 0.2);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-blue);
    max-width: 100%;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: pulseGlow 2s infinite;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.75;
    max-width: 540px;
    overflow-wrap: break-word;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-ctas .btn {
    flex: 0 1 auto;
}

.hero-trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-gray);
    min-width: 0;
}

.hero-trust-item svg {
    color: var(--accent-orange);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Left Column: Video */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    /* Contain floating cards */
    overflow: visible;
}

.video-glow-effect {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(30, 136, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* Video Frame Container */
.video-frame-container {
    width: 100%;
    max-width: 520px;
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(30, 136, 255, 0.08);
    background: var(--bg-navy-metal);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

/* Scan line animation inside video frame */
.video-frame-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    box-shadow: 0 0 10px var(--primary-blue);
    opacity: 0.7;
    animation: diagnosticScan 4s linear infinite;
    pointer-events: none;
    z-index: 10;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(7, 10, 15, 0.85);
    border: 1px solid var(--primary-blue);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    z-index: 10;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-label-dot {
    width: 6px;
    height: 6px;
    background-color: #25D366;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
    flex-shrink: 0;
}

/* ============================================================
   SECTION 11: FLOATING CARDS
   Desktop only — MUST stay within hero-visual container bounds
   ============================================================ */
.floating-card {
    position: absolute;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    /* MAX WIDTH must not push outside viewport — use safe values */
    max-width: 200px;
    width: max-content;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(30, 136, 255, 0.1);
    border: 1px solid rgba(30, 136, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.floating-card-text h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.floating-card-text p {
    font-size: 0.68rem;
    color: var(--text-gray);
    margin: 2px 0 0;
}

/* SAFE floating card coordinates — within container */
.fc-1 {
    top: -16px;
    right: -10px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 16px;
    left: -16px;
    animation-delay: 2s;
}

.fc-3 {
    bottom: -28px;
    right: 32px;
    animation-delay: 4s;
}

/* ============================================================
   SECTION 12: TRUST STRIP SECTION
   ============================================================ */
.trust-strip {
    position: relative;
    z-index: 10;
    padding: 60px 0 80px;
}

.trust-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trust-title::before,
.trust-title::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.trust-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.trust-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(30, 136, 255, 0.05);
    border: 1px solid rgba(30, 136, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.trust-card:hover .trust-card-icon {
    background: var(--accent-orange);
    color: #FFF;
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 138, 31, 0.3);
    transform: scale(1.05);
}

.trust-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-white);
}

.trust-card p {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ============================================================
   SECTION 13: SERVICE INTRO / SECTION HEADERS
   ============================================================ */
.service-intro {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.section-badge {
    background: rgba(255, 138, 31, 0.1);
    border: 1px solid rgba(255, 138, 31, 0.2);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-orange);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    overflow-wrap: break-word;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.65;
    overflow-wrap: break-word;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-intro-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.service-intro-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, rgba(30, 136, 255, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-intro-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.service-intro-card:hover .service-icon-box {
    background: var(--primary-blue-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(30, 136, 255, 0.2);
    transform: rotate(-3deg);
}

.service-intro-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-intro-card p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.service-card-link svg {
    transition: var(--transition-fast);
    transform: scaleX(-1);
}

.service-intro-card:hover .service-card-link {
    color: var(--accent-orange);
}

.service-intro-card:hover .service-card-link svg {
    transform: scaleX(-1) translateX(4px);
}

/* ============================================================
   SECTION 14: STICKY CTA — DESKTOP & MOBILE
   ============================================================ */

/* Desktop Floating Buttons — positioned logically for RTL */
.desktop-floating-cta {
    position: fixed;
    bottom: 30px;
    /* RTL: use inset-inline-start for left side visually = end in RTL */
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    flex-shrink: 0;
}

.floating-btn-whatsapp {
    background: #25D366;
    color: #FFF;
}
.floating-btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.floating-btn-call {
    background: var(--primary-blue);
    color: #FFF;
}
.floating-btn-call:hover {
    background: #157AE5;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(30, 136, 255, 0.4);
}

.floating-btn-schedule {
    background: var(--accent-orange);
    color: #FFF;
}
.floating-btn-schedule:hover {
    background: #E07817;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 138, 31, 0.4);
}

/* Mobile Sticky CTA Bottom Bar */
.mobile-sticky-cta {
    display: none; /* shown via media query */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(7, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    z-index: 990;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-sticky-cta.hidden-cta {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}

.mobile-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 52px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-white);
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
    min-width: 0;
    overflow: hidden;
    font-family: var(--font-cairo);
}

.mobile-cta-btn:active {
    transform: scale(0.96);
}

.mobile-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-cta-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mobile-cta-btn.m-call {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}
.mobile-cta-btn.m-whatsapp {
    background: #25D366;
    border-color: #25D366;
}
.mobile-cta-btn.m-broken {
    background: #c62828;
    border-color: #c62828;
}
.mobile-cta-btn.m-towing {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* ============================================================
   SECTION 15: ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 138, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); }
}

@keyframes diagnosticScan {
    0%   { top: 0; }
    50%  { top: calc(100% - 4px); }
    100% { top: 0; }
}

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

@keyframes spinRing {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes roadFlow {
    0%   { left: -60px; }
    100% { left: 100%; }
}

@keyframes flashIcon {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 2px var(--accent-orange)); }
    50%       { opacity: 0.4; filter: none; }
}

@keyframes fadeReveal {
    0%   { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulseBlink {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

@keyframes scrollTags {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 8px)); }
}

@keyframes laserVertical {
    0%   { top: 0%; }
    50%  { top: 85%; }
    100% { top: 0%; }
}

/* Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    .video-frame-container::after { display: none; }
    .floating-card { animation: none !important; }
}

/* ============================================================
   SECTION 16: ADDITIONAL SECTIONS STYLING (PHASE 2+)
   ============================================================ */

/* Full Services Section */
.full-services {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-dark);
}

.full-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::after { opacity: 1; }
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(30, 136, 255, 0.08);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(30, 136, 255, 0.05);
    border: 1px solid rgba(30, 136, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: #FFF;
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue-glow);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    overflow-wrap: break-word;
}

.service-card p {
    font-size: 0.78rem;
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
    overflow-wrap: break-word;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-cairo);
}

.service-card:hover .service-card-btn {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #FFF;
}

/* Computer Diagnosis Section */
.diagnostic-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.diagnostic-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.hud-container {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(30, 136, 255, 0.2);
    background: rgba(13, 23, 36, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(30, 136, 255, 0.15);
}

.hud-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, rgba(30, 136, 255, 0.3), rgba(30, 136, 255, 0));
    border-bottom: 2px solid var(--primary-blue);
    box-shadow: 0 4px 15px var(--primary-blue-glow);
    z-index: 10;
    pointer-events: none;
    animation: diagnosticScan 6s linear infinite;
}

.hud-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 136, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 136, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.hud-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-blue);
    z-index: 5;
}
.hc-tr { top: 12px; right: 12px; border-bottom: none; border-left: none; }
.hc-tl { top: 12px; left: 12px; border-bottom: none; border-right: none; }
.hc-br { bottom: 12px; right: 12px; border-top: none; border-left: none; }
.hc-bl { bottom: 12px; left: 12px; border-top: none; border-right: none; }

.hud-header-bar {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(30, 136, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    background: rgba(7, 10, 15, 0.6);
}

.hud-title-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-status-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
    flex-shrink: 0;
}

.hud-system-time {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-family: monospace;
}

.hud-screen-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    z-index: 2;
}

.hud-car-graphic {
    width: 80%;
    max-width: 340px;
    height: auto;
    opacity: 0.85;
    color: var(--primary-blue);
    filter: drop-shadow(0 0 15px var(--primary-blue-glow));
}

.hud-radial-scanner {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px dashed var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: spinRing 20s linear infinite;
}

.hud-radial-scanner-outer {
    position: absolute;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(30, 136, 255, 0.15);
    border-radius: 50%;
    opacity: 0.2;
    animation: spinRingInverse 25s linear infinite;
}

.hud-parameters-panel {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    z-index: 5;
    background: rgba(7, 10, 15, 0.8);
    border: 1px solid rgba(30, 136, 255, 0.15);
    padding: 10px;
    border-radius: 10px;
}

.hud-parameter-item {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.hud-parameter-item:last-child { border-left: none; }

.hud-parameter-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-orange);
    font-family: monospace;
}

.hud-parameter-lbl {
    font-size: 0.62rem;
    color: var(--text-gray);
    margin-top: 2px;
}

.diag-code-badge {
    position: absolute;
    padding: 4px 8px;
    background: rgba(30, 136, 255, 0.08);
    border: 1px solid rgba(30, 136, 255, 0.25);
    border-radius: 4px;
    color: var(--primary-blue);
    font-family: monospace;
    font-size: 0.68rem;
    opacity: 0.7;
    z-index: 4;
}

.dcb-1 { top: 35%; right: 10%; }
.dcb-2 { top: 20%; left: 15%; }
.dcb-3 { bottom: 35%; left: 8%; }
.dcb-4 { bottom: 45%; right: 15%; }

.diagnostic-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(30, 136, 255, 0.08);
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-details h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.step-details p {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-top: 4px;
    line-height: 1.5;
}

.diagnostic-callout {
    padding: 14px 18px;
    background: rgba(255, 138, 31, 0.03);
    border-right: 4px solid var(--accent-orange);
    border-radius: 4px 12px 12px 4px;
    margin-top: 8px;
}

.diagnostic-callout p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.diagnostic-callout p strong {
    color: var(--accent-orange);
}

/* Problems Section */
.problems-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-navy-metal);
}

.problems-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: flex-start;
}

.problems-board-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problems-board-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.problems-board-title svg {
    animation: flashIcon 2s infinite;
}

.problems-grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.problem-tab-btn {
    padding: 14px 18px;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-gray);
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-cairo);
}

.problem-tab-btn svg {
    color: var(--text-gray);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.problem-tab-btn:hover {
    background: rgba(255, 138, 31, 0.05);
    border-color: rgba(255, 138, 31, 0.2);
    color: var(--text-white);
}
.problem-tab-btn:hover svg { color: var(--accent-orange); }

.problem-tab-btn.active {
    background: rgba(255, 138, 31, 0.08);
    border-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 138, 31, 0.15);
}
.problem-tab-btn.active svg {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.problem-card-wrapper {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.problem-detail-card {
    display: none;
    padding: 36px;
    animation: fadeReveal 0.5s ease forwards;
}

.problem-detail-card.active {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.problem-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
}

.problem-indicator-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 138, 31, 0.08);
    border: 1px solid rgba(255, 138, 31, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.problem-indicator-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.problem-indicator-text span {
    font-size: 0.72rem;
    color: var(--accent-orange);
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.problem-detail-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.problem-detail-lbl {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.problem-detail-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.problem-detail-caution {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-gray);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.problem-detail-caution svg {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-detail-card .btn {
    margin-top: 8px;
    align-self: flex-start;
}

.mobile-problems-accordion {
    display: none;
    width: 100%;
}

/* Mobile Workshop & Tow Section */
.mobile-support-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.road-backdrop-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(30, 136, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.road-backdrop-overlay::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(30, 136, 255, 0.06) 1.5px, transparent 1.5px),
        radial-gradient(rgba(255, 138, 31, 0.03) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.support-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    overflow: hidden;
}

.support-panel-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.support-panel-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(30, 136, 255, 0.06);
    border: 1.5px solid rgba(30, 136, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.support-panel:hover .support-panel-icon {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #FFF;
    box-shadow: 0 0 20px rgba(255, 138, 31, 0.35);
    transform: translateY(-2px);
}

.support-panel-title h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
}

.support-panel-title span {
    font-size: 0.78rem;
    color: var(--text-gray);
    margin-top: 4px;
    display: block;
}

.support-panel p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.support-points-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.support-point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-white);
}

.support-point-item svg {
    color: var(--accent-orange);
    flex-shrink: 0;
}

.support-panel .btn {
    align-self: flex-start;
    margin-top: 10px;
}

.support-route-path {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary-blue-light), transparent);
}

.support-route-path::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    box-shadow: 0 0 10px var(--primary-blue);
    animation: roadFlow 4s linear infinite;
}

.sp-tow .support-route-path::after {
    animation: roadFlow 5s linear infinite;
    animation-delay: 2s;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    box-shadow: 0 0 10px var(--accent-orange);
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-navy-metal);
}

.timeline-container {
    position: relative;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.timeline-road-line {
    position: absolute;
    top: 76px;
    left: 5%;
    width: 90%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.timeline-road-active {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(270deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    box-shadow: 0 0 8px var(--primary-blue);
    width: 0%;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    z-index: 2;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 8px;
}

.timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-navy-metal);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 22px;
    transition: var(--transition-smooth);
}

.timeline-node.active .timeline-dot {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 138, 31, 0.3);
    transform: scale(1.1);
}

.timeline-node.completed .timeline-dot {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: #FFF;
    box-shadow: 0 0 12px var(--primary-blue-glow);
}

.timeline-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.timeline-info p {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.timeline-footer-cta {
    margin-top: 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Mid CTA Section */
.mid-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.mid-cta-platform {
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(30, 136, 255, 0.15);
    background: linear-gradient(135deg, rgba(13, 23, 36, 0.9) 0%, rgba(7, 10, 15, 0.95) 100%);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(30, 136, 255, 0.05);
}

.mid-cta-platform::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 136, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -50px;
    left: -50px;
    pointer-events: none;
}

.mid-cta-platform::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 138, 31, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    pointer-events: none;
}

.mid-cta-header {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 5;
}

.mid-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    overflow-wrap: break-word;
}

.mid-cta-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.mid-cta-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 860px;
    z-index: 5;
}

.mid-cta-buttons-grid .btn {
    padding: 13px 16px;
    font-size: 0.88rem;
    justify-content: center;
}

.cta-deco-ring {
    position: absolute;
    border: 1px dashed rgba(30, 136, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.cdr-1 { width: 280px; height: 280px; top: 10%; right: 5%; animation: spinRing 40s linear infinite; }
.cdr-2 { width: 480px; height: 480px; bottom: -10%; left: -5%; animation: spinRingInverse 50s linear infinite; }

/* Car Types Section */
.car-types-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-navy-metal) 100%);
}

.car-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.car-card {
    position: relative;
    padding: 36px 26px;
    border-radius: 20px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-card:hover {
    background: var(--glass-card-hover);
    transform: translateY(-6px);
    border-color: rgba(30, 136, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(30, 136, 255, 0.1);
}

.car-icon-wrapper {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(30, 136, 255, 0.05);
    border: 1px solid rgba(30, 136, 255, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition-smooth);
}

.car-card:hover .car-icon-wrapper {
    background: rgba(255, 138, 31, 0.1);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 138, 31, 0.2);
}

.car-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-white);
}

.car-card-text {
    font-size: 0.87rem;
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
}

.car-card-hover-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.car-card:hover .car-card-hover-border {
    width: 60%;
}

.car-types-footer {
    text-align: center;
    margin-top: 48px;
}

/* Trust Metrics Section */
.trust-metrics-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.metrics-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(30, 136, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 138, 31, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.metric-card {
    padding: 36px 26px;
    border-radius: 20px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    background: var(--glass-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 138, 31, 0.2);
}

.metric-num-wrapper {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: sans-serif;
}

.metric-card:hover .metric-num-wrapper {
    background: linear-gradient(135deg, var(--text-white) 30%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-icon {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-card:hover .stat-label-icon {
    background: linear-gradient(135deg, var(--text-white) 30%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}

.metric-sub {
    font-size: 0.82rem;
    color: var(--text-gray);
}

/* Equipped Facility Section */
.equipped-facility-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-navy-metal) 0%, var(--bg-dark) 100%);
    position: relative;
}

.facility-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.hud-wrapper { width: 100%; }

.hud-panel {
    padding: 28px;
    border-radius: 24px;
    background: rgba(13, 23, 36, 0.6);
    border: 1px solid rgba(30, 136, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(30, 136, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.hud-scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 18px;
}

.hud-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 2px;
    font-family: monospace;
}

.hud-status-blink {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 10px #25D366;
    animation: pulseBlink 1.5s infinite;
}

.hud-visual-display {
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-scanner-wireframe {
    width: 70%;
    height: 80px;
    position: relative;
}

.wireframe-car-body {
    width: 100%;
    height: 35px;
    background: transparent;
    border: 1.5px solid rgba(30, 136, 255, 0.4);
    border-radius: 35px 25px 5px 5px;
    position: absolute;
    bottom: 20px;
    left: 0;
}

.wireframe-car-body::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 30px;
    width: 45%;
    height: 15px;
    border: 1.5px solid rgba(30, 136, 255, 0.4);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    transform: skewX(-20deg);
}

.wireframe-wheel {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(30, 136, 255, 0.5);
    background: var(--bg-dark);
    position: absolute;
    bottom: 12px;
}

.wireframe-wheel.w-1 { right: 35px; }
.wireframe-wheel.w-2 { left: 35px; }

.laser-scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-orange);
    box-shadow: 0 0 12px var(--accent-orange), 0 0 25px var(--accent-orange);
    animation: diagnosticScan 3s infinite linear;
}

.hud-data-overlays {
    position: absolute;
    inset: 10px;
    pointer-events: none;
}

.hud-tag {
    position: absolute;
    font-size: 0.62rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(13, 23, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 4px;
}

.hud-tag.ht-1 { top: 10px; right: 10px; border-color: rgba(37, 211, 102, 0.3); color: #25D366; }
.hud-tag.ht-2 { top: 10px; left: 10px; border-color: rgba(30, 136, 255, 0.3); color: var(--primary-blue); }
.hud-tag.ht-3 { bottom: 10px; right: 10px; }
.hud-tag.ht-4 { bottom: 10px; left: 10px; }

.hud-stats-readout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hud-stat-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hud-stat-label {
    font-size: 0.62rem;
    color: var(--text-gray);
    font-family: monospace;
}

.hud-stat-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: monospace;
}

.facility-info-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.facility-pillar {
    display: flex;
    gap: 20px;
    padding: 22px;
    border-radius: 16px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.facility-pillar:hover {
    background: var(--glass-card-hover);
    border-color: rgba(30, 136, 255, 0.2);
    transform: translateX(-4px);
}

.pillar-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: rgba(30, 136, 255, 0.2);
    font-family: monospace;
    line-height: 1;
    flex-shrink: 0;
}

.facility-pillar:hover .pillar-num { color: var(--accent-orange); }

.pillar-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}

.pillar-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.facility-tags-scroller {
    margin-top: 56px;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.facility-tags-scroller::before,
.facility-tags-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.facility-tags-scroller::before {
    right: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.facility-tags-scroller::after {
    left: 0;
    background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

.facility-tags-slide {
    display: flex;
    gap: 14px;
    white-space: nowrap;
    animation: scrollTags 35s infinite linear;
    width: max-content;
}

.facility-glow-tag {
    padding: 9px 18px;
    border-radius: 50px;
    background: rgba(30, 136, 255, 0.03);
    border: 1px solid rgba(30, 136, 255, 0.1);
    color: var(--primary-blue);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.facility-glow-tag:hover {
    background: rgba(255, 138, 31, 0.05);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 138, 31, 0.15);
}

/* Repair Journey Section */
.repair-journey-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.journey-compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    margin-top: 48px;
}

.journey-panel {
    padding: 38px;
    border-radius: 24px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.journey-panel.jp-before {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.journey-panel.jp-after {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.jp-header { margin-bottom: 28px; }

.jp-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.warning-badge {
    background: rgba(255, 138, 31, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 138, 31, 0.2);
}

.success-badge {
    background: rgba(30, 136, 255, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(30, 136, 255, 0.2);
}

.jp-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.jp-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.jp-list-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.item-icon {
    font-size: 1.1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.warning-item .item-icon { color: var(--accent-orange); }
.success-item .item-icon { color: var(--primary-blue); }

.jp-list-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-white);
}

.jp-list-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.journey-divider {
    width: 56px;
    background: linear-gradient(180deg, rgba(30,136,255,0) 0%, rgba(30,136,255,0.15) 30%, rgba(255,138,31,0.15) 70%, rgba(255,138,31,0) 100%);
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-scan-beam {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--primary-blue), var(--accent-orange), transparent);
    box-shadow: 0 0 10px var(--primary-blue), 0 0 15px var(--accent-orange);
    animation: laserVertical 4s infinite linear;
}

/* Client Reviews Section */
.client-reviews-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-navy-metal) 100%);
    position: relative;
}

.reviews-slider-container {
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
}

.reviews-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.review-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.review-card {
    padding: 36px;
    border-radius: 24px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    max-width: 720px;
    margin: 0 auto;
    transition: var(--transition-smooth);
    position: relative;
}

.review-stars {
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.review-text {
    font-size: 1.1rem;
    color: var(--text-white);
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 26px;
    overflow-wrap: break-word;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 136, 255, 0.1);
    border: 1.5px solid var(--primary-blue);
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.82rem;
    color: var(--text-gray);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.reviews-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.reviews-dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

/* Diagnosis Clarity Section */
.diagnosis-clarity-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.clarity-checklist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.clarity-item {
    padding: 28px;
    border-radius: 20px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.clarity-item:hover {
    background: var(--glass-card-hover);
    border-color: rgba(37, 211, 102, 0.2);
    transform: translateY(-4px);
}

.clarity-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    flex-shrink: 0;
}

.clarity-item:hover .clarity-icon {
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.3);
}

.clarity-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

.clarity-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    overflow-wrap: break-word;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-navy-metal) 100%);
    position: relative;
}

.faq-accordion-container {
    max-width: 780px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: 16px;
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(30, 136, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.faq-header {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-cairo);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    gap: 12px;
}

.faq-icon-toggle {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 14px;
}

.faq-icon-toggle::before,
.faq-icon-toggle::after {
    content: '';
    position: absolute;
    background: var(--text-white);
    transition: var(--transition-smooth);
}

.faq-icon-toggle::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.faq-icon-toggle::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.faq-item.active .faq-icon-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon-toggle::before {
    background: var(--accent-orange);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 28px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.65;
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.final-cta-deco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 138, 31, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-card {
    padding: 56px 36px;
    border-radius: 28px;
    background: rgba(13, 23, 36, 0.8);
    border: 1px solid rgba(255, 138, 31, 0.25);
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 138, 31, 0.03);
}

.final-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-white);
    overflow-wrap: break-word;
}

.final-cta-desc {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* Professional Footer */
.site-footer {
    background: #05070a;
    border-top: 1px solid rgba(255, 138, 31, 0.15);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-deco-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 150px;
    background: radial-gradient(circle, rgba(30, 136, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--text-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 22px;
    overflow-wrap: break-word;
}

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

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.social-icon:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 255, 0.3);
}

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

.footer-links ul a {
    color: var(--text-gray);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--primary-blue);
    padding-right: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.contact-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item span,
.contact-item a {
    font-size: 0.87rem;
    color: var(--text-gray);
    line-height: 1.5;
    transition: var(--transition-fast);
}

.contact-item a:hover { color: var(--primary-blue); }

.footer-bottom {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   SECTION 17: RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- LARGE SCREENS (1200px and below) ---- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: clamp(1.9rem, 3vw, 2.8rem);
    }

    .nav-menu { gap: 12px; }
    .nav-link { font-size: 0.82rem; }
    .logo-desktop { height: 34px; }
    .header-actions .btn-whatsapp { display: none; }
    .header-actions .btn { padding: 8px 12px; font-size: 0.8rem; min-height: 36px; }

    /* Floating cards hidden on narrow desktop to avoid overflow */
    .floating-card { display: none; }

    .full-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .car-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clarity-checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mid-cta-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
    }
}

/* ---- TABLET (991px and below) ---- */
@media (max-width: 991px) {
    /* Hide desktop nav & header actions, show burger */
    .desktop-nav,
    .header-actions {
        display: none;
    }

    .burger-menu { display: flex; }

    /* Hero: switch to single column */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust-list {
        max-width: 460px;
        margin-inline: auto;
        justify-content: center;
    }

    .hero-desc {
        max-width: 480px;
        margin-inline: auto;
    }

    /* Trust grid: 3 columns on tablet */
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Services: 2 columns on tablet */
    .services-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Full services: 2 columns */
    .full-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Diagnostic: stack */
    .diagnostic-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hud-container {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    /* Problems: stack, show accordion */
    .problems-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .problems-grid-list { display: none; }
    .problem-card-wrapper { display: none; }
    .mobile-problems-accordion { display: block; }

    /* Accordion Styles */
    .accordion-item {
        border-radius: 12px;
        border: 1px solid var(--glass-border);
        background: var(--glass-card);
        margin-bottom: 10px;
        overflow: hidden;
        transition: var(--transition-smooth);
    }

    .accordion-header {
        width: 100%;
        padding: 16px 20px;
        background: transparent;
        border: none;
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        color: var(--text-white);
        font-weight: 700;
        font-size: 0.95rem;
        font-family: var(--font-cairo);
        transition: var(--transition-fast);
        gap: 10px;
    }

    .accordion-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .accordion-header-left svg { color: var(--accent-orange); }

    .accordion-arrow {
        color: var(--text-gray);
        transition: var(--transition-smooth);
        flex-shrink: 0;
    }

    .accordion-item.active {
        border-color: var(--accent-orange);
        box-shadow: 0 4px 15px rgba(255, 138, 31, 0.08);
    }

    .accordion-item.active .accordion-arrow {
        transform: rotate(180deg);
        color: var(--accent-orange);
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 0 20px;
    }

    .accordion-item.active .accordion-content {
        max-height: 500px;
        padding-bottom: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 14px;
    }

    .accordion-content-inner {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .accordion-content-inner p {
        font-size: 0.88rem;
        color: var(--text-gray);
        line-height: 1.6;
    }

    .accordion-content-inner .btn {
        align-self: flex-start;
        padding: 9px 16px;
        font-size: 0.8rem;
    }

    /* Support: stack panels */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .support-panel { padding: 28px; }

    /* Timeline: vertical */
    .timeline-container { padding: 18px 0; }

    .timeline-road-line {
        top: 0;
        left: auto;
        right: 26px;
        width: 3px;
        height: calc(100% - 36px);
    }

    .timeline-road-active {
        width: 100%;
        height: 0%;
        transition: height 2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .timeline-node {
        flex-direction: row;
        align-items: flex-start;
        text-align: right;
        padding: 0;
    }

    .timeline-dot {
        margin-bottom: 0;
        margin-left: 18px;
        flex-shrink: 0;
    }

    .timeline-info { padding-top: 2px; }

    /* Journey: stack */
    .journey-compare-grid { grid-template-columns: 1fr; }

    .journey-panel.jp-before {
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        border-left: 1px solid var(--glass-border);
    }

    .journey-panel.jp-after {
        border-radius: 0 0 24px 24px;
        border-top: none;
        border-right: 1px solid var(--glass-border);
    }

    .journey-divider { display: none; }

    /* Facility: stack */
    .facility-split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Footer: 2 columns */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    /* Show mobile sticky CTA, hide desktop floating */
    .desktop-floating-cta { display: none; }
    .mobile-sticky-cta { display: block; }

    /* Body bottom padding for mobile sticky CTA */
    body { padding-bottom: 76px; }

    /* Reviews */
    .review-card { padding: 28px; }
    .review-text { font-size: 0.98rem; }
}

/* ---- MOBILE (767px and below) ---- */
@media (max-width: 767px) {
    html { font-size: 15px; }

    /* Header height adjustment for mobile */
    :root {
        --header-height: 60px;
    }

    body {
        padding-top: var(--header-height);
        padding-bottom: 78px;
    }

    /* Header compact */
    .site-header { height: var(--header-height); }

    .logo-desktop { display: none; }
    .logo-mobile { display: block; }

    .header-inner { gap: 12px; }

    /* Make sure desktop elements are hidden */
    .desktop-nav,
    .header-actions {
        display: none !important;
    }

    /* Hero: single column, comfortable spacing */
    .hero-section,
    .hero {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 40px 0 32px;
        overflow: hidden;
    }

    .hero-grid,
    .hero-wrapper,
    .hero-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-media,
    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        white-space: normal;
        font-size: 13px;
        align-self: flex-start;
    }

    .hero h1,
    .hero-title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.18;
        text-align: right;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        margin: 16px 0;
    }

    .hero p,
    .hero-desc {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.8;
        text-align: right;
        white-space: normal;
        margin: 0;
    }

    .hero-actions,
    .hero-ctas {
        width: 100%;
        max-width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px;
        margin-top: 22px;
    }

    .hero-actions a,
    .hero-actions button,
    .hero-ctas a,
    .hero-ctas button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 14px 16px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        font-size: 0.95rem;
    }

    /* Video frame: full width */
    .hero-video-frame,
    .hero-media-frame,
    .hero-visual-frame,
    .video-frame-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
        border-radius: 22px;
        overflow: hidden;
        position: relative;
        margin: 0;
    }

    .hero-video-frame video,
    .hero-video-frame img,
    .hero-media-frame video,
    .hero-media-frame img,
    .hero-visual-frame video,
    .hero-visual-frame img,
    .video-frame-container video,
    .video-frame-container img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Hide all floating items that break viewport width */
    .floating-card,
    .hero-floating-card,
    .hero-orbit,
    .hero-particles,
    .hero-decoration,
    .hero-scan-extra,
    .absolute-card,
    .desktop-only-decoration,
    .video-glow-effect {
        display: none !important;
    }

    /* Trust list: single column */
    .hero-trust-list {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-inline: 0;
    }

    /* Trust strip */
    .trust-strip { padding: 40px 0 56px; }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .trust-card-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .trust-card h3 { font-size: 0.9rem; }
    .trust-card p { font-size: 0.72rem; }

    /* Service sections */
    .service-intro,
    .full-services,
    .diagnostic-section,
    .problems-section,
    .mobile-support-section,
    .how-it-works-section,
    .mid-cta-section,
    .car-types-section,
    .trust-metrics-section,
    .equipped-facility-section,
    .repair-journey-section,
    .client-reviews-section,
    .diagnosis-clarity-section,
    .faq-section,
    .final-cta-section {
        padding: 56px 0;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-intro-card { padding: 22px; }
    .service-icon-box { margin-bottom: 14px; }

    /* Full services grid: single column */
    .full-services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Mid CTA */
    .mid-cta-platform {
        padding: 36px 18px;
        border-radius: 18px;
    }

    .mid-cta-buttons-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }

    /* Car types grid */
    .car-types-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 36px;
    }

    /* Metrics grid */
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-top: 36px;
    }

    /* Clarity grid */
    .clarity-checklist-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 36px;
    }

    /* HUD panel adjustments */
    .hud-panel { padding: 18px; }
    .hud-visual-display { height: 170px; }
    .hud-stats-readout {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Final CTA */
    .final-cta-card { padding: 40px 20px; }
    .final-cta-buttons .btn { width: 100%; }

    /* Footer: single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-bottom { margin-top: 36px; }

    /* FAQ */
    .faq-header {
        padding: 18px 20px;
        font-size: 0.92rem;
    }

    .faq-answer { padding: 0 20px 18px; }

    /* Mobile sticky CTA */
    .mobile-sticky-cta {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1500;
        display: block;
        padding: 8px;
        background: rgba(7, 10, 15, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    }

    .mobile-cta-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px;
        width: 100%;
    }

    .mobile-cta-btn {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        border-radius: 8px;
        font-family: var(--font-cairo);
        gap: 3px;
    }

    .mobile-cta-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* ---- SMALL MOBILE (430px and below) ---- */
@media (max-width: 430px) {
    html { font-size: 14px; }

    .hero-ctas {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .hero-ctas .btn {
        font-size: 0.85rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- VERY SMALL (360px and below) ---- */
@media (max-width: 360px) {
    .site-container,
    .container {
        padding-inline: 14px;
    }

    .mobile-cta-btn {
        font-size: 10px;
        gap: 2px;
    }

    .mobile-cta-btn svg {
        width: 15px;
        height: 15px;
    }
}

/* ============================================================
   SECTION 18: UTILITY OVERRIDES & EDGE CASES
   ============================================================ */

/* Ensure no fixed widths break anything */
.trust-card p { display: block; }

/* Desktop-only show classes */
@media (max-width: 991px) {
    .desktop-only { display: none !important; }
}

@media (min-width: 992px) {
    .mobile-only { display: none !important; }
}

/* Safe overflow guard for all sections */
section { overflow-x: clip; }

/* Tablet: 768px - 820px specific fixes */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-layout {
        max-width: 640px;
        margin-inline: auto;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
