:root {
    /* Mandatory Palette */
    --saffron-gold: #ff9f1c;
    /* --ocean-blue: #1b4965; */
    --ocean-blue: #040406;
    --warm-sand: #f8f5f2;
    --evening-slate: #4a4e69;
}

body {
    background-color: var(--warm-sand);
    color: var(--evening-slate);
    font-family: "Poppins", sans-serif;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utility Classes */
h1,
h2,
h3,
h4,
h5,
h6,
.serif-font {
    font-family: "Poppins", sans-serif;
}

.font-montserrat {
    font-family: "Poppins", sans-serif;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

/* Color Utilities */
.text-gold,
.text-saffron {
    color: var(--saffron-gold) !important;
}

.text-ocean {
    color: var(--ocean-blue) !important;
}

.text-slate {
    color: var(--evening-slate) !important;
}

.text-sand {
    color: var(--warm-sand) !important;
}

.bg-gold,
.bg-saffron {
    background-color: var(--saffron-gold) !important;
}

.bg-ocean {
    background-color: var(--ocean-blue) !important;
}

.bg-slate {
    background-color: var(--evening-slate) !important;
}

.bg-sand {
    background-color: var(--warm-sand) !important;
}

/* Global Button Styles */
.btn-primary {
    background-color: var(--saffron-gold) !important;
    border-color: var(--saffron-gold) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #e58d14 !important;
    border-color: #e58d14 !important;
}

.btn-outline-ocean {
    border-color: var(--ocean-blue);
    color: var(--ocean-blue);
}

.btn-outline-ocean:hover,
.btn-check:checked+.btn-outline-ocean {
    background-color: var(--ocean-blue);
    color: white;
}

/* Transitions */
.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover,
.shadow-sm-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shadow-hover-lg:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Dynamic Aarti Tracker */
.aarti-tracker {
    background-color: var(--ocean-blue);
    /* #1B4965 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    /* Above glass navbar (1040) */
    height: 44px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: background-color 0.5s ease;
}

/* The Live Pulse */
.pulse-green {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: pulse-green-anim 1.5s infinite;
}

@keyframes pulse-green-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        opacity: 0.5;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 51, 51, 0);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
        opacity: 0.5;
    }
}

/* Darshan Pulsing Dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-dot.bg-success {
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    animation: pulse-green 1.5s infinite;
}

.pulse-dot.bg-danger {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(25, 135, 84, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Glass Navbar */
.glass-navbar {
    top: 38px;
    /* Below Aarti Tracker */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--evening-slate);
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

/* Active Darshan Badge bg */
.darshan-status {
    background: transparent;
    color: var(--warm-sand);
}

/* Glassmorphic Dropdown Menus */
.glass-dropdown {
    /* background: rgba(255, 255, 255, 0.85); */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 200px;
}

.active-saffron:hover,
.active-saffron:focus {
    background-color: var(--saffron-gold) !important;
    color: white !important;
    border-radius: 4px;
}

.custom-dropdown .dropdown-toggle::after {
    display: none;
    /* Hide default caret */
}

/* Dropdown Slide Animation & Hover Bridge */
@media (min-width: 992px) {
    .custom-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: slideUp 0.3s ease-out forwards;
    }

    /* Creates an invisible bridge so hover state isn't lost when moving to dropdown */
    .custom-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Glass Mobile Offcanvas */
.glass-offcanvas {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-offcanvas .nav-link:hover {
    color: var(--saffron-gold) !important;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding-top: 80px;
    /* Accounts for navbar */
}

.hero-video {
    pointer-events: none;
    /* Prevent interacting with video */
}

.hero-video iframe {
    /* Scale up to hide YouTube black bars and replicate object-fit: cover */
    transform: translate(-50%, -50%) scale(1.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%,
            rgba(255, 159, 28, 0.25) 0%,
            transparent 60%),
        linear-gradient(180deg,
            rgba(27, 73, 101, 0.8) 0%,
            rgba(27, 73, 101, 0.3) 100%);
}

.shadow-text h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.shadow-text p {
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(0, 0, 0, 0.6);
}

/* ======= Booking Strip ======= */
.booking-strip {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 72px;
    cursor: pointer;
}

.booking-segment {
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 50px;
    min-width: 335px;
}

.booking-segment:hover {
    background-color: rgba(27, 73, 101, 0.05);
}

.booking-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--evening-slate);
}

