:root {
    --primary: #fbc531; /* Speed Yellow */
    --primary-dark: #e1b12c;
    --secondary: #192a56; /* Deep Navy Blue */
    --bg-main: #121212; /* Dark Slate */
    --bg-sec: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #a4b0be;
    --card-bg: #2d3436;
    --border-color: rgba(255, 255, 255, 0.1);
    --uber: #ffffff;
    --careem: #2ecc71;
    --indrive: #00ffcc;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Almarai', sans-serif;
}

h1, h2, h3, h4, .logo {
    font-family: 'Changa', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Animation Background */
.speed-lines {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: 
        linear-gradient(90deg, var(--bg-main) 20px, transparent 1%) center,
        linear-gradient(var(--bg-main) 20px, transparent 1%) center,
        rgba(255, 255, 255, 0.02);
    background-size: 22px 22px;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary);
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); }

.btn-action {
    background: var(--primary);
    color: var(--bg-main) !important;
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: 800 !important;
    transform: skewX(-10deg);
    display: inline-block;
}

.btn-action:hover {
    background: var(--primary-dark);
    transform: skewX(-10deg) scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    transform: skewX(-5deg);
}

.btn i { transform: skewX(5deg); } /* un-skew icons */

.btn-primary {
    background: var(--primary);
    color: var(--bg-main);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(251, 197, 49, 0.4);
    transform: skewX(-5deg) translateY(-3px);
}

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

.btn-outline:hover {
    background: rgba(251, 197, 49, 0.1);
}

.w-100 { width: 100%; justify-content: center; }

/* Sections General */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 40px; margin-bottom: 15px; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 50%; height: 100%;
    background: var(--primary);
    z-index: -1;
    transform: skewX(-20deg) translateX(50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.title {
    font-size: 55px;
    line-height: 1.2;
    margin-bottom: 15px;
}

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

.subtitle {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 20px; margin-bottom: 40px; }

.stats-row {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat h3 {
    font-size: 30px;
    color: var(--primary);
    line-height: 1;
}

.stat p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-box {
    position: relative;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 2px dashed var(--primary);
}

.main-img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--bg-main);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-right: 5px solid var(--primary);
}

.floating-card i { font-size: 24px; }

.uber-card { top: 30px; right: -30px; }
.uber-card i { color: var(--uber); }

.delivery-card { bottom: 30px; left: -30px; }
.delivery-card i { color: var(--primary); }

/* Marquee / Partners */
.partners { padding: 40px 0; background: var(--bg-sec); border-bottom: 1px solid var(--border-color); }
.section-title-sm { text-align: center; color: var(--text-muted); margin-bottom: 20px; font-weight: 400; font-family: 'Almarai', sans-serif;}

.marquee { overflow: hidden; white-space: nowrap; width: 100%; }
.marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 30px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    margin: 0 40px;
    font-family: 'Changa', sans-serif;
}
.brand i { font-size: 35px; }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

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

.service-card {
    background: var(--bg-sec);
    padding: 40px 30px;
    border-radius: 10px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
    background: var(--card-bg);
}

.service-card.highlight {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}
.service-card.highlight:hover { transform: scale(1.05) translateY(-10px); }

.badge-ribbon {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-main);
    padding: 5px 15px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 20px;
}

.card-icon {
    width: 70px; height: 70px;
    background: rgba(251, 197, 49, 0.1);
    color: var(--primary);
    display: flex; justify-content: center; align-items: center;
    font-size: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-card h3 { font-size: 22px; margin-bottom: 15px; }
.service-card p { color: var(--text-muted); }

/* Join Section */
.join-banner {
    display: flex;
    background: var(--bg-sec);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.join-content {
    flex: 1;
    padding: 60px;
}

.join-content h2 { font-size: 35px; margin-bottom: 30px; }
.join-content h2 span { color: var(--primary); }

.benefits { list-style: none; margin-bottom: 40px; }
.benefits li {
    margin-bottom: 15px;
    font-size: 18px;
    display: flex; align-items: center; gap: 15px;
}
.benefits li i { color: var(--primary); font-size: 20px; }

.join-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1593950315186-76a92975b60c?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item .icon-wrap {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    color: var(--bg-main);
    display: flex; justify-content: center; align-items: center;
    font-size: 35px;
    border-radius: 50%;
    transform: skewX(-10deg);
}
.feature-item .icon-wrap i { transform: skewX(10deg); }
.feature-item h4 { font-size: 20px; margin-bottom: 10px; }
.feature-item p { color: var(--text-muted); font-size: 15px; }

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: var(--bg-sec);
    padding: 50px;
    border-radius: 15px;
}

.contact-form-side h2 { font-size: 30px; margin-bottom: 30px; }
.contact-form-side h2 span { color: var(--primary); }

.input-group { margin-bottom: 20px; }
.input-group input, .input-group select {
    width: 100%;
    padding: 18px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 16px;
    border-radius: 5px;
}
.input-group input:focus, .input-group select:focus {
    outline: none; border-color: var(--primary);
}

.contact-info-side {
    background: var(--bg-main);
    padding: 40px;
    border-radius: 10px;
    border-right: 4px solid var(--primary);
}
.contact-info-side h3 { font-size: 24px; margin-bottom: 10px; }
.contact-info-side h3 span { color: var(--primary); }
.contact-info-side p { color: var(--text-muted); margin-bottom: 40px; }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item i {
    font-size: 24px;
    color: var(--primary);
    background: rgba(251, 197, 49, 0.1);
    padding: 15px;
    border-radius: 50%;
}
.info-item h5 { font-size: 18px; margin-bottom: 5px; }
.info-item span { color: var(--text-muted); }

/* Footer */
footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 3px solid var(--primary);
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo { font-size: 35px; margin-bottom: 15px; }
.footer-logo span { color: var(--primary); }
.footer-content p { color: var(--text-muted); max-width: 500px; margin: 0 auto 20px; }

.social-links { display: flex; justify-content: center; gap: 15px; }
.social-links a {
    width: 45px; height: 45px;
    background: var(--bg-sec);
    display: flex; justify-content: center; align-items: center;
    color: white;
    border-radius: 5px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--bg-main); transform: translateY(-5px); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .hero::after { display: none; }
    .hero-container, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content { order: 2; text-align: center; }
    .hero-visual { order: 1; margin-bottom: 40px; }
    .hero-buttons { justify-content: center; }
    .stats-row { justify-content: center; }
    
    .join-banner { flex-direction: column; }
    .join-image { min-height: 300px; clip-path: none; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .title { font-size: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 15px; }
    .floating-card { padding: 10px 15px; font-size: 14px; }
    .uber-card { right: -10px; }
    .delivery-card { left: -10px; }
}
