@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Local font: Greenth (placed in src/assets) */
@font-face {
    font-family: 'Greenth';
    src: url('assets/Greenth_Personal_Use.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Font Variables - Change URLs here to update fonts site-wide */
:root {
    /* Use Greenth as primary with fallbacks to Cormorant and generic serif */
    --primary-font: 'Greenth', 'Cormorant Garamond', serif;
    --secondary-font: 'Greenth', 'Cormorant Garamond', serif;
    --body-font: 'Greenth', 'Cormorant Garamond', serif;
    /* Descriptions should use Poppins for better readability */
    --description-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    font-size: 16px;
}

/* Hide native scrollbars but keep scrolling functional */
/* Chrome, Edge, Safari */
/* Apply to html, body and the scrolling container */
html, body, .scrollElement {
    /* Firefox */
    scrollbar-width: none;
    /* IE 10+ and Edge */
    -ms-overflow-style: none;
}

/* Chrome, Edge, Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.scrollElement::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Floating Glassmorphic Navbar */
.floating-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    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: 20px;
    padding: 8px 16px;
    z-index: 2000;
    /* transition: all 0.4s ease; */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* .floating-navbar:hover {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) translateY(-2px);
} */

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    position: relative; /* allow absolute centering of the brand */
}

/* Layout groups for centered logo with left and right controls */
.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    pointer-events: none; /* allow clicks to pass through if needed */
}

.navbar-center .navbar-brand {
    pointer-events: auto; /* enable clicks on the brand/logo */
}

.navbar-brand .brand-text:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.navbar-brand .brand-logo {
    height: 32px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-brand .brand-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 16px;
}

/* Social icons in navbar */
.navbar-social {
    display: flex;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px; /* let the icon determine size */
    background: transparent;
    border-radius: 0;
    transition: transform 0.15s ease;
    transform: none;
}

/* .social-link:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-2px) scale(1.03);
} */

.social-icon {
    width: 20px;
    height: auto;
    display: block;
}

