/* Global Styles */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --secondary-color: #f39c12;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: #fff;
    overflow-x: hidden;
    position: relative;
    font-size: 17px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* Brand CTA button (cleaner, professional pills inside brand cards) */
.brand-cta {
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 1rem;
    display: inline-block;
    margin-top: 18px;
    text-align: center;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

/* Filled primary variant (keeps contrast but subtle shadow) */
.brand-cta.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.08);
    font-weight: 700;
}

/* Center brand CTA inside the card */
.brand-card .brand-cta {
    display: block;
    width: fit-content;
    margin: 22px auto 0;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--secondary-color);
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(243, 156, 18, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
    }
}

/* Header */
#main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-dark);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
}

.nav-btn::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 50, 100, 0.7), rgba(0, 50, 100, 0.6)), url('images/technician.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
}

#hero h2 {
    font-size: 4rem;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brands Banner */
.brands-banner {
    background: white;
    padding: 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: -60px;
    border-radius: 15px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.brands-banner p {
    font-weight: 800;
    color: #999;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.brand-names {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    font-weight: 800;
    color: #ccc;
    font-size: 1.8rem;
    text-transform: uppercase;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 280px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.service-card:hover .service-img img {
    transform: scale(1.15);
}

.service-text {
    padding: 35px;
    text-align: center;
}

.service-list {
    text-align: right;
    margin: 25px 0;
    color: #666;
}

.service-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.service-list i {
    color: var(--secondary-color);
    margin-left: 15px;
}

/* Timeline "How We Work" */
.timeline-section {
    position: relative;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    position: relative;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.timeline-step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Stats Counter */
.stats-section {
    background: var(--primary-dark);
    color: white;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f0f8ff;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
    background: white;
    color: #666;
}

.accordion-item.active .accordion-content {
    padding: 20px 30px;
    max-height: 500px;
}

.accordion-item.active .accordion-header h3 {
    color: var(--primary-color);
}

/* Brands Grid Detailed */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.brand-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 6px solid var(--primary-color);
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.brand-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-card p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Footer & SEO */
.seo-text-section {
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.seo-paragraph {
    font-size: 1.1rem;
    line-height: 2;
}

#contact {
    background: linear-gradient(rgba(0, 50, 100, 0.95), rgba(0, 50, 100, 0.98)), url('images/van.png');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0 50px;
}

#contact h2 {
    color: white;
}

.big-btn {
    font-size: 2.5rem;
    padding: 20px 60px;
    border-radius: 80px;
    margin-top: 30px;
}

.copyright {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    nav {
        background: white;
        position: absolute;
        top: 90px;
        right: -100%;
        width: 100%;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 40px;
    }

    .brands-banner {
        width: 90%;
        margin-top: -40px;
    }

    .floating-call-btn {
        width: calc(100% - 60px);
        justify-content: center;
    }

    .timeline-steps {
        flex-direction: column;
    }

    .timeline-step::after {
        display: none;
    }
}