.booking-value {
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.booking-value::placeholder {
    color: #aab;
}

/* Pilgrim Dropdown Panel */
.pilgrim-panel {
    display: none;
    position: absolute;
    /* top: 100%; */
    bottom: 50px;
    left: 0;
    width: 320px;
    z-index: 1000;
    animation: slideUp 0.25s ease-out;
    /* Explicit solid background so it's fully visible */
    background: white !important;
    border: 1px solid rgba(27, 73, 101, 0.12);
}

.pilgrim-panel.open {
    display: block;
}

/* Pilgrim Counter Buttons */
.pilgrim-counter-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--ocean-blue);
    background: transparent;
    color: var(--ocean-blue);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pilgrim-counter-btn:hover {
    background: var(--ocean-blue);
    color: white;
}

/* Proximity Toggle Card */
.proximity-toggle-card {
    background: var(--warm-sand);
    border: 1px solid rgba(27, 73, 101, 0.1);
}

/* Custom Toggle Switch */
.custom-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.custom-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #ccd;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.custom-toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.custom-toggle input:checked+.custom-toggle-slider {
    background-color: var(--saffron-gold);
}

.custom-toggle input:checked+.custom-toggle-slider::before {
    transform: translateX(20px);
}

/* Search Button in Strip */
.booking-search-btn {
    background: var(--saffron-gold);
    color: white;
    border: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.booking-search-btn:hover {
    background: #e58d14;
    color: white;
    transform: scale(1.03);
}

/* Mobile Booking Pill */
.booking-mobile-pill {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
}

.booking-search-pill-btn {
    background: var(--saffron-gold);
    width: 36px;
    height: 36px;
}

/* Forms Custom */
.form-control::placeholder {
    color: var(--evening-slate);
    opacity: 0.6;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(27, 73, 101, 0.15);
}

/* Bento Grid */
.bento-card {
    transition:
        transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease;
    cursor: pointer;
    min-height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.bento-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16) !important;
    border-color: white;
}

.bento-card.featured {
    min-height: 520px;
}

/* Saffron glow for featured/main temple card */
.bento-featured-glow:hover {
    box-shadow:
        0 0 0 3px rgba(255, 159, 28, 0.5),
        0 24px 56px rgba(255, 159, 28, 0.22) !important;
}

/* Distance + time badge */
.bento-distance-badge {
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Significance button — hosts the tooltip */
.bento-significance-btn {
    overflow: visible !important;
}

/* Glassmorphic spiritual hook tooltip */
.bento-hook-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 100;
    color: var(--ocean-blue);
    white-space: normal;
    text-align: left;
    animation: tooltipFadeIn 0.2s ease;
    pointer-events: none;
}

.bento-significance-btn:hover .bento-hook-tooltip,
.bento-significance-btn.tooltip-open .bento-hook-tooltip {
    display: block;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* Mobile — hook text shown directly, no tooltip needed */
.bento-hook-mobile {
    opacity: 0.88;
    line-height: 1.4;
}

.bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(27, 73, 101, 0.95) 0%,
            rgba(27, 73, 101, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.bento-img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 0;
}

.bento-card:hover .bento-img {
    transform: scale(1.08);
}

.absolute-bottom {
    position: absolute;
    bottom: 0;
    z-index: 2;
}

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

.text-shadow-sm {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--ocean-blue) !important;
}

/* Side Scene */
.blob-bg {
    background-color: var(--warm-sand) !important;
}

/* Testimonial slider */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

