/* === LOCAL FONTS (Loaded via CSS) === */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-sans-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === CSS Reset & Base Defaults (Overriding Browser) === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--bg-light);
}

:root {
    --primary: #194F32;
    /* Main Green */
    --primary-dark: #0d2e1a;
    --secondary: #C59D5F;
    /* Brand Gold */
    --tertiary: #D2691E;
    /* Accent Bronze */
    --text-dark: #202020;
    --text-gray: #747579;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --radius: 10px;

    /* Bootstrap Overrides */
    --bs-primary: #194F32;
    --bs-primary-rgb: 25, 79, 50;
    --bs-link-color: #194F32;
    --bs-link-hover-color: #0d2e1a;
    --bs-secondary: #C59D5F;
    --bs-secondary-rgb: 197, 157, 95;
    --bs-success-rgb: 25, 135, 84;
    --bs-warning-rgb: 255, 193, 7;
}

/* Force Bootstrap Overrides */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-success {
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-warning {
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Dark Override (Logos Green) */
.bg-dark {
    background-color: var(--primary-dark) !important;
}

.text-bg-dark {
    background-color: var(--primary-dark) !important;
}

.btn-dark {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-dark:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Danger Override (Logo Bronze) */
.bg-danger {
    background-color: var(--tertiary) !important;
}

.text-danger {
    color: var(--tertiary) !important;
}

.btn-danger {
    background-color: var(--tertiary) !important;
    border-color: var(--tertiary) !important;
}

.btn-danger:hover {
    background-color: #b05a1a !important;
    border-color: #b05a1a !important;
}

.bg-danger-subtle {
    background-color: #fae3d1 !important;
    color: var(--tertiary) !important;
}

.border-danger {
    border-color: var(--tertiary) !important;
}


/* === Header & Navigation === */
.main-header {
    background-color: var(--primary);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 1.2rem 1rem !important;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.top-bar,
.main-header,
section,
footer {
    width: 100%;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* === Nav Utilities === */
.phone-link {
    color: var(--primary) !important;
    font-size: 1rem;
    transition: 0.3s;
}

.brand-text {
    line-height: 1.1;
}

.brand-name {
    font-family: 'Outfit', sans-serif !important;
}

.brand-tagline {
    letter-spacing: 1.5px;
    font-size: 0.7rem;
}

/* === Section & Typography Utilities === */
.hero-subtitle-text {
    max-width: 800px;
}

.stats-bar {
    margin-top: -20px;
    border-radius: 0 0 30px 30px;
}

.stats-label {
    font-size: 0.7rem;
}

.place-title {
    letter-spacing: 1px;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
}

.month-badge {
    color: #212529 !important;
    letter-spacing: 0.5px;
}

.display-title-sm {
    font-size: 2rem !important;
}

.text-line-height-lg {
    line-height: 1.6;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* === Header (Top Bar + Main Nav) === */
.top-bar {
    background: #fff;
    padding: 2px 0;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    border-bottom: none;
}

.main-header {
    background: var(--primary);
    /* Reference shows RED, we use GREEN */
    padding: 8px 0;
    color: white;
}

.navbar-brand img {
    height: 60px;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 15px !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    opacity: 0.9;
}

/* === Hero Section === */
.hero-wrapper {
    position: relative;
    height: 700px;
    background-color: #111;
    background-image: url('../images/hero_banner_new.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-tab-pill {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.hero-tab-pill.active {
    background: var(--secondary);
    /* Active tab color */
    color: #000;
}

.hero-tab-pill i {
    font-size: 16px;
}

/* === Floating Search Box === */
.search-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: -80px;
    /* Overlap Hero */
    z-index: 10;
}

.search-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.search-input {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 18px;
    width: 100%;
    outline: none;
    color: #000;
}

.search-group {
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.search-group:last-child {
    border: none;
}

.search-subtext {
    font-size: 13px;
    color: #888;
}

.btn-search-main {
    background: var(--primary);
    /* Button matches header */
    color: white;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: none;
}

/* === Section Headers (Left Aligned with pill) === */
.sec-pill {
    background: #fdecec;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.sec-title {
    font-size: 36px;
    margin-bottom: 40px;
}

/* === Category Cards (Image Overlay) === */
.cat-card {
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.cat-card:hover img {
    transform: scale(1.1);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cat-arrow {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: 0.3s;
}

.cat-card:hover .cat-arrow {
    background: var(--secondary);
}

/* === How it works (Clean White Cards) === */
.work-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border: 1px solid #f5f5f5;
}

.work-num {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Outfit';
    color: transparent;
    -webkit-text-stroke: 1px #ddd;
    position: absolute;
    top: 20px;
    right: 20px;
}

.work-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.icon-green {
    background: #e8f5e9;
    color: var(--primary);
}

.icon-orange {
    background: #fff3e0;
    color: #e67e22;
}

.icon-purple {
    background: #f3e5f5;
    color: #8e44ad;
}

/* === Popular Tour Cards (Detailed) === */
.tour-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.tour-box:hover {
    transform: translateY(-5px);
}

.tb-img {
    height: 240px;
    position: relative;
}

.tb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
}

.badge-trend {
    background: #3b82f6;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.badge-like {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 14px;
}

.tb-content {
    padding: 20px;
}

.tb-cat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.rating-box {
    background: var(--secondary);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}

.tb-title {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tb-loc {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    gap: 5px;
}

.tb-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.curr-price {
    color: var(--tertiary);
    font-weight: 700;
    font-size: 18px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.start-text {
    font-size: 13px;
    color: #666;
}

.tb-divider {
    border-top: 1px solid #eee;
    margin: 0 -20px 15px;
}

.tb-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.tb-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.tour-box:hover .tb-btn {
    background: var(--primary);
    color: white;
}


/* === Footer Banner === */
.scrolling-banner {
    background: var(--tertiary);
    /* Logo Bronze */
    color: white;
    padding: 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    justify-content: space-around;
    overflow: hidden;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-item i {
    font-size: 18px;
}

/* === Ultra UI Utilities === */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.transform-scale-sm:hover {
    transform: scale(1.02);
}

.group-hover:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Accordion Clean */
.custom-accordion-clean .accordion-button {
    font-size: 1.1rem;
    padding: 1.2rem;
}

.custom-accordion-clean .accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.custom-accordion-clean .accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.1);
}

/* === Ultra Gradients & Blur === */
.bg-gradient-to-t {
    background: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black {
    --tw-gradient-from: #000;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-transparent {
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cursor-pointer {
    cursor: pointer;
}

/* ========================================================================= 
   MOBILE RESPONSIVENESS TWEAKS (100% ERROR FREE) 
   ========================================================================= */

@media (max-width: 991px) {

    /* 1. Typography Auto-Scaling */
    h1,
    .display-1,
    .display-2,
    .display-3 {
        font-size: clamp(2rem, 5vw, 3rem) !important;
        line-height: 1.25;
    }

    h2,
    .display-4,
    .display-5 {
        font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    }

    /* 2. Global Container Comfort */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 3. Card Padding Resets */
    .card-body.p-5 {
        padding: 1.5rem !important;
    }

    .p-5 {
        padding: 1.5rem !important;
    }

    /* 4. Navbar & Header */
    .main-header {
        padding: 10px 0 !important;
    }

    .navbar-brand img {
        height: 50px !important;
    }

    /* Mobile Menu Overlay for better usability */
    .navbar-collapse {
        background: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-height: 80vh;
        overflow-y: auto;
    }

    /* 5. Hero Section Sizing */
    .hero-wrapper,
    .dest-hero {
        height: auto !important;
        min-height: 500px !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px !important;
    }

    .hero-tabs {
        justify-content: center;
    }

    /* 6. Floating Search Box Mobile */
    .search-container {
        position: relative !important;
        margin-top: 10px !important;
        width: 100% !important;
        border-radius: 16px !important;
        padding: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .search-group {
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding-right: 0 !important;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .search-group:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .btn-search-main {
        height: 55px !important;
        border-radius: 12px !important;
    }

    /* 7. Footer Stacking */
    footer .row>div {
        text-align: center;
        margin-bottom: 35px;
    }

    footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .d-flex.gap-2 {
        justify-content: center;
    }

    .top-bar .social-links {
        display: none !important;
        /* Hide social on mobile to save space */
    }
}

@media (max-width: 576px) {
    .banner-item {
        flex-direction: column;
        text-align: center;
    }

    .scrolling-banner {
        flex-direction: column;
        gap: 15px;
    }
}

/* Fix Horizontal Scroll globally */
body,
html {
    overflow-x: hidden;
    width: 100%;
}

.row {
    margin-right: -12px;
    margin-left: -12px;
}

.col,
[class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
}

/* Admin Panel Table Fix */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sticky Floating Call Button */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none !important;
}

.floating-call:hover {
    transform: scale(1.1);
}

/* Wave/Pulse Animation */
.floating-call::before,
.floating-call::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.7;
}

.floating-call::before {
    animation: pulse-wave 2s infinite;
}

.floating-call::after {
    animation: pulse-wave 2s infinite 0.5s;
}

@keyframes pulse-wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/* Phone Icon Specific Shake */
.floating-call i {
    animation: phone-shake 0.5s infinite alternate;
}

@keyframes phone-shake {
    0% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

/* === Destination Hero === */
.dest-hero {
    background-size: cover;
    background-position: center;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.card-premium {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-control-clean {
    background-color: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
}

.form-control-clean:focus {
    background-color: white;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .dest-hero {
        min-height: 300px !important;
        height: auto !important;
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .dest-hero h1 {
        font-size: 1.8rem !important;
    }

    .dest-hero p {
        font-size: 1rem !important;
    }

    .pkg-card-img {
        min-height: 180px !important;
    }

    .display-6 {
        font-size: 1.5rem !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1050;
        background: white;
        padding: 12px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    .border-end-sm {
        border-right: none !important;
    }
}

@media (min-width: 577px) {
    .border-end-sm {
        border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
}

.max-width-700 {
    max-width: 700px;
}

.max-width-800 {
    max-width: 800px;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #082012 100%);
}

.opacity-90 {
    opacity: 0.9;
}

.tracking-wide {
    letter-spacing: 2px;
}

.header-height-700 {
    height: 700px;
}

.header-height-600 {
    height: 700px;
}