:root {
    --color-teal: #ddfcf9;
    --color-turquoise: #40e0d0;
    --color-navy: #03235a;
    --color-white: #ffffff;
    --color-light: #f8f9fa;

    /* optional gradients / variations */
    --color-primary: var(--color-turquoise);
    --color-primary-hover: var(--color-turquoise);
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    /* Kill phantom horizontal overflow (e.g. the floating WhatsApp button /
       off-canvas elements) so mobile doesn't show a blank gap on the right.
       `clip` (not `hidden`) avoids creating a scroll container, so the sticky
       navbar and position:fixed button keep working. */
    overflow-x: clip;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    color: var(--color-navy);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    padding-top: 0;
    padding-bottom: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
}

.has-hero-navbar .page-content {
    padding-top: 0;
}

/* Nav list spacing */
.navbar-nav {
    align-items: center;
}

/* Nav links */
.nav-link {
    position: relative;

    padding: 0.7rem 1.15rem !important;

    border-radius: 999px;

    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;

    color: var(--color-navy) !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

/* Hover */
.nav-link:hover {
    background-color: rgba(64,224,208,0.12);

    color: var(--color-turquoise) !important;

    transform: translateY(-1px);
}

/* Active link */
.nav-link.active {
    background: var(--color-navy);
    color: white !important;

    box-shadow:
        0 10px 20px rgba(3,35,90,0.12);
}

/* Active hover */
.nav-link.active:hover {
    background: var(--color-turquoise);
    color: var(--color-navy) !important;
}

/* Optional: custom background instead of default light */
.custom-navbar {
    background-color: #f8f9fa; /* or any color you want */
}

/* =========================
   CUSTOM BURGER
========================= */

.custom-toggler {
    border: none;
    box-shadow: none !important;

    width: 48px;
    height: 48px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    padding: 0;
}

/* Remove Bootstrap icon */
.navbar-toggler-icon {
    display: none;
}

.toggler-line {
    width: 26px;
    height: 2px;

    background-color: var(--color-navy);

    border-radius: 999px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease;

    margin: 0 auto;
}

/* OPEN STATE */

.custom-toggler[aria-expanded="true"] .top {
    transform: translateY(8px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .middle {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .bottom {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hover */
.custom-toggler:hover .toggler-line {
    background-color: var(--color-turquoise);
}

/* =========================
   MOBILE NAVBAR
========================= */

@media (max-width: 991px) {

    .navbar-collapse {
        background: white;

        margin-top: 1rem;

        padding: 1rem;

        border-radius: 24px;

        box-shadow:
            0 20px 40px rgba(3,35,90,0.08);
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: stretch;
        gap: 0.5rem !important;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }
}

/* =========================
   MODERN CINEMATIC HERO
========================= */

.hero-section {
    position: relative;

    width: 100%;

    height: 72vh;
    min-height: 620px;
    max-height: 820px;

    overflow: hidden;

    /* Brand gradient shows instantly behind the text while the video loads */
    background: linear-gradient(135deg, #021634 0%, var(--color-navy) 45%, #0a6f76 100%);

    display: flex;
    align-items: center;
}
/* Video */
.hero-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /* baseline 1.08; --hero-zoom (set on scroll) multiplies it, default 1 = no change */
    transform: translate(-50%, -50%) scale(calc(1.08 * var(--hero-zoom, 1)));

    z-index: 0;
}

/* Main heading */
.hero-title {
    font-family: 'Crimson Text', serif;

    font-size: clamp(4rem, 8vw, 7rem);

    line-height: 0.92;

    letter-spacing: -0.05em;

    color: white;

    margin-bottom: 1.2rem;

    text-shadow:
        0 10px 30px rgba(0,0,0,0.25);
}

/* Script subtitle */
.hero-subtitle {
    font-family: 'Dancing Script', serif;

    font-size: clamp(1.6rem, 2.5vw, 2.3rem);

    color: rgba(255,255,255,0.95);

    margin-bottom: 1.4rem;
}

/* Supporting text */
.hero-cta {
    font-size: clamp(1rem, 1.5vw, 1.15rem);

    line-height: 1.9;

    color: rgba(255,255,255,0.88);

    max-width: 600px;
}

.hero-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.15)
        );

    z-index: 1;
}


/* =========================
   HOMEPAGE HERO INTRO
   (.hero-section is the homepage hero only)
========================= */

/* Video starts hidden and fades in once it can play (JS adds .is-ready);
   until then the brand gradient + text are already visible. */
.hero-video {
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-video.is-ready {
    opacity: 1;
}

/* Staggered fade-up entrance for the hero text + search bar */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-section .page-hero-eyebrow,
.hero-section .page-hero-title,
.hero-section .page-hero-body,
.hero-section .hero-search-wrapper {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-section .page-hero-eyebrow   { animation-delay: 0.15s; }
.hero-section .page-hero-title     { animation-delay: 0.30s; }
.hero-section .page-hero-body      { animation-delay: 0.45s; }
.hero-section .hero-search-wrapper { animation-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
    .hero-section .page-hero-eyebrow,
    .hero-section .page-hero-title,
    .hero-section .page-hero-body,
    .hero-section .hero-search-wrapper {
        opacity: 1;
        animation: none;
    }
    .hero-video { transition: none; }
}


/* Mobile */
@media (max-width: 768px) {

    .hero-section {
        height: auto;
        min-height: 720px;
        padding-top: 2rem;
        padding-bottom: 8rem;
    }

    .hero-title {
        font-size: clamp(2.8rem, 11vw, 4.5rem);
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-cta {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-search-wrapper {
        bottom: 1.5rem;
    }
}

.hero-title,
.hero-subtitle,
.hero-cta {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}
/* Featured Excursion Section */
.featured {
    padding-top: clamp(2rem, 2vw, 4rem);
    padding-bottom: clamp(2rem, 2vw, 4rem);
}


.pill-btn {
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    z-index: 1;
}

.featured-subtitle {
    color: var(--color-turquoise);
}

.coconut-icon-img {
    width: 18px;
    height: 18px;
}
.pill-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-turquoise), var(--color-turquoise));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.pill-btn:hover::before {
    transform: scaleX(1);
}

.pill-btn:hover {
    color: var(--color-white);
    border-color: var(--color-navy);
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-card {
    border-radius: 1.5rem;
}

.contact-card .form-control {
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(3, 35, 90, 0.08);
}

.contact-card .form-control:focus {
    border-color: rgba(3, 35, 90, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(3, 35, 90, 0.12);
}

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

.contact-card .btn-primary:hover {
    background-color: var(--color-turquoise);
    border-color: var(--color-turquoise);
    color: var(--color-navy);
}

.text-teal {
    color: var(--color-turquoise);
}

/* Ensure key UI surfaces remain readable */
.navbar, .footer, .card, .container, .contact-card {
    position: relative;
}


.btn-outline-teal {
    border: 2px solid var(--color-turquoise);
    color: var(--color-turquoise);
    transition: 0.3s ease;
}

.btn-outline-teal:hover {
    background-color: var(--color-turquoise);
    color: var(--color-white);
}

/* Search bar */
.hero-search-wrapper {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 2.5rem;

    z-index: 3;
}

.hero-search-wrapper .container {
    max-width: 1100px;
}

/* =========================
   MULTI-FILTER SEARCH BAR
========================= */

.hero-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 20px 60px rgba(3, 35, 90, 0.18);
    padding: 0.4rem 0.4rem 0.4rem 0;
}

.search-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    flex: 1;
    min-width: 0;
    border-radius: 999px;
    transition: background 0.22s ease;
}

.search-filter:hover,
.search-filter:focus-within {
    background: rgba(3, 35, 90, 0.04);
}

.search-filter-icon {
    color: var(--color-turquoise);
    font-size: 1.05rem;
    flex-shrink: 0;
    line-height: 1;
}

.search-filter-inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.search-filter-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(3, 35, 90, 0.42);
    margin-bottom: 0.18rem;
    white-space: nowrap;
}

.search-filter input,
.search-filter select {
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--color-navy);
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    line-height: 1.4;
}

.search-filter input[type="search"]::-webkit-search-cancel-button,
.search-filter input[type="search"]::-webkit-search-decoration {
    display: none;
}

.search-filter input::placeholder {
    color: rgba(3, 35, 90, 0.36);
    font-weight: 500;
}

.search-separator {
    width: 1px;
    height: 32px;
    background: rgba(3, 35, 90, 0.09);
    flex-shrink: 0;
}

.search-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-navy);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 1rem 1.8rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 56px;
}

