/* ==========================================================================
   FT Travel & Tours — Global WCAG AA Accessibility & Color Contrast Tokens
   Version: 20261121 (Phase 1 Hardening)
   ========================================================================== */

:root {
    --ft-ink-primary: #1F2937;      /* 14.68:1 on #FFFFFF (AAA) */
    --ft-ink-muted: #4B5563;        /*  7.56:1 on #FFFFFF / 7.18:1 on #F8F9FA (AAA) */
    --ft-border-ui: #8B95A5;        /*  3.03:1 on #FFFFFF (AA Non-Text >= 3:1) */
    --ft-border-subtle: #9CA3AF;    /* Clean card divider */
    --ft-focus-ring: #0F4C81;       /*  8.79:1 on #FFFFFF (AAA) */
    --ft-wa-bg: #15803D;            /*  5.02:1 with #FFFFFF (AA) */
    --ft-wa-bg-hover: #166534;      /*  7.13:1 with #FFFFFF (AAA) */
    --ft-line-bg: #047857;          /*  5.48:1 with #FFFFFF (AA) */
    --ft-line-bg-hover: #065F46;    /*  7.68:1 with #FFFFFF (AAA) */
    --text: #374151;
}

/* Global Typography Readability */
body {
    color: var(--ft-ink-primary);
}

.text-muted,
.small.text-muted,
small.text-muted,
.form-text,
.tour-sidebar-items .text-muted,
.tour-details-section .text-muted,
.tour-box-items .text-muted {
    color: var(--ft-ink-muted) !important;
}

/* Dark-surface muted text (footer & dark banners) */
footer .text-white-50,
.footer-section .text-white-50,
#ftFooterCredentialsBar .text-white-50,
[style*="background: linear-gradient(135deg, #283f7d"] .text-white-50 {
    color: #E5E7EB !important;
}

/* Form Controls & UI Boundaries (>= 3:1 contrast on #FFFFFF) */
.form-control,
.form-select,
.form-check-input,
#bookingInformationForm select,
#bookingInformationForm input[type="text"],
#bookingInformationForm input[type="number"],
#customTourModal .form-control,
#customTourModal .form-select {
    color: var(--ft-ink-primary);
    border-color: var(--ft-border-ui) !important;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    color: #6B7280 !important;
    opacity: 1 !important;
}

.border,
.border-top,
.border-bottom {
    border-color: var(--ft-border-subtle) !important;
}

/* Crisp Keyboard Focus Outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.accordion-button:focus-visible {
    outline: 2px solid var(--ft-focus-ring) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.18) !important;
}

/* Accessible Badge Contrast */
.badge.bg-primary-subtle {
    background-color: #DBEAFE !important;
    color: #1E3A8A !important;
    border-color: #93C5FD !important;
}

.badge.bg-light.text-dark {
    background-color: #F3F4F6 !important;
    color: #1F2937 !important;
    border-color: #9CA3AF !important;
}

.badge.bg-warning.text-dark,
.btn-warning.text-dark {
    background-color: #F59E0B !important;
    color: #111827 !important;
}

/* WCAG AA WhatsApp Action Buttons (#15803D + #FFFFFF = 5.02:1) */
.btn-whatsapp,
#btnBookWhatsApp,
#mobileStickyWaBtn,
#btnCustomTourWa,
#ftFloatingChatWidget a[href*="wa.me"],
a[href*="wa.me"][style*="background:#25D366"],
a[href*="wa.me"][style*="background-color:#25D366"] {
    background-color: var(--ft-wa-bg) !important;
    color: #FFFFFF !important;
    border-color: var(--ft-wa-bg) !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible,
#btnBookWhatsApp:hover,
#btnBookWhatsApp:focus-visible,
#mobileStickyWaBtn:hover,
#mobileStickyWaBtn:focus-visible,
#btnCustomTourWa:hover,
#btnCustomTourWa:focus-visible,
#ftFloatingChatWidget a[href*="wa.me"]:hover,
a[href*="wa.me"][style*="background:#25D366"]:hover {
    background-color: var(--ft-wa-bg-hover) !important;
    color: #FFFFFF !important;
}

/* WCAG AA LINE Action Buttons (#047857 + #FFFFFF = 5.48:1) */
.btn-line,
#btnBookLine,
#mobileStickyLineBtn,
#btnCustomTourLine,
#ftFloatingChatWidget a[href*="line.me"],
#lineBookingModal .modal-header,
#lineBookingModal a[href*="line.me"],
a[href*="line.me"][style*="background:#06C755"],
a[href*="line.me"][style*="background-color:#06C755"] {
    background-color: var(--ft-line-bg) !important;
    color: #FFFFFF !important;
    border-color: var(--ft-line-bg) !important;
}

.btn-line:hover,
.btn-line:focus-visible,
#btnBookLine:hover,
#btnBookLine:focus-visible,
#mobileStickyLineBtn:hover,
#mobileStickyLineBtn:focus-visible,
#btnCustomTourLine:hover,
#btnCustomTourLine:focus-visible,
#ftFloatingChatWidget a[href*="line.me"]:hover,
#lineBookingModal a[href*="line.me"]:hover,
a[href*="line.me"][style*="background:#06C755"]:hover {
    background-color: var(--ft-line-bg-hover) !important;
    color: #FFFFFF !important;
}
/* ==========================================================================
   Phase 2: Navigation Header, Dropdowns & Mobile Offcanvas Drawer (WCAG AA)
   Version: 20261121p2
   ========================================================================== */

/* 1. Top Contact Strip (.header-top-section on #1D231F) */
.header-top-section {
    background-color: #111827 !important; /* Rich slate-900 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-top-wrapper .top-left li,
.header-top-wrapper .top-left li a,
.header-top-wrapper .top-left li span {
    color: #F3F4F6 !important; /* 16.07:1 on #111827 (AAA) */
    font-weight: 500;
}

.header-top-wrapper .top-left li i {
    color: #93C5FD !important; /* 9.75:1 on #111827 (AAA) */
}

.header-top-wrapper .top-left li a:hover,
.header-top-wrapper .top-left li a:focus-visible {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.header-top-wrapper .social-icon a {
    color: #F3F4F6 !important; /* 16.07:1 on #111827 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
}

.header-top-wrapper .social-icon a:hover,
.header-top-wrapper .social-icon a:focus-visible {
    color: #FDE68A !important; /* 14.23:1 on #111827 (AAA) */
    background-color: rgba(255, 255, 255, 0.12);
}

/* 2. Transparent Overlay Header on Homepage (.header-3:not(.sticky)) */
.header-3:not(.sticky) .mean__menu-wrapper {
    background: rgba(17, 24, 39, 0.78) !important; /* Guarantees >= 10:1 over bright hero skies */
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-3:not(.sticky) .main-menu ul li > a {
    color: #FFFFFF !important; /* 13.8:1+ on rgba(17,24,39,0.78) */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.header-3:not(.sticky) .main-menu ul li > a:hover,
.header-3:not(.sticky) .main-menu ul li > a:focus-visible {
    color: #FDE68A !important; /* 11.4:1+ on dark pill (AAA) */
}

.header-3:not(.sticky) .search-toggle {
    color: #FFFFFF !important;
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.header-3:not(.sticky) .sidebar__toggle {
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

.header-3:not(.sticky) .sidebar__toggle .header-bar span {
    background: #FFFFFF !important;
}

/* 3. Solid Inner Header (.header-4) & Sticky Header (.sticky) on #FFFFFF */
.header-4,
#header-sticky.sticky {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
}

.header-4 .main-menu ul li > a,
#header-sticky.sticky .main-menu ul li > a,
#header-sticky.sticky.header-2 .header-main .main-menu ul li > a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 600;
}

.header-4 .main-menu ul li > a:hover,
.header-4 .main-menu ul li > a:focus-visible,
.header-4 .main-menu ul li.active > a,
#header-sticky.sticky .main-menu ul li > a:hover,
#header-sticky.sticky .main-menu ul li > a:focus-visible,
#header-sticky.sticky.header-2 .header-main .main-menu ul li > a:hover {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
}

#header-sticky.sticky .mean__menu-wrapper {
    background: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
}

.header-4 .search-toggle,
#header-sticky.sticky .search-toggle {
    color: #111827 !important;
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    border-radius: 50%;
}

.header-4 .search-toggle:hover,
#header-sticky.sticky .search-toggle:hover {
    background: #E5E7EB;
    color: #0F4C81 !important;
}

.header-4 .sidebar__toggle .header-bar span,
#header-sticky.sticky .sidebar__toggle .header-bar span {
    background: #111827 !important;
}

/* 4. Desktop Dropdown Menus (.submenu) */
.main-menu ul li .submenu {
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 10px;
    padding: 8px 0 !important;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.14) !important;
}

.main-menu ul li .submenu li {
    padding-bottom: 0 !important;
}

.main-menu ul li .submenu li a,
#header-sticky.sticky .main-menu ul li .submenu li a,
.header-3:not(.sticky) .main-menu ul li .submenu li a {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    text-shadow: none !important;
    padding: 10px 18px !important;
    display: block !important;
    font-weight: 600 !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.main-menu ul li .submenu li a:hover,
.main-menu ul li .submenu li a:focus-visible,
#header-sticky.sticky .main-menu ul li .submenu li a:hover,
.header-3:not(.sticky) .main-menu ul li .submenu li a:hover {
    background-color: #F3F4F6 !important;
    color: #0F4C81 !important; /* 8.04:1 on #F3F4F6 (AAA) */
}

/* 5. Header Icon Buttons & 44x44px Minimum Tap Targets */
.header-search .search-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
}

.header__hamburger .sidebar__toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.header-search-bar .search-close {
    min-width: 44px;
    min-height: 44px;
    color: #111827 !important;
    background: #F3F4F6 !important;
    border: 1px solid #9CA3AF !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

.header-search-bar .contact-search-form-box p {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF */
}

/* 6. Mobile Offcanvas Drawer (.offcanvas__info & .mean-nav) */
.offcanvas__info {
    background: #FFFFFF !important;
    border-left: 3px solid #0F4C81 !important;
    max-width: 100vw;
    overflow-y: auto;
}

.offcanvas__close {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    background-color: #111827 !important; /* 17.74:1 with #FFFFFF */
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas__close button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 0;
    color: #FFFFFF !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.offcanvas__close button i {
    color: #FFFFFF !important;
    font-size: 18px;
}

.mean-container .mean-nav ul li a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    padding: 10px 8px !important;
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    font-weight: 600 !important;
    font-size: 16px !important;
    border-top: 1px solid #E5E7EB !important;
    width: 100% !important;
}

.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a:focus-visible {
    color: #0F4C81 !important;
    background-color: #F3F4F6 !important;
}

.mean-container .mean-nav ul li a.mean-expand {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111827 !important;
    background: #F3F4F6 !important;
    border: 1px solid #9CA3AF !important;
    top: 2px !important;
    padding: 0 !important;
}

.ft-offcanvas-badge {
    font-size: 13px;
    font-weight: 600;
    color: #1E3A8A; /* 9.37:1 on #DBEAFE (AAA) */
    background: #DBEAFE;
    border: 1px solid #93C5FD;
    border-radius: 8px;
    padding: 8px 12px;
}

.ft-drawer-cta,
.ft-drawer-custom-btn {
    min-height: 46px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
}

.ft-drawer-custom-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border: 1px solid #0F4C81 !important;
}

.ft-drawer-custom-btn:hover,
.ft-drawer-custom-btn:focus-visible {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

.ft-offcanvas-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    color: #374151; /* 10.69:1 on #FFFFFF */
    font-size: 14px;
    font-weight: 500;
}

.ft-offcanvas-contact li i {
    color: #0F4C81;
    width: 18px;
    text-align: center;
}

.ft-offcanvas-contact li a {
    color: #1F2937;
    text-decoration: none;
    font-weight: 600;
}

.ft-offcanvas-contact li a:hover {
    color: #0F4C81;
    text-decoration: underline;
}
/* ==========================================================================
   Phase 3: Homepage Hero & Search/Filter Sections (WCAG AA / AAA)
   Version: 20261121p3
   ========================================================================== */

/* 1. Directional Dark Gradient Scrim Over Bright Snow/Mountain/Blossom Slides */
.hero-4 .hero-items .hero-bg::before {
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.62) 0%,
        rgba(10, 15, 28, 0.48) 50%,
        rgba(10, 15, 28, 0.72) 100%
    ) !important;
    z-index: 0 !important;
}

.hero-3,
.hero-5 {
    position: relative;
}

.hero-3::before,
.hero-5::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.62) 0%,
        rgba(10, 15, 28, 0.48) 50%,
        rgba(10, 15, 28, 0.72) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.hero-3 > .container-fluid,
.hero-5 > .container-fluid {
    position: relative;
    z-index: 2;
}

/* 2. Hero Typography (>= 7:1 WCAG AAA over Scrim) */
.hero-4 .hero-items .hero-content {
    position: relative;
    z-index: 2;
}

