:root {
    --primary-color: #00d4ff;
    /* Cyber Cyan */
    --secondary-color: #007bff;
    /* Deep Blue */
    --accent-color: #ff0055;
    /* Tech Red/Pink for specific highlights if needed */
    --bg-dark: #0a0f1c;
    /* Deep Navy Black */
    --bg-darker: #05080f;
    /* Even Darker */
    --text-light: #ffffff;
    --text-grey: #b0b8c4;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-accent {
    background: var(--primary-color);
    color: #000;
    width: 100%;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.header-cta {
    display: block;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    /* Background Image will be set inline or via JS ideally, but falling back to class */
    background: url('../assets/hero_car_workshop_cinematic.png') no-repeat center center/cover;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.7) 0%, rgba(10, 15, 28, 0.4) 50%, rgba(10, 15, 28, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-grey);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Quick Request Bar */
.quick-request-bar {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1100px;
    background: rgba(20, 25, 40, 0.95);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

#quick-form {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 180px;
}

.quick-request-bar input,
.quick-request-bar select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-body);
}

.quick-request-bar select {
    color: #b0b8c4;
    /* Placeholder color style */
}

.quick-request-bar select:focus,
.quick-request-bar input:focus {
    border-color: var(--primary-color);
    outline: none;
    color: #fff;
}

option {
    background: var(--bg-dark);
    color: #fff;
}

.quick-request-bar button {
    flex: 0 0 auto;
    width: auto;
    min-width: 150px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto;
}

/* Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.brand-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition);
}

.brand-card:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.brand-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.brand-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.brand-card p {
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #0e1422;
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-box i {
    color: #fff;
}

/* Why Us Section */
.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: 2.5rem;
}

.why-text .line-left {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px 0 30px;
}

.features-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--primary-color);
    margin-left: 15px;
    font-size: 1.2rem;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-item p {
    color: var(--text-grey);
    margin-top: 5px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    gap: 30px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 50px;
    left: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    display: none;
    /* Hidden on mobile, shown on desktop typically */
}

@media (min-width: 992px) {
    .process-steps::before {
        display: block;
    }
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.step-item:hover .step-num {
    transform: scale(1.1);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.step-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

/* Local SEO Section */
.seo-box {
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-grey);
}

.seo-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.seo-box strong {
    color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.contact-info {
    background: #111;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-info ul {
    margin: 40px 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info li i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--primary-color);
}

.contact-buttons {
    display: flex;
    gap: 15px;
}

.contact-map iframe {
    height: 100%;
    min-height: 400px;
    filter: grayscale(100%) invert(90%) contrast(83%);
    /* Custom Dark Map Style */
}

/* Footer */
footer {
    padding: 40px 0;
    background: #020408;
    border-top: 1px solid var(--glass-border);
    color: #777;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* RTL means this is visually right, which is standard */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.6);
}

.phone {
    background-color: var(--secondary-color);
}

.phone:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(0, 123, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .container {
        width: 95%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .why-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero {
        height: auto;
        padding-top: 150px;
        padding-bottom: 120px;
    }

    /* Adjusted padding */

    /* Make quick bar relative on smaller screens but keep it centered */
    .quick-request-bar {
        position: relative;
        bottom: auto;
        left: 0;
        right: 0;
        margin: 20px auto 0;
        width: 90%;
        transform: translateY(20px);
        /* Add slight overlap feel or spacing */
    }
}

@media (max-width: 768px) {
    .quick-request-bar {
        width: 100%;
        padding: 20px 15px;
        transform: none;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    #quick-form {
        flex-direction: column;
        gap: 15px;
    }

    .quick-request-bar button {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .contact-info {
        padding: 40px 20px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 30px;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #0a0f1c;
    /* Solid dark bg */
    z-index: 1001;
    padding: 60px 30px;
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul li {
    margin-bottom: 25px;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 700;
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Logo Slider */
.logo-slider-section {
    background: var(--bg-dark);
    padding: 50px 0;
    overflow: hidden;
}

.logo-slider {
    width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.logo-track {
    display: flex;
    width: calc(250px * 12);
    /* 250px * number of slides */
    animation: scroll 30s linear infinite;
}

.logo-slide {
    width: 250px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    width: 100%;
    filter: grayscale(100%) brightness(0.8);
    transition: var(--transition);
    max-height: 100px;
    object-fit: contain;
}

.logo-slide img:hover {
    filter: grayscale(0) brightness(1.2);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 6));
    }
}