.search-submit-btn:hover {
    background: var(--color-turquoise);
    color: var(--color-navy);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(64, 224, 208, 0.3);
}

.search-results-section {
    padding-top: 7rem;
}

.search-results {
    max-width: 1100px;
    margin: 0 auto;
}

.search-loading {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-navy);
}

.search-results h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.search-results .badge {
    background-color: rgba(3, 35, 90, 0.08);
    color: var(--color-navy);
    font-weight: 600;
}

@media (max-width: 991px) {
    .hero-search-wrapper {
        bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 0.6rem;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 20px 50px rgba(3, 35, 90, 0.22);
        align-items: stretch;
    }

    .search-filter {
        border-radius: 14px;
        padding: 0.8rem 1rem;
        flex: none;
        width: 100%;
    }

    .search-separator {
        width: auto;
        height: 1px;
        margin: 0 0.5rem;
    }

    .search-submit-btn {
        border-radius: 14px;
        width: 100%;
        justify-content: center;
        margin-top: 0.35rem;
        padding: 0.95rem 1.5rem;
        min-height: 52px;
    }
}

/* =========================
   MOBILE HERO SEARCH
========================= */

@media (max-width: 767px) {

    .hero-section {
        min-height: 820px;
    }

    .hero-search-wrapper {
        bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-search-wrapper .container {
        padding: 0;
    }

    .hero-cta {
        margin-bottom: 1rem;
    }
}

.featured {
    position: relative;
}

.featured > * {
    position: relative;
    z-index: 1;
}

.transport-section {
    background-color: white;
}

.transport-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-navy);
}

/* Turquoise circular badge holding a Bootstrap line icon —
   matches the disc look of the old raster icons without the page weight */
.feature .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-turquoise);
    color: var(--color-white);
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.why-book {
    background-color: var(--color-light);
}

.why-item .icon {
    font-size: 1rem;
    color: var(--color-turquoise);
}

.why-item .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.why-item h6 {
    margin-bottom: 5px;
}

/* Mobile Menu Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}
/* =========================
   PAGE HEROES
   (Excursions / Transport / Services)
========================= */

.page-hero {
    position: relative;
    height: 72vh;
    min-height: 620px;
    max-height: 820px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 8s ease;
    /* scroll zoom — independent of transform, so it multiplies the hover zoom */
    scale: var(--hero-zoom, 1);
    z-index: 0;
}

.page-hero:hover .page-hero-img {
    transform: scale(1.06);
}

/* Rich navy-directional overlay — heavier left for text legibility */
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(1, 15, 37, 0.726) 0%,
            rgba(3, 35, 90, 0.397) 45%,
            rgba(0, 0, 0, 0.123) 100%
        );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    text-align: left;
}

/* Eyebrow — gold, tracked uppercase with decorative rule */
.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c9a55a;
    margin-bottom: 1.1rem;
    opacity: 0.92;
}

.page-hero-eyebrow::before {
    content: '';
    display: block;
    width: 26px;
    height: 1.5px;
    background: #c9a55a;
    flex-shrink: 0;
}

/* Large editorial headline */
.page-hero-title {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: white;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Supporting copy */
.page-hero-body {
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    line-height: 1.88;
    color: rgba(255,255,255,0.80);
    max-width: 480px;
    margin-bottom: 2rem;
}

/* Ghost pill CTA */
.page-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.75rem;
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(255,255,255,0.38);
    border-radius: 999px;
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease,
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.page-hero-btn:hover {
    background: white;
    border-color: white;
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

/* Mobile */
@media (max-width: 768px) {
    .page-hero {
        height: auto;
        min-height: 480px;
        align-items: flex-end;
    }

    .page-hero-content {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .page-hero-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .page-hero-body {
        max-width: none;
    }
}

/* =========================
   BOOKING PAGE
========================= */

.booking-section {
    background: linear-gradient(
        to bottom,
        #f8fbfd,
        #ffffff
    );
    /* Tighter top spacing so the card sits just under the navbar (no big gap),
       with comfortable breathing room below. */
    padding: 1.25rem 0 3.5rem;
    min-height: calc(100vh - 90px);
}

.booking-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(3, 35, 90, 0.08),
        0 2px 10px rgba(3, 35, 90, 0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.booking-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background:
        linear-gradient(
            135deg,
            rgba(64,224,208,0.08),
            rgba(221,252,249,0.4)
        );
}

.booking-tag {
    display: inline-block;
    background: rgba(64,224,208,0.15);
    color: var(--color-navy);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.booking-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-navy);
    line-height: 1.2;
}

.booking-description {
    color: rgba(3,35,90,0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.booking-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-turquoise);
}

.booking-form-wrapper {
    padding: 2rem 2.5rem 2.5rem;
}

/* Form spacing */
.booking-form-wrapper form p {
    margin-bottom: 1.4rem;
}

/* Labels */
.booking-form-wrapper label {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: var(--color-navy);
}

/* Inputs */
.booking-form-wrapper input,
.booking-form-wrapper textarea,
.booking-form-wrapper select {
    width: 100%;
    border: 1px solid rgba(3,35,90,0.12);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    transition: all 0.25s ease;
    background-color: #fff;
    color: var(--color-navy);
}

/* Focus states */
.booking-form-wrapper input:focus,
.booking-form-wrapper textarea:focus,
.booking-form-wrapper select:focus {
    outline: none;
    border-color: var(--color-turquoise);
    box-shadow: 0 0 0 4px rgba(64,224,208,0.15);
}

/* Textarea */
.booking-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit button */
.booking-btn {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: 14px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.booking-btn:hover {
    background-color: var(--color-turquoise);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(64,224,208,0.25);
}

/* Mobile */
@media (max-width: 768px) {

    .booking-header,
    .booking-form-wrapper {
        padding: 1.5rem;
    }

    .booking-title {
        font-size: 1.6rem;
    }
}

/* =========================
   EXCURSIONS PAGE
========================= */

.excursions-section {
    background:
        linear-gradient(
            to bottom,
            #f8fbfd,
            #ffffff
        );
}

/* Header */
.excursions-header {
    max-width: 760px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(64,224,208,0.12);
    color: var(--color-navy);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.excursions-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.excursions-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(3,35,90,0.72);
}

/* Card */
.excursion-card {
    background: white;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);

    box-shadow:
        0 10px 30px rgba(3,35,90,0.06),
        0 2px 10px rgba(3,35,90,0.04);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    display: flex;
    flex-direction: column;
}

.excursion-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 24px 50px rgba(3,35,90,0.12),
        0 8px 20px rgba(3,35,90,0.08);
}

/* Image */
.excursion-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.excursion-image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.excursion-card:hover .excursion-image {
    transform: scale(1.05);
}

/* Overlay gradient */
.excursion-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3,35,90,0.55),
            transparent 55%
        );
}