.hero-4 .hero-content h6 {
    display: inline-block;
    color: #FDE68A !important; /* Warm gold-200: >= 9.5:1 over dark scrim */
    background: rgba(10, 15, 28, 0.55);
    border: 1px solid rgba(253, 230, 138, 0.38);
    border-radius: 999px;
    padding: 6px 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero-4 .hero-content h1,
.hero-4 .hero-content h2.hero-slide-heading,
.hero-3 .hero-content h1,
.hero-5 .hero-content h1 {
    color: #FFFFFF !important; /* >= 9:1 to 14:1 over dark scrim (AAA) */
    text-shadow: 0 2px 14px rgba(10, 15, 28, 0.65);
    font-size: clamp(2rem, 4.6vw, 4.25rem);
    line-height: 1.15;
    font-weight: 800;
}

.hero-4 .hero-content p,
.hero-3 .hero-content p,
.hero-5 .hero-content p {
    color: #F3F4F6 !important; /* >= 8.5:1 over dark scrim (AAA) */
    text-shadow: 0 1px 8px rgba(10, 15, 28, 0.6);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
    line-height: 1.65;
}

/* 3. Hero CTA Buttons (min-height: 48px, >= 4.5:1 AA / AAA) */
.ft-hero-btn-primary,
.ft-hero-btn-wa,
.ft-hero-btn-outline {
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ft-hero-btn-primary {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border: 2px solid #0F4C81 !important;
}

.ft-hero-btn-primary:hover,
.ft-hero-btn-primary:focus-visible {
    background-color: #0B3A63 !important;
    border-color: #93C5FD !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.ft-hero-btn-outline {
    background-color: rgba(17, 24, 39, 0.78) !important; /* 12:1+ with #FFFFFF */
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    backdrop-filter: blur(6px);
}

.ft-hero-btn-outline:hover,
.ft-hero-btn-outline:focus-visible {
    background-color: #FFFFFF !important;
    color: #111827 !important; /* 17.74:1 (AAA) */
    transform: translateY(-1px);
}

/* 4. Hero Slider Navigation Arrows & Pagination Dots (>= 3:1 UI Boundary) */
.hero-4 .array-button .array-prev,
.hero-4 .array-button .array-next {
    min-width: 48px;
    min-height: 48px;
    background-color: rgba(17, 24, 39, 0.78) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-4 .array-button .array-prev:hover,
.hero-4 .array-button .array-next:hover,
.hero-4 .array-button .array-prev:focus-visible,
.hero-4 .array-button .array-next:focus-visible {
    background-color: #0F4C81 !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

.hero-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #111827;
    opacity: 1;
}

.hero-section .swiper-pagination-bullet-active {
    background: #FDE68A;
    border-color: #111827;
}

/* 5. Homepage Search / Destination Filter Bar (.booking-list-area-1 & .booking-list-area) */
.booking-list-area-1,
.booking-list-area {
    border: 1px solid #D1D5DB;
    background: #FFFFFF !important;
}

.booking-list-area-1 .booking-list .content h5,
.booking-list-area-1 .booking-list .content h5 label,
.booking-list-area .booking-list .content h5,
.booking-list-area .booking-list .content h5 label {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (was #8E8F8F = 3.26:1 FAIL) */
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
    cursor: pointer;
}

.booking-list-area-1 .form-clt .nice-select,
.booking-list-area .form-clt .nice-select,
.booking-list-area-1 .form-clt input.form-control,
.booking-list-area .form-clt input.form-control {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    border-bottom: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI boundary */
    min-height: 40px;
    padding-bottom: 4px !important;
}

.booking-list-area-1 .form-clt input.form-control::placeholder,
.booking-list-area .form-clt input.form-control::placeholder {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    opacity: 1 !important;
}

.booking-list-area-1 .nice-select .list {
    border: 1px solid #8B95A5 !important;
    background-color: #FFFFFF !important;
}

.booking-list-area-1 .nice-select .option {
    color: #1F2937 !important;
    min-height: 40px;
    line-height: 40px;
}

.booking-list-area-1 .nice-select .option:hover,
.booking-list-area-1 .nice-select .option.selected {
    background-color: #F3F4F6 !important;
    color: #0F4C81 !important;
    font-weight: 700;
}

.booking-list-area-1 .ft-hero-search-submit,
.booking-list-area-1 button[type="submit"].theme-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 50px;
    padding: 12px 28px !important;
    border-radius: 999px !important;
    font-weight: 700;
    white-space: nowrap;
}

.booking-list-area-1 .ft-hero-search-submit:hover,
.booking-list-area-1 button[type="submit"].theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

/* 6. Mobile Responsiveness (360px - 430px Zero Horizontal Overflow) */
@media (max-width: 991.98px) {
    .hero-4 .hero-items {
        padding: 130px 0 110px !important;
    }

    .booking-list-area-1 {
        border-radius: 20px !important;
        padding: 22px 18px !important;
        margin-top: -32px !important;
        gap: 18px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .booking-list-area-1 .booking-list {
        display: flex !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
    }

    .booking-list-area-1 .booking-list .content {
        flex: 1 1 auto;
        min-width: 0;
    }

    .booking-list-area-1 .ft-hero-search-submit,
    .booking-list-area-1 button[type="submit"].theme-btn {
        width: 100% !important;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ft-hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
    }

    .ft-hero-cta-group .btn {
        width: 100%;
    }
}
/* ==========================================================================
   Phase 4: Homepage Tour Cards, Trending Destinations & Value-Prop Sections
   Version: 20261121p4
   ========================================================================== */

/* 1. Section Titles & Eyebrows on Light Surfaces */
.section-title > span {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.section-title h2 {
    color: #111827; /* 17.74:1 on #FFFFFF (AAA) */
}

.section-title p {
    color: #374151; /* 10.69:1 on #FFFFFF (AAA) */
}

/* 2. Trending Destinations Cards (Dark Bottom Gradient Overlay >= 7:1 AAA) */
.trending-destinations-card-items {
    margin-top: 0 !important;
    height: 100%;
}

.trending-destinations-card-items .destinations-img {
    border-radius: 20px !important;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    aspect-ratio: 828 / 479;
}

.trending-destinations-card-items .destinations-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 828 / 479;
    object-fit: cover;
    border-radius: 20px !important;
}

.trending-destinations-card-items .destinations-img::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 15, 28, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.trending-destinations-card-items .destinations-img .destinations-content {
    position: absolute;
    z-index: 2;
}

.trending-destinations-card-items .destinations-img .destinations-content li.title a {
    color: #FFFFFF !important; /* >= 11:1 over rgba(10,15,28,0.85) scrim (AAA) */
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.trending-destinations-card-items .destinations-img .icon {
    z-index: 3;
}

.trending-destinations-card-items .destinations-img .icon a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #0F4C81;
    border-radius: 50%;
}

/* 3. Tour Package Cards (.tour-box-items & .tour-card-item) */
.ft-tour-card,
.ft-discover-card {
    margin-top: 0 !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 20px !important;
    background: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ft-tour-card:hover,
.ft-discover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.11) !important;
}

.ft-tour-card .thumb,
.ft-discover-card .tour-image {
    aspect-ratio: 828 / 479;
    overflow: hidden;
    background: #E5E7EB;
}

.ft-tour-card .thumb img,
.ft-discover-card .tour-image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 828 / 479;
    object-fit: cover !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.ft-card-duration-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(17, 24, 39, 0.88) !important; /* 15.1:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.ft-tour-card .content {
    height: auto !important;
    padding: 20px !important;
}

.ft-discover-card .tour-content {
    margin-top: 0 !important;
    border-radius: 0 0 20px 20px !important;
    padding: 20px !important;
}

.ft-tour-card .content .ft-card-country {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.ft-tour-card .content h4 a,
.ft-discover-card .tour-content h4 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
    line-height: 1.35;
}

.ft-tour-card .content h4 a:hover,
.ft-discover-card .tour-content h4 a:hover {
    color: #0F4C81 !important;
}

.ft-tour-card .content h6,
.ft-discover-card .tour-content h6 {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (was #818181 = 3.95:1 FAIL) */
    font-weight: 600;
}

.ft-tour-card .content h6 span,
.ft-discover-card .tour-content h6 span {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
    font-weight: 800;
}

.ft-tour-card .content .list li,
.ft-discover-card .tour-content ul li,
.ft-discover-card .tour-content .list li {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-size: 13.5px;
    font-weight: 500;
}

.ft-tour-card .content .list li i,
.ft-discover-card .tour-content ul li i {
    color: #0F4C81 !important;
}

.ft-card-cta-btn {
    min-height: 44px;
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border: 1px solid #0F4C81 !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.ft-card-cta-btn:hover,
.ft-card-cta-btn:focus-visible {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

/* 4. Tour Discover Section Dark Scrim (for white text over background photo) */
.tour-descover-section {
    position: relative;
}

.tour-descover-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.84) 0%, rgba(15, 34, 66, 0.78) 100%);
    pointer-events: none;
    z-index: 0;
}

.tour-descover-section > .container {
    position: relative;
    z-index: 2;
}

.tour-descover-section .tour-content .section-title > span {
    color: #FDE68A !important; /* 11.4:1 on dark overlay (AAA) */
}

.tour-descover-section .tour-content .section-title h2 {
    color: #FFFFFF !important; /* 14:1+ on dark overlay (AAA) */
}

.tour-descover-section .tour-content .section-title p {
    color: #E5E7EB !important; /* 11.5:1+ on dark overlay (AAA) */
}

/* 5. About / Value-Prop & Counter Sections */
.about-section .about-box {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (was #FB5B32 = 3.05:1 FAIL) */
    box-shadow: 0 10px 28px rgba(15, 76, 129, 0.35);
}

.about-section .about-box h2,
.about-section .about-box p {
    color: #FFFFFF !important;
}

.about-section .about-content p,
.about-section .about-sideber h5,
.about-section .about-icon-items ul li {
    color: #1F2937 !important; /* 14.68:1 on light surface (AAA) */
}

.destination-feature-box {
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05) !important;
}

.destination-feature-box .content h6 {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.destination-feature-box .content span {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
}

/* 6. Advance Booking CTA Banner (.cta-wrapper-4) */
.cta-wrapper-4::before {
    background: rgba(10, 15, 28, 0.84) !important;
}

.cta-wrapper-4 .section-title,
.cta-wrapper-4 .theme-btn {
    position: relative;
    z-index: 2;
}

.cta-wrapper-4 .section-title > span {
    color: #FDE68A !important; /* 12:1+ on dark overlay (AAA) */
}

.cta-wrapper-4 .theme-btn {
    background-color: #0F4C81 !important;
    color: #FFFFFF !important;
    min-height: 48px;
    border: 2px solid #93C5FD;
}

.cta-wrapper-4 .theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}
/* ==========================================================================
   Phase 5: Testimonials, Blog Preview Cards & Global Dark Footer (WCAG AA/AAA)
   Version: 20261121p5
   ========================================================================== */

/* 1. Testimonials (.testimonial-box-items-4) */
.testimonial-box-items-4::before {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06) !important;
}

.testimonial-box-items-4 .star,
.testimonial-box-items-4 .star i,
.tour-card-item .fa-star,
.tour-box-items .fa-star,
.review-star .fa-star {
    color: #B45309 !important; /* Rich amber-gold: 5.02:1 on #FFFFFF (AA+ for icons & text) */
}

.testimonial-box-items-4 h3 {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    font-size: 1.0625rem !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
}

.testimonial-box-items-4 .client-info h4 {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700 !important;
    margin-bottom: 2px;
}

.testimonial-box-items-4 .client-info span {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-size: 0.875rem;
    font-weight: 600;
}

/* 2. Homepage Blog / Travel Guide Preview Cards (.ft-blog-card) */
.ft-blog-card {
    margin-top: 24px !important;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ft-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
}

.ft-blog-card .news-img {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 828 / 479;
}

.ft-blog-card .news-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 828 / 479;
    object-fit: cover;
    border-radius: 14px !important;
}

.ft-blog-card .news-img .post-date {
    top: 12px !important;
    left: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    border-radius: 10px;
    overflow: hidden;
}

.ft-blog-card .news-img .post-date li:first-child {
    width: 58px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 20px !important;
    background: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border-radius: 0 !important;
}

.ft-blog-card .news-img .post-date li:last-child {
    width: 58px !important;
    height: 24px !important;
    line-height: 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    background: #111827 !important; /* 14.23:1 with #FDE68A (AAA) */
    color: #FDE68A !important;
}

.ft-blog-card .ft-blog-meta li {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-size: 13.5px;
}

.ft-blog-card .news-content h3 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
    line-height: 1.38;
}

.ft-blog-card .news-content h3 a:hover {
    color: #0F4C81 !important;
}

.ft-blog-card .news-content p {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (AAA) */
    font-size: 0.9375rem;
    line-height: 1.6;
}

.ft-blog-read-more {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
    font-weight: 700 !important;
    font-size: 0.9375rem;
    text-decoration: none;
}

.ft-blog-read-more:hover,
.ft-blog-read-more:focus-visible {
    color: #0B3A63 !important;
    text-decoration: underline;
}

/* 3. Global Dark Footer (.ft-footer-dark) — High Contrast AAA */
footer.ft-footer-dark {
    position: relative;
    background-color: #0F172A !important; /* Slate-900 */
    color: #E5E7EB !important;
}

footer.ft-footer-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(17, 24, 39, 0.97) 100%);
    pointer-events: none;
    z-index: 0;
}

footer.ft-footer-dark .footer-newsletter-items h2,
footer.ft-footer-dark .footer-widget-items .widget-title h3,
footer.ft-footer-dark .footer-widget-items .app-text {
    color: #FFFFFF !important; /* 17.85:1 on #0F172A (AAA) */
}

