/* ========================================
   PUSHPA - Taxi Booking Website Styles
   Color Scheme: Yellow (#FFC107) & Black
   Font: Poppins
======================================== */

/* CSS Variables */
:root {
    --primary: #FFC107;
    --primary-light: #FFD54F;
    --primary-dark: #FFA000;
    --black: #000000;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-hint: #BDBDBD;
    --success: #4CAF50;
    --error: #E53935;
    --warning: #FFA726;
    --info: #29B6F6;
    --background: #F5F5F5;
    --card-bg: #FFFFFF;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--black);
}

.btn-full {
    width: 100%;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    font-weight: 500;
    color: var(--text-secondary);
    display: block;
    padding: 10px 0;
}

.mobile-menu .btn {
    margin-top: 10px;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: var(--primary-dark);
}

.hero-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat p {
    font-size: 14px;
    color: var(--text-secondary);
}

.app-download p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.store-btn:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 24px;
}

.store-btn span {
    font-size: 10px;
    display: block;
}

.store-btn strong {
    font-size: 14px;
}

.store-btn.small {
    padding: 8px 12px;
}

.store-btn.small i {
    font-size: 20px;
}

.store-btn.small span {
    font-size: 9px;
}

.store-btn.small strong {
    font-size: 12px;
}

/* Hero Booking Card */
.hero-booking {
    position: relative;
    z-index: 10;
}

.booking-card {
    background: var(--white);
    padding: 38px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px var(--shadow-lg);
    min-width: 420px;
}

.booking-card h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
}

.ride-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: var(--background);
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--black);
}

/* Gender Tabs */
.gender-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.gender-btn {
    flex: 1;
    padding: 12px;
    background: var(--background);
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.gender-btn.active {
    background: var(--primary);
    color: var(--black);
}

.gender-btn:hover {
    background: var(--off-white);
}

.gender-btn.active:hover {
    background: var(--primary);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--background);
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary);
    background: var(--white);
}

.input-icon {
    width: 20px;
    display: flex;
    justify-content: center;
}

.input-icon.pickup i {
    color: var(--success);
    font-size: 10px;
}

.input-icon.drop i {
    color: var(--error);
    font-size: 10px;
}

.input-group input {
    flex: 1;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
}

.input-group input::placeholder {
    color: var(--text-hint);
}

.location-btn {
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.location-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.route-line {
    width: 2px;
    height: 20px;
    background: var(--border);
    margin-left: 23px;
}

/* Vehicle Selection */
.vehicle-selection {
    margin-top: 25px;
}

.vehicle-selection h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.vehicle-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.vehicle-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--background);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.vehicle-option:hover {
    border-color: var(--primary-light);
}

.vehicle-option.selected,
.vehicle-option.active {
    border-color: var(--primary);
    background: rgba(255, 193, 7, 0.1);
}

.loading-vehicles {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
}

.loading-vehicles i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.loading-vehicles p {
    font-size: 14px;
    margin-top: 10px;
}

.no-services {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-size: 14px;
}

.vehicle-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.vehicle-info {
    flex: 1;
}

.vehicle-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.vehicle-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.vehicle-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
}

#bookingForm .btn {
    margin-top: 20px;
}

/* Hero Background Shapes */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape2 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    bottom: -50px;
    left: -50px;
}

.shape3 {
    width: 200px;
    height: 200px;
    background: var(--primary-dark);
    top: 50%;
    left: 30%;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    padding: 80px 20px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary);
}

.service-card.featured {
    background: var(--gradient);
    border: none;
}

.service-card.featured * {
    color: var(--black);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-dark);
}