/* Price badge */
.excursion-price {
    position: absolute;
    bottom: 1rem;
    left: 1rem;

    background: rgba(255,255,255,0.95);
    color: var(--color-navy);

    padding: 0.6rem 1rem;
    border-radius: 999px;

    font-weight: 800;
    font-size: 0.95rem;

    backdrop-filter: blur(10px);
}

/* Location badges */
.excursion-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.excursion-location {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(3,35,90,0.65);
    background: rgba(64,224,208,0.09);
    border: 1px solid rgba(64,224,208,0.22);
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.excursion-location i {
    font-size: 0.65rem;
    color: var(--color-turquoise);
}

/* Body */
.excursion-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.excursion-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.excursion-description {
    flex: 1;
    color: rgba(3,35,90,0.72);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Button */
.excursion-btn {
    width: 100%;

    background: var(--color-navy);
    color: white;

    border: 1.5px solid transparent;
    border-radius: 14px;

    padding: 0.95rem 1.2rem;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.excursion-btn:hover {
    background: var(--color-turquoise);
    color: var(--color-navy);

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(64,224,208,0.25);
}

.details-btn {
    background: white;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}

.details-btn:hover {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
    box-shadow:
        0 10px 20px rgba(3,35,90,0.18);
}

/* Card actions — pushes button row to bottom of any flex-column card body */
.card-actions {
    margin-top: auto;
}

/* Mobile */
@media (max-width: 768px) {

    .excursions-title {
        font-size: 2.3rem;
    }

    .excursion-body {
        padding: 1.4rem;
    }

    .excursion-name {
        font-size: 1.2rem;
    }
}

/* =========================
   SERVICE DETAILS MODAL
========================= */

/* Backdrop */
.smd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 35, 90, 0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.smd-overlay.smd-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Panel / card */
.smd-panel {
    background: #ffffff;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 40px 80px rgba(3, 35, 90, 0.24);
    transform: translateY(28px) scale(0.97);
    transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}

.smd-overlay.smd-open .smd-panel {
    transform: translateY(0) scale(1);
}

/* Mobile drag handle */
.smd-handle {
    display: none;
    justify-content: center;
    padding: 12px 0 4px;
    flex-shrink: 0;
    cursor: grab;
}

.smd-handle-bar {
    width: 40px;
    height: 5px;
    border-radius: 999px;
    background: rgba(3, 35, 90, 0.14);
}

/* Close button */
.smd-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    /* Same tone as the drag handle bar */
    color: rgba(3, 35, 90, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.22s ease, transform 0.22s ease;
    flex-shrink: 0;
}

.smd-close:hover {
    color: rgba(3, 35, 90, 0.3);
    transform: scale(1.1);
}

/* Loading overlay */
.smd-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.smd-loading.smd-show {
    display: flex;
}

.smd-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(3, 35, 90, 0.12);
    border-top-color: #03235a;
    border-radius: 50%;
    animation: smdSpin 0.7s linear infinite;
}

@keyframes smdSpin {
    to { transform: rotate(360deg); }
}

/* Gallery */
.smd-gallery {
    flex-shrink: 0;
    background: #f0f4f8;
    position: relative;
}

.smd-swiper {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.smd-swiper .swiper-slide {
    overflow: hidden;
    position: relative;
}

.smd-swiper .swiper-slide img,
.smd-swiper .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Per-slide skeleton shimmer — shown until the slide's image loads or its
   video is playable. Sits above the media (which fades in underneath) and is
   removed once loaded. */
.smd-skel {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #e2e9f1;
    background-image: linear-gradient(
        100deg,
        rgba(226, 233, 241, 0) 20%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(226, 233, 241, 0) 80%
    );
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: smdShimmer 1.4s ease-in-out infinite;
    transition: opacity 0.35s ease;
}

.smd-swiper .swiper-slide img,
.smd-swiper .swiper-slide video {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.swiper-slide.smd-slide--loaded img,
.swiper-slide.smd-slide--loaded video {
    opacity: 1;
}

.swiper-slide.smd-slide--loaded .smd-skel {
    opacity: 0;
    pointer-events: none;
}

@keyframes smdShimmer {
    from { background-position: 150% 0; }
    to   { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .smd-skel { animation: none; }
}

/* Gallery photos are clickable → open full size */
.smd-swiper .swiper-slide img.smd-zoomable {
    cursor: zoom-in;
}

/* ══════════════════════════════════════════════
   FULL-SIZE PHOTO LIGHTBOX
══════════════════════════════════════════════ */
.smd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 11000;                 /* above the detail modal (9999) */
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.smd-lightbox.smd-lb-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.smd-lb-stage {
    margin: 0;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.25rem;
    box-sizing: border-box;
}

/* Original aspect ratio, scaled to fit the viewport (letterboxed) */
.smd-lb-img {
    max-width: calc(100vw - 2.5rem);
    max-height: calc(100vh - 8rem);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
    cursor: default;
}

.smd-lb-close,
.smd-lb-arrow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 1;
}

.smd-lb-close:hover,
.smd-lb-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.smd-lb-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
}

.smd-lb-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
}

.smd-lb-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.smd-lb-prev { left: 18px; }
.smd-lb-next { right: 18px; }

.smd-lb-arrow[hidden] {
    display: none;
}

.smd-lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    pointer-events: none;
}

@media (max-width: 600px) {
    .smd-lb-arrow {
        width: 42px;
        height: 42px;
    }
    .smd-lb-prev { left: 8px; }
    .smd-lb-next { right: 8px; }
    .smd-lb-stage { padding: 3.5rem 0.5rem; }
    .smd-lb-img {
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 7rem);
    }
}

/* Whole service card is clickable */
.excursion-card-clickable {
    cursor: pointer;
}

/* Navigation: ← dots → (overlaid on image) */
.smd-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    white-space: nowrap;
    z-index: 10;
}

.smd-nav.smd-nav-hidden {
    display: none;
}

.smd-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
}

/* Swiper pagination bullets styled to match the homepage gallery carousel:
   uniform inactive dots and a turquoise pill for the active one that glides in
   via a width transition. Inactive dots are white-translucent (not the gallery's
   grey) so they read over any photo. */
.smd-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.smd-dot.smd-dot-active {
    width: 26px;
    background: #40e0d0;   /* turquoise */
}

/* Thumbnail strip — desktop only (mobile uses the overlaid dots above) */
.smd-thumbs {
    display: none;
}

/* Scrollable content area */
.smd-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.smd-body {
    padding: 1.6rem 2rem 1rem;
}

/* Price */
.smd-price {
    display: inline-flex;
    align-items: center;
    background: rgba(64, 224, 208, 0.12);
    color: #03235a;   /* navy */
    border: 1px solid rgba(64, 224, 208, 0.32);
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 0.9rem;
    letter-spacing: 0.01em;
}