.navbar-link {
    font-family: var(--secondary-font);
    color: rgba(0, 0, 0, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 10px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.navbar-link:hover {
    color: #000;
    transform: scale(1.1);
}

.navbar-link.active {
    color: #000;
    font-weight: 700;
}

.navbar-link:active {
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive Design - Tablets and below */
@media (max-width: 768px) {
    .floating-navbar {
        width: 95%;
        padding: 10px 18px;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.4rem;
    }
    
    .navbar-brand .brand-logo {
        height: 28px;
    }
    
    .main-logo {
        max-width: 250px;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        margin-top: 10px;
        flex-direction: column;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        padding: 20px;
    }
    
    .navbar-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-link {
        padding: 12px 18px;
        border-radius: 10px;
        width: 100%;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .navbar-toggle {
        display: flex;
    }

    /* On tablet and smaller, restore normal flow for the centered logo */
    .navbar-center {
        position: static;
        transform: none;
        margin: 0 auto;
        pointer-events: auto;
    }

    .navbar-left, .navbar-right {
        gap: 8px;
    }

    /* make social icons slightly smaller on mobile */
    .navbar-social {
        margin-top: 8px;
        justify-content: center;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .social-icon {
        width: 18px;
    }
    
    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: clamp(4rem, 12vw, 8rem);
    }
    
    .hero-text-svg {
        font-size: 48px;
    }
    
    .hero-description-svg {
        font-size: 18px;
    }
    
    .story-text-svg {
        font-size: 24px;
    }
    
    .story-description-svg {
        font-size: 14px;
    }
    
    .story-subtitle-svg {
        font-size: 16px;
    }

    /* Escape cards for mobile devices */
    .escape-cards {
        gap: 0.8rem !important;
        padding: 0 0.8rem !important;
        margin-top: 2rem;
    }

    .escape-card {
        width: calc(33.333% - 0.6rem) !important;
        min-width: 100px !important;
        max-width: 120px !important;
        height: 140px !important;
    }

    .card-title {
        font-size: 0.9rem !important;
    }

    .card-description {
        font-size: 0.7rem !important;
    }

    .card-overlay {
        padding: 0.8rem !important;
    }

    /* Center content vertically on mobile */
    .checkpoint-content {
        top: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
    }
}

@media (max-width: 490px) {
    .floating-navbar {
        top: 15px;
        width: 85%;
        padding: 6px 10px;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.2rem;
    }
    
    .navbar-brand .brand-logo {
        height: 24px;
    }

    /* Ensure centered logo doesn't overlap controls on very small screens */
    .navbar-center {
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .navbar-left, .navbar-right {
        display: flex;
        gap: 6px;
    }
    
    .main-logo {
        max-width: 200px;
    }
    
    .navbar-menu {
        gap: 10px;
    }
    
    .navbar-link {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
    
    .hero-title {
        font-size: clamp(3rem, 10vw, 6rem);
        letter-spacing: 0.05em;
    }
    
    .hero-text-svg {
        font-size: 40px;
    }
    
    .hero-description-svg {
        font-size: 15px;
    }
    
    .story-text-svg {
        font-size: 20px;
    }
    
    .story-description-svg {
        font-size: 13px;
    }
    
    .story-subtitle-svg {
        font-size: 14px;
    }

    /* Escape cards for smaller mobile devices */
    .escape-cards {
        gap: 0.6rem !important;
        padding: 0 0.6rem !important;
        margin-top: 2rem;
    }

    .escape-card {
        width: calc(33.333% - 0.5rem) !important;
        min-width: 95px !important;
        max-width: 110px !important;
        height: 135px !important;
    }

    .card-title {
        font-size: 0.85rem !important;
    }

    .card-description {
        font-size: 0.7rem !important;
    }

    .card-overlay {
        padding: 0.75rem !important;
    }

    /* Center content vertically on smaller mobile */
    .checkpoint-content {
        top: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
    }
}

/* Navbar scroll effect */
.glassmorphic-navbar.scrolled {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wrapper {
    position: relative;
}

svg {
    display: block;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
}

.scrollElement {
    position: absolute;
    height: 6000px;
    width: 100%;
    top: 0;
    z-index: 4;
}

.btn {
    position: fixed;
    bottom: 5%;
    right: 0px;
    transform: translateX(-50%);
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 0.8rem;
    padding: 0.5rem 0.7em;
    background-color: transparent;
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    transition: all .3s;
    z-index: 11;
}

.btn_works {
    left: 100px;
    right: unset;
    text-decoration: none;
}

.btn:hover {
    background: #ffffff;
    color: #1B1734;
}

/* Checkpoint Content Styling */
.checkpoint-content {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* disable interactions by default - only active checkpoints should be clickable */
    pointer-events: none;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.checkpoint-content.active {
    opacity: 1;
    /* allow interaction with content only when the checkpoint is active */
    pointer-events: auto;
}

.checkpoint-header {
    /* Match hero SVG typography: use primary font and similar treatment */
    font-family: var(--primary-font);
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0 0;
    /* stronger shadow to match SVG look */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: black;
    background-clip: text;
    /* use the same letter-spacing as the SVG title */
    letter-spacing: 0.05em;
    /* ensure checkpoint headers use the same case/appearance as the hero SVG */
    text-transform: uppercase;
    /* subtle glow similar to the SVG drop-shadow filter */
    /* filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)); */
}

.hero-title {
    font-family: var(--primary-font);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 400;
    margin: 0;
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1500;
    letter-spacing: 0.1em;
    line-height: 0.9;
    mix-blend-mode: screen;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff 20%, rgba(255,255,255,0.8) 50%, #fff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

/* SVG Hero Text - Integrated with SVG layers */
.hero-text-svg {
    font-family: var(--primary-font);
    font-size: 90px;
    font-weight: 400;
    fill: #000;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Desktop versions - show by default */
.hero-text-desktop,
.story-description-desktop,
.story-subtitle-desktop {
    display: block;
}

/* Mobile versions - hide by default */
.hero-text-mobile,
.story-description-mobile,
.story-subtitle-mobile,
#journeys-mobile {
    display: none;
}

/* Show SVG text when in first checkpoint */
body:has(#checkpoint-0.active) .hero-text-svg {
    opacity: 1;
}

/* Alternative approach for better browser support */
.checkpoint-0-active .hero-text-svg {
    opacity: 1;
}

/* SVG Hero Description Text - Between Hills */
.hero-description-svg {
    font-family: var(--description-font);
    font-size: 10px;
    font-weight: 300;
    fill: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 1s ease-in-out 0.3s; /* Delay the description slightly after title */
}

/* SVG Story Text Elements - Between Hills */
.story-text-svg {
    font-family: var(--primary-font);
    font-size: 24px;
    font-weight: 700;
    fill: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.story-description-svg {
    font-family: var(--description-font);
    font-size: 5px;
    font-weight: 400;
    fill: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 1s ease-in-out 0.2s;
}

.story-subtitle-svg {
    font-family: var(--secondary-font);
    font-size: 12px;
    font-weight: 300;
    fill: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 1s ease-in-out 0.4s;
}

/* Show story text when in checkpoint 1 */
body:has(#checkpoint-1.active) .story-text-svg,
body:has(#checkpoint-1.active) .story-description-svg,
body:has(#checkpoint-1.active) .story-subtitle-svg {
    opacity: 1;
}

/* Alternative approach for better browser support */
.checkpoint-1-active .story-text-svg,
.checkpoint-1-active .story-description-svg,
.checkpoint-1-active .story-subtitle-svg {
    opacity: 1;
}

/* Show SVG description when in first checkpoint */
body:has(#checkpoint-0.active) .hero-description-svg {
    opacity: 1;
}

/* Alternative approach for better browser support */
.checkpoint-0-active .hero-description-svg {
    opacity: 1;
}

.main-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem auto;
    display: block;
    filter: brightness(1.1) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
}

.main-logo:hover {
    transform: scale(1.02);
    filter: brightness(1.2) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.navbar-link.join-tribe {
    font-family: var(--description-font);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 50%, #ffcc33 100%);
    color: #1b0f00;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(255, 180, 50, 0.12);
    transition: none !important;
    transform: none !important;
    /* transform-origin: center; */
}

/* .navbar-link.join-tribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 180, 50, 0.16);
} */

/* Make sure the navbar-link default styles don't conflict */
.navbar-menu .navbar-link.join-tribe {
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar-link.join-tribe {
        padding: 10px 16px;
    }
}

.checkpoint-text {
    font-family: var(--description-font);
    font-size: 1.8rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
}

/* B2B form styles */
.b2b-form-wrap {
    margin: 2.25rem auto 0 auto;
    max-width: 920px;
    background: rgba(255,255,255,0.92);
    color: #111;
    padding: 1.6rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(13,12,25,0.08);
    text-align: left;
}

.b2b-intro {
    margin-bottom: 0.6rem;
}

.b2b-title {
    font-family: var(--description-font);
    font-size: 1.6rem;
    margin: 0 0 0.25rem 0;
    color: #1b1734;
}

.b2b-sub {
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 0.98rem;
}

.b2b-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.fullwidth { grid-column: 1 / -1; }

.label-title {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-family: var(--description-font);
}

.b2b-form input[type="text"],
.b2b-form input[type="email"],
.b2b-form input[type="tel"],
.b2b-form input[type="number"],
.b2b-form input[type="date"],
.b2b-form select,
.b2b-form textarea {
    border: 1px solid rgba(27,23,52,0.06);
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    font-family: var(--description-font);
    font-size: 0.8rem;
    color: #111;
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.12s ease;
    background: #fff;
}

.b2b-form input:focus,
.b2b-form select:focus,
.b2b-form textarea:focus {
    box-shadow: 0 6px 20px rgba(81, 63, 151, 0.06);
    border-color: rgba(81, 63, 151, 0.18);
}

.b2b-form .submit-btn {
    background: linear-gradient(90deg,#ffcc33 0%,#ffcc33 50%,#ffcc33 100%);
    color: #1b0f00;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(255,180,50,0.12);
}

.b2b-form .form-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-note {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.b2b-success {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg,#f6fff4,#f0fff0);
    border: 1px solid rgba(30,150,60,0.06);
    color: #0b3b17;
    border-radius: 10px;
    font-family: var(--description-font);
}

@media (max-width: 900px) {
    .b2b-form .form-grid { grid-template-columns: 1fr; }
    .b2b-form-wrap { padding: 1rem; }
}



.checkpoint-subtitle {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 1rem 0 0 0;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Dark text styles for bright background checkpoints */
#checkpoint-1, #checkpoint-2, #checkpoint-3, #checkpoint-4 {
    color: #1a1a1a;
}

/* Special positioning for checkpoint-4 to accommodate video carousel */
#checkpoint-4.checkpoint-content {
    position: fixed;
    top: 15vh !important;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

#checkpoint-1 .checkpoint-header,
#checkpoint-2 .checkpoint-header,
#checkpoint-3 .checkpoint-header,
#checkpoint-4 .checkpoint-header {
    /* keep headings readable on bright backgrounds but inherit hero font styling */
    background-clip: text;
    /* keep a light highlight to pop on background */
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    /* prefer slightly larger, but inherit weight from .checkpoint-header */
    font-size: 5rem;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#checkpoint-4 .checkpoint-header {
    position: relative;
    /* top: 20vh !important; */
}

#checkpoint-4 .checkpoint-header,
#checkpoint-5 .checkpoint-header {
    color: rgba(255, 255, 255, 0.779);
    text-shadow: none !important;
    font-size: 64px;
}

#checkpoint-1 .checkpoint-text,
#checkpoint-2 .checkpoint-text,
#checkpoint-3 .checkpoint-text,
#checkpoint-4 .checkpoint-text {
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 600;
    width: 80vw;
    font-size: 22px;
}

#checkpoint-3 .checkpoint-text{
    font-size: 20px !important;
}
#checkpoint-4 .checkpoint-text{
    color: #fff !important;
    font-weight: 200 !important;
    font-size: 20px !important;
}
#checkpoint-5 .checkpoint-text{
    font-size: 20px !important;
    letter-spacing: 0.05em;
}


#checkpoint-1 .checkpoint-subtitle,
#checkpoint-2 .checkpoint-subtitle,
#checkpoint-3 .checkpoint-subtitle,
#checkpoint-4 .checkpoint-subtitle {
    color: #4a4a4a;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Video Carousel Styles */
.video-carousel-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.video-item.active {
    opacity: 1;
    z-index: 2;
}

.tribe-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 25px 20px 20px;
    color: white;
    border-radius: 0 0 12px 12px;
}

.video-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-description {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.video-nav-controls {
    display: none; /* Hide the bottom navigation controls */
}

.video-nav-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.video-nav-btn:hover {
    transform: scale(1.1);
}

.video-nav-btn img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.video-nav-btn:hover img {
    transform: scale(1.1);
}

.video-indicators {
    display: none; /* Hide the dots indicators */
}

.video-indicator {
    display: none; /* Hide individual indicators */
}

#checkpoint-5 .checkpoint-subtitle {
    font-size: 14px;
}

/* MARK: ---376px to 490px Mobile */
@media (min-width: 376px) and (max-width: 490px) {

    #text,
    #arrow {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }

    #info2 {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }

    .checkpoint-content{
        width: 100vw;
    }

    .checkpoint-header {
        font-size: 1.8rem !important;
        margin-bottom: 10px;
    }

    .checkpoint-text {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .checkpoint-subtitle {
        font-size: 0.9rem !important;
    }

    /* Make all checkpoint text smaller but readable */
    #checkpoint-1 .checkpoint-header,
    #checkpoint-2 .checkpoint-header,
    #checkpoint-3 .checkpoint-header,
    #checkpoint-4 .checkpoint-header {
        font-size: 1.5rem !important;
    }

    #checkpoint-5 .checkpoint-header {
        font-size: 1.5rem !important;
    }

    #checkpoint-1 .checkpoint-text,
    #checkpoint-3 .checkpoint-text {
        font-size: 0.9rem !important;
    }

    #checkpoint-2 .checkpoint-text {
        font-size: 0.7rem !important;
    }
    #checkpoint-3 .checkpoint-text {
        font-size: 0.8rem !important;
    }

    #checkpoint-4 .checkpoint-text {
        font-size: 0.9rem !important;
    }

    #checkpoint-4 .checkpoint-header {
        position: relative;
        font-size: 1.6rem !important;
    }
    
    /* Checkpoint-4 mobile positioning */
    #checkpoint-4.checkpoint-content {
        top: 50vh !important;
        width: 98%;
        gap: 25px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        height: auto;
    }
    
    .video-carousel-container {
        margin-top: 0;
        max-width: 500px;
        order: 2;
    }
    
    #checkpoint-4 .checkpoint-header,
    #checkpoint-4 .checkpoint-text {
        order: 1;
    }
    
    /* Video Carousel Mobile Styles */
    .video-carousel-container {
        gap: 12px;
        max-width: 100%;
    }
    
    .video-carousel {
        height: 220px;
        max-width: 280px;
    }
    
    .video-overlay {
        padding: 15px 12px 12px;
    }
    
    .video-title {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .video-description {
        font-size: 12px;
    }
    
    .video-nav-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .video-nav-btn img {
        width: 18px;
        height: 18px;
    }
    #checkpoint-5 .checkpoint-text {
        font-size: 0.8rem !important;
    }

    /* Hero title smaller for mobile */
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4.5rem) !important;
    }

    /* SVG text elements smaller */
    .hero-text-svg {
        font-size: 32px !important;
    }

    /* Switch to mobile versions of text */


    .hero-text-mobile,
    .story-description-mobile,
    .story-subtitle-mobile,
    #journeys-mobile {
        display: block !important;
    }

    /* Hide regular journeys text on mobile */
    #checkpoint-3 .checkpoint-text:first-of-type {
        display: none !important;
    }

    .story-text-svg {
        font-size: 18px !important;
    }

    .story-description-svg {
        font-size: 12px !important;
    }

    .story-subtitle-svg {
        font-size: 14px !important;
    }

    /* Mobile text positioning adjustments */
    .hero-text-mobile {
        font-size: 30px !important;
    }

    .story-description-mobile {
        font-size: 11px !important;
    }

    .story-subtitle-mobile {
        font-size: 13px !important;
    }

    .story-subtitle-svg {
        font-size: 14px !important;
    }

    /* Navbar text smaller */
    .navbar-link {
        font-size: 0.85rem !important;
    }

    /* Card text smaller */
    .card-title {
        font-size: 1rem !important;
    }

    .card-description {
        font-size: 0.8rem !important;
    }

    /* Button text smaller */
    .tribe-join-btn {
        font-size: 1rem !important;
        padding: 0.7rem 1.6rem;
    }

    /* Form text smaller */
    .form-popup-title {
        font-size: 1.2rem !important;
    }

    .form-title {
        font-size: 1.8rem !important;
    }

    .form-subtitle {
        font-size: 0.95rem !important;
    }

    .escape-cards {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
        flex-wrap: nowrap;
        width: 100%;
        padding: 0 0.5rem;
    }

    .escape-card {
        width: calc(33.333% - 0.5rem);
        min-width: 100px;
        max-width: 120px;
        height: 140px;
        flex-shrink: 0;
    }

    .card-title {
        font-size: 0.8rem !important;
    }

    .card-description {
        font-size: 0.6rem !important;
    }

    .card-overlay {
        padding: 0.8rem !important;
    }
}

