/* HolidayMint Global Styles - Replicating Club Mahindra Homepage */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Mobile Offcanvas Fix ---- */
/* Must be above popup-overlay (9999) and all other fixed elements */
#mobileMenu {
    z-index: 11000 !important;
}
.offcanvas-backdrop {
    z-index: 10999 !important;
}

/* Prevent body scroll when offcanvas is open */
body.offcanvas-open,
body.modal-open {
    overflow: hidden !important;
}

:root {
    /* Primary & Accent Colors */
    --jade: #1E6465;
    --jade-dark: #164a4b;
    --jade-light: #2a8b8c;
    --search-gradient: linear-gradient(135deg, #98BC3F 0%, #13A0CB 100%);
    --active-tab: #13A0CB;
    --orange: #ED8B00;

    /* Neutral Palette */
    --bg-primary: #F9F8F3;
    /* Soft Ivory Background */
    --bg-secondary: #EAE8DB;
    /* Deeper Ivory */
    --bg-card: #FFFFFF;
    --text-ebony: #1A1A1A;
    --text-body: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --teal: #1E6465;
    --teal-light: #f0f7f7;

    /* UI Values */
    --radius-standard: 14px;
    --radius-lg: 24px;
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden !important;
    max-width: 100%;
}

html {
    max-width: 100%;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lexend', sans-serif;
    color: var(--text-ebony);
    font-weight: 600;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-tagline {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--jade);
    margin-bottom: 15px;
    display: block;
    padding-top: 40px; /* Space for fixed header */
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-ebony);
}

/* Luxury Header */
.main-nav {
    padding: 15px 0;
    background: var(--white);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2000;
}

.navbar-brand.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--jade);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--orange);
}

.nav-link {
    color: var(--text-ebony) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px !important;
}

.btn-join {
    background: var(--jade);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-standard);
    font-weight: 600;
    transition: var(--transition);
}

.btn-join:hover {
    background: var(--jade-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dashboard:hover {
    background: #d67d00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 139, 0, 0.3);
}

.btn-teal {
    background: var(--teal);
    color: white !important;
    border: none;
}

.btn-teal:hover {
    background: var(--jade-dark);
    transform: translateY(-2px);
}

.bg-teal { background-color: var(--teal) !important; }
.text-teal { color: var(--teal) !important; }
.bg-gradient-dark {
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%) !important;
}

.tracking-wider { letter-spacing: 2px; }

.arrow-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--jade);
    border: 1px solid var(--jade);
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer !important;
    z-index: 1000;
    position: relative;
    pointer-events: auto;
}

.arrow-btn:hover {
    background: var(--jade);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 100, 101, 0.2);
}

.arrow-btn:active {
    transform: translateY(0);
}

/* Hero Section */
.hero-wrap {
    height: 90vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-media {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-caption {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--white);
    z-index: 10;
}

/* Search Bar Redesign */
.search-float {
    position: relative;
    z-index: 100;
    margin-top: -55px;
}

.search-tabs {
    display: flex;
    gap: 5px;
    padding-left: 20px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px 30px;
    border-radius: 12px 12px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.tab-btn.active {
    background: var(--white);
    color: var(--active-tab);
}

/* Search Box Polish & Transitions */
.search-main {
    background: white;
    padding: 30px;
    border-radius: 0 20px 20px 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
    gap: 20px;
    align-items: end;
    transition: var(--transition);
}

.search-field {
    border-right: 1px solid #EDEDED;
    padding-right: 20px;
}

.search-field:last-child {
    border-right: none;
}

.field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-ebony);
    outline: none !important;
}

.field-input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-action-btn {
    background: var(--search-gradient);
    border: none;
    height: 55px;
    border-radius: 12px;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.search-action-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(152, 188, 63, 0.4);
}

/* Dropdown Professionalism */
.search-field .dropdown-menu {
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    margin-top: 15px !important;
    min-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
}

.search-field .dropdown {
    position: static !important;
}

.dropdown-search-wrap {
    padding: 15px;
    background: #f8fcfc;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.dropdown-search-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px 15px 10px 40px;
    font-size: 14px;
    width: 100%;
}