/* ── Reviews: headline rating + swipeable review cards ──────────────────────
   Minimal star row (gold fill, grey track), compact score + count, and a
   horizontally swipeable carousel of selected review cards. */

/* Shared star primitive */
.smd-star {
    color: #d9e2ec;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.06em;
}
.smd-star.is-filled { color: #f5b301; }

/* Headline rating row (under the title) */
.smd-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.55rem;
}
.smd-rating-stars { display: inline-flex; }
.smd-rating-stars .smd-star { font-size: 1.02rem; }
.smd-rating-score {
    font-weight: 800;
    color: #03235a;
    font-size: 0.98rem;
}
.smd-rating-count {
    color: rgba(3, 35, 90, 0.55);
    font-size: 0.82rem;
}

/* Reviews section in the body */
.smd-reviews { margin-top: 1.6rem; }
.smd-reviews-head { margin-bottom: 0.85rem; }
.smd-reviews-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #03235a;
    margin: 0;
}
/* Clip at the container edge — the peeked next card hints at swipeability
   without ever spilling past the modal body (avoids horizontal overflow). */
.smd-reviews-swiper { overflow: hidden; }
.smd-reviews-swiper .swiper-slide { height: auto; }

.smd-review-card {
    height: 100%;
    background: #f8fbfd;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.smd-review-stars { display: inline-flex; }
.smd-review-text {
    color: #45556f;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    /* Keep cards tidy: clamp very long reviews to a readable height. */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.smd-review-meta {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
}
.smd-review-name { font-weight: 800; color: #03235a; font-size: 0.9rem; }
.smd-review-date { color: rgba(3, 35, 90, 0.5); font-size: 0.78rem; }

/* Header (title + location) — sits above the photos on mobile and at the
   top of the content column on desktop. */
.smd-header {
    padding: 1.6rem 2rem 0.9rem;
    flex-shrink: 0;
}

/* Title */
.smd-title {
    font-size: clamp(1.45rem, 3.5vw, 1.95rem);
    font-weight: 800;
    color: #03235a;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

/* Location (geo-pin + place names) under the title */
.smd-location {
    align-items: center;
    gap: 0.4rem;
    color: rgba(3, 35, 90, 0.62);
    font-size: 0.92rem;
    line-height: 1.4;
    display: none;
}

.smd-location.smd-visible {
    display: flex;
}

.smd-location i {
    color: #03235a;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Subtitle / location */
.smd-subtitle {
    color: rgba(3, 35, 90, 0.55);
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
    display: none;
    line-height: 1.5;
}

.smd-subtitle.smd-visible {
    display: block;
}

/* Description */
.smd-desc {
    color: rgba(3, 35, 90, 0.76);
    line-height: 1.85;
    font-size: 0.98rem;
    margin-bottom: 1.3rem;
    display: none;
}

.smd-desc.smd-visible {
    display: block;
}

/* Rendered Markdown inside the description (headings, lists, emphasis) */
.smd-desc h2,
.smd-desc h3,
.smd-desc h4 {
    color: #03235a;
    font-weight: 800;
    line-height: 1.25;
    margin: 1.5rem 0 0.6rem;
}
.smd-desc h2 { font-size: 1.18rem; }
.smd-desc h3 { font-size: 1.05rem; }
.smd-desc h4 { font-size: 0.98rem; }
.smd-desc > :first-child {
    margin-top: 0;
}
.smd-desc p {
    margin: 0 0 0.9rem;
}
.smd-desc ul,
.smd-desc ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}
.smd-desc li {
    margin-bottom: 0.4rem;
}
.smd-desc li::marker {
    color: #2bb8ab;
}
.smd-desc strong {
    color: #03235a;
    font-weight: 700;
}
.smd-desc a {
    color: #2bb8ab;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.smd-desc hr {
    border: none;
    border-top: 1px solid rgba(3, 35, 90, 0.1);
    margin: 1.3rem 0;
}

/* Key points */
.smd-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.smd-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(64, 224, 208, 0.07);
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.smd-point-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(3, 35, 90, 0.08);
    color: #03235a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.smd-point-icon svg {
    width: 20px;
    height: 20px;
    stroke: #03235a;
    stroke-width: 2;
    fill: none;
}

.smd-point-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.smd-point-title {
    font-size: 0.93rem;
    color: #03235a;
    font-weight: 700;
    line-height: 1.4;
}

.smd-point-desc {
    font-size: 0.83rem;
    color: rgba(3, 35, 90, 0.62);
    line-height: 1.45;
    margin-top: 2px;
}

/* Legacy tag-only bullets (no highlights) */
.smd-point-text {
    font-size: 0.93rem;
    color: #03235a;
    font-weight: 600;
    line-height: 1.5;
}

/* Sticky CTA footer */
.smd-footer {
    padding: 1rem 2rem 1.2rem;
    background: white;
    border-top: 1px solid rgba(3, 35, 90, 0.07);
    flex-shrink: 0;
}

.smd-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    background: #03235a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

/* White arrow (follows button text colour, so it flips to navy on hover) */
.smd-book-arrow {
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.smd-book-btn:hover .smd-book-arrow {
    transform: translateX(3px);
}

/* Trust row beneath the CTA */
.smd-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: rgba(3, 35, 90, 0.55);
}

.smd-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.smd-trust-item svg {
    flex-shrink: 0;
    color: #40e0d0;
}

.smd-book-btn:hover {
    background: #40e0d0;
    color: #03235a;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(64, 224, 208, 0.32);
}

/* Desktop: side-by-side (image left, content right) */
@media (min-width: 768px) {

    .smd-panel {
        display: grid;
        grid-template-columns: 56% 1fr;
        /* minmax(0,1fr) lets the content row shrink so the panel height is set
           by the left photo column (image + thumbs), not by the right content. */
        grid-template-rows: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "gallery header"
            "gallery content"
            "gallery footer";
        width: 94%;
        max-width: 1440px;
        max-height: 90vh;
        flex-direction: unset;
    }

    .smd-header { grid-area: header; }

    .smd-handle { display: none; }

    /* Left photo column defines the panel height (see syncGalleryHeight in
       main.js): 3:2 image with the thumbnail strip directly beneath it, no
       extra vertical space. The right column is capped to this height. */
    .smd-gallery {
        grid-area: gallery;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
        background: #eef2f7;
    }

    /* Main image fixed to a 3:2 frame; remaining photos live in the strip below. */
    .smd-swiper {
        flex: none;
        aspect-ratio: 3 / 2;
        min-height: 0;
    }

    /* Dots are redundant on desktop — the thumbnail strip shows position. */
    .smd-nav {
        display: none;
    }

    .smd-thumbs {
        display: flex;
        gap: 8px;
        padding: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(3, 35, 90, 0.25) transparent;
    }

    /* Single-image services have no thumbnails — don't reserve padding. */
    .smd-thumbs:empty {
        display: none;
    }

    .smd-thumbs::-webkit-scrollbar {
        height: 6px;
    }

    .smd-thumbs::-webkit-scrollbar-thumb {
        background: rgba(3, 35, 90, 0.25);
        border-radius: 3px;
    }

    .smd-thumb {
        flex: 0 0 auto;
        width: 76px;
        height: 58px;
        padding: 0;
        border: 2px solid transparent;
        border-radius: 10px;
        overflow: hidden;
        background: #e2e8f0;
        cursor: pointer;
        position: relative;
        opacity: 0.7;
        transition: opacity 0.18s ease, border-color 0.18s ease;
    }

    .smd-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .smd-thumb:hover {
        opacity: 1;
    }

    .smd-thumb.smd-thumb-active {
        opacity: 1;
        border-color: #40e0d0;   /* turquoise */
    }

    .smd-thumb-play {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 0.8rem;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
        background: rgba(0, 0, 0, 0.18);
    }

    .smd-content {
        grid-area: content;
        overflow-y: auto;
        min-height: 0;   /* allow the row to shrink below content height */
    }

    .smd-footer {
        grid-area: footer;
    }
}

/* Mobile: bottom-sheet */
@media (max-width: 767px) {

    .smd-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .smd-panel {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 28px 28px 0 0;
        transform: translateY(100%);
        /* Scroll the whole sheet (photo included) rather than pinning the
           header + gallery — keeps the full sheet height for reading. */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        /* Keep scroll/overscroll inside the sheet and stop it chaining to the
           page — this, together with the body position:fixed lock and the
           preventDefault in the swipe handler, blocks iOS/Android
           pull-to-refresh while the sheet is open. `pan-y` lets the sheet
           scroll vertically while our JS owns the downward drag-to-close. */
        overscroll-behavior: contain;
        touch-action: pan-y;
        /* Hide the scrollbar — it overlays the rounded corners / photo and
           clutters the sheet. Scrolling still works. */
        scrollbar-width: none;        /* Firefox */
        -ms-overflow-style: none;     /* legacy Edge/IE */
    }

    .smd-panel::-webkit-scrollbar {
        display: none;                /* Chrome / Safari / WebKit */
    }

    .smd-overlay.smd-open .smd-panel {
        transform: translateY(0);
    }

    /* Let the body flow with the rest of the sheet instead of being its own
       scroll region. */
    .smd-content {
        flex: 0 0 auto;
        overflow: visible;
    }

    /* Keep the Book CTA pinned to the bottom while everything scrolls. */
    .smd-footer {
        position: sticky;
        bottom: 0;
        z-index: 12;
    }

    /* Float the drag handle over the header (title sits at the very top now). */
    .smd-handle {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 11;
        padding: 10px 0 4px;
    }

    .smd-handle-bar {
        background: rgba(3, 35, 90, 0.16);
        box-shadow: none;
    }

    /* No close button on mobile — the sheet is dismissed by swiping down from
       anywhere inside it (the floating drag handle hints at this). */
    .smd-close {
        display: none;
    }

    /* Title + location stack above the photos; leave room for the floating
       drag handle on top. No close button to clear on the right anymore. */
    .smd-header {
        padding: 1.7rem 1.25rem 0.85rem 1.25rem;
    }

    /* Square photos on mobile */
    .smd-swiper {
        aspect-ratio: 1 / 1;
    }

    .smd-body {
        padding: 1.15rem 1.25rem 0.75rem;
    }

    .smd-footer {
        padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .smd-title {
        font-size: 1.4rem;
    }
}
/* =========================
   TRANSPORT PAGE
========================= */

.transport-page {
    background:
        linear-gradient(
            to bottom,
            #f8fbfd,
            #ffffff
        );
}

/* Header */
.transport-header {
    max-width: 760px;
    margin: 0 auto;
}

.transport-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.transport-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(3,35,90,0.72);
}

/* Mobile */
@media (max-width: 768px) {

    .transport-title {
        font-size: 2.2rem;
    }
}

/* =========================
   SUCCESS PAGE
========================= */

.success-section {
    min-height: 85vh;
    padding: 4rem 0;
    background:
        radial-gradient(
            circle at top,
            rgba(64,224,208,0.12),
            transparent 40%
        ),
        linear-gradient(
            to bottom,
            #f8fbfd,
            #ffffff
        );
}

.success-card {
    background: var(--color-white);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow:
        0 20px 50px rgba(3,35,90,0.08),
        0 5px 20px rgba(3,35,90,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

/* subtle glow */
.success-card::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    background: rgba(64,224,208,0.08);
    border-radius: 50%;
}

.success-icon-wrapper {
    margin-bottom: 2rem;
}

.success-icon-circle {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--color-turquoise),
            #67e9dc
        );

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    box-shadow:
        0 15px 35px rgba(64,224,208,0.35);

    animation: successPop 0.5s ease;
}

.success-badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(64,224,208,0.12);
    color: var(--color-navy);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.success-text {
    max-width: 520px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(3,35,90,0.72);
}

.success-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Primary button */
.success-btn-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: 14px;
    padding: 0.95rem 1.8rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.success-btn-primary:hover {
    background-color: var(--color-turquoise);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* Secondary button */
.success-btn-secondary {
    border: 2px solid rgba(3,35,90,0.12);
    color: var(--color-navy);
    border-radius: 14px;
    padding: 0.95rem 1.8rem;
    font-weight: 700;
    background: white;
    transition: all 0.25s ease;
}

.success-btn-secondary:hover {
    border-color: var(--color-turquoise);
    color: var(--color-turquoise);
    transform: translateY(-2px);
}

/* Animation */
@keyframes successPop {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

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

/* Mobile */
@media (max-width: 768px) {

    .success-card {
        padding: 3rem 1.5rem;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-icon-circle {
        width: 105px;
        height: 105px;
    }

    .success-icon-circle svg {
        width: 52px;
        height: 52px;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-btn-primary,
    .success-btn-secondary {
        width: 100%;
    }
}

/* =========================
   WAVY FOOTER
========================= */

.footer-wrapper {
    position: relative;
    margin-top: 6rem;
    overflow: hidden;
    background: #03235a;
}

.footer-wave {
    position: relative;
    z-index: 3;
    line-height: 0;
    overflow: hidden;
}

/* FIXED */
.footer-wave svg {
    display: block;

    width: 260%;
    min-width: 3000px;

    height: 85px;

    margin-left: -80%;

    animation: waveMove 22s ease-in-out infinite;

    will-change: transform;
}
@keyframes waveMove {
    0% {
        transform: rotate(180deg) translateX(0);
    }

    50% {
        transform: rotate(180deg) translateX(-25%);
    }

    100% {
        transform: rotate(180deg) translateX(0);
    }
}
/* =========================
   MOBILE FOOTER WAVE
========================= */

@media (max-width: 768px) {

    .footer-wave {
        overflow: hidden;
    }

    .footer-wave svg {
        display: block;

        width: 420%;
        min-width: 3200px;

        height: 70px;

        margin-left: -160%;

        animation: waveMoveMobile 14s ease-in-out infinite;

        will-change: transform;
    }
}
@keyframes waveMoveMobile {
    0% {
        transform: rotate(180deg) translateX(0);
    }

    50% {
        transform: rotate(180deg) translateX(-4%);
    }

    100% {
        transform: rotate(180deg) translateX(0);
    }
}

/* =========================
   PREMIUM FOOTER GLASS
========================= */

.footer .row > div {
    padding:
        1.5rem
        1.25rem;

    border-radius: 28px;

    transition:
        background-color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.footer .row > div:hover {

    background:
        rgba(255,255,255,0.025);

    backdrop-filter:
        blur(12px);

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px rgba(64,224,208,0.05);
}

/* subtle glow inside panel */
.footer-content-panel::before {
    content: "";

    position: absolute;

    top: -80px;
    right: -80px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(64,224,208,0.12),
            transparent 70%
        );

    pointer-events: none;
}

/* remove old card look */
.footer .row > div {
    padding: 1rem 1.2rem;

    background: transparent;
    border: none;
    backdrop-filter: none;
    border-radius: 0;
}
/* =========================
   UNDERWATER BACKGROUND
========================= */

.underwater-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;

    background:
        radial-gradient(circle at 20% 10%,
            rgba(173,230,255,0.15),
            transparent 22%),

        radial-gradient(circle at 80% 15%,
            rgba(200,245,255,0.08),
            transparent 28%),

        linear-gradient(
            to bottom,
            #063d70 0%,
            #05315d 35%,
            #03254a 65%,
            #021a35 100%
        );
}

/* underwater glow */
.underwater-bg::before {
    content: "";

    position: absolute;
    inset: -20%;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(64,224,208,0.12),
            transparent 22%
        ),

        radial-gradient(
            circle at 75% 25%,
            rgba(255,255,255,0.08),
            transparent 20%
        ),

        radial-gradient(
            circle at 60% 70%,
            rgba(64,224,208,0.08),
            transparent 26%
        );

    filter: blur(80px);

    animation:
        underwaterFloat 14s ease-in-out infinite alternate;
}


/* actual footer content */
.footer {
    position: relative;
    z-index: 2;
    background: transparent;
}

/* bottom strip */
.footer-bottom {
    background: rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgb(255, 255, 255);
    text-decoration: none;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        filter 0.3s ease;
}

.social-icon i {
    font-size: 1.3rem;

    transition:
        transform 0.25s ease,
        text-shadow 0.3s ease,
        filter 0.3s ease;
}

.social-icon:hover {
    transform:
        translateY(-3px)
        scale(1.04);
}

.social-icon:hover i {
    color: var(--color-turquoise);

    /* glowing bulb effect */
    text-shadow:
        0 0 6px rgba(64,224,208,0.65),
        0 0 14px rgba(64,224,208,0.45),
        0 0 28px rgba(64,224,208,0.28);

    filter:
        drop-shadow(
            0 0 8px rgba(64,224,208,0.35)
        );
}

/* animations */
@keyframes underwaterFloat {
    from {
        transform: translate(-2%, -1%);
    }

    to {
        transform: translate(2%, 2%);
    }
}

@keyframes bubbleRise {
    from {
        background-position:
            0 100%,
            50px 120%,
            100px 110%;
    }

    to {
        background-position:
            0 -200%,
            50px -240%,
            100px -220%;
    }
}

@keyframes bubbleDrift {
    from {
        transform: translateX(-8px);
    }

    to {
        transform: translateX(8px);
    }
}

/* =========================
   FOOTER LINKS
========================= */

.footer-heading {
    color: white;
    font-weight: 800;
    margin-bottom: 1.4rem;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    color: rgba(255,255,255,0.72);
    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a i {
    font-size: 0.72rem;

    transition:
        transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--color-turquoise);
    transform: translateX(4px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* =========================
   FOOTER CONTACT
========================= */

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;

    margin-bottom: 1rem;

    color: rgba(255,255,255,0.75);
}

.footer-contact i {
    color: var(--color-turquoise);
    margin-top: 3px;

    flex-shrink: 0;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255,255,255,0.75);
    text-decoration: none;

    transition:
        color 0.25s ease;
}

.footer-contact a:hover {
    color: var(--color-turquoise);
}

/* =========================
   PAYMENT METHODS
========================= */

.payment-methods {
    gap: 0.85rem;
}

.payment-icon {
    width: 64px;
    height: 48px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.08);

    color: white;

    backdrop-filter: blur(8px);
}

.payment-icon i {
    font-size: 1.9rem;
}

.cash-box {
    width: auto;
    padding: 0 1rem;
    gap: 0.5rem;

    font-size: 0.9rem;
    font-weight: 700;
}

.secure-payment {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    padding:
        0.7rem
        1rem;

    border-radius: 999px;

    background:
        rgba(64,224,208,0.10);

    color: rgba(255,255,255,0.88);
}

.secure-payment i {
    color: var(--color-turquoise);
}


/* =========================
   STICKY WHATSAPP BUTTON
========================= */

.whatsapp-float {
    position: fixed;

    right: 22px;
    bottom: 28px;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: #25D366;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(16px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease,
        box-shadow 0.25s ease;

    box-shadow:
        0 12px 30px rgba(37, 211, 102, 0.22);
}


.whatsapp-float.visible {
    opacity: 0.88;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float i {
    font-size: 1.9rem;
}

.whatsapp-float:hover {
    opacity: 1;

    transform:
        translateY(-3px)
        scale(1.03);

    color: white;

    box-shadow:
        0 18px 40px rgba(37, 211, 102, 0.35);
}

/* Mobile */
@media (max-width: 768px) {

    .whatsapp-float {
        width: 56px;
        height: 56px;

        right: 18px;
        bottom: 22px;
    }

    .whatsapp-float i {
        font-size: 1.7rem;
    }
}

/* =========================
   TERMS & CONDITIONS PAGE
========================= */

.terms-section {
    background:
        linear-gradient(
            to bottom,
            #f8fbfd,
            #ffffff
        );

    min-height: 100vh;
}

.terms-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.terms-card {
    background: white;

    border-radius: 30px;

    padding:
        3rem
        3rem;

    box-shadow:
        0 20px 50px rgba(3,35,90,0.08),
        0 5px 20px rgba(3,35,90,0.04);

    border:
        1px solid rgba(0,0,0,0.04);
}

.terms-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-navy);
}

.terms-subtitle {
    color: rgba(3,35,90,0.7);
    max-width: 620px;
    margin: 1rem auto 0;
}

.terms-updated {
    color: rgba(3,35,90,0.5);
    margin-bottom: 2rem;
}

.terms-card h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;

    color: var(--color-navy);
    font-weight: 800;
}