/* Tablet responsive styles - 491px to 768px */
@media (min-width: 491px) and (max-width: 768px) {
    .escape-cards {
        gap: 1rem;
        margin-top: 2.5rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        padding: 0 1rem;
    }

    .escape-card {
        width: calc(33.333% - 0.8rem);
        min-width: 160px;
        max-width: 200px;
        height: 180px;
        flex-shrink: 0;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.75rem;
    }

    .card-overlay {
        padding: 1.2rem;
    }

    /* Make text smaller for tablet */
    .checkpoint-header {
        font-size: 2.8rem !important;
    }

    .checkpoint-text {
        font-size: 1.3rem !important;
    }

    .checkpoint-subtitle {
        font-size: 1rem !important;
    }

    /* Checkpoint specific text sizes for tablet */
    #checkpoint-1 .checkpoint-header,
    #checkpoint-2 .checkpoint-header,
    #checkpoint-3 .checkpoint-header,
    #checkpoint-4 .checkpoint-header {
        font-size: 2.5rem !important;
    }

    #checkpoint-1 .checkpoint-text,
    #checkpoint-2 .checkpoint-text,
    #checkpoint-3 .checkpoint-text {
        font-size: 1.1rem !important;
    }

    #checkpoint-3 .checkpoint-text {
        font-size: 1rem !important;
    }

    #checkpoint-4 .checkpoint-text {
        font-size: 1.05rem !important;
    }

    #checkpoint-4 .checkpoint-header {
        font-size: 2.2rem !important;
    }

    /* Hero title for tablet */
    .hero-title {
        font-size: clamp(4rem, 13vw, 8rem) !important;
    }

    /* SVG text elements for tablet */
    .hero-text-svg {
        font-size: 60px !important;
    }

    .story-text-svg {
        font-size: 20px !important;
    }

    .story-description-svg {
        font-size: 4.5px !important;
    }

    .story-subtitle-svg {
        font-size: 10px !important;
    }
}

