/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5e17eb;
    --secondary-color: #ff6b35;
    --text-color: #333;
    --light-text: #777;
    --background: #f9f9f9;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero-subtitle {
    display: inline-block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 600;
    background: #333333;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 5;
}

.hero-subtitle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Hero CTA Button Styles */
.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-cta-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.hero-cta-btn.primary {
    background-color: var(--color-primary);
    color: white;
    border: none;
}

.hero-cta-btn.primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .hero-cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Fix for hero section layout */
.hero-section {
    position: relative;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 10;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

.app-container {
    max-width: 480px;
    margin: 5rem auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 25px;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

header h1 span {
    color: var(--primary-color);
}

.tagline {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Booking Card Styles */
.booking-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Tab Navigation */
.booking-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 25px;
}

.tab-content.active {
    display: block;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

label i {
    color: var(--primary-color);
    margin-right: 5px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

/* Vehicle Selection */
.vehicle-selection {
    margin-bottom: 25px;
}

.vehicle-selection h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.vehicle-options {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.vehicle-option {
    flex: 1;
    min-width: 100px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.vehicle-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(94, 23, 235, 0.05);
}

.vehicle-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.vehicle-info h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.vehicle-info p {
    font-size: 0.75rem;
    color: var(--light-text);
}

/* Fare Estimate */
.fare-estimate {
    margin-bottom: 25px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.fare-estimate h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.fare-details {
    background-color: rgba(94, 23, 235, 0.05);
    border-radius: 8px;
    padding: 15px;
}

.fare-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fare-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 1.1rem;
}

.fare-disclaimer {
    margin-top: 10px;
    color: var(--light-text);
    font-style: italic;
    text-align: center;
}

.fare-disclaimer small {
    font-size: 0.8rem;
}

/* Book Button */
.book-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.book-btn:hover {
    background-color: #4a12c0;
    transform: translateY(-2px);
}

/* Rates Tab */
.rates-container {
    display: grid;
    gap: 20px;
}

.rate-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.rate-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-header i {
    font-size: 1.5rem;
}

.rate-header h3 {
    font-size: 1.1rem;
}

.rate-details {
    padding: 15px;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.rate-row:last-child {
    border-bottom: none;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(94, 23, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature h3 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.feature p {
    font-size: 0.8rem;
    color: var(--light-text);
}

/* FAQ Section Styles */
.faq-section {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
    padding: 25px;
}

.faq-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
    position: relative;
}

.faq-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 3px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 15px 40px 15px 0;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0 0 0 0;
    color: var(--light-text);
    font-size: 0.95rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 0 15px 0;
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: var(--light-text);
    font-size: 0.8rem;
}

/* jQuery UI Autocomplete Styles */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999 !important;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    background-color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.ui-menu-item {
    padding: 0;
    margin: 0;
}

.ui-menu-item div {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ui-menu-item:hover,
.ui-menu-item .ui-state-active {
    background-color: rgba(94, 23, 235, 0.1);
    border: none;
    color: var(--primary-color);
}

.ui-helper-hidden-accessible {
    display: none;
}

.location-loading {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.form-group {
    position: relative;
}

.ui-autocomplete-loading {
    position: relative;
}

.ui-autocomplete-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, 
        rgba(94, 23, 235, 0.2), 
        rgba(94, 23, 235, 0.8), 
        rgba(94, 23, 235, 0.2)
    );
    animation: loading-gradient 1.5s infinite;
    z-index: 10;
}

@keyframes loading-gradient {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .app-container {
        margin: 2rem auto;
        padding: 0 15px;
    }
    
    .features {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .vehicle-options {
        flex-wrap: wrap;
    }
    
    .vehicle-option {
        flex: 0 0 calc(50% - 10px);
        min-width: auto;
        padding: 10px;
    }
    
    .vehicle-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    input, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 10px 12px;
    }
    
    .tab-btn {
        padding: 12px 5px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .ui-autocomplete {
        max-width: 90vw;
        font-size: 14px;
    }
}

/* Fix for iOS devices */
@supports (-webkit-touch-callout: none) {
    input[type="date"],
    input[type="time"] {
        min-height: 44px;
    }
}

/* Responsive Styles */
@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .vehicle-options {
        flex-direction: column;
    }
    
    .vehicle-option {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .vehicle-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    /* Hide footer on mobile */
    .footer-creative-3col {
        display: none;
    }
}

/* Media query for desktop display */
@media (min-width: 992px) {
    .booking-card {
        display: none; /* Hide mobile version on desktop */
    }
    
    .app-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .features,
    .faq-section-narrow {
        display: none;
    }
}

@media (max-width: 991px) {
    .features,
    .faq-section-narrow {
        display: block;
    }
}

/* Section Title Styles (copied from tour-packages.css for consistency) */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #FF6B6B;
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-title span {
  font-size: 14px;
  color: #2C5530;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 36px;
  color: #1A1A1A;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .section-title h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }
}

.taxi-fares-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}

.faq-section-narrow {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

@media (max-width: 768px) {
    .taxi-fares-description,
    .faq-section-narrow {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Desktop Two-Column Booking Layout */
.desktop-booking-layout {
    display: grid; /* Always display, not just on desktop */
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto 60px;
    max-width: 1100px;
    padding: 15px; /* Add padding for mobile */
}

.booking-card {
    display: none; /* Hide mobile booking form on all devices */
}

.app-container {
    max-width: 100%;
    padding: 0 15px;
}

/* Responsive styles for desktop layout on all devices */
@media (min-width: 992px) {
    .desktop-booking-layout {
        grid-template-columns: 1fr 1.2fr; /* Two columns on desktop */
        gap: 40px;
        padding: 0; /* Remove padding on desktop */
    }
    
    .features,
    .faq-section-narrow {
        display: none;
    }
}

@media (max-width: 991px) {
    .desktop-booking-left::before,
    .desktop-booking-left::after {
        display: none; /* Hide decorative elements on mobile */
    }
    
    .desktop-booking-left,
    .desktop-booking-right {
        padding: 20px; /* Less padding on mobile */
    }
    
    .instruction-step {
        margin-bottom: 15px; /* Less margin on mobile */
    }
    
    .step-number {
        flex: 0 0 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .step-content h4 {
        font-size: 16px;
    }
    
    .step-content p {
        font-size: 13px;
    }
    
    .booking-instructions h3,
    .booking-benefits h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .booking-benefits {
        padding: 15px;
    }
    
    .benefits-list li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .desktop-vehicle-options {
        flex-direction: column; /* Stack vehicles vertically on mobile */
    }
    
    .desktop-vehicle-option {
        margin-bottom: 10px;
    }
    
    .modern-form input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .desktop-book-btn {
        padding: 14px;
        font-size: 15px;
    }
    
    .features,
    .faq-section-narrow {
        display: block;
    }
}

.desktop-booking-left {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fd, #f1f4f9);
    position: relative;
    overflow: hidden;
}

.desktop-booking-left::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(235, 105, 87, 0.1);
    z-index: 0;
}

.desktop-booking-left::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(44, 85, 48, 0.08);
    z-index: 0;
}

.booking-instructions {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.booking-instructions h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.booking-instructions h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #eb6957;
    border-radius: 2px;
}

.instruction-step {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.step-number {
    flex: 0 0 40px;
    height: 40px;
    background: #eb6957;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(235, 105, 87, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.booking-benefits {
    position: relative;
    z-index: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.booking-benefits h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.benefits-list li i {
    color: #2C5530;
    margin-right: 10px;
    font-size: 16px;
}

.desktop-booking-right {
    padding: 40px;
}

.desktop-booking-form-container {
    height: 100%;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-form .form-group {
    margin-bottom: 0;
}

.modern-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.modern-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.modern-form input:focus {
    border-color: #eb6957;
    background: white;
    box-shadow: 0 0 0 3px rgba(235, 105, 87, 0.1);
    outline: none;
}

.modern-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.modern-form .half {
    flex: 1;
}

.desktop-vehicle-selection {
    margin-top: 10px;
}

.desktop-vehicle-selection > label {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

.desktop-vehicle-options {
    display: flex;
    gap: 15px;
}

.desktop-vehicle-option {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.desktop-vehicle-option:hover {
    border-color: #eb6957;
    background: rgba(235, 105, 87, 0.05);
    transform: translateY(-3px);
}

.desktop-vehicle-option.selected {
    border-color: #eb6957;
    background: rgba(235, 105, 87, 0.05);
}

.desktop-vehicle-icon {
    width: 50px;
    height: 50px;
    background: rgba(235, 105, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #eb6957;
    transition: all 0.3s ease;
}

.desktop-vehicle-option.selected .desktop-vehicle-icon {
    background: #eb6957;
    color: white;
}

.desktop-vehicle-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.desktop-vehicle-info p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.desktop-fare-estimate {
    margin-top: 25px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.desktop-fare-estimate h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.desktop-fare-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.desktop-fare-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #555;
}

.desktop-fare-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    font-weight: 700;
    color: #333;
    font-size: 17px;
}

.desktop-book-btn {
    margin-top: 10px;
    width: 100%;
    padding: 16px;
    background: #eb6957;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(235, 105, 87, 0.3);
}

.desktop-book-btn:hover {
    background: #d85a48;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(235, 105, 87, 0.4);
}

.desktop-book-btn i {
    transition: transform 0.3s ease;
}

.desktop-book-btn:hover i {
    transform: translateX(5px);
}