.terms-card p,
.terms-card li {
    line-height: 1.9;
    color: rgba(3,35,90,0.78);
}

.terms-card ul {
    padding-left: 1.2rem;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

/* Privacy notice shown beneath a public form. A notice, not a consent —
   never render it with a checkbox. */
.form-privacy-notice {
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(3, 35, 90, 0.55);
    margin: 1rem 0 0;
}

.form-privacy-notice a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy-notice a:hover {
    color: var(--color-turquoise);
}

@media (max-width: 768px) {

    .terms-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
    background:
        linear-gradient(
            to bottom,
            #f8fbfd,
            #ffffff
        );
}

/* =========================
   HERO
========================= */

.about-hero {
    position: relative;

    min-height: 78vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #000;
}

.about-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.04);
    /* scroll zoom — independent of transform, multiplies the baseline scale */
    scale: var(--hero-zoom, 1);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(3,35,90,0.78),
            rgba(3,35,90,0.28)
        );

    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;

    padding:
        6rem
        0;
}

.about-title {
    font-family:
        'Crimson Text',
        serif;

    font-size:
        clamp(
            3rem,
            6vw,
            5.5rem
        );

    line-height: 1;

    letter-spacing: -0.04em;

    color: white;

    margin:
        1.2rem
        0;
}