.service-card.featured .service-icon {
    background: var(--white);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-price {
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.service-card.featured .service-price {
    border-color: rgba(0, 0, 0, 0.2);
}

.service-price span {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

.service-price strong {
    font-size: 24px;
    color: var(--primary-dark);
}

.service-card.featured .service-price strong {
    color: var(--black);
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
    padding: 80px 20px;
    background: var(--off-white);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-dark);
    box-shadow: 0 5px 20px var(--shadow);
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-connector {
    font-size: 24px;
    color: var(--primary);
}

/* ========================================
   SAFETY SECTION
======================================== */
.safety {
    padding: 80px 20px;
    background: var(--black);
    color: var(--white);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.safety-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.safety-text > p {
    font-size: 16px;
    color: var(--text-hint);
    margin-bottom: 30px;
}

.safety-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.safety-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--black);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-hint);
}

/* Phone Mockup */
.safety-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    padding: 15px;
    background: var(--text-primary);
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    background: var(--white);
    border-radius: 25px;
    padding: 20px;
    min-height: 450px;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.mockup-header img {
    width: 30px;
    height: 30px;
}

.mockup-header span {
    font-weight: 600;
    color: var(--black);
}

.mockup-map {
    background: var(--background);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.mockup-map i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 10px;
}

.mockup-map p {
    font-size: 12px;
    color: var(--success);
    font-weight: 500;
}

.mockup-driver {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--background);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.driver-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.driver-info {
    flex: 1;
}

.driver-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.driver-info .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.driver-info .rating i {
    color: var(--primary);
    font-size: 10px;
}

.driver-actions {
    display: flex;
    gap: 8px;
}

.driver-actions button {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-dark);
}

.sos-btn {
    width: 100%;
    padding: 12px;
    background: var(--error);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 80px 20px;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--gradient);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.about-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.about-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.about-feature span {
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
    padding: 80px 20px;
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px var(--shadow);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--primary);
    font-size: 14px;
}

.testimonial-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.author-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    padding: 80px 20px;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--black);
}

.contact-form {
    background: var(--off-white);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo img {
    width: 40px;
    height: 40px;
}

.footer-brand > p {
    font-size: 14px;
    color: var(--text-hint);
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-hint);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--text-primary);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-hint);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-hint);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
}

/* ========================================
   MODALS
======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    max-width: 420px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--background);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--error);
    color: var(--white);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.phone-input:focus-within {
    border-color: var(--primary);
}

.country-code {
    padding: 15px;
    background: var(--background);
    font-weight: 500;
    border-right: 2px solid var(--border);
}

.phone-input input {
    border: none !important;
    border-radius: 0 !important;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* OTP Inputs */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.otp-input {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--primary);
}

/* Booking Confirmation Modal */
.booking-confirm {
    max-width: 450px;
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.booking-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.booking-icon i {
    font-size: 40px;
    color: var(--white);
}

.booking-details {
    margin-bottom: 30px;
}

.booking-route {
    background: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.route-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.point-icon {
    width: 24px;
    display: flex;
    justify-content: center;
    padding-top: 3px;
}

.point-icon.pickup i {
    color: var(--success);
    font-size: 10px;
}

.point-icon.drop i {
    color: var(--error);
    font-size: 10px;
}

.point-text span {
    font-size: 12px;
    color: var(--text-secondary);
}

.point-text p {
    font-size: 14px;
    font-weight: 500;
}

.route-line-vertical {
    width: 2px;
    height: 30px;
    background: var(--border);
    margin: 10px 0 10px 11px;
}

.booking-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.booking-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--background);
    border-radius: var(--radius);
}

.booking-info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.booking-info-item span {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

.booking-info-item p {
    font-size: 16px;
    font-weight: 600;
}

/* Searching Animation */
.searching-driver {
    text-align: center;
    margin-bottom: 20px;
}

.searching-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.searching-animation i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--primary);
    z-index: 1;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.searching-driver p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   TOAST NOTIFICATION
======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success .toast-icon i {
    color: var(--success);
}

.toast.error .toast-icon i {
    color: var(--error);
}

.toast-icon i {
    font-size: 20px;
}

.toast-message {
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .app-download {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .safety-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .safety-image {
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat h3 {
        font-size: 24px;
    }

    .booking-card {
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 25px;
    }

    .otp-input {
        width: 42px;
        height: 48px;
        font-size: 18px;
    }
}

/* Google Places Autocomplete Dropdown Styling */
.pac-container {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
    padding: 8px 0;
    z-index: 9999 !important;
    position: fixed !important;
    max-height: 300px;
    overflow-y: auto;
}

.pac-item {
    padding: 12px 16px;
    cursor: pointer;
    border: none;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    transition: background-color 0.2s ease;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-selected,
.pac-item:active {
    background-color: #fff9e6;
}

.pac-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.pac-item-query {
    font-weight: 600;
    color: #000;
    font-size: 15px;
}

.pac-matched {
    font-weight: 700;
}

.pac-logo:after {
    display: none;
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .store-buttons {
        flex-direction: column;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 240px;
    }

    .phone-screen {
        min-height: 380px;
        padding: 15px;
    }
}