footer.ft-footer-dark .footer-input input[type="email"] {
    background: #FFFFFF !important;
    color: #111827 !important;
    border: 2px solid #94A3B8 !important;
    min-height: 54px;
}

footer.ft-footer-dark .footer-input input[type="email"]::placeholder {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF */
}

footer.ft-footer-dark .footer-input .newsletter-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 44px;
    font-weight: 700;
}

footer.ft-footer-dark .footer-input .newsletter-btn:hover {
    background-color: #1D4ED8 !important;
    color: #FFFFFF !important;
}

footer.ft-footer-dark .ft-footer-logo-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 14px;
    border-radius: 10px;
}

footer.ft-footer-dark .contact-items .content span {
    color: #CBD5E1 !important; /* 11.8:1 on #0F172A (AAA) */
}

footer.ft-footer-dark .contact-items .content h6 a,
footer.ft-footer-dark .footer-widget-items .list-items li a {
    color: #E5E7EB !important; /* 14.37:1 on #0F172A (AAA) */
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

footer.ft-footer-dark .contact-items .content h6 a:hover,
footer.ft-footer-dark .contact-items .content h6 a:focus-visible,
footer.ft-footer-dark .footer-widget-items .list-items li a:hover,
footer.ft-footer-dark .footer-widget-items .list-items li a:focus-visible {
    color: #FDE68A !important; /* 14.23:1 on #0F172A (AAA) */
    text-decoration: underline;
}

footer.ft-footer-dark .ft-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

footer.ft-footer-dark .ft-footer-socials a {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #FFFFFF !important;
    font-size: 16px;
}

footer.ft-footer-dark .ft-footer-socials a:hover,
footer.ft-footer-dark .ft-footer-socials a:focus-visible {
    background: #FDE68A !important;
    border-color: #FDE68A !important;
    color: #0F172A !important; /* 14.23:1 (AAA) */
}

/* 4. Footer Credentials Bar (#ftFooterCredentialsBar) */
#ftFooterCredentialsBar {
    background: #1E293B !important; /* Slate-800 */
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

#ftFooterCredentialsBar .ft-cred-subtext {
    color: #E2E8F0 !important; /* 11.77:1 on #1E293B (AAA) */
}

#ftFooterCredentialsBar .ft-cred-link {
    color: #FFFFFF !important; /* 14.6:1 on #1E293B (AAA) */
    text-decoration: none;
    font-weight: 700;
    min-height: 44px;
    padding: 4px 8px;
    border-radius: 8px;
}

#ftFooterCredentialsBar .ft-cred-link:hover,
#ftFooterCredentialsBar .ft-cred-link:focus-visible {
    color: #FDE68A !important;
    background: rgba(255, 255, 255, 0.08);
}

/* 5. Bottom Copyright Bar (.footer-bottom-1) */
footer.ft-footer-dark .footer-bottom-1 {
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

footer.ft-footer-dark .footer-bottom-1 p {
    color: #E5E7EB !important; /* 14.37:1 on #0F172A (AAA) */
}

footer.ft-footer-dark .footer-lan .nice-select {
    background: #FFFFFF !important;
    color: #111827 !important;
    border: 1px solid #94A3B8 !important;
    border-radius: 8px;
    min-height: 40px;
}
/* ==========================================================================
   Phase 6: Tour Catalog (/packages), Destinations (/destinations) & Pagination
   Version: 20261121p6
   ========================================================================== */

/* 1. Page Header / Breadcrumb Banner Dark Gradient Overlay (>= 12:1 AAA) */
.breadcrumb-wrapper {
    position: relative;
}

.breadcrumb-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.68) 0%, rgba(10, 15, 28, 0.78) 100%) !important;
    z-index: 0;
    pointer-events: none;
}

.breadcrumb-wrapper > .container,
.breadcrumb-wrapper > .container-fluid {
    position: relative;
    z-index: 2;
}

.breadcrumb-wrapper .page-heading h1 {
    color: #FFFFFF !important; /* >= 12.5:1 over dark gradient scrim (AAA) */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.breadcrumb-wrapper .breadcrumb-items li,
.breadcrumb-wrapper .breadcrumb-items li i {
    color: #FDE68A !important; /* >= 11:1 active breadcrumb item (AAA) */
    font-weight: 600;
}

.breadcrumb-wrapper .breadcrumb-items li a {
    color: #F3F4F6 !important; /* >= 11.5:1 breadcrumb link (AAA) */
    text-decoration: none;
}

.breadcrumb-wrapper .breadcrumb-items li a:hover,
.breadcrumb-wrapper .breadcrumb-items li a:focus-visible {
    color: #FDE68A !important;
    text-decoration: underline;
}

/* 2. Tour Catalog Filter Bar & Advanced Filter Modal (/packages) */
.filter-form .booking-list-area.outside-bar {
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05) !important;
    width: 100% !important;
    margin-top: 0 !important;
}

.filter-form .outside-bar .booking-list {
    max-width: none !important;
    width: auto !important;
}

.filter-form .outside-bar .nice-select {
    min-height: 44px;
    display: flex;
    align-items: center;
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI boundary */
    border-radius: 8px !important;
    padding: 0 36px 0 14px !important;
    color: #111827 !important;
    background: #FFFFFF !important;
    font-weight: 600;
}

.filter-form .outside-bar .theme-btn,
#advamceModal .search-widget .theme-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 44px;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-weight: 700;
    border: 1px solid #0F4C81 !important;
}

.filter-form .outside-bar .theme-btn:hover,
#advamceModal .search-widget .theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

#advamceModal .modal-header h4,
.tour-sidebar-area .wid-title h3 {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

#advamceModal .modal-close {
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #111827 !important;
    border: 1px solid #9CA3AF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tour-sidebar-area .booking-list .content h5,
.tour-sidebar-area .price-text label,
.tour-sidebar-area .checkbox-single .text-color {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    font-weight: 600;
}

.tour-sidebar-area input[type="search"],
.tour-sidebar-area input[type="text"] {
    color: #111827 !important;
    border: 1.5px solid #8B95A5 !important;
    min-height: 44px;
}

.tour-sidebar-area input[type="search"]::placeholder {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    opacity: 1 !important;
}

/* 3. Accessible Pagination (.ft-a11y-pagination) */
.page-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
}

.ft-a11y-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-a11y-pagination .page-item .page-link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 10px !important;
    border: 1.5px solid #9CA3AF !important; /* >= 3:1 UI boundary */
    background-color: #FFFFFF !important;
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    font-weight: 700;
    text-decoration: none;
}

.ft-a11y-pagination .page-item .page-link:hover,
.ft-a11y-pagination .page-item .page-link:focus-visible {
    background-color: #F3F4F6 !important;
    color: #0F4C81 !important; /* 8.04:1 on #F3F4F6 (AAA) */
    border-color: #0F4C81 !important;
}

.ft-a11y-pagination .page-item.active .page-link {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

.ft-a11y-pagination .page-item.disabled .page-link {
    background-color: #F3F4F6 !important;
    border-color: #D1D5DB !important;
    color: #6B7280 !important;
    cursor: not-allowed;
}

/* 4. Custom Tour CTA Banner */
.ft-custom-tour-banner p,
.ft-custom-tour-banner .text-white-50 {
    color: #E5E7EB !important; /* 11.7:1 on #1C2D5C navy (AAA) */
}

.ft-custom-banner-btn {
    min-height: 48px !important;
    background-color: #F59E0B !important;
    color: #111827 !important; /* 9.5:1 (AAA) */
    border: 2px solid #FDE68A !important;
}

.ft-custom-banner-btn:hover,
.ft-custom-banner-btn:focus-visible {
    background-color: #FBBF24 !important;
    color: #111827 !important;
}

@media (max-width: 767.98px) {
    .filter-form .booking-list-area.outside-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .filter-form .outside-bar .booking-select {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }

    .filter-form .outside-bar .theme-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ==========================================================================
   Phase 7: Tour Detail Page Main Column (Carousel, Itinerary & Inclusions)
   Version: 20261121p7
   ========================================================================== */

/* 1. 1600x900 Hero Carousel Controls & Indicators (#packageCarousel) */
#packageCarousel {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #D1D5DB;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

#packageCarousel .carousel-control-prev,
#packageCarousel .carousel-control-next {
    width: 64px;
    opacity: 1 !important;
}

#packageCarousel .carousel-control-prev-icon,
#packageCarousel .carousel-control-next-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background-color: rgba(17, 24, 39, 0.8) !important; /* 13:1+ with white arrow */
    background-size: 52% 52% !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

#packageCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#packageCarousel .carousel-control-next:hover .carousel-control-next-icon,
#packageCarousel .carousel-control-prev:focus-visible .carousel-control-prev-icon,
#packageCarousel .carousel-control-next:focus-visible .carousel-control-next-icon {
    background-color: #0F4C81 !important;
    transform: scale(1.06);
}

#packageCarousel .carousel-indicators {
    background: rgba(17, 24, 39, 0.58);
    border-radius: 999px;
    padding: 5px 12px;
    width: fit-content;
    margin: 0 auto 14px !important;
    backdrop-filter: blur(4px);
}

#packageCarousel .carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    border: 1.5px solid #111827 !important;
    opacity: 1 !important;
}

#packageCarousel .carousel-indicators button.active {
    background-color: #FDE68A !important;
    transform: scale(1.2);
}

/* 2. Tour Title, Location Subtitle, Quick-Info Strip & Overview */
.tour-details-section .details-content .location-icon {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tour-details-section .details-content .location-icon i {
    color: #0F4C81 !important;
}

.tour-details-section .details-content h1 {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
}

.tour-details-section .details-content h4 {
    color: #111827 !important;
    font-weight: 700;
}

.tour-details-section .details-content .p-2\.5.border.bg-light,
.tour-details-section .details-content .row.g-2 .border.bg-light {
    background-color: #F8FAFC !important;
    border: 1px solid #D1D5DB !important;
}

.tour-details-section .details-content .row.g-2 .text-muted {
    color: #4B5563 !important; /* 7.17:1 on #F8FAFC (AAA) */
    font-weight: 600;
}

.tour-details-section .details-content .row.g-2 .text-dark {
    color: #111827 !important; /* 17.0:1 on #F8FAFC (AAA) */
    font-weight: 700 !important;
}

.tour-details-section .details-content .text-primary {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF / 8.12:1 on #EFF6FF (AAA) */
}

.tour-details-section .details-content .border-primary {
    border-color: #0F4C81 !important;
}

.tour-details-section .details-content .bg-primary-subtle {
    background-color: #EFF6FF !important;
}

.tour-details-section .details-content p {
    color: #1F2937; /* 14.68:1 on #FFFFFF (AAA) */
    line-height: 1.7;
}

/* 3. Tiered Pricing & Fleet Tables */
.tour-details-section .table {
    color: #1F2937 !important;
}

.tour-details-section .table thead th {
    color: #111827 !important;
    background-color: #F3F4F6 !important;
    font-weight: 700;
    border-bottom: 1.5px solid #9CA3AF !important;
}

/* 4. Day-by-Day Itinerary Accordion (#accordion2) */
#accordion2 .accordion-item {
    border: 1px solid #9CA3AF !important; /* >= 3:1 UI boundary */
    border-radius: 10px !important;
    background: #FFFFFF;
}

#accordion2 .accordion-button {
    min-height: 52px;
    padding: 14px 18px;
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    background-color: #FFFFFF !important;
    font-size: 15.5px;
    line-height: 1.4;
    box-shadow: none !important;
}

#accordion2 .accordion-button:not(.collapsed) {
    background-color: #EFF6FF !important;
    color: #0F4C81 !important; /* 8.12:1 on #EFF6FF (AAA) */
    border-bottom: 1px solid #BFDBFE;
}

#accordion2 .accordion-button .badge.bg-primary {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    font-weight: 700;
    flex-shrink: 0;
}

#accordion2 .accordion-body {
    background-color: #FFFFFF;
    padding: 16px 20px;
}

#accordion2 .accordion-body p {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* 5. Included vs. Excluded Lists (.destination-list-item) */
.destination-list-item .bg-light.border {
    background-color: #F8FAFC !important;
    border: 1px solid #D1D5DB !important;
}

.destination-list-item .text-success,
.destination-list-item .fa-check-circle.text-success {
    color: #15803D !important; /* 5.02:1 on #FFFFFF / 4.76:1 on #F8FAFC (AA) */
}

.destination-list-item .text-danger,
.destination-list-item .fa-times-circle.text-danger {
    color: #B91C1C !important; /* 6.47:1 on #FFFFFF / 6.14:1 on #F8FAFC (AA+) */
}

.destination-list-item ul.list li span,
.destination-list-item .excluded-text {
    color: #1F2937 !important; /* 13.9:1 on #F8FAFC (AAA) */
    line-height: 1.55;
}
/* ==========================================================================
   Phase 8: Tour Detail Booking Calculator Sidebar & Sticky Mobile Bar
   Version: 20261121p8
   ========================================================================== */

/* 1. Booking Sidebar Card & Labels (#bookingInformationForm) */
#bookingInformationForm .tour-sidebar-items {
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
}

#bookingInformationForm .tour-sidebar-items h3 {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 800;
}

#bookingInformationForm label,
#bookingInformationForm .fw-semibold {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
}

#bookingInformationForm .text-muted,
#bookingInformationForm small.text-muted {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF / 7.17:1 on #F8FAFC (AAA) */
}

#bookingInformationForm .text-danger {
    color: #B91C1C !important; /* 6.47:1 on #FFFFFF (AA+) */
}