.search-icon-inside {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--jade);
    opacity: 0.5;
}

.dropdown-results-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.dropdown-results-list::-webkit-scrollbar {
    width: 5px;
}

.dropdown-results-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.dropdown-results-list .dropdown-item {
    padding: 12px 15px !important;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-results-list .dropdown-item:hover {
    background: #f0f7f7 !important;
    color: var(--jade) !important;
}

.dropdown-results-list .dropdown-item.active {
    background: var(--jade) !important;
    color: white !important;
}

/* Gallery Grid & Experience Cards */
.experience-card {
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #eee;
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.experience-card:hover img {
    transform: scale(1.08);
}

.experience-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.experience-title {
    color: white;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Global Resort Card V2 */
.resort-card-v2 {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resort-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.resort-img-container {
    overflow: hidden;
    position: relative;
    height: 250px;
    width: 100%;
}

.resort-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.resort-card-v2:hover .resort-img-container img {
    transform: scale(1.1);
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent) !important;
}

.resort-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 10;
}

.hover-up { transition: var(--transition); }
.hover-up:hover {
    transform: translateY(-2px);
}

.xsmall { font-size: 10px; }
.extra-small { font-size: 11px; }
.uppercase { text-transform: uppercase; }

.resort-card-v2 .p-4 {
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.section-tagline {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--jade);
    margin-bottom: 15px;
    display: block;
}

.trending-section {
    background-color: var(--bg-primary) !important;
}

/* Custom Splide navigation layout in the section header */
.custom-splide-nav .splide__arrow {
    position: static;
    transform: none;
    opacity: 1;
    background: transparent;
}
.custom-splide-nav .splide__arrow i {
    transform: none;
}
.custom-splide-nav .splide__arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}






.experience-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.hover-lift {
    transition: transform 0.3s ease, shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.italic {
    font-style: italic;
}

/* Trust Section */
.trust-strip {
    background: #000;
    color: var(--white);
    padding: 60px 0;
}

.trust-item {
    text-align: center;
}

.trust-count {
    font-size: 40px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    color: var(--orange);
}

/* Membership Tiers */
.tier-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.tier-card.featured {
    background: var(--jade);
    color: var(--white);
}

.tier-card.featured h3 {
    color: var(--white);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--jade);
    margin-bottom: 25px;
    display: block;
    text-decoration: none;
}

.footer-link-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--jade);
}

/* New Component Styles */

.btn-outline-jade {
    border: 1px solid var(--jade);
    color: var(--jade);
}

.btn-outline-jade:hover {
    background: var(--jade);
    color: white;
}

/* Collection Tabs */
.col-tab {
    padding: 10px 30px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: white;
    font-weight: 600;
    transition: var(--transition);
}

.col-tab.active {
    background: var(--jade);
    color: white;
    border-color: var(--jade);
}

/* Fix Splide arrow overlapping tabs */
.tabs-slider {
    padding: 0 10px;
    position: relative;
}

.tabs-slider .splide__track {
    padding: 0 45px !important; /* Space for the arrows */
}

.tabs-slider .splide__arrow {
    background: var(--jade) !important;
    color: white !important;
    width: 35px !important;
    height: 35px !important;
    border: none !important;
    opacity: 1 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 20;
}

.tabs-slider .splide__arrow--prev {
    left: 0 !important;
}

.tabs-slider .splide__arrow--next {
    right: 0 !important;
}

.tabs-slider .splide__arrow svg {
    fill: white !important;
    width: 18px;
    height: 18px;
}

.tabs-slider .splide__arrow:disabled {
    opacity: 0.3 !important;
    background: #ccc !important;
}

.tabs-slider .splide__pagination {
    display: none !important;
}

