/* ===== Global Travel Brand CSS Layer (Deployment Heartbeat: 2026-02-11) ===== */

/* --- Theme CSS Variables --- */
:root {
    /* Brand Colors (Default: Classy Serene) */
    --primary: #4A6D7C;
    --primary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --primary-glow: rgba(74, 109, 124, 0.4);

    --secondary: #FF7043;
    /* Accent contrast */
    --success: #66BB6A;
    --danger: #EF5350;

    /* Light Mode (Default) */
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-navbar: rgba(255, 255, 255, 0.85);
    --bg-gradient: linear-gradient(135deg, #F5F7FA 0%, #E8ECF0 100%);

    --text-primary: #263238;
    --text-secondary: #546E7A;
    --text-muted: #78909C;

    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);

    --btn-primary-bg: var(--primary-gradient);
    --btn-primary-shadow: 0 10px 20px var(--primary-glow);

    /* Old style.css variables for compatibility */
    --dark: #263238;
    --light: #ECEFF1;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Mood: Serene (Previously Calm) */
    --mood-calm-primary: #4A6D7C;
    --mood-calm-gradient: linear-gradient(135deg, #4A6D7C 0%, #2D3E50 100%);
    --mood-calm-glow: rgba(74, 109, 124, 0.3);

    /* Mood: Midnight (Previously Focus) */
    --mood-focus-primary: #4B5D67;
    --mood-focus-gradient: linear-gradient(135deg, #4B5D67 0%, #322F3D 100%);
    --mood-focus-glow: rgba(75, 93, 103, 0.3);

    /* Mood: Forest (Previously Nature) */
    --mood-nature-primary: #556B2F;
    --mood-nature-gradient: linear-gradient(135deg, #556B2F 0%, #2E3425 100%);
    --mood-nature-glow: rgba(85, 107, 47, 0.3);

    /* Mood: Ember (Previously Energy) */
    --mood-energy-primary: #B87333;
    --mood-energy-gradient: linear-gradient(135deg, #B87333 0%, #5D3A1A 100%);
    --mood-energy-glow: rgba(184, 115, 51, 0.3);
}

/* --- Mood Definitions --- */
/* Serene/Calm (Slate/Mist) - Default */
[data-mood="calm"],
[data-mood="serene"] {
    --primary: var(--mood-calm-primary);
    --primary-gradient: var(--mood-calm-gradient);
    --primary-glow: var(--mood-calm-glow);
    --secondary: #FF7043;
}

/* Focus (Midnight) */
[data-mood="focus"] {
    --primary: var(--mood-focus-primary);
    --primary-gradient: var(--mood-focus-gradient);
    --primary-glow: var(--mood-focus-glow);
    --secondary: #FFD700;
    /* This secondary color is specific to the old focus mood, might need adjustment */
}

/* Nature (Green) */
[data-mood="nature"] {
    --primary: var(--mood-nature-primary);
    --primary-gradient: var(--mood-nature-gradient);
    --primary-glow: var(--mood-nature-glow);
    --secondary: #FF7043;
    /* This secondary color is specific to the old nature mood, might need adjustment */
}

/* Energy (Orange) */
[data-mood="energy"] {
    --primary: var(--mood-energy-primary);
    --primary-gradient: var(--mood-energy-gradient);
    --primary-glow: var(--mood-energy-glow);
    --secondary: #29B6F6;
    /* This secondary color is specific to the old energy mood, might need adjustment */
}

/* Dark Mode Variables */
/* Dark Mode Variables */
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-navbar: rgba(15, 23, 42, 0.9);
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

    --text-primary: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #CBD5E1;

    --border-color: rgba(255, 255, 255, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.4);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);

    --btn-primary-bg: var(--primary-gradient);
    --btn-primary-shadow: 0 10px 25px var(--primary-glow);
}

/* Dark Mode Section Specific Overrides (Avoiding broad utility overrides) */
body.dark-mode .extraordinary-section,
body.dark-mode #popular-destinations,
body.dark-mode #vblog-sec {
    background-color: var(--bg-primary) !important;
}

body.dark-mode .extraordinary-card,
body.dark-mode .p-4.bg-white.rounded-4 {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

body.dark-mode .cta-input-wrapper {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Dark Mode Text Visibility Fixes */
body.dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.dark-mode .nav-link:hover {
    color: #FFFFFF !important;
}

body.dark-mode .text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .hero-subtitle {
    color: #E2E8F0 !important;
    opacity: 1 !important;
}

body.dark-mode .text-muted {
    color: #CBD5E1 !important;
}

/* --- Global Transitions --- */
body,
.navbar,
.card,
.feature-card,
.glass-hero-card,
.dropdown-menu,
footer,
section,
.btn,
.nav-link {
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #E64A19;
    border-color: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 112, 67, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 112, 67, 0.4);
    filter: brightness(1.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.rating-stars {
    color: #FFD700;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* --- Features Section --- */
.features-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 112, 67, 0.1), transparent);
}

.feature-card {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: var(--bg-secondary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 112, 67, 0.2);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, var(--primary), #FFAB91);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Modern Hero --- */
.hero-modern {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 20px;
}

.glass-hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: heroFadeIn 1.2s ease-out forwards;
    opacity: 1;
    /* Ensure visible even if animation fails */
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), #FFAB91);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gradient {
    background: linear-gradient(45deg, var(--primary), #FF8A65);
    border: none;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 112, 67, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* --- Floating Button --- */
.ai-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(41, 182, 246, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-fab:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- CTA & Sathi Strip --- */
.bg-gradient-brand {
    background: linear-gradient(-45deg, #FF7043, #FFAB91, #29B6F6, #764ba2);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-section {
    position: relative;
    z-index: 1;
}

.cta-input-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.cta-input-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.cta-input-wrapper .text-white-50 {
    opacity: 0.75 !important;
    /* Enhanced placeholder visibility */
}

/* --- Theme Glows --- */
.theme-glow-1 {
    width: 400px;
    height: 400px;
    transform: translate(30%, -30%);
    filter: blur(80px);
    opacity: 0.15;
    background: var(--primary);
    pointer-events: none;
}

.theme-glow-2 {
    width: 300px;
    height: 300px;
    transform: translate(-30%, 30%);
    filter: blur(60px);
    opacity: 0.1;
    background: var(--secondary);
    pointer-events: none;
}

/* --- Floating Cards Animation --- */
.float-card {
    animation: float-slow 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.float-card:hover {
    transform: scale(1.05) !important;
    z-index: 10 !important;
}

.card-1 {
    animation-delay: 0s;
    --rotation: 5deg;
}

.card-2 {
    animation-delay: 2s;
    --rotation: -5deg;
}

.card-3 {
    animation-delay: 4s;
    --rotation: 10deg;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg)) translateZ(0);
    }

    50% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg)) translateZ(20px);
    }
}