/* Form floating offcanvas specifics */
.offcanvas-bottom {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Floating Action Button (FAB) */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1030;
    /* Below offcanvas (1045) */
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fab-btn:hover {
    transform: scale(1.05) translateY(-2px);
}

.fab-btn:active {
    transform: scale(0.95);
}

/* Inputs on mobile search */
input[type="date"]::-webkit-calendar-picker-indicator {
    color: var(--ocean-blue);
    cursor: pointer;
    opacity: 0.6;
}

/* ======== Custom Flatpickr Calendar ======== */

/* Outer container */
.flatpickr-custom {
    background: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 0 0 20px 0;
    font-family: "Poppins", sans-serif;
    width: auto !important;
    overflow: hidden;
}

/* Nights header */
.fp-nights-header {
    background: var(--warm-sand);
    text-align: center;
    padding: 14px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ocean-blue);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    letter-spacing: 0.02em;
}

.fp-nights-icon {
    margin-right: 6px;
}

/* Month navigation */
.flatpickr-custom .flatpickr-months {
    padding: 20px 24px 0;
    background: #fff;
    align-items: center;
}

.flatpickr-custom .flatpickr-month {
    height: 44px;
    flex: 1;
}

.flatpickr-custom .flatpickr-current-month {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ocean-blue);
    padding-top: 6px;
}

/* Make month/year look like plain bold text, not interactive dropdowns */
.flatpickr-custom .flatpickr-current-month select.flatpickr-monthDropdown-months {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ocean-blue);
    font-family: "Poppins", sans-serif;
    cursor: default;
    padding: 0;
    pointer-events: none;
    /* Prevent accidental dropdown opens */
}

.flatpickr-custom .flatpickr-current-month .numInputWrapper {
    display: inline-flex;
    align-items: center;
}

.flatpickr-custom .flatpickr-current-month .numInputWrapper input.cur-year {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ocean-blue);
    font-family: "Poppins", sans-serif;
    width: 50px;
    padding: 0;
    pointer-events: none;
}

.flatpickr-custom .flatpickr-current-month .numInputWrapper span {
    display: none;
}