/* Collection Cards */
.resort-collection-card {
    position: relative;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.resort-collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.resort-collection-card:hover img {
    transform: scale(1.1);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.collection-info h3 {
    margin: 0;
    font-size: 20px;
    color: white;
}

.collection-info p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Odometer */
.trust-count {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 2px;
}

.odometer {
    font-weight: 800;
}

/* Contact Info */
.contact-info-block {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-info-block:last-child {
    border-bottom: none;
}

.text-jade {
    color: var(--jade) !important;
}

.bg-jade {
    background-color: var(--jade) !important;
}

.booking-form-wrap .form-control,
.booking-form-wrap .form-select {
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
}

.booking-form-wrap .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Slider Controls are now handled by consolidated .arrow-btn class */
.hero-caption h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

/* Floating Search Bar Elegance (Glassmorphism) */
.search-main {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-standard);
}

/* Experience Cards refinement */
.experience-card .experience-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.experience-title {
    font-size: 22px;
    line-height: 1.3;
}

/* Section Tagline Refinement */
.section-tagline {
    font-weight: 700;
    color: var(--jade);
    letter-spacing: 4px;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
}

/* Odometer Elegance */
.trust-strip {
    background: var(--text-ebony);
    color: white;
    padding: 80px 0;
}

.trust-count {
    color: var(--orange);
    font-size: 50px;
}

/* Resort Collections enhancements */
.collection-tabs {
    margin-bottom: 40px;
}

.col-tab:hover {
    border-color: var(--jade);
    color: var(--jade);
}

/* Membership Tiers Refinement */
.tier-card h3 {
    font-weight: 800;
}

.display-6 {
    font-family: 'Lexend', sans-serif;
    letter-spacing: -2px;
}

/* Responsive */
@media (max-width: 991px) {
    .search-main {
        grid-template-columns: 1fr;
        border-radius: var(--radius-standard);
        padding: 20px;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #EDEDED;
        padding: 15px 0;
    }

    .search-field:last-child,
    .search-field:nth-last-child(2) {
        border-bottom: none;
    }

    .hero-wrap {
        height: 50vh;
        min-height: 400px;
    }

    .section-title {
        font-size: 28px;
    }

    .search-float {
        margin-top: -40px;
    }

    .experience-card {
        height: 320px;
    }

    .trust-count {
        font-size: 32px;
    }

    .offcanvas-lg {
        z-index: 10000 !important;
    }

    .offcanvas-backdrop {
        z-index: 9999 !important;
    }

    .offcanvas-body {
        padding: 20px;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid #f1f1f1;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .d-flex.align-items-center.gap-4 {
        flex-direction: column;
        gap: 15px !important;
        align-items: flex-start !important;
        margin-top: 15px;
    }

    .btn-join {
        width: 100%;
        text-align: center;
    }
}

/* Animations extra */
.aos-animate[data-aos="zoom-in-up"] {
    transition-timing-function: cubic-bezier(.165, .84, .44, 1);
}

/* Gallery Hover Effect */
.gallery-item-wrap img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.gallery-item-wrap:hover img {
    transform: scale(1.1);
}

/* Header refined */
.main-nav {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    padding: 2px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-link {
    font-size: 15px !important;
    font-weight: 500 !important;
    margin: 0 10px;
    position: relative;
    color: var(--text-ebony) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--jade);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-join {
    background: var(--jade);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(30, 100, 101, 0.3);
}

.btn-join:hover {
    background: var(--text-ebony) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Awards/Logos Section opacity tweak — scoped to avoid affecting resort cards */
.awards-logos img {
    filter: grayscale(1);
    transition: var(--transition);
    max-height: 40px !important;
    width: auto;
}

.awards-logos .col:hover img {
    filter: grayscale(0);
    opacity: 1 !important;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

#whatsappButton {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

#whatsappButton:hover {
    transform: scale(1.1) translateY(-5px);
    background: #128C7E;
    color: white;
}

.whatsapp-label {
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.whatsapp-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

#whatsappButton:hover .whatsapp-label {
    opacity: 1;
    visibility: visible;
}

#scrollToTop {
    width: 60px;
    height: 60px;
    background: var(--jade);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 25px rgba(30, 100, 101, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 20px;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background: var(--orange);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(237, 139, 0, 0.4);
}

/* Premium Popup Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #fff;
    width: 90%;
    max-width: 850px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    transform: translateY(50px);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-img-side {
    width: 45%;
    background: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&q=80&w=800') center/cover;
    position: relative;
}

.popup-img-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, white);
}

.popup-form-side {
    width: 55%;
    padding: 60px;
    background: white;
}

.close-popup {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f1f1f1;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-popup:hover {
    background: #eee;
    transform: rotate(90deg);
}

.popup-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-ebony);
    margin-bottom: 5px;
    line-height: 1.1;
}

.popup-subtitle {
    font-size: 14px;
    color: var(--jade);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

/* Header refinements */
.navbar-brand img {
    height: 80px !important;
    transition: height 0.3s ease;
}

.main-nav.scrolled .navbar-brand img {
    height: 60px !important;
}

@media (max-width: 991px) {
    .popup-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .popup-img-side {
        width: 100%;
        height: 200px;
    }

    .popup-img-side::after {
        background: linear-gradient(to bottom, transparent, white);
    }

    .popup-form-side {
        width: 100%;
        padding: 40px 30px;
    }

    .navbar-brand img {
        height: 60px !important;
    }
}

/* Enhanced Helper Classes */
.bg-jade {
    background-color: var(--jade) !important;
}

.text-jade {
    color: var(--jade) !important;
}

.border-jade {
    border-color: var(--jade) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Custom Component Styles */
.arrow-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid;
    transition: var(--transition);
}

.arrow-btn:hover {
    background: var(--jade);
    color: white !important;
}

.resort-collection-card img {
    transition: transform 0.8s ease;
}

.resort-collection-card:hover img {
    transform: scale(1.1);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.col-tab {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: white;
    font-weight: 600;
    color: var(--text-ebony);
    transition: var(--transition);
}

.col-tab.active {
    background: var(--jade);
    color: white;
    border-color: var(--jade);
}

.tier-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.italic {
    font-style: italic;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Slider Overrides */
.testimonial-slider .slick-dots li button:before {
    color: var(--jade);
    font-size: 12px;
}

.testimonial-slider .slick-dots li.slick-active button:before {
    color: var(--jade);
    opacity: 1;
}

/* Form Styling */
.bg-white-10 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.border-white-20::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.navbar-brand img {
    height: 80px !important;
    transition: height 0.3s ease;
}

.main-nav.scrolled .navbar-brand img {
    height: 60px !important;
}

/* Trust Strip */
.trust-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-count {
    font-family: 'Lexend', sans-serif;
    line-height: 1;
}

/* Testimonials */
.testimonial-card {
    max-width: 900px !important;
    margin: 40px auto;
    transition: var(--transition);
}

.italic {
    font-style: italic;
    font-family: 'Lexend', sans-serif;
}

/* Marquee Smoothness */
.top-marquee {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1020;
    position: relative;
}

.marquee-content {
    animation: marquee 30s linear infinite;
}

/* Hero Tabs Color Differentiation */
.tab-btn {
    padding: 12px 30px;
    border: none;
    background: #f1f1f1;
    font-weight: 700;
    transition: var(--transition);
    border-radius: 10px 10px 0 0;
    color: var(--text-muted);
}

.tab-btn.active {
    color: white !important;
}

.tab-btn[onclick*="domestic"].active {
    background: var(--jade) !important;
}

.tab-btn[onclick*="international"].active {
    background: #0081C9 !important;
    /* International Blue */
}

/* Search Box Polish & States */
#search-section {
    transition: var(--transition);
}

#search-section.search-domestic .search-main {
    background: var(--jade);
    border-top: none;
}

#search-section.search-international .search-main {
    background: var(--orange);
    border-top: none;
}

#search-section .search-main .field-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

#search-section .search-main .field-input {
    color: white !important;
}

#search-section .search-main .field-input option {
    background: white;
    color: var(--text-ebony);
}

#search-section .search-field {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

#search-section .search-action-btn {
    background: white !important;
    color: var(--text-ebony) !important;
}