.about-subtitle {
    font-size: 1.1rem;

    line-height: 1.9;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );

    max-width: 620px;
}

/* =========================
   CONTENT
========================= */

.about-section {
    position: relative;
}

.about-heading {
    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.15;

    color:
        var(--color-navy);

    margin-bottom: 1.5rem;
}

.about-text {
    color:
        rgba(
            3,
            35,
            90,
            0.76
        );

    line-height: 1.95;

    margin-bottom: 1.2rem;

    font-size: 1.02rem;
}

.about-image {
    width: 100%;

    border-radius: 30px;

    object-fit: cover;

    box-shadow:
        0 20px 50px
        rgba(
            3,
            35,
            90,
            0.10
        );
}

/* =========================
   STORY CARD
========================= */

.about-story-card {
    background:
        linear-gradient(
            180deg,
            rgba(
                64,
                224,
                208,
                0.06
            ),
            rgba(
                255,
                255,
                255,
                0.95
            )
        );

    border-radius: 36px;

    padding:
        3.5rem;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.04
        );

    box-shadow:
        0 20px 50px
        rgba(
            3,
            35,
            90,
            0.08
        );
}

/* =========================
   TRUST CARDS
========================= */

.trust-card {
    height: 100%;

    background: white;

    border-radius: 28px;

    padding:
        2rem
        1.5rem;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.04
        );

    box-shadow:
        0 10px 30px
        rgba(
            3,
            35,
            90,
            0.06
        );

    transition:
        transform
        0.35s ease,

        box-shadow
        0.35s ease;
}