#bookingInformationForm .fa-bolt.text-warning,
#ftSidebarTrustStrip .fa-headset.text-warning {
    color: #B45309 !important; /* 5.02:1 on #FFFFFF / 4.77:1 on #F8FAFC (was #FFC107 = 1.6:1 FAIL) */
}

/* 2. Booking Type Toggles (Private Group vs. Join Group) */
#bookingInformationForm .btn-group .btn-outline-primary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F8FAFC !important;
    color: #1F2937 !important; /* 14.0:1 on #F8FAFC (AAA) */
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI boundary */
    font-weight: 700 !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#bookingInformationForm .btn-group .btn-outline-primary:hover {
    background-color: #EFF6FF !important;
    color: #0F4C81 !important;
    border-color: #0F4C81 !important;
}

#bookingInformationForm .btn-group .btn-check:checked + .btn-outline-primary {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border-color: #0F4C81 !important;
}

#bookingInformationForm .btn-group .btn-check:focus-visible + .btn-outline-primary {
    outline: 2px solid #0F4C81 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.22) !important;
}

/* 3. Form Controls, Stepper Buttons & Add-On Checkboxes */
#bookingInformationForm #bookingTourSelect,
#bookingInformationForm #fromDate,
#bookingInformationForm #paxInput,
#bookingInformationForm #singleSupInput {
    min-height: 44px;
    color: #111827 !important;
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI boundary */
}

#bookingInformationForm #paxDecBtn,
#bookingInformationForm #paxIncBtn,
#bookingInformationForm #singleDecBtn,
#bookingInformationForm #singleIncBtn {
    min-width: 40px;
    min-height: 40px;
    color: #111827 !important;
    border: 1.5px solid #8B95A5 !important;
    background-color: #FFFFFF !important;
    font-weight: 700;
}

#bookingInformationForm #paxDecBtn:hover,
#bookingInformationForm #paxIncBtn:hover,
#bookingInformationForm #singleDecBtn:hover,
#bookingInformationForm #singleIncBtn:hover {
    background-color: #EFF6FF !important;
    border-color: #0F4C81 !important;
    color: #0F4C81 !important;
}

#addonsListContainer label,
#bookingInformationForm .form-check {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#addonsListContainer .form-check-label,
#bookingInformationForm .form-check-label {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    cursor: pointer;
}

/* 4. Auto-Assigned Vehicle Badge (#assignedVehicleBadge) */
#assignedVehicleBadge {
    background-color: #EFF6FF !important;
    color: #0F4C81 !important; /* 8.12:1 on #EFF6FF (AAA) */
    border: 1px solid #93C5FD !important;
    font-weight: 700 !important;
}

/* 5. Live Price Summary & 30% Deposit Box (#livePriceSummary) */
#livePriceSummary {
    background-color: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #1F2937 !important;
}

#livePriceSummary #summaryTotalAmount {
    color: #111827 !important; /* 17.74:1 (AAA) */
}

#livePriceSummary .border-primary-subtle {
    border: 1.5px solid #93C5FD !important;
    background-color: #FFFFFF !important;
}

#livePriceSummary .text-primary,
#livePriceSummary #summaryDepositAmount {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
}

/* 6. Sidebar Trust Strip (#ftSidebarTrustStrip) */
#ftSidebarTrustStrip {
    background-color: #F8FAFC !important;
    border: 1px solid #D1D5DB !important;
    color: #1F2937 !important; /* 14.0:1 on #F8FAFC (AAA) */
}

#ftSidebarTrustStrip .text-primary {
    color: #0F4C81 !important; /* 8.5:1 */
}

#ftSidebarTrustStrip .text-success {
    color: #15803D !important; /* 4.76:1 */
}

/* 7. Mobile Sticky Booking Bar (#mobileStickyBookingBar, < 992px) */
#mobileStickyBookingBar {
    background-color: #FFFFFF !important;
    border-top: 2px solid #CBD5E1 !important;
    box-shadow: 0 -6px 24px rgba(17, 24, 39, 0.14) !important;
}

#mobileStickyBookingBar #mobileStickyTotal {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
}

#mobileStickyBookingBar .text-primary,
#mobileStickyBookingBar #mobileStickyDeposit {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
}

#mobileStickyWaBtn,
#mobileStickyLineBtn {
    min-height: 44px !important;
    white-space: nowrap;
    font-weight: 700 !important;
}

@media (max-width: 430px) {
    #mobileStickyBookingBar {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    #mobileStickyWaBtn,
    #mobileStickyLineBtn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}

/* 8. LINE Modal Secondary Action Buttons (#lineBookingModal) */
#lineBookingModal #btnCopyLineId {
    min-height: 40px;
    color: #047857 !important; /* 5.48:1 on #FFFFFF */
    border-color: #047857 !important;
}

#lineBookingModal #btnCopyLineId:hover {
    background-color: #047857 !important;
    color: #FFFFFF !important;
}

#lineBookingModal #btnCopyLineSummary {
    min-height: 44px;
    color: #1F2937 !important;
    border-color: #8B95A5 !important;
}
/* ==========================================================================
   Phase 9: Travel Guides (/news*), FAQ (/faq), Terms & Contact Pages
   Version: 20261121p9
   ========================================================================== */

/* 1. Travel Guides List & Detail Articles (.blog-wrapper) */
.blog-wrapper .single-blog-post {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
}

.blog-wrapper .post-meta span {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-weight: 600;
}

.blog-wrapper .post-meta span i {
    color: #0F4C81 !important;
}

.blog-wrapper .post-content h1,
.blog-wrapper .post-content h2,
.blog-wrapper .post-content h3,
.blog-wrapper .post-content h4,
.blog-wrapper .post-content h2 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.blog-wrapper .post-content h2 a:hover {
    color: #0F4C81 !important;
}

.blog-wrapper .post-content p,
.blog-wrapper .post-content li {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    font-size: 16.5px;
    line-height: 1.72;
}

.blog-wrapper .post-content a:not(.btn):not(.theme-btn) {
    color: #0F4C81;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-wrapper .post-content a:not(.btn):not(.theme-btn):hover {
    color: #0B3A63;
}

.blog-wrapper .single-blog-post .theme-btn,
.blog-wrapper .comment-form .theme-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 46px;
}

.blog-wrapper .single-blog-post .theme-btn:hover,
.blog-wrapper .comment-form .theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

/* Comparison Tables & Inline Callout Boxes in Travel Guides & Terms */
.blog-wrapper .post-content table,
.privacy-section table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #CBD5E1;
    margin: 20px 0;
    background: #FFFFFF;
}

.blog-wrapper .post-content table thead th,
.privacy-section table thead th {
    background-color: #1E293B !important; /* Slate-800: 14.6:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 12px 14px;
    border: 1px solid #334155;
}

.blog-wrapper .post-content table tbody td,
.privacy-section table tbody td {
    color: #1F2937 !important; /* 14.68:1 on #FFFFFF (AAA) */
    padding: 11px 14px;
    border: 1px solid #CBD5E1;
    vertical-align: top;
}

.blog-wrapper .post-content table tbody tr:nth-child(even),
.privacy-section table tbody tr:nth-child(even) {
    background-color: #F8FAFC;
}

.blog-wrapper .post-content .alert,
.blog-wrapper .post-content [style*="background:#f"],
.blog-wrapper .post-content [style*="background: #f"],
.blog-wrapper .post-content [style*="background-color:#f"],
.blog-wrapper .post-content [style*="background:#e"],
.blog-wrapper .post-content [style*="background: #e"] {
    background-color: #EFF6FF !important;
    border: 1.5px solid #93C5FD !important;
    color: #1F2937 !important;
    border-radius: 12px;
}

.blog-wrapper .post-content .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* 2. Blog Sidebar Widgets (.main-sidebar) */
.blog-wrapper .main-sidebar .single-sidebar-widget {
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 14px;
}

.blog-wrapper .main-sidebar .wid-title h3 {
    color: #111827 !important; /* 17.74:1 (AAA) */
    font-weight: 700;
}

.blog-wrapper .main-sidebar .search_widget input {
    color: #111827 !important;
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI */
    background: #FFFFFF !important;
    min-height: 46px;
}

.blog-wrapper .main-sidebar .search_widget input::placeholder {
    color: #4B5563 !important; /* 7.56:1 (AAA) */
}

.blog-wrapper .main-sidebar .search_widget button {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-width: 46px;
    min-height: 46px;
}

.blog-wrapper .main-sidebar .popular-posts h5 a,
.blog-wrapper .main-sidebar .widget_categories ul li a {
    color: #1F2937 !important; /* 14.68:1 (AAA) */
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-wrapper .main-sidebar .popular-posts h5 a:hover,
.blog-wrapper .main-sidebar .widget_categories ul li a:hover {
    color: #0F4C81 !important;
}

.blog-wrapper .main-sidebar .popular-posts .post-date {
    color: #4B5563 !important; /* 7.56:1 (AAA) */
}

.blog-wrapper .main-sidebar .tagcloud a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: #1F2937 !important;
    background: #F3F4F6 !important;
    border: 1px solid #9CA3AF !important;
    font-weight: 600;
}

.blog-wrapper .main-sidebar .tagcloud a:hover {
    background: #0F4C81 !important;
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

/* 3. FAQ Page (.faq-section) & Terms Page (.privacy-section) */
.faq-section .accordion-item {
    border: 1px solid #9CA3AF !important;
    border-radius: 10px !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-section .accordion-button {
    min-height: 52px;
    color: #111827 !important; /* 17.74:1 (AAA) */
    background-color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 16px;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: #EFF6FF !important;
    color: #0F4C81 !important; /* 8.12:1 (AAA) */
}

.faq-section .accordion-body {
    color: #1F2937 !important; /* 14.68:1 (AAA) */
    font-size: 16px;
    line-height: 1.7;
    background: #FFFFFF;
}

.privacy-section {
    color: #1F2937;
    font-size: 16px;
    line-height: 1.72;
}

.privacy-section h1,
.privacy-section h2,
.privacy-section h3,
.privacy-section h4 {
    color: #111827 !important; /* 17.74:1 (AAA) */
    font-weight: 700;
}

.privacy-section p,
.privacy-section li {
    color: #1F2937 !important;
}

@media (max-width: 767.98px) {
    .privacy-section.px-100 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* 4. Contact Page (.contact-section) */
.contact-section .contact-items {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px 18px;
    background: #FFFFFF;
}

.contact-section .contact-items .content span {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-weight: 600;
}

.contact-section .contact-items .content h3,
.contact-section .contact-items .content h3 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.contact-section .contact-items .content h3 a:hover {
    color: #0F4C81 !important;
}

.contact-section .contact-content {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 16px;
    padding: 28px;
}

.contact-section .contact-content h3 {
    color: #111827 !important;
}

.contact-section .contact-content p {
    color: #374151 !important; /* 10.69:1 (AAA) */
}

.contact-section .ft-contact-label {
    display: block;
    color: #111827 !important; /* 17.74:1 (AAA) */
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-section .contact-form-items input,
.contact-section .contact-form-items textarea {
    color: #111827 !important;
    background: #FFFFFF !important;
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI boundary */
    border-radius: 10px !important;
    min-height: 48px;
}

.contact-section .contact-form-items input::placeholder,
.contact-section .contact-form-items textarea::placeholder {
    color: #4B5563 !important; /* 7.56:1 (AAA) */
    opacity: 1 !important;
}

.contact-section .contact-form-items button[type="submit"].theme-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 700;
}

.contact-section .contact-form-items button[type="submit"].theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}
/* ==========================================================================
   Phase 10 (Final): Global Modals, Floating Concierge & Z-Index Architecture
   Version: 20261121p10
   ========================================================================== */

/* 1. Unified Global Z-Index Layering (Zero Overlap Collisions) */
#header-sticky.sticky {
    z-index: 1030 !important;
}

#ftFloatingChatWidget,
#back-top,
.back-to-top {
    z-index: 1034 !important;
}

#mobileStickyBookingBar {
    z-index: 1035 !important;
}

.offcanvas__overlay {
    z-index: 1040 !important;
}

.offcanvas__info {
    z-index: 1045 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal,
#customTourModal,
#lineBookingModal,
#advamceModal {
    z-index: 1055 !important;
}

/* 2. Floating WhatsApp & LINE Concierge (#ftFloatingChatWidget) & Back-to-Top */
#ftFloatingChatWidget a {
    min-width: 52px;
    min-height: 52px;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35) !important;
}

#ftFloatingChatWidget a[href*="wa.me"] {
    background-color: #15803D !important; /* 5.02:1 with #FFFFFF (AA) */
    color: #FFFFFF !important;
}

#ftFloatingChatWidget a[href*="line.me"] {
    background-color: #047857 !important; /* 5.48:1 with #FFFFFF (AA) */
    color: #FFFFFF !important;
}

#back-top,
.back-to-top {
    bottom: 148px !important;
    right: 22px !important;
    min-width: 44px;
    min-height: 44px;
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.3);
}

@media (max-width: 991.98px) {
    #ftFloatingChatWidget {
        bottom: 84px !important; /* Clean clearance above #mobileStickyBookingBar */
        right: 14px !important;
    }

    #back-top,
    .back-to-top {
        bottom: 206px !important;
        right: 16px !important;
    }
}