.floating-cards-container {
    perspective: 1000px;
}

.float-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.float-card:hover {
    transform: scale(1.1) rotateX(10deg) rotateY(-10deg) translateZ(30px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
}

/* --- Secret Saffar Link --- */
.secret-link {
    font-weight: 600;
    background: linear-gradient(45deg, #FFD700, #FFA000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.secret-link::after {
    content: '✨';
    font-size: 0.8em;
    margin-left: 4px;
    -webkit-text-fill-color: initial;
}

body.dark-mode .secret-link {
    background: linear-gradient(45deg, #FFD700, #FDB813);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* --- Secret Saffar Logic --- */
.secret-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.secret-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.secret-img-wrapper {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.secret-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.secret-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.secret-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.secret-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Improved Spacing & Contrast --- */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 3rem 0;
    }

    /* Ensure all cards have consistent margin on mobile stacks */
    .row>[class*="col-"] {
        margin-bottom: 1.5rem;
    }

    .row>[class*="col-"]:last-child {
        margin-bottom: 0;
    }

    /* Fixed overlaps for small screens */
    .theme-toggle {
        padding: 8px 12px;
        top: 10px;
        right: 10px;
    }
}

/* --- Horizontal Scroll Fixes --- */
.row {
    margin-right: -12px;
    margin-left: -12px;
}

.row>* {
    padding-right: 12px;
    padding-left: 12px;
}

.container,
.container-fluid {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Premium Theme Switcher --- */
.theme-trigger {
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 6px 14px !important;
}

.theme-trigger:hover,
.theme-trigger.show {
    background: var(--bg-primary) !important;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.theme-icon-box {
    width: 32px;
    height: 32px;
    background: var(--btn-primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 8px var(--primary-glow);
    transition: transform 0.3s ease;
}

.theme-trigger:hover .theme-icon-box {
    transform: rotate(30deg);
}

.glass-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-top: 15px !important;
    animation: dropdownFade 0.3s ease forwards;
}

body.dark-mode .glass-dropdown {
    background: rgba(30, 41, 59, 0.95);
}

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

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

.mood-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.mood-dot:hover {
    transform: scale(1.1);
}

.text-xs {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.font-heading {
    font-family: var(--font-heading);
}

/* --- Extraordinary Journey Section --- */
.extraordinary-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-card) 100%);
}

.extraordinary-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.extraordinary-card {
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

.extraordinary-card:hover {
    transform: translateY(-5px);
}

.feature-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* --- Destination Title Standardization --- */
.destination-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    text-transform: capitalize;
}

/* --- Destinations Section Tagline --- */
.destinations-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* --- Destination Card Overhaul --- */
.dest-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--bg-card);
    height: 100%;
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dest-card .dest-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.dest-card .dest-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dest-card:hover .dest-img-wrapper img {
    transform: scale(1.12);
}

.dest-card .dest-img-wrapper .dest-budget-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.dest-budget-badge.budget-low {
    background: rgba(102, 187, 106, 0.85);
    color: #fff;
}

.dest-budget-badge.budget-medium {
    background: rgba(255, 167, 38, 0.85);
    color: #fff;
}

.dest-budget-badge.budget-high {
    background: rgba(239, 83, 80, 0.85);
    color: #fff;
}

.dest-card .dest-body {
    padding: 1.25rem 1.5rem;
}

.dest-card .dest-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.dest-card .dest-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dest-card .dest-footer {
    padding: 0 1.5rem 1.25rem;
}

.dest-card .btn-discover {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.dest-card .btn-discover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
    filter: brightness(1.1);
}

/* --- Travel Mood Explorer --- */
.mood-explorer-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.mood-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mood-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mood-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.mood-card:hover::before {
    opacity: 1;
}

.mood-card .mood-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.mood-card .mood-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.mood-card .mood-destinations {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Best Time to Visit Table --- */
.best-time-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.best-time-table thead th {
    background: var(--primary);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    padding: 14px 20px;
}

.best-time-table tbody td {
    padding: 12px 20px;
    border-color: var(--border-color);
    vertical-align: middle;
}

.best-time-table tbody tr:hover {
    background: rgba(74, 109, 124, 0.05);
}

/* --- Photo Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
}

/* --- Cinematic Scroll Story --- */
.cinematic-section {
    position: relative;
}

.cinematic-slide {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cinematic-slide .cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cinematic-slide .cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.cinematic-slide .cinematic-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cinematic-slide.in-view .cinematic-text {
    opacity: 1;
    transform: translateY(0);
}

.cinematic-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cinematic-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

body.dark-mode .feature-list-item {
    background: rgba(255, 255, 255, 0.05);
}

.feature-list-item:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.feature-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--btn-primary-bg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--primary-glow);
}

.extraordinary-card {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

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

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

.extraordinary-card:hover {
    animation-play-state: paused;
    transform: translateY(-20px) scale(1.02);
}

/* --- Animations --- */
@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Responsive Optimization --- */
@media (max-width: 991.98px) {
    .hero-modern {
        height: auto;
        min-height: 500px;
        padding: 100px 0 60px;
    }

    .glass-hero-card {
        padding: 40px 25px;
        border-radius: 30px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-btns .btn {
        width: 100%;
        margin-bottom: 12px;
    }

    /* Glassmorphism Mobile Menu */
    .navbar-collapse {
        background: var(--bg-secondary);
        padding: 1.5rem;
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        border: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    body.dark-mode .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
    }
}

@media (max-width: 767.98px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.25rem !important;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .ai-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .responsive-title {
        font-size: 2.25rem !important;
    }

    .responsive-lead {
        font-size: 1.1rem !important;
    }

    .cta-input-wrapper {
        padding: 0.5rem !important;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .cta-input-wrapper:focus-within {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(255, 112, 67, 0.4) !important;
    }

    /* Fix Glare issue on Mobile */
    .theme-glow-1,
    .theme-glow-2 {
        display: none !important;
        /* Hide decorative glows that obscure text */
    }

    .responsive-title {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .responsive-lead {
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

    .cta-section .badge {
        background-color: var(--primary) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .display-6.responsive-closing-title {
        font-size: 1.75rem !important;
    }

    .culture-section {
        padding: 25px 20px !important;
    }

    .section-padding {
        padding: 3rem 0 !important;
    }
}

/* --- Utility Classes --- */
.smaller {
    font-size: 0.85rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode Overrides for Global Elements */
body.dark-mode .navbar {
    background-color: var(--bg-navbar) !important;
}

body.dark-mode .bg-light {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .table {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .table td,
body.dark-mode .table th {
    border-color: var(--border-color);
    background-color: transparent !important;
}

/* --- Destination Hero --- */
.destination-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: clamp(60px, 10vh, 120px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.destination-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.destination-hero .container {
    position: relative;
    z-index: 2;
}

/* --- AI Chat Interface --- */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e9ecef;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #ced4da;
}

.message-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    max-width: 85%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ai-message .message-bubble {
    background-color: #ebf5ff;
    color: #333;
    border-top-left-radius: 4px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-bubble {
    background-color: #f2f2f2;
    color: #333;
    border-top-right-radius: 4px;
}

body.dark-mode .ai-message .message-bubble {
    background-color: #1e293b;
    color: #f1f5f9;
}

body.dark-mode .user-message .message-bubble {
    background-color: #334155;
    color: #f1f5f9;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ai-avatar {
    background: var(--btn-primary-bg);
    color: white;
}

.markdown-content p {
    margin-bottom: 0.5rem;
}

.markdown-content p:last-child {
    margin-bottom: 0;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
    color: var(--text-primary);
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

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

/* --- Misc Utilities --- */
.hover-bg-gray:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary) !important;
}

body.dark-mode .hover-bg-gray:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* --- Responsive Polish --- */
@media (max-width: 1200px) {
    .glass-hero-card {
        padding: 40px 30px;
    }
}

@media (max-width: 991.98px) {
    .hero-modern {
        min-height: auto;
        padding-top: 120px;
    }
}

/* Enhancing Sathi Strip for Tablets */
@media (max-width: 991.98px) and (min-width: 768px) {
    .cta-section .floating-cards-container {
        display: block !important;
        height: 200px;
        opacity: 0.6;
        transform: scale(0.8) translateY(20px);
    }
}

/* Mobile Input Polish */
@media (max-width: 576px) {
    .cta-input-wrapper span {
        font-size: 0.85rem;
    }

    .hero-btns .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Prevent text overflow in cards */
.card-body h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.responsive-lead {
    line-height: 1.5;
}

/* --- AI Guide Mobile Optimizations --- */
@media (max-width: 767.98px) {
    .ai-guide-container {
        border-radius: 0 !important;
        margin-top: -10px;
    }

    .message-bubble {
        max-width: 92% !important;
        font-size: 0.88rem !important;
        padding: 10px 14px !important;
    }

    .chat-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    #chatContainer {
        padding: 1rem 0.75rem !important;
    }

    .chat-input-group input {
        border-radius: 12px !important;
    }
}

.rounded-md-4 {
    border-radius: 1.5rem;
}

@media (max-width: 768px) {
    .rounded-md-4 {
        border-radius: 0;
    }
}