.flatpickr-custom .flatpickr-prev-month,
.flatpickr-custom .flatpickr-next-month {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(27, 73, 101, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    padding: 0;
    color: var(--ocean-blue);
    background: white;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.flatpickr-custom .flatpickr-next-month {
    margin-right: 10px;
}

.flatpickr-custom .flatpickr-prev-month {
    margin-left: 10px;
}

.flatpickr-custom .flatpickr-prev-month:hover,
.flatpickr-custom .flatpickr-next-month:hover {
    background: var(--saffron-gold);
    border-color: var(--saffron-gold);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.35);
}

.flatpickr-custom .flatpickr-prev-month svg,
.flatpickr-custom .flatpickr-next-month svg {
    width: 13px;
    height: 13px;
    fill: var(--ocean-blue);
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: white !important;
}

/* Inner calendar grid */
.flatpickr-custom .flatpickr-innerContainer {
    padding: 0 16px;
}

.flatpickr-custom .flatpickr-rContainer {
    padding: 0 8px;
}

/* Weekday headers */
.flatpickr-custom .flatpickr-weekdays {
    background: transparent;
    margin-top: 12px;
}

.flatpickr-custom .flatpickr-weekday {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Day Container Grid Fix (enforces 7 columns perfectly, preventing 8 days per row bug) */
.flatpickr-custom .dayContainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    justify-items: center;
}

/* Day cells */
.flatpickr-custom .flatpickr-day {
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ocean-blue);
    line-height: 36px;
    height: 36px;
    width: 36px;
    max-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.flatpickr-custom .flatpickr-day:hover {
    background: var(--warm-sand);
    color: var(--ocean-blue);
}

/* In-range days (between start and end) */
.flatpickr-custom .flatpickr-day.inRange {
    background: rgba(255, 159, 28, 0.15) !important;
    box-shadow:
        -5px 0 0 rgba(255, 159, 28, 0.15),
        5px 0 0 rgba(255, 159, 28, 0.15);
    border-radius: 0;
    color: var(--ocean-blue);
}

/* Selected start and end date */
.flatpickr-custom .flatpickr-day.selected,
.flatpickr-custom .flatpickr-day.startRange,
.flatpickr-custom .flatpickr-day.endRange {
    background: var(--saffron-gold) !important;
    color: white !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    font-weight: 700;
}

/* Today highlight */
.flatpickr-custom .flatpickr-day.today:not(.selected) {
    border: 2px solid var(--saffron-gold);
    color: var(--saffron-gold);
    font-weight: 700;
    background: transparent;
}

.flatpickr-custom .flatpickr-day.today:not(.selected)::after {
    display: none;
}

/* Disabled / prev-month days */
.flatpickr-custom .flatpickr-day.prevMonthDay,
.flatpickr-custom .flatpickr-day.nextMonthDay,
.flatpickr-custom .flatpickr-day.flatpickr-disabled {
    color: #ccd !important;
}

/* Ensure start and end caps are rounded correctly at range edges */
.flatpickr-custom .flatpickr-day.startRange.endRange {
    border-radius: 50% !important;
}

.flatpickr-custom .flatpickr-day.startRange~.flatpickr-day.inRange {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.flatpickr-custom .flatpickr-day.endRange~.flatpickr-day {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ======== Mobile Inline Calendar ======== */

/* Wrapper that embeds Flatpickr inside offcanvas body */
.mobile-cal-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

/* Override inline Flatpickr to fill full width */
.flatpickr-mobile-inline {
    box-shadow: none !important;
    border-radius: 16px !important;
    width: 100% !important;
    border: 1px solid rgba(27, 73, 101, 0.1);
    padding-bottom: 12px !important;
}

.flatpickr-mobile-inline .flatpickr-rContainer,
.flatpickr-mobile-inline .flatpickr-days,
.flatpickr-mobile-inline .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* Larger touch-friendly day cells on mobile */
.flatpickr-mobile-inline .flatpickr-day {
    height: 40px;
    max-width: 40px;
    line-height: 40px;
    font-size: 0.95rem;
    flex: 1;
}

/* Selected dates display chip */
.mobile-dates-chip {
    border: 1px solid rgba(27, 73, 101, 0.15);
    font-size: 0.9rem;
    min-height: 44px;
}

/* ======== Beyond the Temple Walls — Info Tip Cards ======== */
.info-tip-card {
    border-left: 4px solid var(--saffron-gold);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05) !important;
}

.info-tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

.info-tip-icon {
    transition: background 0.2s ease;
}

.info-tip-card:hover .info-tip-icon {
    background: rgba(255, 159, 28, 0.12) !important;
}

/* Editorial video container */
.editorial-video-wrap {
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 159, 28, 0.08);
}

/* ======== Testimonial Wall of Love ======== */

/* Left image column */
.testimonial-media {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Scroll wrapper — position:relative only; no overflow:hidden (would block inner scroll) */
.testimonial-scroll-wrap {
    position: relative;
}

/* Fade overlay divs are hidden — mask-image handles fades directly on scroll container */
.testimonial-fade-top,
.testimonial-fade-bottom {
    display: none;
}

/* Masonry scroll container */
.testimonial-masonry-scroll {
    max-height: 560px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 4px 40px;
    scrollbar-width: thin;
    scrollbar-color: rgba(27, 73, 101, 0.35) transparent;
    /* Fade top & bottom using mask-image — doesn't block scroll */
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 6%,
            black 88%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 6%,
            black 88%,
            transparent 100%);
}

/* Custom scrollbar for webkit */
.testimonial-masonry-scroll::-webkit-scrollbar {
    width: 5px;
}

.testimonial-masonry-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-masonry-scroll::-webkit-scrollbar-thumb {
    background: rgba(27, 73, 101, 0.3);
    border-radius: 99px;
}

.testimonial-masonry-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 73, 101, 0.55);
}