/* 3. Global Custom Tour Modal (#customTourModal) */
#customTourModal .modal-content {
    border: 1px solid #CBD5E1;
    border-radius: 16px;
    overflow: hidden;
}

#customTourModal .modal-header {
    background: #0F172A !important; /* Slate-900: 17.85:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

#customTourModal .modal-header .modal-title {
    color: #FFFFFF !important;
}

#customTourModal .modal-header .btn-close,
#lineBookingModal .modal-header .btn-close {
    min-width: 44px;
    min-height: 44px;
    opacity: 1 !important;
    border-radius: 50%;
}

#customTourModal label,
#customTourModal .form-label {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

#customTourModal .form-control,
#customTourModal .form-select,
#customTourModal textarea {
    color: #111827 !important;
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 AA UI */
    min-height: 44px;
}

#customTourModal .form-check {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#customTourModal .form-check-label {
    color: #1F2937 !important;
    font-weight: 600;
    cursor: pointer;
}

#customTourModal .alert-success,
#lineBookingModal .alert-success {
    background-color: #ECFDF5 !important;
    border: 1.5px solid #047857 !important;
    color: #065F46 !important; /* 7.68:1 on #ECFDF5 (AAA) */
    font-weight: 600;
}

#btnCustomTourWa,
#btnCustomTourLine {
    min-height: 48px !important;
    font-weight: 700 !important;
}
/* ==========================================================================
   All-Cards Unified UI/UX & WCAG 2.1 AA/AAA Design System Standardization
   Version: 20261121cards
   ========================================================================== */

:root {
    --ft-card-radius: 14px;
    --ft-card-border: #D1D5DB;
    --ft-card-surface: #FFFFFF;
    --ft-card-surface-muted: #F8FAFC;
    --ft-card-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    --ft-card-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.11);
}

/* --------------------------------------------------------------------------
   1. Tour Package Cards (tour_one, tour_discover, package/list* + AJAX cards)
   -------------------------------------------------------------------------- */
.tour-box-items,
.ft-tour-card,
.tour-card-item,
.ft-discover-card {
    border-radius: var(--ft-card-radius) !important;
    border: 1px solid var(--ft-card-border) !important;
    background: var(--ft-card-surface) !important;
    box-shadow: var(--ft-card-shadow) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tour-box-items:hover,
.ft-tour-card:hover,
.tour-card-item:hover,
.ft-discover-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ft-card-shadow-hover) !important;
    border-color: #93C5FD !important;
}

.tour-box-items .thumb,
.tour-card-item .tour-image {
    aspect-ratio: 828 / 479;
    overflow: hidden;
    background: #E5E7EB;
    position: relative;
}

.tour-box-items .thumb img,
.tour-card-item .tour-image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 828 / 479;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.ft-card-duration-badge {
    background: rgba(17, 24, 39, 0.90) !important; /* 15.1:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    font-weight: 700;
}

.tour-box-items .content,
.tour-card-item .tour-content {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: auto !important;
    margin-top: 0 !important;
    border-radius: 0 0 var(--ft-card-radius) var(--ft-card-radius) !important;
}

.tour-box-items .content h4 a,
.tour-card-item .tour-content h4 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.tour-box-items .content h6,
.tour-card-item .tour-content h6 {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (AAA) */
}

.tour-box-items .content h6 span,
.tour-card-item .tour-content h6 span {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
    font-weight: 800;
}

.tour-box-items .content .list li,
.tour-card-item .tour-content ul li,
.tour-card-item .tour-content .list li {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (AAA) */
    font-weight: 500;
}

.ft-card-cta-btn {
    min-height: 44px !important;
    border-radius: 10px !important;
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   2. Destination & Trending Destination Cards
   -------------------------------------------------------------------------- */
.trending-destinations-card-items .destinations-img {
    border-radius: var(--ft-card-radius) !important;
    border: 1px solid var(--ft-card-border) !important;
    box-shadow: var(--ft-card-shadow) !important;
    aspect-ratio: 828 / 479;
}

.trending-destinations-card-items .destinations-img img {
    border-radius: var(--ft-card-radius) !important;
    aspect-ratio: 828 / 479;
    object-fit: cover !important;
}

.trending-destinations-card-items .destinations-img::after {
    border-radius: var(--ft-card-radius) !important;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 15, 28, 0.88) 100%) !important;
}

.trending-destinations-card-items .destinations-img .destinations-content li.title a {
    color: #FFFFFF !important; /* >= 11.5:1 over bottom scrim (AAA) */
}

.trending-destinations-card-items .destinations-img .destinations-content li:not(.title),
.trending-destinations-card-items .destinations-img .destinations-content span {
    color: #FDE68A !important; /* >= 11:1 tour count badge (AAA) */
    font-weight: 700;
}

.trending-destinations-card-items .destinations-img .icon a {
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid #D1D5DB;
}

/* --------------------------------------------------------------------------
   3. Category & Value-Prop Cards (top_destination, chose_us, about_one)
   -------------------------------------------------------------------------- */
.destination-feature-box,
.choose-us-section .choose-us-box-items,
.team-section-4 .team-box-items {
    border-radius: var(--ft-card-radius) !important;
    border: 1px solid var(--ft-card-border) !important;
    background: var(--ft-card-surface) !important;
    box-shadow: var(--ft-card-shadow) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.destination-feature-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--ft-card-shadow-hover) !important;
}

.destination-feature-box .icon,
.destination-feature-box .icon.bg-2,
.destination-feature-box .icon.bg-3,
.destination-feature-box .icon.bg-4 {
    background-color: #0F4C81 !important; /* 8.86:1 (replaces neon #F89A60/#FC80FF) */
    color: #FFFFFF !important;
    border: 2px solid #DBEAFE;
}

.destination-feature-box .content h6,
.choose-us-section .choose-us-box-items h4,
.team-section-4 .team-box-items h3 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.destination-feature-box .content span,
.choose-us-section .choose-us-box-items p,
.team-section-4 .team-box-items p {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (AAA) */
}

/* --------------------------------------------------------------------------
   4. Testimonial Cards (testimonial_one)
   -------------------------------------------------------------------------- */
.testimonial-box-items-4 {
    height: 100%;
}

.testimonial-box-items-4::before {
    border-radius: var(--ft-card-radius) !important;
    border: 1px solid var(--ft-card-border) !important;
    background: var(--ft-card-surface) !important;
    box-shadow: var(--ft-card-shadow) !important;
}

.testimonial-box-items-4 .star,
.testimonial-box-items-4 .star i {
    color: #B45309 !important; /* 5.02:1 amber-gold on #FFFFFF (AA+) */
}

.testimonial-box-items-4 h3 {
    color: #1F2937 !important; /* 14.68:1 (AAA) */
}

.testimonial-box-items-4 .client-info h4 {
    color: #111827 !important; /* 17.74:1 (AAA) */
}

.testimonial-box-items-4 .client-info span {
    color: #4B5563 !important; /* 7.56:1 (AAA) */
}

/* --------------------------------------------------------------------------
   5. Travel Guide / Blog Cards (news_one & blogs/list)
   -------------------------------------------------------------------------- */
.ft-blog-card,
.blog-wrapper .single-blog-post {
    border-radius: var(--ft-card-radius) !important;
    border: 1px solid var(--ft-card-border) !important;
    background: var(--ft-card-surface) !important;
    box-shadow: var(--ft-card-shadow) !important;
}

.blog-wrapper .single-blog-post .post-featured-thumb {
    aspect-ratio: 828 / 479;
    height: auto !important;
    min-height: 240px;
}

.blog-wrapper .single-blog-post .post-content {
    padding: 24px !important;
}

.ft-blog-card .news-img,
.ft-blog-card .news-img img {
    border-radius: 10px !important;
    aspect-ratio: 828 / 479;
    object-fit: cover !important;
}

.ft-blog-card .news-content h3 a,
.blog-wrapper .single-blog-post .post-content h2 a {
    color: #111827 !important; /* 17.74:1 (AAA) */
}

.ft-blog-card .news-content p,
.blog-wrapper .single-blog-post .post-content p {
    color: #374151 !important; /* 10.69:1 (AAA) */
}

.ft-blog-read-more {
    min-height: 44px !important;
    color: #0F4C81 !important; /* 8.86:1 (AAA) */
}

/* --------------------------------------------------------------------------
   6. Tour Detail Quick-Info Cards, Price Summary Card & Contact Info Cards
   -------------------------------------------------------------------------- */
.tour-details-section .details-content .row.g-2 .border.bg-light,
#livePriceSummary,
#ftSidebarTrustStrip,
.contact-section .contact-items {
    border-radius: var(--ft-card-radius) !important;
    border: 1px solid #CBD5E1 !important;
}

#livePriceSummary .border-primary-subtle {
    border: 1.5px solid #93C5FD !important;
    border-radius: 10px !important;
}

/* Mobile 375px Card Spacing Polish */
@media (max-width: 575.98px) {
    .tour-box-items .content,
    .tour-card-item .tour-content,
    .blog-wrapper .single-blog-post .post-content {
        padding: 16px !important;
    }

    .ft-blog-card {
        padding: 14px !important;
    }
}
/* ==========================================================================
   Destinations & Packages Cards Complete Rebuild (Zero main.css Conflicts)
   Version: 20261121dpfix
   ========================================================================== */

/* 1. Destinations Cards (.ft-dest-card) */
.ft-dest-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #D1D5DB;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    background: #0F172A;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
}

.ft-dest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.ft-dest-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}

.ft-dest-card-media {
    position: relative;
    aspect-ratio: 828 / 479;
    width: 100%;
    overflow: hidden;
    background: #0F172A;
}

.ft-dest-card-media img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 828 / 479;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease;
}

.ft-dest-card:hover .ft-dest-card-media img {
    transform: scale(1.05);
}

.ft-dest-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.05) 20%,
        rgba(10, 15, 28, 0.65) 62%,
        rgba(10, 15, 28, 0.92) 100%
    ) !important;
    z-index: 2;
    opacity: 1 !important;
    pointer-events: none;
}

.ft-dest-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.ft-dest-card-info {
    min-width: 0;
}

.ft-dest-count-pill {
    display: inline-block;
    background-color: #FDE68A !important; /* 14.2:1 with #111827 (AAA) */
    color: #111827 !important;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.ft-dest-card-title {
    color: #FFFFFF !important; /* >= 13:1 over dark scrim (AAA) */
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.ft-dest-card-arrow {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF !important;
    color: #0F4C81 !important; /* 8.86:1 (AAA) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ft-dest-card:hover .ft-dest-card-arrow {
    background-color: #0F4C81 !important;
    color: #FFFFFF !important;
    transform: translateX(2px);
}

/* Defensive reset for any legacy destination card markup */
.trending-destinations-card-items .destinations-img::before {
    display: none !important;
}
.trending-destinations-card-items .destinations-img .destinations-content .title a {
    background: transparent !important;
    padding: 0 !important;
    color: #FFFFFF !important;
}

/* 2. Packages Cards (.ft-pkg-card) */
.ft-pkg-card {
    background-color: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ft-pkg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: #93C5FD !important;
}

.ft-pkg-card-media {
    position: relative;
    aspect-ratio: 828 / 479;
    width: 100%;
    overflow: hidden;
    background: #E5E7EB;
}

.ft-pkg-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.ft-pkg-card-media img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 828 / 479;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease;
}

.ft-pkg-card:hover .ft-pkg-card-media img {
    transform: scale(1.04);
}

.ft-pkg-duration-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(17, 24, 39, 0.90) !important; /* 15.1:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
}

.ft-pkg-card-body {
    padding: 18px 20px;
}

.ft-pkg-region {
    color: #374151 !important; /* 10.69:1 on #FFFFFF (AAA) */
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.35;
}

.ft-pkg-region i {
    color: #0F4C81 !important;
}

.ft-pkg-title {
    margin: 0 0 12px 0 !important;
    font-size: 17px !important;
    line-height: 1.38 !important;
    font-weight: 700 !important;
}

.ft-pkg-title a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    text-decoration: none !important;
}

.ft-pkg-title a:hover,
.ft-pkg-title a:focus-visible {
    color: #0F4C81 !important;
    text-decoration: underline !important;
}

.ft-pkg-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    line-height: 1.2;
}

.ft-pkg-tag-grade {
    background-color: #DBEAFE;
    color: #1E3A8A; /* 9.37:1 (AAA) */
    border: 1px solid #93C5FD;
}

.ft-pkg-tag-season {
    background-color: #F3F4F6;
    color: #1F2937; /* 13.3:1 (AAA) */
    border: 1px solid #D1D5DB;
}

.ft-pkg-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ft-pkg-price-wrap {
    min-width: 0;
}

.ft-pkg-price-label {
    display: block;
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.15;
}

.ft-pkg-price-val {
    color: #0F4C81 !important; /* 8.86:1 on #FFFFFF (AAA) */
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.ft-pkg-cta-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.ft-pkg-cta-btn:hover,
.ft-pkg-cta-btn:focus-visible {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

/* Defensive fix for any legacy .tour-box-items CTA span */
.tour-box-items .content a.ft-card-cta-btn span {
    color: #FFFFFF !important;
}

@media (max-width: 400px) {
    .ft-pkg-card-body {
        padding: 15px 14px;
    }

    .ft-pkg-price-val {
        font-size: 18px;
    }

    .ft-pkg-cta-btn {
        padding: 10px 13px;
        font-size: 13px;
    }
}
/* ==========================================================================
   Tour Detail Full Section-by-Section Audit & Slideshow Polish
   Version: 20261121details
   ========================================================================== */

/* 1. Slideshow (#packageCarousel) — Rock-Solid 16:9, Clickable Controls & Thumbs */
.ft-carousel-shell {
    position: relative;
}

#packageCarousel {
    position: relative;
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid #D1D5DB;
    background: #0F172A;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.10);
}

#packageCarousel .carousel-inner {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #0F172A;
}

