/**
 * EMS Travel Hub - Unified Custom Theme & Comprehensive System Responsiveness
 * Matching Luxury ERP & Marketplace Palette:
 * Deep Navy: #071324 / #0a192f / #0f2744 / #132847
 * Borders: #1e3a5f / rgba(245, 158, 11, 0.3)
 * Amber Gold Accent: #f59e0b / #d97706 / #fbbf24
 * High-Contrast Text: #ffffff / #f8fafc / #cbd5e1 / #94a3b8
 */

:root {
    --theme-color: #f59e0b;
    --primary-color: #f59e0b;
    --theme-color2: #d97706;
    --title-color: #0a192f;
    --title-color2: #071324;
    --smoke-color: #f8fafc;
    --smoke-color2: #f1f5f9;
    --yellow-color: #f59e0b;
    --navy-950: #071324;
    --navy-900: #0a192f;
    --navy-800: #0f2744;
    --navy-border: #1e3a5f;
}

/* Global Overflow Prevention */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* Hide demo switcher */
.color-scheme-wrap, .switchIcon {
    display: none !important;
}

/* ==========================================================================
   1. BUTTON HOVER FIXES (Guaranteed 100% visible text on all buttons)
   ========================================================================== */

/* Completely eliminate conflicting pseudo-elements from Tourm style.css */
.th-btn::before,
.th-btn::after,
.th-btn.style1::before,
.th-btn.style1::after,
.th-btn.style2::before,
.th-btn.style2::after,
.th-btn.style3::before,
.th-btn.style3::after,
.th-btn.style4::before,
.th-btn.style4::after,
.th-btn.style5::before,
.th-btn.style5::after,
.th-btn.style6::before,
.th-btn.style6::after,
.th-btn.style7::before,
.th-btn.style7::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Base Button Styling */
.th-btn {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 14px 28px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    line-height: 1.3 !important;
}

.th-btn,
.th-btn > *,
.th-btn span,
.th-btn i {
    position: relative !important;
    z-index: 3 !important;
}

/* Style 1 (Primary Gold Action Button) */
.th-btn,
.th-btn.style1 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #071324 !important;
    border: 1.5px solid transparent !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

.th-btn *,
.th-btn.style1 * {
    color: #071324 !important;
}

.th-btn:hover,
.th-btn:focus,
.th-btn.style1:hover,
.th-btn.style1:focus {
    background: #071324 !important;
    color: #f59e0b !important;
    border-color: #f59e0b !important;
    box-shadow: 0 8px 25px rgba(10, 25, 47, 0.5) !important;
    transform: translateY(-2px) !important;
}

.th-btn:hover *,
.th-btn:focus *,
.th-btn.style1:hover *,
.th-btn.style1:focus * {
    color: #f59e0b !important;
}

/* Style 2 (Navy Button with Gold Border) */
.th-btn.style2 {
    background: #0a192f !important;
    color: #f59e0b !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.th-btn.style2 * {
    color: #f59e0b !important;
}

.th-btn.style2:hover,
.th-btn.style2:focus {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #071324 !important;
    border-color: #f59e0b !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35) !important;
    transform: translateY(-2px) !important;
}

.th-btn.style2:hover *,
.th-btn.style2:focus * {
    color: #071324 !important;
}

/* Style 4 (Compact Navy Card Action Button) */
.th-btn.style4 {
    background: #0f2744 !important;
    color: #ffffff !important;
    border: 1.5px solid #1e3a5f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.th-btn.style4 * {
    color: #ffffff !important;
}

.th-btn.style4:hover,
.th-btn.style4:focus {
    background: #f59e0b !important;
    color: #071324 !important;
    border-color: #f59e0b !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35) !important;
    transform: translateY(-2px) !important;
}

.th-btn.style4:hover *,
.th-btn.style4:focus * {
    color: #071324 !important;
}

/* Size Variants */
.th-btn.btn-sm {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

.th-btn.btn-lg {
    padding: 16px 36px !important;
    font-size: 16px !important;
}

/* Standard Bootstrap Button Overrides */
.btn-outline-light {
    border-color: #1e3a5f !important;
    color: #f8fafc !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #071324 !important;
}

.btn-outline-light:hover *,
.btn-outline-light:focus * {
    color: #071324 !important;
}

.btn-outline-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    background-color: #f59e0b !important;
    color: #071324 !important;
}