.trust-card:hover {
    transform:
        translateY(-8px);

    box-shadow:
        0 24px 50px
        rgba(
            3,
            35,
            90,
            0.10
        );
}

.trust-icon {
    font-size: 2rem;

    color:
        var(--color-turquoise);

    margin-bottom: 1rem;
}

.trust-card h5 {
    font-weight: 800;

    color:
        var(--color-navy);

    margin-bottom: 0.85rem;
}

.trust-card p {
    color:
        rgba(
            3,
            35,
            90,
            0.72
        );

    line-height: 1.8;
}

/* =========================
   MISSION
========================= */

.about-mission {
    position: relative;
}

.mission-card {
    max-width: 900px;

    margin: 0 auto;

    background:
        linear-gradient(
            135deg,
            rgba(
                64,
                224,
                208,
                0.08
            ),
            rgba(
                255,
                255,
                255,
                1
            )
        );

    border-radius: 36px;

    padding:
        4rem
        3rem;

    box-shadow:
        0 20px 50px
        rgba(
            3,
            35,
            90,
            0.08
        );
}

.mission-text {
    max-width: 680px;

    margin:
        1rem auto
        2rem;

    line-height: 1.9;

    color:
        rgba(
            3,
            35,
            90,
            0.74
        );
}

.mission-quote {
    font-size:
        clamp(
            1.3rem,
            2vw,
            1.8rem
        );

    font-family:
        'Crimson Text',
        serif;

    color:
        var(--color-navy);

    font-style: italic;

    line-height: 1.5;
}

/* =========================
   LICENSE CARD
========================= */

.license-card {
    max-width: 900px;

    margin: 0 auto;

    display: flex;
    gap: 1.5rem;

    align-items: flex-start;

    background: white;

    border-radius: 28px;

    padding: 2rem;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.04
        );

    box-shadow:
        0 10px 30px
        rgba(
            3,
            35,
            90,
            0.06
        );
}

.license-card i {
    font-size: 2rem;

    color:
        var(--color-turquoise);

    flex-shrink: 0;
}

.license-card h4 {
    font-weight: 800;

    color:
        var(--color-navy);

    margin-bottom: 0.5rem;
}

.license-card p {
    margin: 0;

    line-height: 1.8;

    color:
        rgba(
            3,
            35,
            90,
            0.72
        );
}

/* =========================
   CTA
========================= */

.about-cta {
    padding-bottom: 5rem;
}

.cta-card {
    background:
        linear-gradient(
            135deg,
            var(--color-navy),
            #083c85
        );

    border-radius: 36px;

    padding:
        4rem
        2rem;

    color: white;

    position: relative;

    overflow: hidden;
}

.cta-card::before {
    content: "";

    position: absolute;

    top: -80px;
    right: -80px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        rgba(
            64,
            224,
            208,
            0.10
        );
}

.cta-title {
    font-size:
        clamp(
            2rem,
            4vw,
            3.5rem
        );

    font-weight: 800;

    margin:
        1rem
        0;
}

.cta-text {
    max-width: 650px;

    margin: 0 auto;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    line-height: 1.9;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .about-hero {
        min-height: 72vh;
    }

    .about-hero-content {
        padding:
            4rem
            0;
    }

    .about-story-card,
    .mission-card {
        padding: 2rem;
        border-radius: 28px;
    }

    .license-card {
        flex-direction: column;
    }

    .cta-card {
        padding:
            3rem
            1.5rem;
    }
}


/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    background:
        linear-gradient(
            to bottom,
            #f8fbfd,
            #ffffff
        );
    min-height: 100vh;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.1;
}

.contact-subtitle {
    max-width: 700px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: rgba(3,35,90,0.72);
}

.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 30px;
    padding: 2.25rem;
    border: 1px solid rgba(0,0,0,0.04);

    box-shadow:
        0 20px 50px rgba(3,35,90,0.08),
        0 5px 20px rgba(3,35,90,0.04);
}

.contact-info-card {
    background:
        linear-gradient(
            180deg,
            rgba(64,224,208,0.06),
            rgba(255,255,255,1)
        );
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(3,35,90,0.08);
}

.contact-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(64,224,208,0.12);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.35rem;
    color: var(--color-navy);
}

.contact-icon.whatsapp {
    background: rgba(37,211,102,0.12);
}

.contact-icon.whatsapp i {
    color: #25D366;
}

.contact-icon.telegram {
    background: rgba(0,136,204,0.12);
}

.contact-icon.telegram i {
    color: #0088cc;
}

.contact-item h5 {
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--color-navy);
}

.contact-item a,
.contact-item p {
    color: rgba(3,35,90,0.72);
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-item a:hover {
    color: var(--color-turquoise);
}

.contact-form-card .form-control {
    border-radius: 16px;
    border: 1px solid rgba(3,35,90,0.12);
    padding: 1rem 1.1rem;
    box-shadow: none;
}

.contact-form-card .form-control:focus {
    border-color: var(--color-turquoise);
    box-shadow: 0 0 0 4px rgba(64,224,208,0.12);
}

.contact-btn {
    background: var(--color-navy);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.contact-btn:hover {
    background: var(--color-turquoise);
    color: var(--color-navy);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
        border-radius: 24px;
    }
}

/* =========================
   HOME PAGE HERO NAVBAR
========================= */

/* Transparent, absolutely-positioned overlay on top of the hero */
.navbar-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Non-active links: white text on dark hero video */
.navbar-hero .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-hero .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: white !important;
}

/* Active link: white pill shape (::before) + navy→teal gradient text */
.navbar-hero .nav-link.active {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-turquoise) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    box-shadow: none;
}

.navbar-hero .nav-link.active::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
}

.navbar-hero .nav-link.active:hover {
    background: rgba(255, 255, 255, 0.12);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: white;
    color: white !important;
}

.navbar-hero .nav-link.active:hover::before {
    background: transparent;
}

