* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f0f23;
    --accent-color: #ffd700;
    --accent-gradient: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
    --secondary-color: #1a1a3e;
    --tertiary-color: #2d2d5a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fc;
    --bg-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d2d5a 100%);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --success-color: #10b981;
    --error-color: #ef4444;
    --pickup-color: #22c55e;
    --dropoff-color: #ef4444;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
} 

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 10rem 2rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--primary-color);
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s backwards;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Booking Section */
.booking-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 6rem 2rem;
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
}

.booking-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
}

.booking-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

#bookingForm {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
}

#bookingForm:hover {
    box-shadow: var(--card-shadow-hover);
}

/* ==================== SERVICE TOGGLE ==================== */
.service-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 0.3rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    flex: 1;
}

.toggle-btn:hover {
    color: var(--primary-color);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.toggle-btn svg {
    transition: stroke 0.3s ease;
}

.toggle-btn.active svg {
    stroke: var(--accent-color);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== INPUT WITH ICON ==================== */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.input-with-icon input {
    padding-left: 2.8rem;
}

.field-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    padding-left: 0.2rem;
}

/* ==================== ADDRESS AUTOCOMPLETE ==================== */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--accent-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.autocomplete-item-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    margin-top: 2px;
}

.autocomplete-item-content {
    flex: 1;
    min-width: 0;
}

.autocomplete-item-main {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.3;
}