#search-section.search-domestic .search-action-btn {
    color: var(--jade) !important;
}

#search-section.search-international .search-action-btn {
    color: var(--orange) !important;
}

/* Why Holidaymint Hover Effects */
.why-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.why-card:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(30, 100, 101, 0.1);
    transform: translateY(-8px);
    border-color: rgba(30, 100, 101, 0.1);
}

.why-card:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Optimized Search Grid System */
.search-main {
    background: white;
    padding: 30px;
    border-radius: 0 20px 20px 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: grid !important;
    grid-template-columns: 1fr !important; /* Mobile Default */
    gap: 15px !important;
    align-items: end !important;
}

@media (min-width: 992px) {
    /* Standard 3-module grid for Home */
    .search-main {
        grid-template-columns: 1.5fr 1fr 0.8fr !important;
        gap: 20px !important;
    }
    
    /* 4-module grid for Locations (specifically if keyword search exists) */
    .search-main:has(#main-keyword-search) {
        grid-template-columns: 1fr 1fr 1.2fr auto !important;
    }
}

/* Offcanvas Visibility Hardening */
.island-offcanvas {
    background: #ffffff !important;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1) !important;
}

.island-offcanvas.show {
    visibility: visible !important;
}

/* Global Transition classes */
.transition-all {
    transition: all 0.3s ease;
}

