.hero { min-height: 650px; padding: 120px 20px 160px; background: linear-gradient(135deg, #F3E8FF, #E0F2FE); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05) 0%, rgba(255,255,255,0) 70%); z-index: 0; }
.hero h1 { color: var(--dark); font-size: 64px; font-weight: 800; margin: 0 0 10px 0; text-align: center; z-index: 2; line-height: 1.1; }

.driver-duty-wrapper { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 25px; background: white; padding: 15px 30px; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border: 1px solid #E2E8F0; z-index: 2; position: relative; }
.duty-switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.duty-switch input { opacity: 0; width: 0; height: 0; }
.duty-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #CBD5E1; transition: .4s; border-radius: 34px; }
.duty-slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .duty-slider { background-color: #10B981; }
input:checked + .duty-slider:before { transform: translateX(26px); }
.duty-status-text { font-weight: 800; color: var(--secondary); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }

/* 🟢 FIX: Set to 20 so it floats perfectly over the text below it! */
.search-container { background: white; border-radius: 20px; padding: 15px; display: flex; align-items: center; gap: 20px; max-width: 1000px; width: 90%; margin: 40px auto 0; box-shadow: 0 25px 60px rgba(124,58,237,0.15); transition: 0.3s ease; z-index: 20; position: relative;}
.search-container:hover { box-shadow: 0 35px 80px rgba(124,58,237,0.25); }
.input-group { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 25px; height: 100%; border-right: 1px solid #F1F5F9; position: relative; }
.input-group:last-of-type { border-right: none; }
.input-label { font-size: 11px; font-weight: 700; color: #94A3B8; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.input-wrapper-inner { display: flex; align-items: center; gap: 10px; }
.input-wrapper-inner i { color: var(--primary); font-size: 18px; margin-right: 12px; }
.input-group input { border: none; outline: none; font-size: 16px; width: 100%; font-weight: 600; color: var(--dark); background: transparent; }
.search-btn-main { background: linear-gradient(135deg, var(--primary), #3B82F6); color: white; border: none; padding: 18px 40px; border-radius: 16px; height: 100%; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.3s ease; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); margin-left: 10px; }
.search-btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(124,58,237,0.4); }

.mobile-hero-animation { display: block; width: 100%; margin: 30px 0; text-align: center; overflow: hidden; }
.road-anim { width: 100%; height: 4px; background: #E2E8F0; position: relative; border-radius: 2px; margin-top: 40px; }
.car-anim { position: absolute; top: -28px; left: -50px; font-size: 24px; color: var(--primary); animation: driveCar 4s linear infinite; }
@keyframes driveCar { 0% { left: -50px; transform: scaleX(1); } 50% { left: 100%; transform: scaleX(1); } 51% { transform: scaleX(-1); } 100% { left: -50px; transform: scaleX(-1); } }

.features-section { padding: 140px 20px 120px; background: linear-gradient(135deg, #F3E8FF 0%, #E0F2FE 100%); text-align: center; }
.features-title { font-size: 42px; font-weight: 800; margin-bottom: 80px; color: #4C1D95; }
.features-grid { display: flex; justify-content: center; align-items: stretch; gap: 60px; max-width: 1200px; margin: auto; flex-wrap: wrap; }
.feature-card { background: white; border-radius: 24px; padding: 60px 40px; width: 320px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); transition: all 0.4s ease; }
.feature-card:hover { transform: translateY(-15px); box-shadow: 0 30px 80px rgba(124,58,237,0.25); }
.icon-wrap { width: 80px; height: 80px; margin: 0 auto 25px; border-radius: 50%; background: linear-gradient(135deg, #7C3AED, #3B82F6); display: flex; align-items: center; justify-content: center; color: white; font-size: 30px; }
.feature-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 15px; color: #1E293B; }
.feature-card p { font-size: 15px; color: #64748B; }

.features-animated { display: flex; justify-content: center; gap: 40px; margin: 60px 0; flex-wrap: wrap; }
.feature-card-anim { background: linear-gradient(135deg, #ffffff, #F3E8FF); padding: 30px; border-radius: 20px; width: 260px; text-align: center; box-shadow: 0 10px 25px rgba(124,58,237,0.15); transition: 0.4s; opacity: 0; transform: translateY(40px); }
.feature-card-anim i { font-size: 32px; color: var(--primary); margin-bottom: 15px; }
.feature-card-anim h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card-anim p { font-size: 14px; color: var(--secondary); }
.feature-card-anim:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(124,58,237,0.25); }

.vehicle-section { max-width: 1100px; margin: 60px auto; padding: 0 20px; text-align: center; }
.service-hero-img { width: 100%; max-width: 500px; height: auto; margin: 0 auto 30px; display: block; object-fit: contain; }
.vehicle-heading { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 40px; text-align: center; }
.vehicle-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.vehicle-card { background: white; border: 1px solid #F1F5F9; border-radius: 24px; padding: 30px; width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; cursor: pointer; transition: 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.vehicle-card:hover { transform: translateY(-10px); border-color: var(--primary-light); box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15); }
.vehicle-card img { width: 100px; height: 70px; object-fit: contain; margin-bottom: 20px; display: block; }
.vehicle-card h3 { font-size: 18px; color: var(--dark); font-weight: 700; margin: 0; }

.offer-banner-container { max-width: 1100px; margin: 80px auto; padding: 0 20px; }
.offer-banner { background: linear-gradient(135deg, #1E293B 0%, #4C1D95 100%); border-radius: 32px; padding: 60px 50px; text-align: left; color: white; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(76, 29, 149, 0.3); display: flex; align-items: center; justify-content: space-between; }
.offer-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.offer-text p { font-size: 16px; opacity: 0.9; margin-bottom: 25px; }
.btn-banner { background: white; color: var(--primary-dark); padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.2); white-space: nowrap; }
.btn-banner:hover { transform: scale(1.05); }

.main-footer { background-color: #fff; padding: 40px 0; margin-top: 80px; border-top: 1px solid #F1F5F9; }
.footer-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; text-align: center; color: #94A3B8; font-size: 14px; }

/* Ensures all suggestion lists absolutely float above everything */
.pac-container, .suggestions-box, .autocomplete-list, .suggestions-list {
    z-index: 99999 !important;
    position: absolute !important;
}

@media screen and (min-width: 769px) {
    .features-animated { gap: 80px; margin: 120px auto; max-width: 1200px; }
    .feature-card-anim { width: 350px; }
    .search-container { justify-content: space-between; }
}
@media screen and (max-width: 768px) {
    .hero { min-height: 700px; padding: 140px 15px 120px; justify-content: flex-start; }
    .hero h1 { font-size: 32px; margin-top: 10px; margin-bottom: 20px; }
    .driver-duty-wrapper { margin-top: 25px; position: relative; z-index: 2; }
    
    .search-container { flex-direction: column; height: auto; padding: 0; width: 100%; background: transparent; box-shadow: none; margin-bottom: 10px; gap: 15px; display: grid !important; grid-template-columns: 1fr 1fr; }
    .input-group { background: white; border-radius: 12px; border: 1px solid #E2E8F0; padding: 12px 15px; height: 75px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
    .input-group:nth-child(1), .input-group:nth-child(2) { grid-column: 1 / -1; } 
    .search-btn-main { grid-column: 1 / -1; width: 100%; height: 55px; border-radius: 12px; margin-top: 5px; box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3); margin-left: 0; }
    
    .mobile-hero-animation { display: block; }
    .features-section { margin-top: -80px; }
    
    .vehicle-grid { gap: 15px; }
    .vehicle-card { width: 45%; padding: 15px; }
    .vehicle-card h3 { font-size: 14px; }
    .vehicle-card img { width: 50px; height: 50px; margin-bottom: 10px; }
    
    .main-footer { padding: 30px 20px; }
}
/* =========================================
   🟢 GOSAATH INFO PAGES (PURPLE & BLACK THEME)
   ========================================= */
.main-footer { background: #0F172A; border-top: 1px solid #334155; padding: 40px 20px 20px; margin-top: 40px; text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 25px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav a { color: #FFFFFF; text-decoration: none; font-weight: 700; font-size: 14px; transition: color 0.3s; position: relative; }
.footer-nav a:hover { color: #A78BFA; }
.footer-copyright { color: #94A3B8; font-size: 12px; font-weight: 500; }
/* Dark Theme Container Rules */
.dark-info-page { background-color: #0F172A !important; color: #F8FAFC; min-height: 100vh; overflow-y: auto;}
.dark-info-page .info-page-container { padding: 30px 20px; max-width: 800px; margin: 0 auto; padding-bottom: 100px; }
.dark-info-page .info-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px dashed #334155; }
.dark-info-page .info-header i { font-size: 24px; color: #A78BFA; cursor: pointer; transition: transform 0.2s; }
.dark-info-page .info-header i:hover { transform: translateX(-5px); color: #C4B5FD; }
.dark-info-page .info-header h2 { margin: 0; font-size: 28px; font-weight: 800; color: #FFFFFF; }

/* Dark Theme Content Cards */
.dark-info-page .info-section { background: #1E293B; border-radius: 20px; padding: 25px; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #334155; }
.dark-info-page .info-section h3 { margin: 0 0 15px 0; font-size: 18px; font-weight: 800; color: #A78BFA; display: flex; align-items: center; gap: 10px; }
.dark-info-page .info-section p, .dark-info-page .info-section ul { color: #CBD5E1; font-size: 14px; line-height: 1.7; margin: 0 0 15px 0; }
.dark-info-page .info-section ul { padding-left: 20px; }
.dark-info-page .info-section li { margin-bottom: 8px; }
.dark-info-page .info-section strong { color: #FFFFFF; }

/* Contact Us - Founder Card */
.dark-info-page .founder-card { text-align: center; padding: 40px 30px; background: linear-gradient(135deg, #1E293B, #0F172A); border-radius: 20px; border: 1px solid #7C3AED; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15); }
.dark-info-page .founder-image { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid #A78BFA; margin: 0 auto 20px auto; box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); display: block; background: #0F172A; }
.dark-info-page .founder-card h3 { margin: 0; font-size: 26px; font-weight: 800; color: #FFFFFF; }
.dark-info-page .founder-card p { margin: 5px 0 0 0; color: #A78BFA; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* Social Buttons */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 12px; text-decoration: none; color: white; font-weight: 700; font-size: 15px; transition: all 0.3s ease; }
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.social-btn i { font-size: 20px; }
.social-whatsapp { background: #25D366; }
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-facebook { background: #1877F2; }
.social-gmail { background: #EA4335; }

/* =========================================
   🟢 PASSENGER MATCH CARD (FULLSCREEN MODE) 
   ========================================= */
.match-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
    display: none; /* Hidden by default */
    flex-direction: column;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

/* Force Flexbox layout when your findDriver() makes it visible */
.match-card[style*="display: block"], 
.match-card[style*="display: flex"] {
    display: flex !important; 
}

/* The Full Screen Mode */
.match-card.fullscreen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 9999 !important;
    padding: 30px 5% !important;
    animation: popIn 0.3s ease;
}

/* Fullscreen Toggle Button */
.fullscreen-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.fullscreen-btn {
    background: #F8FAFC;
    color: var(--primary);
    border: 1px solid #E2E8F0;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.fullscreen-btn:hover { background: var(--primary); color: white; }

/* Scrollable Container */
#matchDriverContainer { flex: 1; overflow-y: auto; max-height: 400px; padding-right: 5px; }
.match-card.fullscreen-mode #matchDriverContainer { max-height: calc(100vh - 180px); }

/* Hide the global extra Request Ride button */
#btnRequestRide { display: none !important; }