/* Escape Cards Styles */
.escape-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.checkpoint-content.active .escape-cards {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.escape-card {
    position: relative;
    width: 300px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Ensure cards maintain transparency when section is active */
.checkpoint-content.active .escape-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.escape-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.escape-card:hover .card-image img {
    opacity: 1 !important;
    transform: scale(1.02);
}

/* Maintain good image opacity when section is active */
.checkpoint-content.active .escape-card .card-image img {
    opacity: 1 !important;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    z-index: 2;
    color: #fff;
}

.card-title {
    font-family: var(--description-font);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-description {
    font-family: var(--description-font);
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Modal / dynamic description text */
#escape-modal-desc {
    font-family: var(--description-font);
}

/* Join Tribe Button Styles */
.tribe-join-btn {
    font-family: var(--description-font);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    text-transform: uppercase;
}

.checkpoint-content.active .tribe-join-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
    pointer-events: auto;
}

.tribe-join-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.tribe-join-btn:active {
    transform: translateY(-2px);
}

/* Mobile responsive styles for button */
@media (max-width: 490px) {
    .tribe-join-btn {
        font-size: 1rem;
        padding: 0.7rem 1.8rem;
        margin-top: 1rem;
    }
}

/* Join Form Popup Styles */
.form-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6,6,12,0.6);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    /* Reduced horizontal padding so the popup feels tighter on wide screens */
    padding: 12px;
    box-sizing: border-box;
}

