﻿body {
    background: #f4f7fb;
    overflow-x: hidden;
}

/* HERO */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://images.unsplash.com/photo-1502877338535-766e1452684a');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-subtitle {
    color: #d1fae5;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* BOOKING */

.booking-wrapper {
    margin-top: -45px;
    position: relative;
    z-index: 20;
}

.booking-card {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    max-width: 950px;
    margin: auto;
}

.booking-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.booking-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.booking-select {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
}

.booking-btn {
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg,#16a34a,#15803d);
    color: white;
    border: none;
    font-weight: 600;
    transition: 0.3s ease;
}

    .booking-btn:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg,#15803d,#166534);
    }



/* RIDE CARD */

.ride-card {
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
}

    .ride-card:hover {
        transform: translateY(-3px);
    }

.location-text {
    max-width: 70%;
}

/* TRUST */

.trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    padding: 50px 20px;
}

    .trust div {
        background: white;
        padding: 25px;
        border-radius: 16px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

/* STEPS */

.steps {
    padding: 70px 20px;
    text-align: center;
}

    .steps h4 {
        background: #1f2937;
        color: white;
        padding: 12px;
        border-radius: 12px;
        display: inline-block;
        margin-bottom: 25px;
    }

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* DRIVER */

.driver {
    background: linear-gradient(135deg,#1f2937,#111827);
    color: white;
    text-align: center;
    padding: 70px 20px;
}

    .driver button {
        margin-top: 20px;
    }

/* DASHBOARD */

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    margin: 40px 0;
}

.card {
    border: none;
    border-radius: 18px;
}

/* MOBILE */

@media (max-width: 768px) {

    .booking-wrapper {
        margin-top: -30px;
        padding: 0 12px;
    }

    .booking-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .booking-title {
        font-size: 1.5rem;
    }

    .booking-select,
    .booking-btn {
        height: 48px;
    }
}