/* ===================================================
   AZAAD TRAVEL - NEW HOMEPAGE STYLES (az- prefix)
   Glassmorphism Design System
   =================================================== */

/* ===== ROOT VARIABLES ===== */
/* ===== GLOBAL RESET FOR WIDGET ===== */
.az-booking-widget,
.az-booking-widget *,
.az-booking-widget *::before,
.az-booking-widget *::after {
    box-sizing: border-box !important;
}

:root {
    --az-primary: #ffc107;
    --az-primary-dark: #ff9800;
    --az-blue: #0ea5e9;
    --az-blue-light: #38bdf8;
    --az-blue-dark: #0284c7;
    --az-blue-pale: #e0f2fe;
    --az-blue-glass: rgba(14, 165, 233, 0.15);
    --az-dark: #0f172a;
    --az-dark-light: #1e293b;
    --az-text: #1e293b;
    --az-text-light: #64748b;
    --az-text-muted: #94a3b8;
    --az-bg: #f4f5f9;
    --az-white: #fff;
    --az-border: #e2e8f0;
    --az-glass-bg: rgba(255, 255, 255, 0.9);
    --az-glass-border: rgba(255, 255, 255, 0.4);

    /* Spacing System */
    --az-space-1: 4px;
    --az-space-2: 8px;
    --az-space-3: 12px;
    --az-space-4: 16px;
    --az-space-5: 20px;
    --az-space-6: 24px;
    --az-space-8: 32px;
    --az-space-12: 48px;

    /* Visual Polish */
    --az-radius-sm: 8px;
    --az-radius-md: 12px;
    --az-radius-lg: 16px;
    --az-radius-xl: 20px;
    --az-radius-full: 9999px;

    --az-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --az-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04);
    --az-shadow-lg: 0 12px 20px rgba(0, 0, 0, 0.06);
    --az-shadow-xl: 0 24px 32px rgba(0, 0, 0, 0.08);
    --az-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);

    --az-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --az-section-padding: 30px 5%;
    /* Fallback */
    --az-container-width: 1200px;
}

body {
    background-color: var(--az-bg);
}

/* ===== CONTAINER SYSTEM ===== */
.az-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== CONSISTENT SECTION STYLING ===== */
/* ===== CONSISTENT SECTION STYLING ===== */
.az-section {
    padding: 40px 0;
    width: 100%;
    background: transparent;
}


/* Hide original sections on homepage */
body.home-page .offers-section,
body.home-page .religious-grid-section,
body.home-page .popular-routes-section,
body.home-page .booking-widget {
    display: none !important;
}

/* ===== HERO SLIDER ===== */
.az-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    /* Allow clicks to pass through to form */
}

.az-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
    /* Allow clicks to pass through */
}

.az-hero-slide.active {
    opacity: 1;
}

.az-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    /* Allow clicks to pass through to form elements */
}

/* Ensure header content appears above slider */
body.home-page .header-content {
    position: relative;
    z-index: 10;
}

/* ===== BOOKING WIDGET ===== */
.az-booking-widget {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--az-radius);
    box-shadow: var(--az-shadow-lg);
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.az-service-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--az-border);
}

.az-service-tab {
    flex: 1;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    color: var(--az-blue-dark);
    font-weight: 600;
    font-size: 13px;
    transition: var(--az-transition);
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.az-service-tab i {
    font-size: 20px;
}

.az-service-tab.active {
    color: var(--az-white);
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
}

.az-service-tab:not(.active):hover {
    background: rgba(14, 165, 233, 0.2);
}

.az-service-tab input {
    display: none;
}

.az-form-body {
    padding: 24px;
}

/* Trip Toggle */
.az-trip-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.az-toggle-group {
    display: inline-flex;
    background: rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--az-border);
    border-radius: 50px;
    padding: 4px;
}

.az-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--az-blue-dark);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--az-transition);
    font-family: 'Inter', sans-serif;
}

.az-toggle-btn.active {
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    color: var(--az-white);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.25);
}

.az-toggle-btn:not(.active):hover {
    background: rgba(14, 165, 233, 0.15);
}

.az-toggle-btn input {
    display: none;
}

/* Form Fields */
.az-form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--az-transition);
}