#packageCarousel .carousel-item {
    height: 100%;
}

#packageCarousel .ft-carousel-img,
#packageCarousel .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    display: block !important;
    cursor: zoom-in;
}

.ft-carousel-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    background: rgba(15, 23, 42, 0.86);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

#packageCarousel .carousel-control-prev,
#packageCarousel .carousel-control-next {
    position: absolute;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 6 !important;
    opacity: 1 !important;
    padding: 0;
}

#packageCarousel .carousel-control-prev {
    left: 12px !important;
}

#packageCarousel .carousel-control-next {
    right: 12px !important;
}

#packageCarousel .carousel-indicators {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.ft-carousel-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.ft-carousel-thumb-btn {
    padding: 0;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    background: #0F172A;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    transition: border-color 0.18s ease, transform 0.15s ease, opacity 0.18s ease;
    opacity: 0.75;
}

.ft-carousel-thumb-btn:hover,
.ft-carousel-thumb-btn.active {
    border-color: #0F4C81;
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.25);
}

.ft-carousel-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 575.98px) {
    .ft-carousel-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    #packageCarousel .carousel-control-prev,
    #packageCarousel .carousel-control-next {
        width: 44px !important;
        height: 44px !important;
    }

    #packageCarousel .carousel-control-prev { left: 8px !important; }
    #packageCarousel .carousel-control-next { right: 8px !important; }
}

/* 2. Excluded Text Clean Readability (remove double strikethrough) */
.destination-list-item .excluded-text {
    text-decoration: none !important;
    color: #1F2937 !important;
}

/* 3. Booking, Visa Assistance & Cancellation Policies Box */
.tour-details-section .details-content .fa-cloud-sun-rain.text-warning {
    color: #B45309 !important; /* 5.02:1 on #FFFFFF (was #FFC107 = 1.6:1 FAIL) */
}

.tour-details-section .details-content .fa-calendar-times.text-danger {
    color: #B91C1C !important; /* 6.47:1 on #FFFFFF (AA+) */
}

/* 4. Reviews Section & Leave Feedback Form Contrast */
.tour-details-section .review-area h3,
.tour-details-section .client-review-items h3,
.tour-details-section .review-comment-items h3,
.tour-details-section .review-comment-items h4,
.tour-details-section .map-area h3 {
    color: #111827 !important; /* 17.74:1 (AAA) */
    font-weight: 700;
}

.tour-details-section .review-area .fa-star,
.tour-details-section .client-review-items .fa-star,
.tour-details-section .review-comment-items .star.rating i {
    color: #B45309 !important; /* 5.02:1 (AA+) */
}

.tour-details-section .review-comment-items textarea {
    color: #111827 !important;
    border: 1.5px solid #8B95A5 !important;
    border-radius: 10px;
}

.tour-details-section .review-comment-items button[type="submit"].theme-btn {
    background-color: #0F4C81 !important;
    color: #FFFFFF !important;
    min-height: 46px;
}
/* ==========================================================================
   Homepage Full Section-by-Section Final Polish (Desktop 1440px & Mobile 375px)
   Version: 20261121home
   ========================================================================== */

/* 1. Team Section Cards (.team-section-4) */
.team-section-4 .team-box-items,
.team-section-4 .team-card-items-4 {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.team-section-4 h3,
.team-section-4 h3 a,
.team-section-4 h4,
.team-section-4 h4 a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-weight: 700;
}

.team-section-4 p,
.team-section-4 span {
    color: #4B5563 !important; /* 7.56:1 on #FFFFFF (AAA) */
}

/* 2. About Section Responsive Polish & Clean Spacing */
.about-section .about-image img {
    border-radius: 14px;
}

.about-section .about-btn .theme-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 48px;
}

.about-section .about-btn .theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

/* 3. Section-Title-Area CTA Buttons (View All Destinations / Explore More) */
.trending-destinations .theme-btn-2,
.top-destination-section-4 .theme-btn-2,
.tour-descover-section .tour-button .theme-btn {
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    min-height: 46px;
    border-radius: 10px;
}

.trending-destinations .theme-btn-2:hover,
.top-destination-section-4 .theme-btn-2:hover,
.tour-descover-section .tour-button .theme-btn:hover {
    background-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

/* 4. Mobile 375px Overflow Prevention Across All Homepage Sections */
@media (max-width: 767.98px) {
    .section-padding {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }

    .about-section .about-box {
        position: static !important;
        margin-top: 16px;
        border-radius: 14px !important;
        padding: 18px 20px !important;
    }

    .about-section .about-box h2 {
        font-size: 36px !important;
    }

    .cta-wrapper-4 {
        margin-top: 48px !important;
        padding: 40px 18px !important;
    }
}
/* ==========================================================================
   Thai Language (ภาษาไทย / th) Support & Accessible EN / ไทย Switcher
   Version: 20261121th1
   ========================================================================== */

/* 1. Header & Drawer EN / ไทย Switcher */
.ft-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: #F3F4F6;
    border: 1.5px solid #9CA3AF;
    margin-inline: 10px;
    flex-shrink: 0;
}

.ft-lang-btn {
    min-width: 44px;
    min-height: 38px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #111827 !important; /* 15.9:1 on #F3F4F6 (AAA) */
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ft-lang-btn:hover,
.ft-lang-btn:focus-visible {
    background: #E5E7EB;
    color: #0F4C81 !important;
}

.ft-lang-btn.active {
    background: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
}

/* Overlay Header Variant (.header-3:not(.sticky)) */
.header-3:not(.sticky) .ft-lang-switcher {
    background: rgba(17, 24, 39, 0.78);
    border-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(6px);
}

.header-3:not(.sticky) .ft-lang-btn {
    color: #F3F4F6 !important;
}

.header-3:not(.sticky) .ft-lang-btn.active {
    background: #FDE68A !important; /* 14.23:1 with #111827 (AAA) */
    color: #111827 !important;
}

.ft-drawer-lang-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ft-drawer-lang-switcher .ft-lang-btn {
    min-height: 44px;
    border: 1.5px solid #9CA3AF;
    background: #F8FAFC;
    border-radius: 8px;
}

.ft-drawer-lang-switcher .ft-lang-btn.active {
    border-color: #0F4C81;
}

/* 2. Thai Script Typography & Tone-Mark Clipping Protection (html[lang="th"]) */
html[lang="th"] body,
html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] h4,
html[lang="th"] h5,
html[lang="th"] h6,
html[lang="th"] p,
html[lang="th"] a,
html[lang="th"] button,
html[lang="th"] input,
html[lang="th"] select,
html[lang="th"] textarea,
html[lang="th"] .btn {
    font-family: "Noto Sans Thai", "Nunito", sans-serif !important;
}

html[lang="th"] body,
html[lang="th"] p,
html[lang="th"] li {
    line-height: 1.75 !important;
}

html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] h4 {
    line-height: 1.42 !important;
}

html[lang="th"] .btn,
html[lang="th"] .theme-btn,
html[lang="th"] .ft-pkg-cta-btn,
html[lang="th"] .badge,
html[lang="th"] .ft-pkg-duration-pill,
html[lang="th"] .ft-dest-count-pill,
html[lang="th"] .ft-pkg-tag,
html[lang="th"] .ft-lang-btn {
    line-height: 1.48 !important;
    padding-top: 0.48em;
    padding-bottom: 0.48em;
    overflow: hidden;
}
/* ==========================================================================
   Restored Smooth Sliding Curved Button Hover Curtain (EN & TH — Clip-Proof)
   Version: 20261121hoverfix
   ========================================================================== */

/* 1. Base Button Shell (clipped container, stacking context, WCAG AAA) */
.theme-btn,
.theme-btn-2,
.ft-hero-search-submit,
.ft-pkg-cta-btn,
.ft-card-cta-btn,
.newsletter-btn {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0F4C81 !important; /* 8.86:1 with #FFFFFF (AAA) */
    color: #FFFFFF !important;
    border: 1.5px solid #0F4C81 !important;
    border-radius: 10px !important;
    min-height: 46px;
    padding: 12px 24px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.18);
    transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

header .theme-btn {
    padding: 10px 20px !important;
    min-height: 44px;
}

.ft-pkg-cta-btn {
    min-height: 44px;
    padding: 10px 16px !important;
}

/* Keep inner text & icons cleanly above the sliding ::after curtain */
.theme-btn > *,
.theme-btn-2 > *,
.ft-hero-search-submit > *,
.ft-pkg-cta-btn > *,
.ft-card-cta-btn > *,
.newsletter-btn > * {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
}

.theme-btn i,
.theme-btn-2 i {
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: #FFFFFF !important;
}

.theme-btn span,
.theme-btn-2 span {
    margin-right: 0 !important;
}

/* Disable redundant ::before so only one smooth curved ::after curtain animates */
.theme-btn::before,
.theme-btn-2::before,
.ft-hero-search-submit::before,
.ft-pkg-cta-btn::before,
.ft-card-cta-btn::before,
.newsletter-btn::before {
    content: none !important;
    display: none !important;
}

/* 2. Restored Smooth Sliding Curved Hover Curtain (::after) */
.theme-btn::after,
.theme-btn-2::after,
.ft-hero-search-submit::after,
.ft-pkg-cta-btn::after,
.ft-card-cta-btn::after,
.newsletter-btn::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: -170% !important;
    bottom: auto !important;
    width: 175% !important;
    height: 165% !important;
    transform: translateX(-50%) !important;
    border-bottom-left-radius: 50% !important;
    border-bottom-right-radius: 50% !important;
    background-color: #0B3A63 !important; /* 11.4:1 with #FFFFFF (AAA) */
    opacity: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    transition: top 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease !important;
}

.theme-btn-2::after {
    background-color: #111827 !important; /* 17.74:1 with #FFFFFF (AAA) */
}

/* Active Hover & Focus-Visible Slide-Down */
.theme-btn:hover::after,
.theme-btn:focus-visible::after,
.theme-btn-2:hover::after,
.theme-btn-2:focus-visible::after,
.ft-hero-search-submit:hover::after,
.ft-hero-search-submit:focus-visible::after,
.ft-pkg-cta-btn:hover::after,
.ft-pkg-cta-btn:focus-visible::after,
.ft-card-cta-btn:hover::after,
.ft-card-cta-btn:focus-visible::after,
.newsletter-btn:hover::after,
.newsletter-btn:focus-visible::after {
    top: -25% !important;
    opacity: 1 !important;
}

.theme-btn:hover,
.theme-btn:focus-visible,
.theme-btn-2:hover,
.theme-btn-2:focus-visible,
.ft-hero-search-submit:hover,
.ft-hero-search-submit:focus-visible,
.ft-pkg-cta-btn:hover,
.ft-pkg-cta-btn:focus-visible,
.ft-card-cta-btn:hover,
.ft-card-cta-btn:focus-visible,
.newsletter-btn:hover,
.newsletter-btn:focus-visible {
    border-color: #0B3A63 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.28);
}

/* 3. Thai Script Taller Button Height Compatibility (clipped, never peeking) */
html[lang="th"] .theme-btn,
html[lang="th"] .theme-btn-2,
html[lang="th"] .ft-hero-search-submit,
html[lang="th"] .ft-pkg-cta-btn,
html[lang="th"] .ft-card-cta-btn,
html[lang="th"] .newsletter-btn {
    overflow: hidden !important;
    line-height: 1.55 !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}
/* ==========================================================================
   Final WCAG 2.1 AA/AAA Button, Hover Curtain & UI Contrast Lock (EN & TH)
   Version: 20261121contrast
   ========================================================================== */