.btn-outline-warning:hover *,
.btn-outline-warning:focus * {
    color: #071324 !important;
}

.line-btn {
    color: #d97706 !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.line-btn:hover {
    color: #f59e0b !important;
}

/* ==========================================================================
   2. HOME PAGE SEARCH BAR (Luxury Color Harmony & Mobile Layout)
   ========================================================================== */

/* Remove Tourm default 896px minimum width constraint */
.hero-booking,
.hero-booking.style2,
.booking-form,
.booking-form.style2 {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Glassmorphic Dark Navy Container */
.hero-booking,
.hero-booking.style2,
.booking-form.style2 {
    background: rgba(10, 25, 47, 0.96) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.12) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    padding: 24px 28px !important;
}

/* Kill Tourm's hardcoded grey divider lines */
.booking-form.style2 .input-wrap .form-group,
.booking-form.style2 .input-wrap .form-group:not(:first-child),
.input-wrap .form-group:not(:first-child) {
    border-left: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
}

/* Search Field Box */
.hero-search-field-box {
    background: #0f2744 !important;
    border: 1.5px solid #1e3a5f !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
}

.hero-search-field-box:focus-within,
.hero-search-field-box:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* Search Labels */
.hero-booking label,
.booking-form.style2 label,
.hero-search-field-box label,
.input-wrap .form-group label {
    color: #f59e0b !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* Search Icons */
.hero-search-field-box .icon i,
.hero-booking .icon i,
.booking-form.style2 .icon i {
    color: #f59e0b !important;
    font-size: 18px !important;
}

/* Nice-Select Dropdown Component */
.hero-booking .nice-select,
.booking-form.style2 .nice-select,
.hero-search-field-box .nice-select {
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-left: 0 !important;
    padding-right: 24px !important;
    width: 100% !important;
}

.hero-booking .nice-select .current,
.booking-form.style2 .nice-select .current {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.hero-booking .nice-select:after,
.booking-form.style2 .nice-select:after,
.hero-search-field-box .nice-select:after {
    border-bottom: 2px solid #f59e0b !important;
    border-right: 2px solid #f59e0b !important;
    right: 6px !important;
    width: 7px !important;
    height: 7px !important;
    top: 13px !important;
}

.hero-booking .nice-select .list,
.booking-form.style2 .nice-select .list {
    background-color: #0a192f !important;
    border: 1.5px solid #1e3a5f !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75) !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    padding: 6px !important;
}

.hero-booking .nice-select .option,
.booking-form.style2 .nice-select .option {
    color: #cbd5e1 !important;
    background: transparent !important;
    line-height: 36px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.hero-booking .nice-select .option:hover,
.hero-booking .nice-select .option.selected,
.hero-booking .nice-select .option.focus,
.booking-form.style2 .nice-select .option:hover,
.booking-form.style2 .nice-select .option.selected,
.booking-form.style2 .nice-select .option.focus {
    background-color: #1e3a5f !important;
    color: #f59e0b !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   3. HEADER & MOBILE NAVIGATION DRAWER
   ========================================================================== */

.th-header {
    background: transparent;
}

.th-header:not(.header-absolute) {
    background: #0a192f !important;
    position: relative;
    z-index: 41;
}

.header-layout3 .sticky-wrapper {
    background: rgba(10, 25, 47, 0.97) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header-layout3 .main-menu > ul > li > a {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.15px;
}

.header-layout3 .main-menu > ul > li > a:hover,
.header-layout3 .main-menu > ul > li.active > a,
.header-layout3 .main-menu > ul > li > a.active {
    color: #f59e0b !important;
}

/* Mobile Header Alignment & Luxury Semi-Dark Backdrop */
@media (max-width: 1199px) {
    .th-header.header-absolute .menu-area {
        background: linear-gradient(180deg, rgba(7, 19, 36, 0.95) 0%, rgba(10, 25, 47, 0.88) 100%) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
        padding: 10px 0 !important;
    }

    .header-layout3 .menu-area .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .header-logo-col,
    .header-layout3 .header-logo {
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .header-main-logo {
        height: 42px !important;
        width: auto !important;
        max-width: 190px !important;
        object-fit: contain !important;
        display: block !important;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) !important;
    }

    /* Mobile Hamburger Toggle Button in Header */
    .header-layout3 .th-menu-toggle,
    .th-header .th-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        background: rgba(15, 39, 68, 0.9) !important;
        border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
        color: #f59e0b !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 19px !important;
        padding: 0 !important;
        line-height: 1 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
    }

    .header-layout3 .th-menu-toggle:hover,
    .header-layout3 .th-menu-toggle:focus {
        background: #f59e0b !important;
        border-color: #f59e0b !important;
        color: #071324 !important;
        transform: scale(1.04) !important;
    }
}

@media (max-width: 480px) {
    .header-main-logo {
        height: 36px !important;
        max-width: 155px !important;
    }

    .header-layout3 .th-menu-toggle,
    .th-header .th-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }
}

/* Mobile Off-Canvas Drawer (Pure Luxury Dark Navy - Eliminating All White/Smoke Clash) */
.th-menu-wrapper {
    position: fixed !important;
    inset: 0 !important;
    background-color: rgba(7, 19, 36, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.35s ease !important;
}

.th-menu-wrapper.th-body-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.th-menu-wrapper .th-menu-area {
    background: #0a192f !important;
    background-color: #0a192f !important;
    border-right: 2px solid #f59e0b !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85) !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 100% !important;
    left: -100% !important;
    position: relative !important;
    transition: all 0.35s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    text-align: left !important;
}

.th-menu-wrapper.th-body-visible .th-menu-area {
    left: 0 !important;
}

/* Mobile Drawer Header - Always Luxury Navy, Never Light Grey */
.mobile-menu-header,
.th-menu-wrapper .mobile-logo {
    background: #071324 !important;
    background-color: #071324 !important;
    border-bottom: 1.5px solid #142845 !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
}

.mobile-menu-header img,
.th-menu-wrapper .mobile-logo img {
    height: 38px !important;
    width: auto !important;
    max-width: 190px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) !important;
}

/* Mobile Drawer Close Button Inside Header */
.th-menu-wrapper .mobile-close-btn,
.mobile-close-btn {
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #f8fafc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.th-menu-wrapper .mobile-close-btn:hover,
.mobile-close-btn:hover {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #071324 !important;
    transform: rotate(90deg) !important;
}

/* Mobile Drawer Menu Links */
.th-mobile-menu {
    flex: 1 !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 8px 0 !important;
}

.th-mobile-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.th-mobile-menu ul li {
    border-bottom: 1px solid #142845 !important;
}

.th-mobile-menu ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 13px 20px !important;
    color: #e2e8f0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.th-mobile-menu ul li a:hover,
.th-mobile-menu ul li.active > a {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
    padding-left: 26px !important;
}

/* ==========================================================================
   4. CARDS & GRID RESPONSIVENESS
   ========================================================================== */

/* Tour & Destination Cards */
.tour-box,
.destination-item {
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.tour-box:hover,
.destination-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 35px rgba(10, 25, 47, 0.12) !important;
    border-color: #f59e0b !important;
}

.tour-box .box-title a,
.destination-item .box-title a {
    color: #0a192f !important;
    transition: color 0.2s ease !important;
}

.tour-box .box-title a:hover,
.destination-item .box-title a:hover {
    color: #f59e0b !important;
}

/* Rating Stars */
.star-rating, .tour-rating i, .testi-card_review {
    color: #f59e0b !important;
}

/* Badge Positioning Normalization */
.badge {
    position: static;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    width: auto !important;
    width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}

.position-absolute.badge,
.tour-box_img .badge,
.tour-box .badge,
.destination-item_img .badge,
.global-img .badge {
    position: absolute !important;
    height: auto !important;
    width: auto !important;
    width: fit-content !important;
}

.position-absolute.badge.bottom-0,
.badge.bottom-0,
.tour-box_img .badge.bottom-0,
.global-img .badge.bottom-0 {
    top: auto !important;
    bottom: 0 !important;
}

.position-absolute.badge.top-0,
.badge.top-0,
.tour-box_img .badge.top-0,
.global-img .badge.top-0 {
    bottom: auto !important;
    top: 0 !important;
}

.position-absolute.badge.start-0,
.badge.start-0,
.tour-box_img .badge.start-0,
.global-img .badge.start-0 {
    right: auto !important;
    left: 0 !important;
}

.position-absolute.badge.end-0,
.badge.end-0,
.tour-box_img .badge.end-0,
.global-img .badge.end-0 {
    left: auto !important;
    right: 0 !important;
}

/* Breadcrumb overlay */
.breadcumb-wrapper {
    background-color: #0a192f;
    position: relative;
    padding: 85px 0 65px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.header-absolute + main .breadcumb-wrapper,
.header-absolute ~ main .breadcumb-wrapper {
    padding-top: 170px !important;
}

.breadcumb-wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 19, 36, 0.85) 0%, rgba(10, 25, 47, 0.95) 100%);
}

.breadcumb-wrapper .container {
    position: relative;
    z-index: 2;
}

.breadcumb-title {
    color: #ffffff !important;
}

.breadcumb-menu li, .breadcumb-menu li a {
    color: #94a3b8 !important;
}

.breadcumb-menu li a:hover, .breadcumb-menu li:last-child {
    color: #f59e0b !important;
}

/* Modals */
.modal-custom {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(7, 19, 36, 0.85);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 16px;
}

.modal-custom.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-custom-dialog {
    background: #0a192f;
    border: 1px solid #1e3a5f;
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    color: #f8fafc;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
    position: relative;
    overflow: hidden;
}

/* Table Horizontal Scrolling Safeguard */
.table-responsive,
.table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Footer Styling */
.footer-wrapper.footer-layout2, .footer-wrapper {
    background: #071324 !important;
    border-top: 1px solid #152a4a !important;
}

.footer-wrapper .widget_title {
    color: #ffffff !important;
}

.footer-wrapper .widget_title:after {
    background: #f59e0b !important;
}

.footer-wrapper p, .footer-wrapper .info-box_link, .footer-wrapper .menu li a {
    color: #94a3b8 !important;
}

.footer-wrapper .info-box_link:hover, .footer-wrapper .menu li a:hover {
    color: #f59e0b !important;
}

/* ==========================================================================
   5. MEDIA QUERIES (COMPREHENSIVE RESPONSIVENESS)
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1199px) */
@media (max-width: 1199px) {
    .hero3-wrapper {
        margin-top: -180px;
    }
    .hero-style3 .hero-title {
        font-size: 44px !important;
    }
}

/* Tablets (max-width: 991px) */
@media (max-width: 991px) {
    /* Hero Offset Fix - Stop Search Overlapping Hero Text */
    .hero3-wrapper {
        margin-top: 25px !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .hero-3 .hero-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
    }

    /* Ensure Top Slider Content Is Completely Clear of Fixed/Absolute Header */
    .hero-style3 {
        padding-top: 125px !important;
        padding-bottom: 35px !important;
        text-align: center !important;
    }

    .hero-style3 .sub-title {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 12px !important;
        font-size: 13px !important;
        letter-spacing: 0.08em !important;
    }

    .hero-style3 .hero-title {
        font-size: clamp(26px, 5.5vw, 38px) !important;
        line-height: 1.24 !important;
        margin-bottom: 14px !important;
    }

    .hero-style3 .hero-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 22px !important;
        max-width: 580px !important;
    }

    .hero-style3 .btn-group {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 350px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 12px !important;
    }

    .hero-style3 .btn-group .th-btn {
        width: 100% !important;
        padding: 13px 24px !important;
    }

    .breadcumb-wrapper {
        padding: 60px 0 45px !important;
    }

    .header-absolute + main .breadcumb-wrapper,
    .header-absolute ~ main .breadcumb-wrapper {
        padding-top: 140px !important;
    }
}

/* Mobile Phones (max-width: 767px) */
@media (max-width: 767px) {
    /* Search Bar Mobile Padding & Layout */
    .hero-booking,
    .hero-booking.style2,
    .booking-form.style2 {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .hero-search-field-box {
        padding: 8px 12px !important;
    }

    .form-btn.col-12 {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        align-items: stretch !important;
        text-align: center !important;
    }

    .form-btn.col-12 .th-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
    }

    /* Modal Mobile Dimensions */
    .modal-custom {
        padding: 10px !important;
    }

    .modal-custom-dialog {
        max-height: 92vh !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
    }

    /* Section Spacing */
    .space {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .sec-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    /* Buttons inside grids on mobile */
    .destination-btn .th-btn,
    .cta-area .th-btn {
        width: 100% !important;
        max-width: 320px !important;
    }

    /* Mobile Hero Slider Padding (Clear of Header) */
    .hero-style3 {
        padding-top: 115px !important;
        padding-bottom: 25px !important;
    }

    .hero-style3 .sub-title {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    .hero-style3 .hero-title {
        font-size: clamp(22px, 5.2vw, 29px) !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .hero-style3 .hero-text {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }
}

/* Very Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-style3 {
        padding-top: 105px !important;
        padding-bottom: 20px !important;
    }

    .hero-style3 .hero-title {
        font-size: 21px !important;
        line-height: 1.28 !important;
    }

    .hero-style3 .hero-text {
        font-size: 12.5px !important;
    }

    .hero-style3 .btn-group {
        max-width: 100% !important;
    }

    .th-btn {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }

    .header-logo img,
    .header-main-logo {
        height: 36px !important;
    }
}

/* ==========================================================================
   GLOBAL CHECKBOX & RADIO VISIBILITY & INTERACTION FIX
   Overrides Tourm theme style.css which erroneously set `display: none`
   ========================================================================== */
input[type="checkbox"],
input[type="radio"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    accent-color: #059669 !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    position: static !important;
    z-index: 2 !important;
}

/* ==========================================================================
   GLOBAL BOOTSTRAP / TAILWIND ACCORDION & COLLAPSE FIX
   Tailwind's .collapse utility class enforces `visibility: collapse;`,
   which hides open accordion/collapse contents.
   ========================================================================== */
.collapse,
.collapse.show,
.collapsing,
.accordion-collapse,
.accordion-collapse.collapse,
.accordion-collapse.collapse.show {
    visibility: visible !important;
}

.collapse:not(.show) {
    display: none !important;
}

.collapse.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================================
   LUXURY TRANSPORT & CHAUFFEUR GRID CARDS
   High-converting, responsive luxury cards for Car Rental, Airport Transfers & Chauffeurs
   ========================================================================== */
.ems-transport-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ems-transport-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 20px 40px -12px rgba(7, 21, 39, 0.16), 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Image Banner & Overlays */
.ems-transport-card .card-media-banner {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #071527;
}

.ems-transport-card .card-media-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ems-transport-card:hover .card-media-banner img {
    transform: scale(1.07);
}

.ems-transport-card .card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 39, 0.55) 0%, transparent 40%, rgba(7, 21, 39, 0.85) 100%);
    pointer-events: none;
}

/* Floating Badges */
.ems-card-badge-glass {
    background: rgba(7, 21, 39, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ems-card-status-pill {
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ems-status-chauffeur {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ems-status-selfdrive {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ems-status-route {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ems-status-rating {
    background: #ffffff;
    color: #071527;
    font-weight: 800;
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.ems-card-bottom-pill {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* Card Body */
.ems-transport-card .card-content-wrap {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ems-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.ems-transport-card:hover .ems-card-title {
    color: #d97706;
}

/* Spec Matrix Grid */
.ems-spec-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.ems-spec-cell {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s ease;
}

.ems-transport-card:hover .ems-spec-cell {
    background: #ffffff;
    border-color: #cbd5e1;
}

.ems-spec-cell i {
    font-size: 13px;
    margin-bottom: 3px;
}

.ems-spec-cell .spec-val {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    white-space: nowrap;
}

.ems-spec-cell .spec-lbl {
    font-size: 9.5px;
    color: #64748b;
    line-height: 1.2;
}

/* Features List */
.ems-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.ems-card-features li {
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.ems-card-features li i {
    color: #10b981;
    font-size: 11px;
    flex-shrink: 0;
}

/* Chauffeur Specific Chips & Bio */
.ems-lang-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.ems-lang-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ems-driver-bio {
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ems-driver-fleet-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 11px;
    color: #475569;
    margin-bottom: 16px;
}

/* Card Action Footer */
.ems-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.ems-card-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ems-price-main-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

.ems-price-figure {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.ems-price-currency {
    font-size: 15px;
    font-weight: 800;
    color: #071527;
}

.ems-price-amount {
    font-size: 26px;
    font-weight: 900;
    color: #071527;
    line-height: 1;
    letter-spacing: -0.5px;
}

.ems-price-unit {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.ems-price-extra {
    text-align: right;
}

.ems-price-extra-badge {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.ems-price-extra-sub {
    font-size: 10px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Buttons Group */
.ems-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ems-btn-primary-card {
    flex-grow: 1;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
    transition: all 0.25s ease;
    cursor: pointer;
}

.ems-btn-primary-card:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.38);
    color: #ffffff !important;
}

.ems-btn-primary-card i {
    transition: transform 0.2s ease;
}

.ems-btn-primary-card:hover i {
    transform: translateX(3px);
}

.ems-btn-wa-card {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #25d366;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.ems-btn-wa-card:hover {
    background: #1eb954;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    color: #ffffff !important;
}

/* Hotel Specific Card Styles */
.ems-hotel-star-badge {
    background: rgba(7, 21, 39, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ems-hotel-suites-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3.5px solid #f59e0b;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.ems-amenity-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ems-amenity-chip i {
    color: #10b981;
    font-size: 10px;
}

.ems-hotel-policy-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

/* ==========================================================================
   LUXURY REAL TRAVELER FEEDBACK / TESTIMONIAL CARDS
   ========================================================================== */
.ems-feedback-card {
    background: linear-gradient(145deg, #0d223a 0%, #071628 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ems-feedback-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 158, 11, 0.3);
}

.feedback-quote-watermark {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 58px;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.feedback-verified-tag {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 9999px;
    padding: 2.5px 8.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feedback-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feedback-text {
    font-size: 12.5px;
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
}

.feedback-profile-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feedback-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #071527;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
    flex-shrink: 0;
}

.feedback-author-info {
    overflow: hidden;
}

.feedback-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-country {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   SYSTEM-WIDE RESPONSIVE ARCHITECTURE
   Full coverage for ultra-small mobile (320px), standard mobile (375px-576px),
   tablets (768px-991px), laptops (992px-1199px) and large displays (1200px+)
   ========================================================================== */

/* 1. Global Viewport & Anti-Overflow Protection */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #f59e0b #071527;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #071527;
    border-radius: 9999px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 9999px;
}

/* 2. Luxury Mobile Menu Drawer Styles */
.th-menu-wrapper {
    z-index: 999999 !important;
}

.th-menu-wrapper .th-menu-area {
    background: #071324 !important;
    border-right: 1px solid #1e3a5f !important;
    color: #f8fafc !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
}

.th-mobile-menu {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(100vh - 150px) !important;
    padding-bottom: 20px !important;
    margin-top: 15px !important;
}

/* Small, elegant padding for mobile menu list */
.th-mobile-menu > ul {
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin: 0 !important;
}

.th-mobile-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-left: 0 !important;
}

.th-mobile-menu ul li a {
    color: #e2e8f0 !important;
    font-size: 14px !important;
    padding: 11px 4px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.th-mobile-menu ul li a:hover,
.th-mobile-menu ul li.active > a {
    color: #f59e0b !important;
}

.th-mobile-menu ul li ul.sub-menu {
    padding-left: 10px !important;
    padding-right: 6px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

.th-mobile-menu ul li ul.sub-menu li a {
    padding: 7px 4px !important;
    font-size: 13px !important;
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.mobile-close-btn:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

/* 3. Breakpoint: Laptops & Tablets Landscape (< 1200px) */
@media (max-width: 1199px) {
    .header-layout3 .menu-area {
        padding: 10px 0;
    }
    .header-split-grid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .header-side-col.header-left-col,
    .header-side-col.header-right-col .main-menu {
        display: none !important;
    }
    .header-logo-center {
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
    }
    .header-main-logo {
        height: 40px !important;
    }
    .hero-style3 .hero-title {
        font-size: 42px !important;
        line-height: 1.22 !important;
    }
}

/* 4. Breakpoint: Tablets Portrait & Small Laptops (< 992px) */
@media (max-width: 991px) {
    /* Header & Logo */
    .header-main-logo {
        height: 38px !important;
    }

    /* Hero Area */
    .hero-style3 {
        padding: 40px 0 20px 0;
    }
    .hero-style3 .hero-title {
        font-size: 34px !important;
        line-height: 1.25 !important;
    }
    .hero3-wrapper {
        margin-top: 20px;
    }

    /* Colombo Airport Rates Header */
    .cmb-rates-header {
        padding: 22px 20px !important;
    }
    .cmb-rates-header .col-lg-5 {
        margin-top: 14px;
    }
    .cmb-spec-chip {
        flex: 1 1 auto;
    }

    /* Filter Form Grids */
    .filter-card-responsive {
        padding: 20px 16px !important;
    }

    /* Footer Responsive Grid */
    .footer-wrapper .widget-area {
        padding-top: 50px !important;
        padding-bottom: 30px !important;
    }
}

/* 5. Breakpoint: Phablets & Large Phones (< 768px) */
@media (max-width: 767px) {
    /* Section Spaces */
    .space {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    .sec-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    .sub-title {
        font-size: 11.5px !important;
    }

    /* Hero Elements */
    .hero-style3 .sub-title {
        font-size: 12px !important;
    }
    .hero-style3 .hero-title {
        font-size: 28px !important;
        line-height: 1.28 !important;
    }
    .hero-style3 .hero-text {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }
    .hero-style3 .btn-group {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .hero-style3 .btn-group .th-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 20px !important;
    }

    /* Hero Booking Search Widget */
    .hero-booking.style2 {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }
    .hero-booking.style2 .form-btn {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .hero-booking.style2 .form-btn .th-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 20px !important;
    }

    /* CMB Rates Card & Table */
    .cmb-rates-header {
        padding: 18px 16px !important;
    }
    .cmb-rates-title {
        font-size: 1.25rem !important;
    }
    .cmb-rates-desc {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }
    .cmb-custom-banner {
        padding: 16px 14px !important;
        text-align: center !important;
    }
    .cmb-custom-banner .d-flex {
        flex-direction: column !important;
        text-align: center !important;
    }
    .cmb-custom-quote-btn {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 10px !important;
        padding: 11px 18px !important;
    }

    /* Testimonials & Feedback */
    .ems-feedback-card {
        padding: 20px 18px !important;
        border-radius: 18px !important;
        margin-bottom: 12px;
    }
    .feedback-quote-watermark {
        font-size: 42px !important;
        right: 14px !important;
        top: 14px !important;
    }
    .feedback-text {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }

    /* Custom Trip Planner Modal */
    .modal-custom {
        padding: 12px !important;
    }
    .modal-custom-dialog {
        max-width: 100% !important;
        border-radius: 14px !important;
        max-height: 94vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .modal-custom-dialog .p-4 {
        padding: 16px 14px !important;
    }
    .modal-custom-dialog form.p-4 {
        padding: 16px 14px !important;
    }
    .modal-custom-dialog .form-control,
    .modal-custom-dialog .form-select {
        height: 46px !important;
        font-size: 13.5px !important;
    }

    /* Footer Adjustments */
    .footer-widget .about-logo img {
        height: 38px !important;
    }
    .footer-widget .about-text {
        font-size: 13px !important;
    }
    .copyright-wrap {
        text-align: center !important;
    }
}

/* 6. Breakpoint: Standard Mobile Phones (< 576px) */
@media (max-width: 575px) {
    /* Section Spaces */
    .space {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
    .sec-title {
        font-size: 1.55rem !important;
    }

    /* Breadcrumbs */
    .breadcumb-wrapper {
        padding: 45px 0 !important;
    }
    .breadcumb-title {
        font-size: 24px !important;
    }

    /* Transport & Hotel Luxury Cards */
    .ems-transport-card {
        border-radius: 16px !important;
    }
    .ems-transport-card .card-media-banner {
        height: 205px !important;
    }
    .ems-card-badge-glass {
        font-size: 10px !important;
        padding: 3.5px 9px !important;
        margin: 10px !important;
    }
    .ems-card-status-pill {
        font-size: 10px !important;
        padding: 3.5px 9px !important;
        margin: 10px !important;
    }
    .ems-card-bottom-pill {
        font-size: 10px !important;
        padding: 3px 8px !important;
        margin: 10px !important;
    }
    .ems-transport-card .card-content-wrap {
        padding: 16px 14px !important;
    }
    .ems-card-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    /* Spec Matrix */
    .ems-spec-matrix {
        gap: 6px !important;
        margin-bottom: 12px !important;
    }
    .ems-spec-cell {
        padding: 6px 3px !important;
        border-radius: 8px !important;
    }
    .ems-spec-cell .spec-val {
        font-size: 10.5px !important;
    }
    .ems-spec-cell .spec-lbl {
        font-size: 9px !important;
    }

    /* Card Footer & Action Buttons */
    .ems-card-footer {
        padding-top: 12px !important;
    }
    .ems-card-price-row {
        margin-bottom: 10px !important;
    }
    .ems-price-amount {
        font-size: 24px !important;
    }
    .ems-btn-primary-card {
        padding: 10px 12px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }
    .ems-btn-wa-card {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        font-size: 17px !important;
    }

    /* CMB Rates Header & Chips */
    .cmb-rates-header {
        padding: 16px 14px !important;
    }
    .cmb-spec-chip {
        padding: 7px 10px !important;
    }
    .cmb-spec-chip .spec-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .cmb-inclusion-strip {
        padding: 14px 12px !important;
    }
    .cmb-inc-item {
        gap: 8px !important;
    }
    .cmb-inc-item .inc-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
        border-radius: 7px !important;
    }
    .inc-title {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }
    .inc-desc {
        font-size: 9.5px !important;
        line-height: 1.2 !important;
    }

    /* Testimonials Trust Scoreboard */
    .testi-area3 .rounded-pill {
        border-radius: 14px !important;
        padding: 10px 14px !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    /* Filter Form Elements */
    .filter-box-card {
        padding: 16px 12px !important;
    }
    .filter-box-card .form-control,
    .filter-box-card .form-select {
        height: 46px !important;
        font-size: 13px !important;
    }
}

/* 7. Breakpoint: Ultra-Small Mobile Phones (< 380px) */
@media (max-width: 379px) {
    /* Header & Branding */
    .header-main-logo {
        height: 32px !important;
        max-width: 130px !important;
    }
    .th-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        font-size: 17px !important;
    }
    .th-menu-wrapper .th-menu-area {
        max-width: 280px !important;
    }
    .th-mobile-menu > ul {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Floating Badges On Ultra Small Screens */
    .ems-card-badge-glass,
    .ems-card-status-pill,
    .ems-card-bottom-pill {
        font-size: 9px !important;
        padding: 2.5px 7px !important;
        margin: 6px !important;
        gap: 3px !important;
    }

    /* Spec Matrix Ultra Small */
    .ems-spec-matrix {
        gap: 4px !important;
    }
    .ems-spec-cell {
        padding: 5px 2px !important;
    }
    .ems-spec-cell i {
        font-size: 10.5px !important;
    }
    .ems-spec-cell .spec-val {
        font-size: 9.5px !important;
    }
    .ems-spec-cell .spec-lbl {
        font-size: 8px !important;
    }

    /* Price & Actions Ultra Small */
    .ems-price-amount {
        font-size: 21px !important;
    }
    .ems-price-currency {
        font-size: 13px !important;
    }
    .ems-btn-primary-card {
        padding: 9px 8px !important;
        font-size: 11px !important;
    }
    .ems-btn-wa-card {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }

    /* CMB Header Badges */
    .cmb-live-badge,
    .cmb-guarantee-badge {
        font-size: 9.5px !important;
        padding: 2.5px 8px !important;
    }
    .cmb-rates-title {
        font-size: 1.15rem !important;
    }

    /* Buttons Full Width */
    .th-btn {
        padding: 12px 18px !important;
        font-size: 13.5px !important;
    }
}