.az-field {
    position: relative;
    width: 100%;
    animation: azFadeSlideIn 0.4s ease forwards;
}

@keyframes azFadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.az-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--az-blue-dark);
    margin-bottom: 8px;
}

.az-input-wrap {
    position: relative;
    border: none !important;
    background: transparent !important;
    transition: var(--az-transition);
}

.az-input-wrap:focus-within .az-input {
    border-color: var(--az-blue) !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15) !important;
}

.az-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--az-blue);
    font-size: 16px;
    z-index: 1;
}

/* Higher specificity to beat mobile.css !important rules */
body.home-page .az-booking-widget .az-input,
body.home-page .az-booking-widget input.az-input,
body.home-page .az-booking-widget select.az-input,
body.home-page .az-booking-widget input.pac-target-input {
    width: 100% !important;
    padding: var(--az-space-3) var(--az-space-3) var(--az-space-3) 50px !important;
    border: 2px solid var(--az-border) !important;
    background: var(--az-white) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--az-text) !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    height: 52px !important;
    line-height: normal !important;
    display: block !important;
    appearance: none;
    -webkit-appearance: none;
    border-radius: var(--az-radius-sm) !important;
    transition: var(--az-transition) !important;
}

/* Specific fix for selects */
body.home-page .az-booking-widget select.az-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230ea5e9'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

.az-input:focus {
    border-color: var(--az-blue) !important;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.12) !important;
}

.az-input::placeholder {
    color: var(--az-text-muted);
}

.az-field-hint {
    font-size: 11px;
    color: var(--az-blue);
    margin-top: 6px;
    font-weight: 500;
}

/* Swap Button */
.az-swap-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.az-swap-row .az-field {
    flex: 1;
}

.az-swap-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--az-radius-full);
    background: var(--az-blue-pale);
    border: 2px solid var(--az-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--az-transition);
    color: var(--az-blue-dark);
    flex-shrink: 0;
    /* Aligns with input centers, accounting for label (11px + 8px gap) */
    margin-top: calc(11px * 1.2 + 8px);
}

.az-swap-btn:hover {
    background: var(--az-blue-dark);
    color: var(--az-white);
    border-color: var(--az-blue-dark);
    transform: rotate(180deg);
}

.az-swap-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--az-blue-pale), 0 0 0 5px var(--az-blue);
}

/* Date Time Grid */
.az-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
    transition: var(--az-transition);
}



.az-datetime-grid.oneway-mode {
    max-width: 100%;
    /* Ensure full width on mobile/base too if desired, or keep centered? User said 'issue only on desktop', keeping safe default */
}

.az-return-fields {
    display: none;
    grid-column: 1 / -1;
    /* Spans full width row on mobile grid */
    flex: 2;
    /* Prepared for desktop flex switch */
}

.az-return-fields.show {
    display: flex;
    gap: var(--az-space-4);
    width: 100%;
}

.az-return-fields.show>.az-field {
    flex: 1;
}

/* Add Stops */
.az-add-stops {
    text-align: center;
    margin-top: 16px;
}

.az-add-stops-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--az-blue);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--az-transition);
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--az-border);
}

.az-add-stops-link:hover {
    background: var(--az-blue);
    color: var(--az-white);
}

/* Search Button */
.az-search-btn {
    width: 100%;
    padding: var(--az-space-4);
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    border: none;
    border-radius: var(--az-radius-md);
    color: var(--az-white);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--az-transition);
    font-family: 'Inter', sans-serif;
    margin-top: var(--az-space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--az-space-2);
    min-height: 56px;
    /* Accessibility: better touch target */
}

.az-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
}

.az-search-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--az-white), 0 0 0 6px var(--az-blue);
}

.az-search-btn:active {
    transform: scale(0.98);
}

/* Form Sections */
.az-form-section {
    display: none;
    animation: azFadeIn 0.4s ease;
}

.az-form-section.active {
    display: block;
}

@keyframes azFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS SECTION ===== */
.az-stats-section.az-section {
    padding: 40px 0 20px;
    background: transparent;
    width: 100%;
}

.az-stats-grid {
    display: flex;
    gap: 12px;
    /* On desktop, keep flex but we'll use container to constrain width */
    width: 100%;
    margin: 0 auto;
    padding: 0 0 16px;
}