/* 1. Primary CTA Buttons: #0F4C81 (8.86:1 AAA) -> ::after #0B3A63 (11.4:1 AAA) */
.theme-btn:not(.theme-btn-2),
.ft-hero-search-submit,
.ft-pkg-cta-btn,
.ft-card-cta-btn,
.newsletter-btn {
    background-color: #0F4C81 !important;
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

.theme-btn:not(.theme-btn-2)::after,
.ft-hero-search-submit::after,
.ft-pkg-cta-btn::after,
.ft-card-cta-btn::after,
.newsletter-btn::after {
    background-color: #0B3A63 !important;
}

/* 2. Secondary / Dark Buttons: #1E293B (14.6:1 AAA) -> ::after #0F172A (17.85:1 AAA) */
.theme-btn-2,
.theme-btn.theme-btn-2,
.trending-destinations .theme-btn-2,
.top-destination-section-4 .theme-btn-2 {
    background-color: #1E293B !important;
    border-color: #1E293B !important;
    color: #FFFFFF !important;
}

.theme-btn-2::after,
.theme-btn.theme-btn-2::after,
.trending-destinations .theme-btn-2::after,
.top-destination-section-4 .theme-btn-2::after {
    background-color: #0F172A !important;
}

.theme-btn-2:hover,
.theme-btn-2:focus-visible,
.theme-btn.theme-btn-2:hover,
.theme-btn.theme-btn-2:focus-visible {
    border-color: #0F172A !important;
    color: #FFFFFF !important;
}

/* 3. Guaranteed Crisp #FFFFFF Foreground on All Dark/Primary Buttons & Hover States */
.theme-btn span,
.theme-btn i,
.theme-btn svg,
.theme-btn:hover span,
.theme-btn:hover i,
.theme-btn:hover svg,
.theme-btn-2 span,
.theme-btn-2 i,
.theme-btn-2 svg,
.theme-btn-2:hover span,
.theme-btn-2:hover i,
.theme-btn-2:hover svg,
.ft-hero-search-submit span,
.ft-hero-search-submit i,
.ft-pkg-cta-btn span,
.ft-pkg-cta-btn i,
.ft-card-cta-btn span,
.ft-card-cta-btn i,
.newsletter-btn span,
.newsletter-btn i {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
}

/* 4. WhatsApp (#15803D -> #166534) & LINE (#047857 -> #065F46) Strict AA/AAA Lock */
.btn-whatsapp,
#btnBookWhatsApp,
#mobileStickyWaBtn,
#btnCustomTourWa,
#ftFloatingChatWidget a[href*="wa.me"] {
    background-color: #15803D !important; /* 5.02:1 AA */
    border-color: #15803D !important;
    color: #FFFFFF !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible,
#btnBookWhatsApp:hover,
#btnBookWhatsApp:focus-visible,
#mobileStickyWaBtn:hover,
#mobileStickyWaBtn:focus-visible,
#btnCustomTourWa:hover,
#btnCustomTourWa:focus-visible,
#ftFloatingChatWidget a[href*="wa.me"]:hover {
    background-color: #166534 !important; /* 7.13:1 AAA */
    border-color: #166534 !important;
    color: #FFFFFF !important;
}

.btn-line,
#btnBookLine,
#mobileStickyLineBtn,
#btnCustomTourLine,
#ftFloatingChatWidget a[href*="line.me"],
#lineBookingModal .modal-header,
#lineBookingModal a[href*="line.me"] {
    background-color: #047857 !important; /* 5.48:1 AA */
    border-color: #047857 !important;
    color: #FFFFFF !important;
}

.btn-line:hover,
.btn-line:focus-visible,
#btnBookLine:hover,
#btnBookLine:focus-visible,
#mobileStickyLineBtn:hover,
#mobileStickyLineBtn:focus-visible,
#btnCustomTourLine:hover,
#btnCustomTourLine:focus-visible,
#ftFloatingChatWidget a[href*="line.me"]:hover,
#lineBookingModal a[href*="line.me"]:hover {
    background-color: #065F46 !important; /* 7.68:1 AAA */
    border-color: #065F46 !important;
    color: #FFFFFF !important;
}

.btn-whatsapp span,
.btn-whatsapp i,
.btn-line span,
.btn-line i,
#btnBookWhatsApp span,
#btnBookWhatsApp i,
#btnBookLine span,
#btnBookLine i {
    color: #FFFFFF !important;
}

/* 5. Outline, Switcher, Pagination & Toggle Buttons (Active #0F4C81 / Inactive #111827 on #F8FAFC) */
.ft-lang-btn:not(.active),
.btn-outline-secondary,
.ft-a11y-pagination .page-item:not(.active):not(.disabled) .page-link {
    background-color: #F8FAFC !important;
    color: #111827 !important; /* 17.0:1 AAA */
    border: 1.5px solid #8B95A5 !important; /* 3.03:1 UI */
}

.header-3:not(.sticky) .ft-lang-btn:not(.active) {
    background-color: transparent !important;
    color: #F3F4F6 !important;
    border-color: transparent !important;
}

.ft-lang-btn.active,
.ft-a11y-pagination .page-item.active .page-link,
#bookingInformationForm .btn-group .btn-check:checked + .btn-outline-primary {
    background-color: #0F4C81 !important; /* 8.86:1 AAA */
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

.header-3:not(.sticky) .ft-lang-btn.active {
    background-color: #FDE68A !important; /* 14.23:1 AAA */
    border-color: #FDE68A !important;
    color: #111827 !important;
}
/* ==========================================================================
   All-Buttons Master Audit: 44px Tap Targets, 3px Focus Rings & Zero Leaks
   Version: 20261121allbtns
   ========================================================================== */

/* 1. Crisp 3px :focus-visible Outlines on Light & Dark Surfaces */
button:focus-visible,
a.btn:focus-visible,
a.theme-btn:focus-visible,
a.theme-btn-2:focus-visible,
a.ft-pkg-cta-btn:focus-visible,
a.ft-card-cta-btn:focus-visible,
a.ft-lang-btn:focus-visible,
input[type="submit"]:focus-visible {
    outline: 3px solid #0F4C81 !important;
    outline-offset: 2px !important;
}

footer button:focus-visible,
footer a:focus-visible,
.hero-section button:focus-visible,
.hero-section a.btn:focus-visible,
.header-top-section a:focus-visible,
.header-3:not(.sticky) a:focus-visible,
.header-3:not(.sticky) button:focus-visible {
    outline: 3px solid #FDE68A !important;
    outline-offset: 2px !important;
}

/* 2. Minimum 44px Touch Targets Across All Interactive Buttons */
.btn,
.theme-btn,
.theme-btn-2,
.ft-hero-search-submit,
.ft-pkg-cta-btn,
.ft-card-cta-btn,
.newsletter-btn,
.ft-lang-btn,
.accordion-button,
.search-toggle,
.search-close,
.sidebar__toggle,
.offcanvas__close button,
.array-prev,
.array-next,
#back-top {
    min-height: 44px;
}

.search-toggle,
.search-close,
.sidebar__toggle,
.offcanvas__close button,
.array-prev,
.array-next,
#back-top,
#ftFloatingChatWidget a {
    min-width: 44px;
}

/* 3. Ensure Zero Legacy #4D40CA / #FB5B32 Leaks on Any Button Hover or Active State */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #0F4C81 !important;
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: #0B3A63 !important;
    border-color: #0B3A63 !important;
}
/* ==========================================================================
   Definitive Max-Specificity WCAG 2.1 AA/AAA Button Contrast Lock (EN & TH)
   Version: 20261121btncontrast
   ========================================================================== */

/* 1. Primary Filled Buttons: #0F4C81 (8.86:1 AAA) -> ::after #0B3A63 (11.4:1 AAA) */
html body a.theme-btn:not(.theme-btn-2):not(.style-2),
html body button.theme-btn:not(.theme-btn-2):not(.style-2),
html body .theme-btn:not(.theme-btn-2):not(.style-2),
html body .ft-hero-search-submit,
html body a.ft-pkg-cta-btn,
html body a.ft-card-cta-btn,
html body button.newsletter-btn,
html body button[type="submit"].theme-btn {
    background: #0F4C81 !important;
    background-color: #0F4C81 !important;
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

html body a.theme-btn:not(.theme-btn-2):not(.style-2):hover,
html body a.theme-btn:not(.theme-btn-2):not(.style-2):focus-visible,
html body a.theme-btn:not(.theme-btn-2):not(.style-2):active,
html body a.theme-btn:not(.theme-btn-2):not(.style-2):visited,
html body button.theme-btn:not(.theme-btn-2):not(.style-2):hover,
html body button.theme-btn:not(.theme-btn-2):not(.style-2):focus-visible,
html body .ft-hero-search-submit:hover,
html body a.ft-pkg-cta-btn:hover,
html body a.ft-pkg-cta-btn:visited,
html body a.ft-card-cta-btn:hover,
html body button.newsletter-btn:hover {
    background-color: #0F4C81 !important;
    border-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

html body .theme-btn:not(.theme-btn-2):not(.style-2)::after,
html body .ft-hero-search-submit::after,
html body .ft-pkg-cta-btn::after,
html body .ft-card-cta-btn::after,
html body .newsletter-btn::after {
    background: #0B3A63 !important;
    background-color: #0B3A63 !important;
}

/* Primary button text descendants always #FFFFFF */
html body .theme-btn:not(.style-2) span,
html body .theme-btn:not(.style-2):hover span,
html body .theme-btn:not(.style-2):focus-visible span,
html body .ft-hero-search-submit span,
html body .ft-hero-search-submit i,
html body .ft-pkg-cta-btn span,
html body .ft-pkg-cta-btn i,
html body .ft-card-cta-btn span,
html body .ft-card-cta-btn i,
html body .newsletter-btn span,
html body .newsletter-btn i {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    fill: currentColor !important;
}

/* 2. Secondary / Dark Buttons: #1E293B (14.6:1 AAA) -> ::after #0F172A (17.85:1 AAA) */
html body a.theme-btn-2,
html body a.theme-btn.theme-btn-2,
html body button.theme-btn-2,
html body button.theme-btn.theme-btn-2 {
    background: #1E293B !important;
    background-color: #1E293B !important;
    border-color: #1E293B !important;
    color: #FFFFFF !important;
}

html body a.theme-btn-2:hover,
html body a.theme-btn-2:focus-visible,
html body a.theme-btn-2:visited,
html body a.theme-btn.theme-btn-2:hover,
html body a.theme-btn.theme-btn-2:focus-visible,
html body a.theme-btn.theme-btn-2:visited {
    background-color: #1E293B !important;
    border-color: #0F172A !important;
    color: #FFFFFF !important;
}

html body .theme-btn-2::after,
html body .theme-btn.theme-btn-2::after {
    background: #0F172A !important;
    background-color: #0F172A !important;
}

html body .theme-btn-2 span,
html body .theme-btn-2:hover span,
html body .theme-btn.theme-btn-2 span,
html body .theme-btn.theme-btn-2:hover span {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
}

/* 3. Circular White Arrow Badge Inside .theme-btn & .theme-btn-2 (NO white-on-white!) */
html body .theme-btn:not(.ft-hero-search-submit) i,
html body .theme-btn:not(.ft-hero-search-submit):hover i,
html body .theme-btn:not(.ft-hero-search-submit):focus-visible i {
    position: relative;
    z-index: 2;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    min-height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background-color: #FFFFFF !important;
    color: #0F4C81 !important; /* 8.86:1 AAA on #FFFFFF */
    font-size: 13px !important;
    line-height: 1 !important;
}

html body .theme-btn.theme-btn-2 i,
html body .theme-btn.theme-btn-2:hover i,
html body .theme-btn-2 i,
html body .theme-btn-2:hover i {
    background-color: #FFFFFF !important;
    color: #1E293B !important; /* 14.6:1 AAA on #FFFFFF */
}

/* 4. Light / Outline / Ghost / Link / Switcher / Pagination / Accordion Buttons */
html body a.link-btn,
html body a.read-more {
    color: #0F4C81 !important; /* 8.86:1 AAA on #FFFFFF */
    font-weight: 700 !important;
}

html body a.link-btn:hover,
html body a.link-btn:focus-visible,
html body a.read-more:hover,
html body a.read-more:focus-visible {
    color: #0B3A63 !important; /* 11.4:1 AAA (kills #FB5B32 orange hover) */
}

html body .theme-btn.style-2,
html body .btn-outline-secondary,
html body .btn-light,
html body .btn-white,
html body .ft-a11y-pagination .page-item:not(.active):not(.disabled) .page-link {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #111827 !important; /* 17.74:1 AAA */
    border: 1.5px solid #475569 !important; /* 7.5:1 UI border */
}

html body .theme-btn.style-2 *,
html body .btn-outline-secondary *,
html body .btn-light *,
html body .btn-white * {
    color: #111827 !important;
}

html body .theme-btn.style-2:hover,
html body .btn-outline-secondary:hover,
html body .ft-a11y-pagination .page-item:not(.active):not(.disabled) .page-link:hover,
html body .ft-a11y-pagination .page-item.active .page-link {
    background: #0F4C81 !important;
    background-color: #0F4C81 !important;
    border-color: #0F4C81 !important;
    color: #FFFFFF !important; /* 8.86:1 AAA */
}

html body .theme-btn.style-2:hover *,
html body .btn-outline-secondary:hover * {
    color: #FFFFFF !important;
}

/* 5. WhatsApp & LINE Buttons — Maximum Specificity Lock (EN & TH) */
html body .btn-whatsapp,
html body #btnBookWhatsApp,
html body #mobileStickyWaBtn,
html body #btnCustomTourWa,
html body #ftFloatingChatWidget a[href*="wa.me"],
html body a.btn[href*="wa.me"] {
    background: #15803D !important;
    background-color: #15803D !important; /* 5.02:1 AA */
    border-color: #15803D !important;
    color: #FFFFFF !important;
}

html body .btn-whatsapp:hover,
html body .btn-whatsapp:focus-visible,
html body #btnBookWhatsApp:hover,
html body #mobileStickyWaBtn:hover,
html body #btnCustomTourWa:hover,
html body #ftFloatingChatWidget a[href*="wa.me"]:hover,
html body a.btn[href*="wa.me"]:hover {
    background: #166534 !important;
    background-color: #166534 !important; /* 7.13:1 AAA */
    border-color: #166534 !important;
    color: #FFFFFF !important;
}

html body .btn-line,
html body #btnBookLine,
html body #mobileStickyLineBtn,
html body #btnCustomTourLine,
html body #ftFloatingChatWidget a[href*="line.me"],
html body #lineBookingModal .modal-header,
html body #lineBookingModal a[href*="line.me"],
html body a.btn[href*="line.me"] {
    background: #047857 !important;
    background-color: #047857 !important; /* 5.48:1 AA */
    border-color: #047857 !important;
    color: #FFFFFF !important;
}

html body .btn-line:hover,
html body .btn-line:focus-visible,
html body #btnBookLine:hover,
html body #mobileStickyLineBtn:hover,
html body #btnCustomTourLine:hover,
html body #ftFloatingChatWidget a[href*="line.me"]:hover,
html body #lineBookingModal a[href*="line.me"]:hover,
html body a.btn[href*="line.me"]:hover {
    background: #065F46 !important;
    background-color: #065F46 !important; /* 7.68:1 AAA */
    border-color: #065F46 !important;
    color: #FFFFFF !important;
}

html body .btn-whatsapp *,
html body .btn-line *,
html body #btnBookWhatsApp *,
html body #btnBookLine *,
html body #mobileStickyWaBtn *,
html body #mobileStickyLineBtn *,
html body #btnCustomTourWa *,
html body #btnCustomTourLine *,
html body a.btn[href*="wa.me"] *,
html body a.btn[href*="line.me"] * {
    color: #FFFFFF !important;
    fill: currentColor !important;
}
/* ==========================================================================
   Definitive :hover Stacking (z-index: -1 Curtain) & Contrast Lock (EN & TH)
   Version: 20261121hovercontrast
   ========================================================================== */

/* CRITICAL STACKING FIX:
   Place ::after curved hover curtain at z-index: -1 inside isolation: isolate
   so it paints ABOVE the button's background and ALWAYS BELOW both raw text
   nodes (like "View Details") and child <span>/<i>/<svg> elements! */
html body .theme-btn,
html body .theme-btn-2,
html body .ft-hero-search-submit,
html body .ft-pkg-btn,
html body .ft-pkg-cta-btn,
html body .ft-card-cta-btn,
html body .newsletter-btn {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    z-index: 0;
}

html body .theme-btn::after,
html body .theme-btn-2::after,
html body .ft-hero-search-submit::after,
html body .ft-pkg-btn::after,
html body .ft-pkg-cta-btn::after,
html body .ft-card-cta-btn::after,
html body .newsletter-btn::after {
    z-index: -1 !important;
}

/* 1. Packages Card Buttons (.ft-pkg-btn, .ft-pkg-cta-btn, .ft-card-cta-btn) */
html body .ft-pkg-card .ft-pkg-btn,
html body .ft-pkg-card .ft-pkg-cta-btn,
html body .ft-pkg-card .ft-card-cta-btn,
html body .ft-pkg-btn,
html body .ft-pkg-cta-btn,
html body .ft-card-cta-btn {
    background: #0F4C81 !important;
    background-color: #0F4C81 !important; /* 8.86:1 AAA */
    border: 1.5px solid #0F4C81 !important;
    color: #FFFFFF !important;
}

html body .ft-pkg-card:hover .ft-pkg-btn,
html body .ft-pkg-card:hover .ft-pkg-cta-btn,
html body .ft-pkg-card:hover .ft-card-cta-btn,
html body .ft-pkg-btn:hover,
html body .ft-pkg-btn:focus-visible,
html body .ft-pkg-cta-btn:hover,
html body .ft-pkg-cta-btn:focus-visible,
html body .ft-card-cta-btn:hover,
html body .ft-card-cta-btn:focus-visible {
    background: #0B3A63 !important;
    background-color: #0B3A63 !important; /* 11.4:1 AAA */
    border-color: #0B3A63 !important;
    color: #FFFFFF !important;
}

html body .ft-pkg-card .ft-pkg-btn *,
html body .ft-pkg-card .ft-pkg-cta-btn *,
html body .ft-pkg-card .ft-card-cta-btn *,
html body .ft-pkg-btn:hover *,
html body .ft-pkg-cta-btn:hover *,
html body .ft-card-cta-btn:hover * {
    color: #FFFFFF !important;
    fill: currentColor !important;
}

/* 2. Destinations Card Arrow Buttons (.ft-dest-card-arrow / .ft-dest-arrow) */
html body .ft-dest-card .ft-dest-card-arrow,
html body .ft-dest-card .ft-dest-arrow {
    background: #0F4C81 !important;
    background-color: #0F4C81 !important; /* 8.86:1 AAA */
    color: #FFFFFF !important;
}

html body .ft-dest-card:hover .ft-dest-card-arrow,
html body .ft-dest-card .ft-dest-card-arrow:hover,
html body .ft-dest-card:hover .ft-dest-arrow,
html body .ft-dest-card .ft-dest-arrow:hover {
    background: #FDE68A !important;
    background-color: #FDE68A !important; /* 14.23:1 AAA */
    color: #111827 !important;
}

html body .ft-dest-card .ft-dest-card-arrow i,
html body .ft-dest-card .ft-dest-card-arrow svg,
html body .ft-dest-card .ft-dest-arrow i,
html body .ft-dest-card .ft-dest-arrow svg {
    color: inherit !important;
    fill: currentColor !important;
}

/* 3. Primary .theme-btn:hover & Secondary .theme-btn-2:hover */
html body a.theme-btn:not(.theme-btn-2):not(.style-2):hover,
html body button.theme-btn:not(.theme-btn-2):not(.style-2):hover,
html body .ft-hero-search-submit:hover,
html body button.newsletter-btn:hover {
    color: #FFFFFF !important;
}

html body .theme-btn:not(.theme-btn-2):not(.style-2)::after,
html body .ft-hero-search-submit::after,
html body .newsletter-btn::after {
    background: #0B3A63 !important;
    background-color: #0B3A63 !important; /* 11.4:1 AAA */
}

html body .theme-btn:not(.ft-hero-search-submit):not(.theme-btn-2) i,
html body .theme-btn:not(.ft-hero-search-submit):not(.theme-btn-2):hover i {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #0F4C81 !important; /* 8.86:1 AAA */
}

html body .theme-btn-2::after,
html body .theme-btn.theme-btn-2::after {
    background: #0F172A !important;
    background-color: #0F172A !important; /* 17.85:1 AAA */
}

html body .theme-btn-2 i,
html body .theme-btn-2:hover i,
html body .theme-btn.theme-btn-2 i,
html body .theme-btn.theme-btn-2:hover i {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important; /* 17.85:1 AAA */
}

/* 4. WhatsApp & LINE :hover States (Sidebar, Sticky Bar, Modals, Floating Chat) */
html body .btn-whatsapp:hover,
html body .btn-whatsapp:focus-visible,
html body #btnBookWhatsApp:hover,
html body #mobileStickyWaBtn:hover,
html body #btnCustomTourWa:hover,
html body #ftFloatingChatWidget a[href*="wa.me"]:hover,
html body #customTourModal a[href*="wa.me"]:hover {
    background: #166534 !important;
    background-color: #166534 !important; /* 7.13:1 AAA */
    border-color: #166534 !important;
    color: #FFFFFF !important;
}

html body .btn-line:hover,
html body .btn-line:focus-visible,
html body #btnBookLine:hover,
html body #mobileStickyLineBtn:hover,
html body #btnCustomTourLine:hover,
html body #ftFloatingChatWidget a[href*="line.me"]:hover,
html body #customTourModal a[href*="line.me"]:hover,
html body #lineBookingModal a[href*="line.me"]:hover {
    background: #065F46 !important;
    background-color: #065F46 !important; /* 7.68:1 AAA */
    border-color: #065F46 !important;
    color: #FFFFFF !important;
}

