/* Booking Form Styles - SEWAK TRAVELS style */

/* Mobile Touch and Viewport Optimizations */
.booking-form-section *,
.booking-form-section {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Prevent horizontal scrollbar */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* Prevent zoom on input focus (iOS) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"] {
        font-size: 16px !important;
    }
}

/* Booking Form Section */
.booking-form-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    z-index: 10;
    box-sizing: border-box;
    overflow: hidden;
}

.booking-title {
    color: var(--primaryHeadingColor);;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.7); */
}

.taxi-booking-form {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Trip Type Tabs */
.trip-tabs-container {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 5px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px; /* iOS recommended touch target */
    user-select: none;
    -webkit-user-select: none;
}

.tab-btn:hover {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.tab-btn.active {
    background: #ff4757;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.tab-btn i {
    font-size: 14px;
}

/* Tab Content */
.tab-content {
    display: none;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* Form Fields Rows */
.form-fields-row,
.contact-fields-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: end;
}

.field-group {
    flex: 1;
    min-width: 0;
}

.field-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 44px; /* iOS recommended touch target */
    max-width: 100%;
    overflow: hidden;
}

.form-input:focus {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Search Button */
.search-btn-group {
    display: flex;
    align-items: end;
}

.search-btn {
    background: linear-gradient(45deg, #ff4757, #ff3742);
    border: none;
    border-radius: 10px;
    padding: 17px 30px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: 100%;
    min-height: 44px; /* iOS recommended touch target */
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.search-btn:hover {
    background: linear-gradient(45deg, #ff3742, #ff2e3a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.search-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.search-btn i {
    margin-right: 10px;
}

/* Loading State */
.search-btn.loading {
    background: #ccc;
    cursor: not-allowed;
}

.search-btn.loading:hover {
    transform: none;
    box-shadow: none;
}

/* Return fields */
.return-field {
    transition: all 0.4s ease;
}

/* Responsive Design */

/* Large Tablets and Small Laptops */
@media (max-width: 1200px) {
    .booking-form-section {
        width: 95%;
        max-width: 1000px;
    }
    
    .form-fields-row,
    .contact-fields-row {
        flex-wrap: wrap;
    }
    
    .field-group {
        min-width: 180px;
    }
    
    .booking-title {
        font-size: 26px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    /* Adjust banner height for better form visibility */
    #banner {
        min-height: auto !important;
        height: auto !important;
    }
    
    .aon-banner-outer {
        min-height: 60vh !important;
    }
    
    .booking-form-section {
        width: 95%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto;
    }
    
    .taxi-booking-form {
        padding: 25px;
        border-radius: 15px;
    }
    
    .booking-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .form-fields-row,
    .contact-fields-row {
        gap: 15px;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    #banner {
        min-height: auto !important;
    }
    
    .aon-banner-outer {
        min-height: auto !important;
        display: flex;
        align-items: center;
    }
    
    .booking-form-section {
        width: 95%;
        margin: 15px auto;
        position: static;
    }
    
    .taxi-booking-form {
        padding: 20px;
        border-radius: 12px;
    }
    
    .booking-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .tab-buttons {
        padding: 3px;
        border-radius: 12px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 10px;
        gap: 6px;
    }
    
    .tab-btn i {
        font-size: 13px;
    }
    
    .form-fields-row,
    .contact-fields-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .field-group {
        min-width: auto;
        width: 100%;
    }
    
    .form-input {
        padding: 12px 15px;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 8px;
    }
    
    .field-label {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .search-btn {
        padding: 15px 25px;
        font-size: 15px;
        border-radius: 8px;
        letter-spacing: 0.5px;
    }
    
    .search-btn i {
        margin-right: 8px;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .booking-form-section {
        width: 98%;
        margin: 10px auto;
    }
    
    .taxi-booking-form {
        padding: 15px;
        border-radius: 10px;
    }
    
    .booking-title {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .trip-tabs-container {
        margin-bottom: 20px;
    }
    
    .tab-buttons {
        flex-direction: inherit;
        gap: 3px;
        padding: 3px;
    }
    
    .tab-btn {
        width: 100%;
        padding: 12px 15px;
        justify-content: center;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .form-fields-row,
    .contact-fields-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .form-input {
        padding: 12px;
        font-size: 16px;
    }
    
    .search-btn {
        padding: 14px 20px;
        font-size: 14px;
        font-weight: 600;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .booking-form-section {
        width: 100%;
        margin: 5px auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .taxi-booking-form {
        padding: 12px;
        border-radius: 8px;
    }
    
    .booking-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .trip-tabs-container {
        margin-bottom: 15px;
    }
    
    .tab-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .tab-btn i {
        font-size: 12px;
    }
    
    .form-fields-row,
    .contact-fields-row {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .field-label {
        font-size: 10px;
        margin-bottom: 5px;
    }
    
    .form-input {
        padding: 10px 12px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    .search-btn {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .search-btn i {
        margin-right: 6px;
        font-size: 12px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .booking-form-section {
        padding: 15px 5px;
    }
    
    .taxi-booking-form {
        padding: 10px;
    }
    
    .booking-title {
        font-size: 25px;
        margin-bottom: 10px;
        font-weight: 800;
    }
    
    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 4px;
    }
    
    .form-input {
        padding: 8px 10px;
        font-size: 16px;
    }
    
    .search-btn {
        padding: 10px 15px;
        font-size: 12px;
        letter-spacing: 0.3px;
    }
}

/* Error Messages */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

/* Mobile Footer Action Buttons */
.mobile-footer-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    padding: 10px 10px 25px 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-action-buttons {
    display: flex;
    width: 100%;
    gap: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-call-btn,
.mobile-whatsapp-btn {
    flex: 1;
    padding: 15px 15px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-height: 60px;
    text-align: center;
    border-radius: 25px;
    margin: 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    border: none;
    outline: none;
    max-width: calc(50% - 4px);
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}

.mobile-call-btn {
    background: #ff9500;
    border-right: none;
}

.mobile-call-btn:hover {
    background: #e8860a;
    color: white;
    text-decoration: none;
}

.mobile-whatsapp-btn {
    background: #25d366;
}

.mobile-whatsapp-btn:hover {
    background: #20c55a;
    color: white;
    text-decoration: none;
}

.mobile-call-btn i,
.mobile-whatsapp-btn i {
    font-size: 20px;
}

.mobile-call-btn span,
.mobile-whatsapp-btn span {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}

/* Show only on mobile devices */
@media (max-width: 767.98px) {
    .mobile-footer-actions {
        display: block !important;
    }
    
    /* Add bottom padding to body to account for fixed buttons */
    body {
        padding-bottom: 90px;
    }
    
    /* Ensure buttons are always visible on mobile */
    .mobile-call-btn,
    .mobile-whatsapp-btn {
        display: flex !important;
    }
}

/* Extra spacing for very small screens */
@media (max-width: 480px) {
    .mobile-footer-actions {
        padding: 8px 8px 8px 8px;
    }
    
    .mobile-action-buttons {
        gap: 6px;
    }
    
    .mobile-call-btn,
    .mobile-whatsapp-btn {
        padding: 12px 10px;
        font-size: 14px;
        min-height: 55px;
        max-width: calc(50% - 3px);
    }
    
    .mobile-call-btn i,
    .mobile-whatsapp-btn i {
        font-size: 18px;
    }
    
    .mobile-call-btn span,
    .mobile-whatsapp-btn span {
        font-size: 13px;
    }
    
    body {
        padding-bottom: 80px;
    }
}


.PageContent{
    padding: 7rem 0;
} 
.aon-banner-text-page{
    left: 50%;;
}
.aon-banner-text-page h1{
    color: var(--whiteColor);
}
@media only screen and (max-width:768px) 
{
    .sf-overlay-wrapper{
        display: none;
    }
    .d-mobile a{
        font-size: 0.8rem;
    }
    .sticky-wrapper{
        display: none;
    }
    .PageContent{
        padding: 1rem 0;
    }
    .call-section .call-number{
        font-size: 21px;
    }
}