/* Burger menu lines: white on hero */
.navbar-hero .toggler-line {
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar-hero .custom-toggler:hover .toggler-line {
    background-color: var(--color-turquoise);
}

/* Mobile expanded menu: restore solid white panel + standard link colours */
@media (max-width: 991px) {
    .navbar-hero .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .navbar-hero .navbar-collapse .nav-link {
        color: var(--color-navy) !important;
    }

    .navbar-hero .navbar-collapse .nav-link:hover {
        background-color: rgba(64, 224, 208, 0.12);
        color: var(--color-turquoise) !important;
    }

    /* Active: navy pill + white text (matches all other pages) */
    .navbar-hero .navbar-collapse .nav-link.active {
        background: var(--color-navy) !important;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        -webkit-text-fill-color: white;
        color: white !important;
    }

    .navbar-hero .navbar-collapse .nav-link.active::before {
        display: none;
    }

    .navbar-hero .navbar-collapse .nav-link.active:hover {
        background: var(--color-turquoise) !important;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        -webkit-text-fill-color: var(--color-navy);
        color: var(--color-navy) !important;
    }
}

/* =========================
   SECTION INTRO (Reusable)
   Used on Excursions, Transport, Services, Contact, About
========================= */

.section-intro {
    text-align: center;
    padding: 3.5rem 0 2.25rem;
    max-width: 720px;
    margin: 0 auto;
}

.section-intro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c9a55a;
    margin-bottom: 1.1rem;
}

.section-intro-eyebrow::before,
.section-intro-eyebrow::after {
    content: '';
    display: block;
    width: 26px;
    height: 1.5px;
    background: #c9a55a;
    flex-shrink: 0;
}

.section-intro-title {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.section-intro-divider {
    width: 48px;
    height: 2px;
    background: #c9a55a;
    border: none;
    opacity: 1;
    margin: 0 auto 1.5rem;
}

.section-intro-subtitle {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(3, 35, 90, 0.68);
    max-width: 560px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-intro {
        padding: 2.5rem 0 1.75rem;
    }

    .section-intro-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
}

/* ── View Transitions ─────────────────────────────────────────────────────── */

@view-transition {
    navigation: auto;
}

/* Assign stable names to chrome elements so they don't animate */
.navbar {
    view-transition-name: site-navbar;
}

.footer-wrapper {
    view-transition-name: site-footer;
}

/* The main content area is the only thing that transitions */
.page-content {
    display: flow-root; /* creates BFC — prevents child margin-top from collapsing out */
    view-transition-name: page-content;
}

/* Suppress root (everything not explicitly named) — prevents full-page flash */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
}

/* Navbar and footer stay locked in place */
::view-transition-old(site-navbar),
::view-transition-new(site-navbar),
::view-transition-old(site-footer),
::view-transition-new(site-footer) {
    animation: none;
}

/* Slide keyframes — four directions + plain fade fallback */
@keyframes vt-fade-out    { to   { opacity: 0; } }
@keyframes vt-fade-in     { from { opacity: 0; } }
@keyframes vt-exit-left   { to   { opacity: 0; transform: translateX(-40px); } }
@keyframes vt-exit-right  { to   { opacity: 0; transform: translateX( 40px); } }
@keyframes vt-enter-right { from { opacity: 0; transform: translateX( 40px); } }
@keyframes vt-enter-left  { from { opacity: 0; transform: translateX(-40px); } }

/* Fallback: pure fade (direct access, refresh, back/forward) */
::view-transition-old(page-content) { animation: 300ms ease-in  vt-fade-out both; }
::view-transition-new(page-content) { animation: 450ms ease-out vt-fade-in  both; }

/* Navigate forward (e.g. Home → Excursions): old exits left, new enters from right */
:root[data-vt-dir="right"]::view-transition-old(page-content) { animation: 380ms cubic-bezier(0.4,0,1,1)   vt-exit-left   both; }
:root[data-vt-dir="right"]::view-transition-new(page-content) { animation: 520ms cubic-bezier(0,0,0.2,1)   vt-enter-right both; }

/* Navigate backward (e.g. About → Transport): old exits right, new enters from left */
:root[data-vt-dir="left"]::view-transition-old(page-content)  { animation: 380ms cubic-bezier(0.4,0,1,1)   vt-exit-right  both; }
:root[data-vt-dir="left"]::view-transition-new(page-content)  { animation: 520ms cubic-bezier(0,0,0.2,1)   vt-enter-left  both; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(page-content),
    ::view-transition-new(page-content) { animation: none; }
}

/* =========================
   PAGINATION
========================= */

.crb-pagination {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.crb-page-item {
    display: flex;
}

.crb-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 0.8rem;
    border: 2px solid rgba(3, 35, 90, 0.12);
    border-radius: 50rem;
    background: transparent;
    color: var(--color-navy);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
    white-space: nowrap;
    line-height: 1;
}

.crb-page-btn:hover:not([disabled]) {
    background: rgba(64, 224, 208, 0.15);
    border-color: var(--color-turquoise);
    color: var(--color-navy);
    transform: translateY(-1px);
}

.crb-page-item.active .crb-page-btn {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
    box-shadow: 0 6px 18px rgba(3, 35, 90, 0.2);
}

.crb-page-item.active .crb-page-btn:hover {
    background: var(--color-turquoise);
    border-color: var(--color-turquoise);
    color: var(--color-navy);
}

.crb-page-item.disabled .crb-page-btn {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.crb-page-ellipsis span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    color: var(--color-navy);
    opacity: 0.4;
    font-weight: 700;
    font-size: 0.92rem;
}

@media (max-width: 480px) {
    .crb-page-btn {
        min-width: 2.2rem;
        height: 2.2rem;
        padding: 0 0.55rem;
        font-size: 0.85rem;
    }

    .crb-page-ellipsis span {
        min-width: 2.2rem;
        height: 2.2rem;
    }
}


/* =========================
   SCROLL REVEAL (all pages)
   Elements fade + slide up as they enter the viewport. Hidden state is
   applied only when <html> has .reveal-on (set in <head> when supported and
   motion is allowed) so there is no flash and no-JS degrades to visible.
   NOTE: this selector list is mirrored in main.js — keep them in sync.
========================= */

/* Hidden initial state. The target list is wrapped in :where() so it carries
   zero specificity — that guarantees the .is-revealed rule below always wins,
   regardless of how specific the structural selectors are. */
.reveal-on :where(
    .page-content .row > [class*="col-"],
    .page-content .section-badge,
    .page-content .excursions-header,
    .page-content [data-reveal]
) {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Directional variants (opt-in via data-reveal="left|right|zoom") */
.reveal-on :where([data-reveal="left"])  { transform: translateX(-40px); }
.reveal-on :where([data-reveal="right"]) { transform: translateX(40px); }
.reveal-on :where([data-reveal="zoom"])  { transform: scale(0.94); }

.reveal-on .is-revealed {
    opacity: 1;
    transform: none;
}


/* =========================
   FLOATING ACCENTS
   A gentle, continuous drift on small decorative accents. Uses the
   independent `translate` property so it never fights the reveal transform.
========================= */

@keyframes softFloat {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -6px; }
}

@media (prefers-reduced-motion: no-preference) {
    .section-badge,
    .coconut-icon-img,
    [data-float] {
        animation: softFloat 5.5s ease-in-out infinite;
    }
}