/* 5. Light / Outline / Switcher / Pagination / Stepper :hover States */
html body .ft-lang-btn:not(.active):hover,
html body .ft-lang-btn:not(.active):focus-visible,
html body .btn-outline-secondary:hover,
html body .btn-outline-secondary:focus-visible,
html body #bookingInformationForm .btn-group .btn-outline-primary:hover,
html body .ft-a11y-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background: #0F4C81 !important;
    background-color: #0F4C81 !important; /* 8.86:1 AAA */
    border-color: #0F4C81 !important;
    color: #FFFFFF !important;
}

html body .ft-lang-btn:not(.active):hover *,
html body .btn-outline-secondary:hover *,
html body #bookingInformationForm .btn-group .btn-outline-primary:hover * {
    color: #FFFFFF !important;
}

html body #accordion2 .accordion-button:hover,
html body .faq-section .accordion-button:hover {
    background-color: #EFF6FF !important;
    color: #0F4C81 !important; /* 8.12:1 AAA */
}
/* ==========================================================================
   Header & Footer Complete Layout Upgrade (Desktop 1440px, Tablet & 375px)
   Version: 20261121headerfooter
   ========================================================================== */

/* 1. Top Utility Bar (.ft-top-utility-bar) */
.ft-top-utility-bar {
    display: block !important;
    background-color: #0F172A !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ft-top-utility-bar .top-left {
    gap: 20px !important;
    flex-wrap: wrap;
}

.ft-top-utility-bar .top-left li {
    font-size: 13.5px !important;
    color: #F3F4F6 !important;
}

.ft-top-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.ft-top-lang-btn {
    min-width: 38px;
    min-height: 30px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #F3F4F6 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ft-top-lang-btn.active {
    background-color: #FDE68A !important; /* 14.23:1 with #111827 (AAA) */
    color: #111827 !important;
}

/* 2. Single-Row Main Header Bar (.ft-main-header-bar) */
.ft-main-header-bar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding: 0 !important;
}

.ft-header-main-row {
    min-height: 76px;
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px;
}

.ft-main-header-bar .logo img {
    max-height: 52px;
    width: auto;
}

.ft-desktop-nav-list {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ft-desktop-nav-list > li {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.ft-desktop-nav-list > li > a {
    color: #111827 !important; /* 17.74:1 on #FFFFFF (AAA) */
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 12px 4px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
}

.ft-desktop-nav-list > li > a:hover,
.ft-desktop-nav-list > li.active > a {
    color: #0F4C81 !important; /* 8.86:1 AAA */
}

.ft-nav-caret {
    font-size: 11px;
}

.ft-desktop-nav-list > li.has-dropdown:hover > .ft-nav-submenu,
.ft-desktop-nav-list > li.has-dropdown:focus-within > .ft-nav-submenu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.ft-nav-submenu {
    min-width: 280px !important;
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 12px !important;
    padding: 8px 0 !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14) !important;
}

.ft-nav-submenu li a {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #1F2937 !important;
    white-space: normal !important;
    line-height: 1.4 !important;
}

.ft-nav-submenu li a:hover {
    background-color: #EFF6FF !important;
    color: #0F4C81 !important;
}

.ft-header-cta-btn {
    white-space: nowrap !important;
    font-size: 13.5px !important;
    padding: 10px 16px !important;
}

/* 3. Native Accessible Mobile Offcanvas Navigation (.ft-mobile-drawer-nav) */
.ft-mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #E5E7EB;
}

.ft-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 6px;
    color: #111827 !important; /* 17.74:1 AAA */
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 1px solid #E5E7EB;
    cursor: pointer;
    list-style: none;
}

.ft-drawer-link:hover,
.ft-drawer-link.active {
    color: #0F4C81 !important;
}

.ft-drawer-summary::-webkit-details-marker {
    display: none;
}

.ft-drawer-sublist {
    display: flex;
    flex-direction: column;
    background: #F8FAFC;
    padding: 6px 0 6px 14px;
    border-bottom: 1px solid #E5E7EB;
}

.ft-drawer-sublink {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 8px;
    color: #1F2937 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.ft-drawer-sublink:hover {
    color: #0F4C81 !important;
}

/* 4. Upgraded 4-Column Dark Slate-Navy Footer (.ft-footer-v2) */
footer.ft-footer-v2 {
    background: #0F172A !important;
    color: #E5E7EB !important;
    padding-bottom: 0 !important;
}

footer.ft-footer-v2::before {
    display: none !important;
}

.ft-footer-summary {
    color: #CBD5E1 !important; /* 11.8:1 on #0F172A (AAA) */
    font-size: 14px;
    line-height: 1.65;
}

.ft-footer-heading {
    color: #FDE68A !important; /* 14.23:1 on #0F172A (AAA) */
    font-size: 16px !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.02em;
}

.ft-footer-links li a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
    color: #E5E7EB !important; /* 14.37:1 on #0F172A (AAA) */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 1.45;
}

.ft-footer-links li a:hover,
.ft-footer-links li a:focus-visible {
    color: #FDE68A !important;
    text-decoration: underline !important;
}

.ft-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #E5E7EB !important;
    line-height: 1.5;
}

.ft-footer-contact-list li i {
    color: #93C5FD !important;
    margin-top: 4px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.ft-footer-contact-list li a {
    color: #FFFFFF !important;
    font-weight: 600;
    text-decoration: none !important;
}

.ft-footer-contact-list li a:hover {
    color: #FDE68A !important;
    text-decoration: underline !important;
}

.ft-footer-pill-btn {
    min-height: 44px;
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

.ft-footer-nl-label {
    display: block;
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ft-footer-nl-input {
    min-height: 44px;
    background: #FFFFFF !important;
    color: #111827 !important;
    border: 1.5px solid #94A3B8 !important;
    border-radius: 8px !important;
}

.ft-footer-lang-select {
    min-height: 44px;
    min-width: 170px;
    background-color: #FFFFFF !important;
    color: #111827 !important;
    border: 1.5px solid #94A3B8 !important;
    border-radius: 8px !important;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    footer.ft-footer-v2 .footer-bottom-1 {
        padding-bottom: 92px !important; /* Clean clearance above floating chat & sticky bar */
    }
}