.autocomplete-item-secondary {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-loading,
.autocomplete-no-results {
    padding: 1rem 1.2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.autocomplete-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.autocomplete-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e8e8e8;
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Adjust input border radius when dropdown is open */
.autocomplete-wrapper.dropdown-open input {
    border-radius: 12px 12px 0 0;
    border-bottom-color: var(--accent-color);
}

/* Autocomplete validation states */
.autocomplete-wrapper.valid input {
    border-color: #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.02) 100%);
}

.autocomplete-wrapper.valid::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpath d='m9 11 3 3L22 4'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.autocomplete-wrapper.valid input {
    padding-right: 40px;
}

.autocomplete-wrapper.invalid input {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
}

.autocomplete-wrapper.invalid::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='15' y1='9' x2='9' y2='15'%3E%3C/line%3E%3Cline x1='9' y1='9' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.autocomplete-wrapper.invalid input {
    padding-right: 40px;
}

.autocomplete-wrapper.searching::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #e8e8e8;
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    pointer-events: none;
    z-index: 10;
}

.autocomplete-wrapper.searching input {
    padding-right: 40px;
}

/* No results hint styling */
.autocomplete-no-results p {
    margin: 0;
}

.autocomplete-no-results .autocomplete-hint {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #888;
}

/* ==================== VEHICLE TYPE SELECTOR ==================== */
.vehicle-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vehicle-option {
    cursor: pointer;
}

.vehicle-option input[type="radio"] {
    display: none;
}

.vehicle-card {
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vehicle-option input[type="radio"]:checked + .vehicle-card {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.vehicle-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.vehicle-icon {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.vehicle-option input[type="radio"]:checked + .vehicle-card .vehicle-icon {
    color: var(--accent-color);
}

.vehicle-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vehicle-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.vehicle-price {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
}

.vehicle-option input[type="radio"]:checked + .vehicle-card .vehicle-price {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .vehicle-type-selector {
        grid-template-columns: 1fr;
    }
    
    .vehicle-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding: 1rem;
    }
    
    .vehicle-icon {
        margin-bottom: 0;
    }
    
    .vehicle-info {
        flex: 1;
    }
}

/* ==================== PACKAGE SIZE SELECTOR ==================== */
.package-size-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.package-option {
    cursor: pointer;
}

.package-option input[type="radio"] {
    display: none;
}

.package-card {
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.package-option input[type="radio"]:checked + .package-card {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.package-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.package-icon {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.package-option input[type="radio"]:checked + .package-card .package-icon {
    color: var(--accent-color);
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.package-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.package-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.package-price {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
}

.package-option input[type="radio"]:checked + .package-card .package-price {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .package-size-selector {
        grid-template-columns: 1fr;
    }
    
    .package-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding: 1rem;
    }
    
    .package-icon {
        margin-bottom: 0;
    }
    
    .package-info {
        flex: 1;
    }
}

/* ==================== CHECKBOX STYLING ==================== */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    text-transform: none;
    font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 12px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 3px;
}

.checkbox-label:hover .checkmark {
    border-color: var(--accent-color);
}

/* ==================== MAP SECTION ==================== */
.map-container {
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.map-title svg {
    stroke: var(--accent-color);
}

/* Selection Indicator */
.selection-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.selection-indicator.selecting-pickup {
    border: 2px solid var(--pickup-color);
}

.selection-indicator.selecting-dropoff {
    border: 2px solid var(--dropoff-color);
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.indicator-dot.pickup {
    background: var(--pickup-color);
    box-shadow: 0 0 10px var(--pickup-color);
}

.indicator-dot.dropoff {
    background: var(--dropoff-color);
    box-shadow: 0 0 10px var(--dropoff-color);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Map Controls */
.map-controls {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.location-btn,
.clear-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-btn {
    background: var(--accent-gradient);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.location-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.location-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.location-btn.loading {
    pointer-events: none;
}

.clear-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Button spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 16px;
    position: relative;
    z-index: 0;
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 1rem;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 500;
    pointer-events: none;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-marker.pickup {
    background: var(--pickup-color);
}

.legend-marker.dropoff {
    background: var(--dropoff-color);
}

/* Map Tap Hint - Mobile only */
.map-tap-hint {
    display: none;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 46, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 500;
    pointer-events: none;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInOut 3s ease-in-out infinite;
}

.map-tap-hint svg {
    stroke: var(--accent-color);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .map-tap-hint {
        display: flex;
    }
}

@media (max-width: 480px) {
    .map-tap-hint {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
        gap: 0.4rem;
    }
    
    .map-tap-hint svg {
        width: 14px;
        height: 14px;
    }
}

/* Custom Map Markers */
.custom-marker {
    background: transparent !important;
    border: none !important;
    cursor: grab !important;
}

.custom-marker:active {
    cursor: grabbing !important;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-marker:hover .marker-pin {
    transform: rotate(-45deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.marker-pin.pickup {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.marker-pin.dropoff {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.marker-icon {
    transform: rotate(45deg);
    color: white;
}

.marker-icon svg {
    width: 18px;
    height: 18px;
}

.marker-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Animated route line */
.animated-dash {
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Direction arrows on route */
.direction-arrow {
    background: transparent !important;
    border: none !important;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.arrow-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Distance badge on route */
.distance-label {
    background: transparent !important;
    border: none !important;
}

.distance-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.distance-badge.road-distance {
    background: linear-gradient(135deg, var(--primary-color), #1a1a2e);
}

.distance-badge.estimated {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.distance-badge svg {
    stroke: var(--accent-color);
}

/* Leaflet Routing Machine - hide the control panel */
.leaflet-routing-container {
    display: none !important;
}

/* Style for the OSRM route line */
.leaflet-routing-container-hide {
    display: none !important;
}

/* Map notification toast */
.map-notification {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 600;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.map-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.map-notification.success {
    background: var(--success-color);
    color: white;
}

.map-notification.error {
    background: var(--error-color);
    color: white;
}

.map-notification.info {
    background: var(--primary-color);
    color: white;
}

.notification-icon {
    font-weight: bold;
}

/* ==================== FARE DISPLAY ==================== */
.fare-display {
    margin-top: 1.5rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.fare-display.show {
    opacity: 1;
    transform: translateY(0);
}

.fare-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

.fare-header svg {
    stroke: var(--accent-color);
}

.fare-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.fare-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-right: 1px solid #eee;
}

.fare-item:last-child {
    border-right: none;
}

.fare-item.highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.fare-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    flex-shrink: 0;
}

.fare-item.highlight .fare-icon {
    background: var(--accent-gradient);
}

.fare-item.highlight .fare-icon svg {
    stroke: var(--primary-color);
}

.fare-details {
    display: flex;
    flex-direction: column;
}

.fare-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.fare-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.fare-item.highlight .fare-value {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fare-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.fare-note svg {
    flex-shrink: 0;
}

.fare-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--accent-color);
    font-size: 0.75rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 15px 15px;
}

/* ==================== SUBMIT BUTTON ==================== */
.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: var(--primary-color);
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Form Message */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.form-message a {
    color: inherit;
    font-weight: 700;
}

.success-icon,
.error-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.success-icon {
    background: #065f46;
    color: white;
}

.error-icon {
    background: #991b1b;
    color: white;
}

#formMessage {
    display: none;
}

#formMessage.success,
#formMessage.error {
    display: flex;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 6rem 2rem;
    background: var(--bg-gradient);
    position: relative;
}

.contact-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.contact-card h3 svg {
    stroke: var(--accent-color);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-card a {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

footer p {
    margin: 0.3rem 0;
}

footer p:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

footer p:last-child {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.55rem;
    }
    
    nav {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: -2rem;
        right: -2rem;
        background: var(--bg-gradient);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        text-align: center;
        border-top: 1px solid rgba(255, 215, 0, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(255, 215, 0, 0.1);
    }
    
    .hero {
        padding: 6rem 1.5rem 5rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .booking-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .booking-section h2,
    .contact-section h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .container {
        padding: 0;
    }
    
    #bookingForm {
        padding: 1.5rem 1rem;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .service-toggle {
        max-width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .input-with-icon .input-icon {
        display: none;
    }
    
    .input-with-icon input {
        padding-left: 1rem;
    }
    
    /* Autocomplete mobile adjustments */
    .autocomplete-dropdown {
        max-height: 220px;
    }
    
    .autocomplete-item {
        padding: 0.8rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        padding: 1rem;
        margin: 1.5rem 0;
        border-radius: 16px;
    }
    
    .map-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .map-title {
        justify-content: center;
    }
    
    .selection-indicator {
        justify-content: center;
        width: 100%;
    }
    
    #map {
        height: 320px;
        border-radius: 12px;
    }
    
    .map-wrapper {
        border-radius: 12px;
    }
    
    .map-controls {
        flex-direction: row;
        justify-content: stretch;
    }
    
    .location-btn,
    .clear-btn {
        flex: 1;
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 0.85rem;
    }
    
    .map-legend {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.5rem 1rem;
        gap: 0.8rem;
    }
    
    .legend-item {
        font-size: 0.75rem;
    }
    
    .fare-info {
        grid-template-columns: 1fr;
    }
    
    .fare-item {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .fare-item:last-child {
        border-bottom: none;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-card:hover {
        transform: none;
    }
    
    .contact-card:active {
        background: rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.6rem 1rem;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .logo-text h1 {
        font-size: 0.85rem;
    }
    
    .logo-text p {
        display: none;
    }
    
    .hamburger {
        width: 26px;
        height: 20px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero {
        padding: 5rem 1rem 4rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .booking-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .booking-section h2,
    .contact-section h2 {
        padding: 0 0.75rem;
    }
    
    #bookingForm {
        padding: 1.25rem 0.75rem;
    }
    
    .service-toggle {
        padding: 0.25rem;
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
    
    .toggle-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .toggle-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Autocomplete mobile adjustments */
    .autocomplete-dropdown {
        max-height: 200px;
        border-radius: 0 0 10px 10px;
    }
    
    .autocomplete-item {
        padding: 0.75rem 0.9rem;
        gap: 0.6rem;
    }
    
    .autocomplete-item-icon {
        width: 18px;
        height: 18px;
    }
    
    .autocomplete-item-main {
        font-size: 0.9rem;
    }
    
    .autocomplete-item-secondary {
        font-size: 0.75rem;
    }
    
    .autocomplete-wrapper.dropdown-open input {
        border-radius: 10px 10px 0 0;
    }
    
    .vehicle-type-selector,
    .package-size-selector {
        gap: 0.75rem;
    }
    
    .vehicle-card,
    .package-card {
        padding: 0.9rem;
        border-radius: 10px;
    }
    
    .vehicle-icon svg,
    .package-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .vehicle-name,
    .package-name {
        font-size: 0.9rem;
    }
    
    .vehicle-price,
    .package-price {
        font-size: 0.8rem;
    }
    
    .package-desc {
        font-size: 0.7rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .field-hint {
        font-size: 0.7rem;
    }
    
    .input-with-icon .input-icon {
        width: 16px;
        height: 16px;
        left: 0.9rem;
        display: none;
    }
    
    .input-with-icon input {
        padding-left: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="time"],
    input[type="number"],
    textarea {
        padding: 0.9rem 1rem;
        font-size: 16px;
    }
    
    .submit-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .submit-button:active {
        transform: scale(0.98);
    }
    
    .map-container {
        padding: 0.75rem;
        margin: 1.25rem 0;
        border-radius: 14px;
    }
    
    .map-header {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .map-title {
        font-size: 0.9rem;
        gap: 0.4rem;
    }
    
    .map-title svg {
        width: 18px;
        height: 18px;
    }
    
    .selection-indicator {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        gap: 0.4rem;
    }
    
    .indicator-dot {
        width: 8px;
        height: 8px;
    }
    
    .map-controls {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .location-btn,
    .clear-btn {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 8px;
        gap: 0.4rem;
    }
    
    .location-btn svg,
    .clear-btn svg {
        width: 16px;
        height: 16px;
    }
    
    #map {
        height: 260px;
        border-radius: 10px;
    }
    
    .map-wrapper {
        border-radius: 10px;
    }
    
    .map-legend {
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.4rem 0.75rem;
        gap: 0.5rem;
        border-radius: 20px;
    }
    
    .legend-item {
        font-size: 0.6rem;
        gap: 0.25rem;
    }
    
    .legend-dot {
        width: 8px;
        height: 8px;
    }
    
    .fare-header {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .fare-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .fare-icon {
        width: 38px;
        height: 38px;
    }
    
    .fare-value {
        font-size: 1.2rem;
    }
    
    .fare-note {
        font-size: 0.7rem;
        padding: 0.6rem 1rem;
    }
    
    .contact-card {
        padding: 1.2rem 1rem;
        border-radius: 15px;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-card a {
        font-size: 1rem;
    }
    
    footer {
        padding: 2rem 1rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* ==================== LEAFLET Z-INDEX OVERRIDES ==================== */
/* Ensure Leaflet controls don't conflict with page elements */
.leaflet-top,
.leaflet-bottom {
    z-index: 400 !important;
}

.leaflet-pane {
    z-index: 200 !important;
}

.leaflet-tile-pane {
    z-index: 100 !important;
}

.leaflet-overlay-pane {
    z-index: 200 !important;
}

.leaflet-shadow-pane {
    z-index: 300 !important;
}

.leaflet-marker-pane {
    z-index: 350 !important;
}

.leaflet-tooltip-pane {
    z-index: 450 !important;
}

.leaflet-popup-pane {
    z-index: 500 !important;
}

.leaflet-control {
    z-index: 400 !important;
}

/* Ensure custom markers are above route lines */
.custom-marker {
    z-index: 450 !important;
}

.direction-arrow {
    z-index: 350 !important;
}

.distance-label {
    z-index: 400 !important;
}

/* Fix for Leaflet control container */
.leaflet-control-container {
    position: absolute;
    z-index: 400;
}

/* Ensure zoom controls are clickable */
.leaflet-control-zoom {
    z-index: 450 !important;
}

.leaflet-control-zoom a {
    cursor: pointer !important;
}