.az-stats-grid::-webkit-scrollbar {
    display: none;
}

.az-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--az-space-2);
    padding: var(--az-space-4) var(--az-space-3);
    background: var(--az-white);
    border-radius: var(--az-radius-md);
    border: 1px solid var(--az-border);
    text-align: center;
    transition: var(--az-transition);
    flex: 1;
    min-width: 140px;
    scroll-snap-align: start;
    box-shadow: var(--az-shadow-sm);
}

.az-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--az-shadow-md);
}

.az-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-white);
    font-size: 14px;
}

.az-stat-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--az-dark);
    line-height: 1;
}

.az-stat-label {
    font-size: 11px;
    color: var(--az-text-light);
    line-height: 1.3;
}

/* ===== SECTION HEADERS ===== */
.az-section-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 24px;
}

.az-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--az-text);
    margin-bottom: 8px;
}

.az-section-subtitle {
    font-size: 14px;
    color: var(--az-text-light);
}

/* ===== OFFERS SECTION ===== */
/* ===== OFFERS SECTION ===== */
.az-offers-section.az-section {
    background: transparent;
    max-width: 100%;
    padding-top: 20px;
}

.az-offers-section .az-container {
    background: var(--az-white);
    border-radius: var(--az-radius-xl);
    padding: 32px 0;
    box-shadow: var(--az-shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: visible;
}

.az-offers-menu {
    display: flex;
    gap: 10px;
    padding: 0 24px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}

.az-offers-menu::-webkit-scrollbar {
    display: none;
}

.az-offers-menu-btn {
    flex-shrink: 0;
    padding: var(--az-space-2) var(--az-space-4);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--az-blue-dark);
    cursor: pointer;
    transition: var(--az-transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--az-space-2);
    min-height: 44px;
    /* Accessibility: touch target */
}

.az-offers-menu-btn i {
    font-size: 13px;
}

.az-offers-menu-btn.active {
    background: var(--az-blue);
    color: var(--az-white);
    border-color: var(--az-blue);
}

.az-offers-panel {
    display: none;
}

.az-offers-panel.active {
    display: block;
}

.az-offers-carousel {
    display: flex;
    /* Explicitly align left to prevent first card from being cut off */
    justify-content: flex-start;
    gap: var(--az-space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Restore comfortable side padding */
    padding: var(--az-space-2) 24px var(--az-space-4) 24px;
    scroll-padding-left: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.az-offers-carousel::-webkit-scrollbar {
    display: none;
}

.az-offer-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--az-white);
    border: 1px solid var(--az-border);
    /* Standardized border radius */
    border-radius: 16px;
    overflow: hidden;
    transition: var(--az-transition);
    box-shadow: var(--az-shadow-sm);
}

.az-offer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--az-shadow-md);
}

.az-offer-img {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.az-offer-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--az-blue);
    color: var(--az-white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.az-offer-content {
    padding: 14px;
}

.az-offer-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--az-text);
    margin-bottom: 4px;
}

.az-offer-desc {
    font-size: 12px;
    color: var(--az-text-light);
    line-height: 1.4;
}

.az-offer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    color: var(--az-white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: var(--az-transition);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.az-offer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.az-offer-cta-btn i {
    font-size: 12px;
}

/* ===== WHY US SECTION ===== */
/* ===== WHY US SECTION ===== */
.az-why-section.az-section {
    background: transparent;
    max-width: 100%;
}

.az-why-section .az-container {
    background: var(--az-white);
    border-radius: var(--az-radius-xl);
    padding: 32px 24px;
    box-shadow: var(--az-shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.az-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--az-space-4);
    max-width: 800px;
    margin: 0 auto;
}

.az-why-card {
    background: var(--az-white);
    border-radius: var(--az-radius-md);
    padding: var(--az-space-5) var(--az-space-3);
    text-align: center;
    border: 1px solid var(--az-border);
    transition: var(--az-transition);
    box-shadow: var(--az-shadow-sm);
}

.az-why-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--az-shadow-md);
}

.az-why-img {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--az-blue-pale);
}

.az-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-why-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--az-text);
    line-height: 1.3;
}