/* Individual card — break-inside prevents column splitting */
.testimonial-card {
    break-inside: avoid;
    margin-bottom: 16px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
}

/* Avatar initial circle */
.avatar-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Collapse to single column on mobile */
@media (max-width: 575px) {
    .testimonial-masonry-scroll {
        max-height: 480px;
    }

    .testimonial-masonry-scroll>.d-flex {
        flex-direction: column;
    }
}

/* ======== Download the App Section ======== */
.app-download-section {
    padding: 60px 0;
    background: transparent;
    margin-bottom: -1px;
    /* close seam with footer */
}

/* Skewed Ocean Blue background layer */
.app-download-bg {
    position: absolute;
    inset: 0;
    background: var(--ocean-blue);
    clip-path: polygon(0 8%, 100% 0%, 100% 100%, 0 100%);
    z-index: 0;
}

/* App Store / Google Play badge image links */
.app-store-badge {
    display: inline-block;
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

.app-store-badge:hover {
    transform: translateY(-5px);
    filter: brightness(1.08) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.app-badge-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Decorative circular mockup ring — right column */
.app-mockup-ring {
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 159, 28, 0.4);
    box-shadow:
        0 0 0 20px rgba(255, 159, 28, 0.07),
        0 0 0 40px rgba(255, 159, 28, 0.04);
    transition: transform 0.4s ease;
}

.app-mockup-ring:hover {
    transform: rotate(6deg) scale(1.04);
}

/* Mobile: gentler slant, tighter padding */
@media (max-width: 767px) {
    .app-download-section {
        padding: 20px 0;
    }

    .app-download-bg {
        clip-path: polygon(0 4%, 100% 0%, 100% 100%, 0 100%);
    }
}

/* ======================================================== */
/* EXPERIENCE HUB — Modal, Offcanvas & Service Cards        */
/* ======================================================== */

/* Modal: pop/bounce entrance */
@keyframes hubModalPop {
    0% {
        transform: scale(0.88);
        opacity: 0;
    }

    60% {
        transform: scale(1.03);
        opacity: 1;
    }

    80% {
        transform: scale(0.98);
    }

    100% {
        transform: scale(1);
    }
}

.experience-hub-modal {
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
    animation: hubModalPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Blurred premium backdrop */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(10, 20, 35, 0.55);
}

.offcanvas-backdrop.show {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(10, 20, 35, 0.45);
}

/* Mobile Bottom Offcanvas — round top corners, grabber */
.experience-hub-offcanvas {
    border-radius: 24px 24px 0 0;
    height: 75vh !important;
    /* occupy 75% of the screen */
    max-height: 75vh !important;
    overflow-y: auto;
}

.hub-grabber {
    width: 40px;
    height: 5px;
    background: #d0d8e0;
    border-radius: 99px;
}

/* ---- Card Staggered Entrance ---- */
@keyframes hubCardIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* Cards visible by default (inline section); .hub-animate still available for dynamic triggers */
.hub-card-wrap {
    opacity: 1;
}

.hub-animate .hub-card-wrap {
    animation: hubCardIn 0.38s ease both;
    animation-delay: var(--delay, 0s);
}

/* ---- Individual Service Card ---- */
.hub-card {
    background: #f8f5f2;
    border: 1px solid rgba(27, 73, 101, 0.08);
    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.18s ease;
    user-select: none;
}

.hub-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(27, 73, 101, 0.14);
    background: #ffffff;
}

/* Mobile tap feedback */
.hub-card:active {
    background: rgba(255, 159, 28, 0.08);
    transform: scale(0.97);
}

/* Icon emoji — wrapped in a saffron-tinted pill */
.hub-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 159, 28, 0.1);
    border-radius: 14px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
}

/* ======================================================== */
/* FAQ ACCORDION                                            */
/* ======================================================== */

.custom-accordion .accordion-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(27, 73, 101, 0.08) !important;
}