.form-popup-container {
    background: linear-gradient(180deg, rgba(255,255,255), rgba(255,255,255));
    border: 1px solid rgba(255,255,255,0.04);
    width: 100%;
    max-width: 980px;
    height: min(90vh, 800px);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(3,6,25,0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: popupFadeIn 260ms cubic-bezier(.2,.9,.2,1);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.form-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* allow absolute children (the centered title) to position relative to the header */
    position: relative;
    /* keep vertical padding but reduce left/right padding */
    padding: 0.9rem 0.6rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.form-popup-title {
    font-family: var(--description-font);
    /* absolutely center the title within the header so it stays centered even
       when there are buttons on the right */
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.form-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    /* keep the action buttons above the absolutely positioned title */
    position: relative;
    z-index: 2;
    /* ensure the buttons sit to the right in the flex header */
    margin-left: auto;
}

.form-share-btn {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.12s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.form-share-btn:hover {
    background: rgba(255,255,255,0.06);
    color: #000;
    transform: scale(1.05);
}

.form-share-btn svg {
    transition: transform 0.12s ease;
}

.form-share-btn:hover svg {
    transform: scale(1.1);
}

.form-close-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #000;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.12s ease, color 0.12s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-close-btn:hover {
    background: rgba(255,255,255,0.04);
    color: #000;
}

.form-popup-content {
    padding: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.google-form-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    display: block;
}

/* Mobile responsive styles for popup */
@media (max-width: 768px) {
    .form-popup-overlay {
        /* slightly reduced on mobile as well */
        padding: 8px;
    }
    
    .form-popup-container {
        max-width: 95%;
        max-height: 95vh;
        border-radius: 12px;
        height: calc(95vh - 20px);
    }
    
    .form-popup-header {
        padding: 1rem 0.8rem;
    }
    
    .form-popup-title {
        font-size: 1.5rem;
    }
    
    .form-popup-content {
        height: calc(85vh - 80px);
        min-height: 400px;
    }
}

@media (max-width: 490px) {
    .form-popup-container {
        max-width: 98%;
        border-radius: 10px;
        height: calc(95vh - 12px);
    }
    
    .form-popup-header {
        padding: 0.8rem 1rem;
    }
    
    .form-popup-title {
        font-size: 1.3rem;
    }
    
    .form-close-btn {
        width: auto;
        height: auto;
        font-size: 1.1rem;
    }
}

/* Extra small mobile devices - 0 to 375px */
@media (max-width: 375px) {
    .checkpoint-header {
        font-size: 1.4rem !important;
    }

    .checkpoint-text {
        font-size: 0.85rem !important;
    }

    .checkpoint-subtitle {
        font-size: 0.8rem !important;
    }

    /* Checkpoint specific text sizes for very small screens */
    #checkpoint-1 .checkpoint-header,
    #checkpoint-2 .checkpoint-header,
    #checkpoint-3 .checkpoint-header,
    #checkpoint-4 .checkpoint-header {
        font-size: 1.3rem !important;
    }

    #checkpoint-1 .checkpoint-text,
    #checkpoint-2 .checkpoint-text,
    #checkpoint-3 .checkpoint-text {
        font-size: 0.8rem !important;
    }

    #checkpoint-3 .checkpoint-text {
        font-size: 0.8rem !important;
    }

    #checkpoint-4 .checkpoint-text {
        font-size: 0.8rem !important;
    }

    #checkpoint-4 .checkpoint-header {
        font-size: 1.4rem !important;
    }
    
    /* Checkpoint-4 extra small mobile positioning */
    #checkpoint-4.checkpoint-content {
        top: 5vh !important;
        gap: 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        height: auto;
    }
    
    .video-carousel-container {
        margin-top: 0;
        max-width: 400px;
        order: 2;
    }
    
    #checkpoint-4 .checkpoint-header,
    #checkpoint-4 .checkpoint-text {
        order: 1;
    }
    
    /* Video Carousel Extra Small Mobile Styles */
    .video-carousel-container {
        gap: 10px;
    }
    
    .video-carousel {
        height: 180px;
        max-width: 240px;
    }
    
    .video-overlay {
        padding: 12px 10px 10px;
    }
    
    .video-title {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .video-description {
        font-size: 11px;
    }
    
    .video-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .video-nav-btn img {
        width: 16px;
        height: 16px;
    }

    /* Hero title for extra small screens */
    .hero-title {
        font-size: clamp(2rem, 9vw, 4rem) !important;
    }

    /* SVG text elements for extra small screens */
    .hero-text-svg {
        font-size: 30px !important;
    }

    .story-text-svg {
        font-size: 16px !important;
    }

    .story-description-svg {
        font-size: 10px !important;
    }

    .story-subtitle-svg {
        font-size: 12px !important;
    }

    /* Escape cards for extra small screens */
    .escape-cards {
        gap: 0.4rem !important;
        padding: 0 0.4rem !important;
    }

    .escape-card {
        width: calc(33.333% - 0.4rem) !important;
        min-width: 85px !important;
        max-width: 105px !important;
        height: 125px !important;
    }

    /* Card text for extra small screens */
    .card-title {
        font-size: 0.8rem !important;
    }

    .card-description {
        font-size: 0.65rem !important;
    }

    .card-overlay {
        padding: 0.7rem !important;
    }

    /* Button text for extra small screens */
    .tribe-join-btn {
        font-size: 0.95rem !important;
        padding: 0.6rem 1.4rem;
    }

    /* Navbar for extra small screens */
    .navbar-link {
        font-size: 0.75rem !important;
    }

    /* Center content vertically on extra small screens */
    .checkpoint-content {
        top: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
    }
}