/* ===== PILGRIMAGE SECTION ===== */
/* ===== PILGRIMAGE SECTION ===== */
.az-pilgrimage-section.az-section {
    padding: 64px 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mandala" patternUnits="userSpaceOnUse" width="40" height="40"><circle cx="20" cy="20" r="18" fill="none" stroke="%23ffc10715" stroke-width="0.5"/><circle cx="20" cy="20" r="12" fill="none" stroke="%23ffc10712" stroke-width="0.5"/><circle cx="20" cy="20" r="6" fill="none" stroke="%23ffc10710" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23mandala)"/></svg>'),
        linear-gradient(135deg, #7c2d12 0%, #9a3412 50%, #c2410c 100%);
    position: relative;
    width: 100%;
}

.az-pilgrimage-wrapper {
    position: relative;
    margin: 0 -24px;
}

.az-scroll-guide {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: none;
    /* Only mobile */
    align-items: center;
    justify-content: center;
    color: #c2410c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    animation: azBounceX 1.5s infinite;
    pointer-events: none;
}

@keyframes azBounceX {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(8px);
    }
}

.az-pilgrimage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--az-primary), #f97316, var(--az-primary));
}

.az-section-header-ethnic .az-section-title {
    color: var(--az-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.az-section-header-ethnic .az-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.az-pilgrimage-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: none;
    padding: 0 24px 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

@media (max-width: 768px) {
    .az-pilgrimage-carousel {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
        grid-auto-columns: calc(50% - 10px);
        gap: 12px;
        padding: 0 24px 20px;
        scroll-snap-type: x mandatory;
    }

    .az-scroll-guide {
        display: flex;
    }
}

.az-pilgrimage-carousel::-webkit-scrollbar {
    display: none;
}

.az-pilgrimage-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 220px;
    border: 2px solid var(--az-primary);
    box-shadow: var(--az-shadow-md);
    transition: var(--az-transition);
}

@media (max-width: 768px) {
    .az-pilgrimage-card {
        flex: none;
        width: 100%;
        height: 160px;
        border-width: 1px;
    }
}

.az-pilgrimage-card:hover {
    transform: scale(1.03);
    box-shadow: var(--az-shadow-lg);
}

.az-pilgrimage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-pilgrimage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.az-pilgrimage-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--az-primary);
}

.az-pilgrimage-route {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.az-pilgrimage-price {
    font-size: 12px;
    color: var(--az-white);
    font-weight: 600;
    margin-top: 6px;
}

/* Religious Routes Tabs */
.az-rel-routes-container {
    margin-top: 40px;
    padding: 0 24px;
}

.az-rel-tabs-header {
    margin-bottom: 20px;
    text-align: center;
}

.az-rel-tabs-title {
    color: var(--az-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.az-rel-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 10px 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

@media (max-width: 768px) {
    .az-rel-tabs {
        justify-content: flex-start;
    }
}

.az-rel-tabs::-webkit-scrollbar {
    display: none;
}

.az-rel-tab {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.az-rel-tab.active {
    background: var(--az-primary);
    border-color: var(--az-primary);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.az-rel-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.az-rel-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.az-rel-panel .az-routes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .az-rel-panel .az-routes-list {
        grid-template-columns: 1fr;
    }
}

/* ===== ROUTES SECTION ===== */
.az-routes-section.az-section {
    background: var(--az-bg);
    max-width: 100%;
}

.az-routes-container {
    max-width: 800px;
    margin: 0 auto;
}

.az-city-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 24px 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    scroll-snap-type: none;
    /* Smooth auto-scroll */
}

.az-city-tabs::-webkit-scrollbar {
    display: none;
}

.az-city-tab {
    display: flex;
    align-items: center;
    gap: var(--az-space-2);
    padding: var(--az-space-2) var(--az-space-4) var(--az-space-2) var(--az-space-2);
    background: var(--az-white);
    border: 2px solid var(--az-border);
    border-radius: var(--az-radius-full);
    cursor: pointer;
    transition: var(--az-transition);
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
    /* Accessibility: better touch target */
}

.az-city-tab:hover {
    border-color: var(--az-blue);
    box-shadow: var(--az-shadow-md);
    transform: translateY(-1px);
}

.az-city-tab:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--az-white), 0 0 0 5px var(--az-blue);
}

.az-city-tab.active {
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    border-color: var(--az-blue-dark);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.az-city-tab-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--az-blue-pale);
    flex-shrink: 0;
}