.custom-accordion .accordion-button {
    font-size: 1.05rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--saffron-gold) !important;
    background-color: transparent;
    box-shadow: none;
}

/* Custom animated plus/minus icon for accordion */
.custom-accordion .accordion-button::after {
    content: "\f067";
    /* FontAwesome Plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    color: var(--ocean-blue);
    background-image: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: "\f068";
    /* FontAwesome Minus */
    transform: rotate(180deg);
    color: var(--saffron-gold);
}

.custom-accordion .accordion-body {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ======================================================== */
/* TIRTH DETAIL PAGE — READING LAYOUT                       */
/* ======================================================== */

/* Adjust parallax hero behavior slightly on smaller screens */
@media (max-width: 768px) {
    .tirth-detail-hero {
        background-attachment: scroll !important;
    }
}

/* Typography limits for comfortable reading length */
.reading-layout .content-body p {
    max-width: 75ch;
    /* Best practice for eye tracking */
    color: #4a5568;
}

/* Beautiful Dropcap styling specifically for the intro paragraph */
.reading-layout .lead span.float-start {
    line-height: 0.8;
    padding-top: 8px;
    padding-right: 8px;
}

/* Sticky Sidebar positioning for desktop */
@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        /* Navbar is roughly 80px high, offset by another 20px for breathing room */
        top: 100px;
    }
}

/* Blockquote refinements */
.reading-layout blockquote p {
    font-size: 1.35rem;
    /* Slightly larger for emphasis */
    color: var(--ocean-blue) !important;
}

/* ======================================================== */
/* COMING SOON PAGE                                         */
/* ======================================================== */

.coming-soon-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 60px;
    /* Offset for fixed/sticky header */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("../images/clean-somnath-temple.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    color: white;
}

.coming-soon-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 320px;
    margin: 40px auto;
}

.icon-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.icon-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.btn-action {
    background: var(--saffron-gold);
    color: white !important;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-action:hover {
    background: #e58d14;
    color: white !important;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 159, 28, 0.4);
}

.coming-soon-wrapper .headline {
    font-size: 3rem !important;
    line-height: 1.1 !important;
    color: white !important;
}

@media (max-width: 576px) {
    .coming-soon-wrapper .headline {
        font-size: 2.2rem !important;
    }

    .glass-card {
        padding: 40px 25px;
    }

    .coming-soon-wrapper {
        padding-top: 120px;
    }
}

/* --- Footer Styling --- */
.site-footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 179, 0, 0.4);
}

.border-gold-opacity {
    border-color: rgba(255, 179, 0, 0.2) !important;
}

.footer-logo {
    filter: drop-shadow(0 2px 4px rgba(255, 179, 0, 0.2));
}

.footer-heading {
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.85rem;
    position: relative;
    padding-left: 14px;
}

.footer-links li::before {
    content: "•";
    color: var(--saffron-gold, #ffb300);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    line-height: 1;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: transparent;
    color: var(--saffron-gold, #ffb300);
    border: 2px solid var(--saffron-gold, #ffb300);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon-btn:hover {
    background-color: var(--saffron-gold, #ffb300);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
}

.payment-icons span {
    font-size: 0.95rem;
}

.footer-contact-info span {
    font-size: 0.9rem;
}

/* Responsive Columns Borders */
@media (min-width: 768px) and (max-width: 991px) {
    .border-md-end {
        border-right: 1px solid rgba(255, 179, 0, 0.2) !important;
    }

    .footer-col {
        margin-bottom: 1rem;
    }
}

@media (min-width: 992px) {
    .border-lg-end {
        border-right: 1px solid rgba(255, 179, 0, 0.2) !important;
    }

    .border-md-end {
        border-right: 1px solid rgba(255, 179, 0, 0.2) !important;
    }
}

@media (max-width: 767px) {
    .footer-col {
        border-bottom: 1px solid rgba(255, 179, 0, 0.1);
        padding-bottom: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}