/* Modal for escape card details */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20001; /* sit above most site elements */
    padding: 20px;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 20000; /* backdrop below modal content but above page */
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1d23 0%, #0e0f12 100%);
    color: #fff;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
    z-index: 20002; /* above the backdrop */
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: stretch;
    min-height: 400px;
}

.modal-media {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.modal-media img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.modal-media:hover img {
    transform: scale(1.05);
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0 0 1rem 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--description-font);
}

.journey-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #00e676;
    margin: 0;
    font-family: var(--description-font);
}

.modal-description {
    margin: 0 0 2rem 0;
    color: #b8b8b8;
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.modal-details {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    font-family: var(--description-font);
}

.journey-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.journey-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.journey-data {
    font-size: 1rem;
    color: #dcdcdc;
    font-weight: 500;
}

.modal-actions {
    margin-top: auto;
}

/* Enhanced Book Now button */
.book-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00e676 0%, #00e676 50%, #00e676 100%);
    color: #062018;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: var(--description-font);
}

.book-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.book-now-btn:hover::before {
    left: 100%;
}

.book-now-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .modal-media {
        flex: none;
        width: 100%;
        height: 250px;
    }
    
    .modal-media img {
        min-height: 250px;
    }
    
    .modal-header h3 {
        font-size: 1.8rem;
    }
    
    .journey-price {
        font-size: 1.2rem;
    }
    
    .modal-description {
        font-size: 1rem;
    }
    
    .book-now-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .btn-icon {
        font-size: 1rem;
    }
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffffaa;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    width: auto;
}
.site-footer .footer-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(0,0,0,0.25);
    padding: 8px 14px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    flex-wrap: nowrap;
    white-space: nowrap;
}
.footer-inner p{
    font-family: var(--description-font);
}
.site-footer p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-contact {
    font-family: var(--description-font);
    font-size: 0.85rem;
    white-space: nowrap;
}
.footer-contact p {
    margin: 0;
    font-size: 0.85rem;
}
.phone-link {
    color: #ffffffaa;
    text-decoration: none;
    transition: all 0.15s ease;
}
.phone-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-top-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.footer-link {
    font-family: var(--description-font);
    font-size: 0.85rem;
    color: #ffffffaa;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.footer-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: #fff;
    background: transparent;
    border-radius: 0;
    transition: transform 0.15s ease;
}
.social-link:hover {
    transform: translateY(-2px);
}

/* Additional mobile font size optimizations */
@media (min-width: 491px) and (max-width: 768px) {
    .site-footer p {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    .tribe-join-btn {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }
}

@media (max-width: 490px) {
    .site-footer p {
        font-size: 0.7rem;
    }
    
    .footer-link {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
    
    .footer-contact p {
        font-size: 0.7rem;
    }
    
    .site-footer{
        display: flex;
        align-items: center;
        width: 100vw;
        justify-content: center;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 4px;
        padding: 6px 12px;
        align-items: center;
    }
    
    .footer-top-row {
        display: flex;
        gap: 8px;
        align-items: center;
        white-space: nowrap;
    }
    
    .footer-links {
        gap: 4px;
    }
}

/* Scroll Down Arrow Button */
.scroll-down-arrow {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down-arrow:hover {
    transform: translateX(-50%) scale(1.2);
    opacity: 0.8;
}

.scroll-down-arrow img {
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1); /* Makes the icon white */
}

.scroll-down-arrow:hover img {
    transform: translateY(2px);
}

/* Bounce animation for the scroll arrow */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Hide arrow when user has scrolled down significantly */
.scroll-down-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .scroll-down-arrow {
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}