.az-city-tab.active .az-city-tab-img {
    border-color: rgba(255, 255, 255, 0.5);
}

.az-city-tab-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-city-tab-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--az-text);
    white-space: nowrap;
}

.az-city-tab.active .az-city-tab-name {
    color: var(--az-white);
}

.az-city-panel {
    display: none;
    animation: azFadeIn 0.4s ease;
}

.az-city-panel.active {
    display: block;
}

.az-routes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.az-route-card {
    background: var(--az-white);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-md);
    padding: var(--az-space-4) var(--az-space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--az-space-4);
    transition: var(--az-transition);
    text-decoration: none;
    box-shadow: var(--az-shadow-sm);
}

.az-route-card:hover {
    border-color: var(--az-blue);
    box-shadow: var(--az-shadow-md);
    transform: translateY(-2px);
}

.az-route-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--az-white), 0 0 0 5px var(--az-blue);
}

.az-route-info {
    flex: 1;
    min-width: 0;
}

.az-route-cities {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.az-route-from,
.az-route-to {
    font-size: 15px;
    font-weight: 700;
    color: var(--az-text);
}

.az-route-arrow {
    color: var(--az-blue);
    font-size: 14px;
}

.az-route-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.az-route-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--az-text-light);
}

.az-route-meta-item i {
    font-size: 11px;
    color: var(--az-blue);
}

.az-route-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.az-route-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--az-blue-dark);
}

.az-route-book-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    color: var(--az-white);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--az-transition);
}

.az-route-card:hover .az-route-book-btn {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

/* ===== TESTIMONIALS ===== */
.az-testimonials-section.az-section {
    background: linear-gradient(135deg, var(--az-blue-pale) 0%, var(--az-white) 100%);
    max-width: 100%;
}

.az-testimonial-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px 16px;
    scrollbar-width: none;
}

.az-testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.az-testimonial-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--az-white);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-sm);
    padding: 20px;
}

.az-testimonial-stars {
    color: var(--az-primary);
    font-size: 13px;
    margin-bottom: 12px;
}

.az-testimonial-text {
    font-size: 14px;
    color: var(--az-text);
    line-height: 1.5;
    margin-bottom: 16px;
    font-style: italic;
}

.az-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.az-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-white);
    font-weight: 700;
    font-size: 13px;
}

.az-author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--az-text);
}

.az-author-route {
    font-size: 12px;
    color: var(--az-text-light);
}

/* ===== COVERAGE CTA ===== */
.az-coverage-section.az-section {
    background: linear-gradient(135deg, var(--az-blue) 0%, var(--az-blue-dark) 100%);
    text-align: center;
    max-width: 100%;
}

.az-coverage-title {
    /* Increased headline size as requested */
    font-size: 42px;
    font-weight: 800;
    color: var(--az-white);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.az-coverage-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.az-coverage-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--az-white);
    color: var(--az-blue-dark);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--az-transition);
}

.az-coverage-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== FAQ ===== */
/* ===== FAQ ===== */
.az-faq-section.az-section {
    background: transparent;
    max-width: 100%;
}