/* Utility Classes */
.extra-small {
    font-size: 11px !important;
}

.text-jade {
    color: var(--jade) !important;
}

.bg-jade {
    background-color: rgba(30, 100, 101, var(--bs-bg-opacity, 1)) !important;
}

.bg-warning-soft {
    background-color: rgba(237, 139, 0, 0.1) !important;
}

.bg-jade-soft {
    background-color: rgba(30, 100, 101, 0.1) !important;
}

/* Bootstrap Opacity Helpers for Custom Classes */
.bg-opacity-10 {
    --bs-bg-opacity: 0.1 !important;
}

.dashed-border {
    border: 2px dashed rgba(0, 0, 0, 0.08) !important;
}

.bg-opacity-20 {
    --bs-bg-opacity: 0.2 !important;
}

/* Testimonials */
.testimonial-slider-wrap .splide__list {
    align-items: stretch;
}
.testimonial-slider-wrap .splide__slide {
    display: flex;
    height: auto;
}
.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #fff;
    width: 100%;
}

.testimonial-card:hover {
    border-color: var(--jade) !important;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.italic {
    font-style: italic;
}

.xsmall {
    font-size: 12px !important;
}

/* Luxury Form Styles */
.form-floating-premium {
    position: relative;
    margin-bottom: 25px;
}

.form-floating-premium label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--jade);
    letter-spacing: 1px;
    z-index: 1;
}

.input-luxury {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 15px;
    transition: var(--transition);
    background: #fcfcfc;
}

.input-luxury:focus {
    background: white;
    border-color: var(--jade);
    box-shadow: 0 10px 20px rgba(30, 100, 101, 0.05);
}

/* Plan Card Selection */
.plan-select-card {
    cursor: pointer;
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    background: white;
}

.plan-select-card:hover {
    border-color: var(--jade-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.btn-check:checked + .plan-select-card {
    border-color: var(--jade);
    background: #f0f7f7;
}

.btn-check:checked + .plan-select-card::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--jade);
    font-size: 18px;
}

.plan-icon {
    font-size: 24px;
    color: var(--jade);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-ebony);
    display: block;
    margin-top: 5px;
}

.step-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--jade);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    margin-right: 12px;
}

.membership-benefit-item {
    padding: 12px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    transition: var(--transition);
}

.membership-benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

/* Live Search Dropdown */
.live-search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 450px;
    background: #fff;
    border-radius: 20px;
    margin-top: 25px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.results-scroll-pane {
    max-height: 400px;
    overflow-y: auto;
}

.results-scroll-pane::-webkit-scrollbar {
    width: 6px;
}

.results-scroll-pane::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.results-scroll-pane::-webkit-scrollbar-thumb {
    background: var(--jade);
    border-radius: 10px;
}

.suggestion-item {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f8f8 !important;
}

.suggestion-item:last-child {
    border-bottom: none !important;
}

.suggestion-item:hover {
    background: #f0f7f7 !important;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-ebony);
    margin-bottom: 2px;
}

.suggestion-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.suggestion-quote {
    font-size: 11px;
    font-style: italic;
    color: var(--jade);
    margin-top: 4px;
    opacity: 0.8;
}

.extra-small {
    font-size: 10px !important;
}