.az-faq-section .az-container {
    background: var(--az-white);
    border-radius: var(--az-radius-xl);
    padding: 32px 24px;
    box-shadow: var(--az-shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.az-faq-list {
    padding: 0 16px;
    max-width: 700px;
    margin: 0 auto;
}

.az-faq-item {
    background: var(--az-white);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.az-faq-question {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--az-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.az-faq-question i {
    transition: var(--az-transition);
    color: var(--az-blue);
    font-size: 14px;
}

.az-faq-item.open .az-faq-question i {
    transform: rotate(180deg);
}

.az-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.az-faq-item.open .az-faq-answer {
    max-height: 200px;
}

.az-faq-answer p {
    padding: 0 20px 16px;
    font-size: 13px;
    color: var(--az-text-light);
    line-height: 1.6;
}

/* ===== MOBILE RESPONSIVE ===== */
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .az-offers-section .az-container,
    .az-why-section .az-container,
    .az-faq-section .az-container {
        padding: 24px 0;
        border-radius: 16px;
    }

    .az-offers-menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 0 16px 20px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .az-offers-menu::-webkit-scrollbar {
        display: none;
    }

    .az-offers-menu-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .az-offers-carousel {
        padding: var(--az-space-2) 16px var(--az-space-4) 16px;
        scroll-padding-left: 16px;
        scroll-snap-type: none;
    }

    /* Reverted City Routes to vertical stacking on mobile */
    .az-routes-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }

    .az-route-card {
        width: 100%;
    }

    .az-booking-widget {
        margin: 0 12px;
        border-radius: 12px;
    }

    .az-service-tab {
        padding: 12px 8px;
        font-size: 11px;
    }

    .az-service-tab i {
        font-size: 18px;
    }

    .az-form-body {
        padding: 16px;
    }

    .az-swap-row {
        flex-direction: row;
        gap: 8px;
    }

    .az-swap-btn {
        margin-top: 20px;
    }

    .az-swap-btn:hover {
        transform: rotate(180deg);
    }

    /* =========================
       STATS SECTION – NO SCROLL
       ========================= */

    .az-stats-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .az-stat-item {
        min-width: 0 !important;
        padding: 10px 6px !important;
        flex: unset !important;
        width: auto !important;
    }

    .az-stat-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .az-stat-number {
        font-size: 14px;
    }

    .az-stat-label {
        font-size: 10px;
        line-height: 1.2;
    }

    .az-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--az-space-3);
    }

    .az-input,
    body.home-page .az-booking-widget .az-input,
    body.home-page .az-booking-widget input.pac-target-input {
        padding-left: 50px !important;
        font-size: 16px !important;
        /* Accessibility: better for mobile */
        height: 52px !important;
    }
}

/* ===== DESKTOP ENHANCEMENTS ===== */
@media (min-width: 769px) {
    .az-booking-widget {
        max-width: 900px;
        border-radius: 20px;
    }

    .az-service-tab {
        flex-direction: row;
        gap: 10px;
        padding: 18px 24px;
        font-size: 14px;
    }

    .az-form-body {
        padding: 32px;
    }

    /* Airport & Hourly forms: side-by-side fields */
    #az-airport-form .az-form-grid,
    #az-hourly-form .az-form-grid {
        flex-direction: row;
        gap: 20px;
    }

    .az-datetime-grid {
        display: flex;
        /* Switch to flex for 4-col layout */
        flex-wrap: nowrap;
        gap: 20px;
    }

    .az-datetime-grid>.az-field {
        flex: 1;
        /* 25% width in 4-col setup */
    }

    .az-datetime-grid.oneway-mode {
        max-width: 100%;
    }

    .az-offers-carousel {
        justify-content: flex-start;
    }

    .az-pilgrimage-card {
        flex: 0 0 200px;
        height: 250px;
    }
}

/* ===== HOMEPAGE HEADER TRANSPARENCY FIX ===== */

body.home-page .top-bar {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.home-page .top-bar.sticky-active {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    position: fixed !important;
    /* Force fixed over absolute */
    top: 0;
}

body.home-page .top-bar {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* ===== HERO SECTION REFACTOR ===== */

body.home-page .az-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.home-page .az-hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
}

body.home-page .header-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Ensure header overlays hero */
body.home-page header.main-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
}

/* ===== CUSTOMER STORIES REFACTOR ===== */

.az-testimonials-section .az-container {
    background: var(--az-white);
    border-radius: var(--az-radius-xl);
    padding: 32px 24px;
    box-shadow: var(--az-shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.az-testimonials-section .az-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.az-see-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.az-see-more-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--az-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.az-see-more-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--az-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.az-see-more-container:hover .az-see-more-btn {
    background: var(--az-blue);
    color: #fff;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.az-see-more-container:hover .az-see-more-text {
    color: var(--az-blue-dark);
}

.az-testimonial-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.az-testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.az-testimonial-card {
    min-width: 280px;
    flex: 0 0 280px;
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--az-border);
}

/* Remove Stop Button */
.az-remove-stop {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 16px;
    padding: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
}

.az-remove-stop:hover {
    color: #dc2626;
    background-color: rgba(239, 68, 68, 0.1);
    transform: translateY(-50%) scale(1.1);
}