@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,700;1,500&display=swap');

/*CSS Variables */

:root {
    --sand: #EFE6D6;
    --sand-deep: #E6D3B8;
    --terra: #D4A24C;
    --terra-dark: #C89B3C;
    --ink: #1F2937;
    --ink-soft: #374151;
    --mist: #6B7280;
    --white: #F5F1E8;
    --accent: #1ABC9C;
    --ivory: var(--white);
    --ivory-deep: var(--sand-deep);
    --stone: var(--mist);
    --ocean: #1F2937;
    --gold: var(--terra);
    --green: var(--accent);
    --testimonials-bg-start: #173e3a;
    --testimonials-bg-end: #0f2926;
    --testimonials-glow: rgba(212, 162, 76, 0.08);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', sans-serif;
    --nav-h: 80px;
    --radius: 6px;
    --transition: 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark theme overrides  */

:root[data-theme="dark"] {
    --sand: #C0C8CF;
    --sand-deep: #AEB8BF;
    --terra: #C89B3C;
    --terra-dark: #B98A2F;
    --ink: #E6EAED;

    /* light text */
    --ink-soft: #DDE3E8;
    --mist: #6B7A8F;
    --white: #22313F;

    /* dark base */

    --accent: #169B84;
    --ivory: #334852;
    --ivory-deep: #2A3B45;
    --stone: #7B8AA0;
    --ocean: #121920;
    --gold: #C89B3C;
    --green: #169B84;
    --card-bg: #2b3940;
    --testimonials-bg-start: #0f1f26;
    --testimonials-bg-end: #121a22;
    --testimonials-glow: rgba(22, 155, 132, 0.08);
}

/*Reset */

*,

*::before,

*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ensure readable text on dark theme */

:root[data-theme="dark"] body {
    background: var(--white);
    color: var(--ink);
}

/* Splash Screen */

#splash-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#splash-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-copy {
    position: absolute;
    left: clamp(1rem, 4vw, 3rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 420px;
    padding: 0;
    color: var(--white);
    text-align: left;
    background: transparent;
    border: none;
    box-shadow: none;
}

.splash-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.72);
    margin-bottom: 0.8rem;
}

.splash-copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--white);
}

.splash-copy h2 br {
    display: block;
}

.splash-copy p {
    margin: 1rem 0 0;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(15, 23, 42, 0.78);
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

@media (max-width: 768px) {
    .splash-copy {
        left: clamp(1rem, 4vw, 1.5rem);
        right: auto;
        top: auto;
        bottom: 1.5rem;
        transform: none;
        width: min(92vw, 420px);
        text-align: left;
        padding: 1.2rem 1.25rem;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

iframe,
video,
canvas,
svg {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {

    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--ink);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terra);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--terra);
}

/* Sri Lanka Intro Section */

.srilanka-intro {
    padding: 6rem 0;
    background: var(--ivory);
}

.sl-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3.5rem;
    align-items: center;
}

.sl-text .section-title {
    margin-bottom: 1rem;
}

.sl-text {
    max-width: 52ch;
}

.sl-desc {
    font-size: 0.92rem;
    color: var(--stone);
    line-height: 1.85;
    margin-bottom: 2rem;
}

.sl-stats {

    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border: 1px solid var(--ivory-deep);
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
    white-space: nowrap;
    max-width: 100%;
}

.sl-stat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean);
    line-height: 1;
}

.sl-stat-label {
    font-size: 0.7rem;
    color: var(--stone);
    margin-top: 3px;
    white-space: nowrap;
}

.sl-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--ivory-deep);
    flex-shrink: 0;
}

.sl-video {
    position: relative;
}

.sl-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 64px;
    height: 64px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.18);
    line-height: 1.2;
    transform: rotate(-8deg);
}

.sl-badge span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.sl-badge small {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.88;
}

.sl-video-card {
    border-radius: 10px;
    overflow: hidden;
    background: var(--ocean);
    box-shadow: 0 20px 50px rgba(27, 58, 75, 0.2);
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.sl-video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.sl-video-caption {
    padding: 0.9rem 1.1rem;
    background: var(--ocean);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
}

.sl-caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.sl-video-caption strong {
    color: var(--white);
}

@media (max-width: 900px) {

    .sl-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .sl-badge {
        top: -12px;
        right: 12px;
    }

    .sl-video-card iframe {
        height: 100%;
    }
}

/* ── Utility ── */

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Destination modal styles */

.dest-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dest-modal.open {
    display: flex;
}

.dest-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.dest-modal .modal-card {
    position: relative;
    z-index: 10000;
    width: 92%;
    max-width: 1100px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dest-modal .modal-content {
    padding: 1rem;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: #f1f1f1;
    color: #2d3748;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 20px;
    line-height: 1;
    cursor: default;
    transition: transform .18s ease, background .18s ease;
}

.modal-close:hover {
    background: #e6e6e6;
    transform: scale(1.05);
}
.modal-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 1rem;
    align-items: start;
}

.modal-media {
    display: flex;
    flex-direction: column;
}

.modal-media img.modal-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    transform-origin: center;
    transition: transform .4s ease, filter .4s ease;
}

.modal-media .modal-image.zoom {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.gallery-thumb {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.gallery-thumb:hover,

.gallery-thumb.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    border-color: rgba(212, 162, 76, 0.35);
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
}

.modal-map-wrapper {
    margin-top: 1.2rem;
    border-radius: 6px;
    overflow: hidden;
}

.modal-map {
    width: 100%;
    height: 180px;
    border: 0;
}

.map-open {
    display: inline-block;
    margin-top: 0.5rem;
}

.modal-body h2 {
    margin-top: 0;
    font-size: 1.8rem;
    line-height: 1.05;
}
.modal-header-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.modal-header-row .modal-subtitle {
    margin-top: 0.2rem;
}

.modal-subtitle {
    font-style: italic;
    color: #666;
    margin-top: 6px;
}

.modal-desc {
    line-height: 1.65;
    max-width: 60ch;
    overflow: hidden;
    white-space: pre-line;
    transition: max-height .25s ease, opacity .25s ease;
    max-height: 8.6rem;
    position: relative;
}

.modal-desc.expanded {
    max-height: none;
    overflow: visible;
}

.read-more-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    box-shadow: none;
    transition: transform .12s ease, box-shadow .12s ease;
    z-index: 3;
}

.dest-modal .modal-body .read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(26, 188, 156, 0.1);
    color: var(--accent);
    border: 1px solid rgba(26, 188, 156, 0.28);
    box-shadow: 0 6px 16px rgba(26, 188, 156, 0.08);
    margin-top: 0.75rem;
    margin-bottom: 0.35rem;
}

.dest-modal .modal-body .read-more-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.read-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.06);
}

.section-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 0.8rem 0;
}

.modal-suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
    align-items: start;
}

.suggest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 0.25rem 0.25rem;
    transition: transform .18s ease, box-shadow .18s ease;
}

.suggest-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.suggest-item img {
    width: 100%;
    height: 140px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.suggest-item img {
    transition: transform .28s ease, filter .28s ease;
}

.suggest-item:hover img {
    transform: scale(1.06);
}

.popup-content {
    overflow-y: auto;
    max-height: 90vh;
}

.destination-description {
    line-height: 1.8;
    max-width: 95%;
}

.suggest-caption {
    display: block;
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    text-align: center;
}

body.modal-open .page-hero,
body.modal-open .blog-main,
body.modal-open footer,
body.modal-open nav {
    filter: blur(6px);
    pointer-events: none;
}

@media (max-width:800px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .suggest-item {
        width: 60px;
    }

    .modal-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Animations */
.dest-modal {
    opacity: 0;
    transition: opacity .22s ease;
}

.dest-modal.open {
    opacity: 1;
}

.dest-modal .modal-card {
    transform: translateY(8px) scale(.995);
    transition: transform .25s cubic-bezier(.2, .9, .3, 1);
}

.dest-modal.open .modal-card {
    transform: translateY(0) scale(1);
}

@media (max-width:800px) {
    .modal-body h2 {
        font-size: 1.4rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.nav-theme-toggle,
.navbar .nav-theme-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-theme-toggle:focus {
    outline: 2px solid rgba(26, 188, 156, 0.12);
}

body.dark-mode {
    background: linear-gradient(180deg, #07121a 0%, #0b1a22 100%);
    color: #eaf6f0;
}

body.dark-mode .booking-flash {
    background: linear-gradient(180deg, #072a1b 0%, #063020 100%);
    color: #dff8ea;
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #17a286 100%);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.28s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(26, 188, 156, 0.16);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--ink-soft);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26, 18, 8, 0.3);
}

/* ── BOOKING PAGE (refined/fancier) ── */

.booking-page {
    width: 100%;
    max-width: 940px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

.booking-page h1 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--ink);
}

.booking-form {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 246, 242, 0.98) 100%),
        var(--ivory);
    border: 1px solid rgba(212, 162, 76, 0.18);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(16, 24, 40, 0.10);
    backdrop-filter: blur(6px);
}

.booking-form::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--terra) 0%, var(--terra-dark) 50%, var(--ocean) 100%);
}

.booking-form::after {
    content: '';
    position: absolute;
    top: -90px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.18) 0%, rgba(212, 162, 76, 0) 68%);
    pointer-events: none;
}

.form-field {
    display: flex;
    flex-direction: column;
}

[hidden] {
    display: none !important;
}

.form-full {
    grid-column: 1 / -1;
}

.form-half {
    grid-column: span 1;
}

.trip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 22px;
    grid-column: 1 / -1;
}

.booking-form .form-field,
.booking-form .trip-row,
.booking-form .form-actions {
    position: relative;
    z-index: 1;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.86rem;
}

.booking-form label {
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--ink-soft);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--ivory-deep);
    border-radius: 12px;
    font: inherit;
    background: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, background 0.18s ease;
}

.booking-form button {
    background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 52%, var(--gold) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 700;
    padding: 11px 14px;
    min-height: 44px;
    border-radius: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, filter 0.18s ease;
}

.booking-form button:hover {
    background: linear-gradient(135deg, #BE8C32 0%, #A97824 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(182, 138, 50, 0.20);
    filter: saturate(1.02);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--terra);
    box-shadow: 0 0 0 6px rgba(212, 162, 76, 0.10);
}

.booking-success {
    display: none;
    margin-top: 12px;
}

.booking-success-box {
    background: linear-gradient(180deg, #f0fff4, #e6fff0);
    border: 1px solid rgba(34, 139, 34, 0.12);
    color: #064e2a;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(12, 40, 20, 0.06);
    font-weight: 600;
}

html[data-theme="dark"] .booking-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 246, 242, 0.98) 100%), #F5F1E8 !important;
    border: 1px solid rgba(212, 162, 76, 0.18) !important;
    box-shadow: 0 26px 60px rgba(16, 24, 40, 0.10) !important;
    color: #1F2937 !important;
    backdrop-filter: blur(6px) !important;
}

html[data-theme="dark"] .booking-form::before {
    background: linear-gradient(90deg, #D4A24C 0%, #C89B3C 50%, #1F2937 100%) !important;
}

html[data-theme="dark"] .booking-form::after {
    background: radial-gradient(circle, rgba(212, 162, 76, 0.18) 0%, rgba(212, 162, 76, 0) 68%) !important;
}

html[data-theme="dark"] .booking-form label {
    color: #374151 !important;
}

html[data-theme="dark"] .booking-form input,
html[data-theme="dark"] .booking-form select,
html[data-theme="dark"] .booking-form textarea {
    background: #F5F1E8 !important;
    border: 1px solid #E6D3B8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    color: #1F2937 !important;
}

html[data-theme="dark"] .booking-form button {
    background: linear-gradient(135deg, #D4A24C 0%, #C89B3C 52%, #D4A24C 100%) !important;
    color: #F5F1E8 !important;
}

html[data-theme="dark"] .booking-form button:hover {
    background: linear-gradient(135deg, #BE8C32 0%, #A97824 100%) !important;
}

html[data-theme="dark"] .booking-modal-box .booking-title,
html[data-theme="dark"] .booking-page h1 {
    color: #1F2937 !important;
}

.booking-success-desc {
    font-weight: 400;
    margin-top: 6px;
    color: rgba(6, 78, 42, 0.9);
}

button {
    background: linear-gradient(90deg, var(--terra) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
    min-height: 44px;
    border-radius: 10px;
    letter-spacing: 0.04em;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 18, 8, 0.08);
}

.phone-group {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.phone-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-right: none;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    font-weight: 700;
    color: #344054;
    box-sizing: border-box;
}

.phone-group input {
    flex: 1;
    border-radius: 0 14px 14px 0;
    margin-bottom: 0;
}

.form-message {
    display: none;
    margin: 0;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-message.is-success {
    display: block;
    background: #e8f7ee;
    color: #176b3a;
    border: 1px solid #b7e1c2;
}

.form-message.is-error {
    display: block;
    background: #fdecec;
    color: #9a1f1f;
    border: 1px solid #f3b3b3;
}

/* Home page booking success banner */

.booking-flash {
    position: sticky;
    top: 84px;
    z-index: 999;
    margin: 0 auto;
    width: calc(100% - 2rem);
    max-width: 1400px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f0fff4 0%, #e5f8ea 100%);
    border: 1px solid rgba(34, 139, 34, 0.15);
    color: #0f5132;
    box-shadow: 0 14px 30px rgba(15, 81, 50, 0.12);
    display: none;
    align-items: center;
    gap: 12px;
}

.booking-flash strong {
    display: inline-block;
    margin-right: 4px;
}

.booking-flash span {
    color: rgba(15, 81, 50, 0.9);
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booking-flash.is-visible {
    display: flex;
}

.is-invalid {
    border-color: #d93025 !important;
    background: #fff5f5;
}

button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.whatsapp-fab {
    position: fixed;
    right: clamp(1rem, 2.2vw, 1.5rem);
    bottom: clamp(1rem, 2.2vw, 1.5rem);
    z-index: 9999;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #25d366 0%, #1ea952 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
    cursor: pointer;
    border: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    position: fixed;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.whatsapp-fab i {
    font-size: 1.6rem;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.28);
    filter: brightness(1.03);
}

:root[data-theme="dark"] .whatsapp-fab {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

@media (max-width: 640px) {
    .whatsapp-fab {
        right: 0.9rem;
        bottom: 0.9rem;
        width: 3.15rem;
        height: 3.15rem;
    }
}

.reviews-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.reviews-rate-btn {
    min-width: 180px;
    justify-content: center;
}

.srilanka-intro .sl-text .btn-primary,
.destinations .section-header .btn-dark,
.packages-section .section-header .btn-dark {
    min-width: 180px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

.destinations .section-header .btn-dark,
.packages-section .section-header .btn-dark {
    background: linear-gradient(135deg, var(--accent) 0%, #17a286 100%);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.28s ease;
}

.destinations .section-header .btn-dark:hover,
.packages-section .section-header .btn-dark:hover,
.srilanka-intro .sl-text .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(26, 188, 156, 0.16);
}

.booking-form .form-actions {
    margin-top: 4px;
}

.booking-form textarea {
    resize: vertical;
    min-height: 150px;
}

@media (max-width: 900px) {
    .booking-form {
        grid-template-columns: 1fr;
        padding: 22px;
        border-radius: 18px;
    }

    .trip-row {
        grid-template-columns: 1fr;
    }

    .form-half,
    .form-full {
        grid-column: 1 / -1;
    }

    body {
        padding: 16px;
    }
}

/* booking from modal*/

.booking-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.booking-modal.open {
    display: flex;
}

.booking-modal-box .booking-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: var(--ink);
    font-weight: 700;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 18, 28, 0.72);
    backdrop-filter: blur(8px);
}

.booking-modal-box {
    position: relative;
    width: 920px;
    max-width: calc(100% - 3rem);
    max-height: calc(100% - 4rem);
    overflow: auto;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 242, 0.98) 100%), var(--white);
    padding: 1.35rem 1.35rem 2rem;
    border: 1px solid rgba(212, 162, 76, 0.20);
    box-shadow: 0 34px 90px rgba(9, 14, 24, 0.48);
    z-index: 2;
}

.booking-modal-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(212, 162, 76, 0.10), rgba(212, 162, 76, 0) 45%);
}

.booking-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(31, 41, 55, 0.06);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--ink);
    transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.booking-modal-close:hover {
    background: rgba(212, 162, 76, 0.14);
    color: var(--terra-dark);
    transform: rotate(8deg);
}

@media (max-width: 900px) {
    .booking-modal-box {
        width: calc(100% - 2rem);
        padding: 1rem;
    }
}

/*nav bar*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: all var(--transition);
}

.home .navbar.scrolled,
body.home .navbar.scrolled {
    background: rgba(253, 250, 246, 0.97);
    backdrop-filter: blur(16px);
    transition: transform 0.28s ease, filter 0.28s ease;
}

/* Transparent / overlay navbar when overlapping hero - softened with blur */
.home .navbar.transparent,
body.home .navbar.transparent {
    background: blur(10px) rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.28s ease, backdrop-filter 0.28s ease, border-color 0.28s ease;
}

.home .navbar.transparent .nav-link,
body.home .navbar.transparent .nav-link,
.home .navbar.transparent .nav-logo span,
body.home .navbar.transparent .nav-logo span,
.home .navbar.transparent .nav-cta,
body.home .navbar.transparent .nav-cta {
    color: var(--ocean) !important;
}

.home .navbar.transparent .nav-toggle span,
body.home .navbar.transparent .nav-toggle span {
    background: var(--ocean) !important;
}

/* Non-home pages: ensure navbar has no blur and stays transparent until scrolled */
body:not(.home) .navbar,
body:not(.home) .navbar.transparent,
body:not(.home) .navbar.scrolled {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

body:not(.home) .navbar.transparent {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.28s ease, border-color 0.28s ease;
}

body:not(.home) .navbar.transparent .nav-link,
body:not(.home) .navbar.transparent .nav-logo span,
body:not(.home) .navbar.transparent .nav-cta {
    color: var(--ocean) !important;
}

/* Non-home scrolled navbar: solid background but no blur */
body:not(.home) .navbar.scrolled {
    background: rgba(253, 250, 246, 0.97);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: transform 0.28s ease, filter 0.28s ease;
}

/* Ensure header logo keeps consistent height when navbar becomes scrolled */
.navbar.scrolled .nav-logo img {
    height: var(--nav-h);
    width: auto;
    max-height: var(--nav-h);
}

/* Keep all navbar logos consistent with `logo_2` sizing */
.nav-logo img {
    height: var(--nav-h);
    width: auto;
    max-height: var(--nav-h);
    object-fit: contain;
    display: block;
}

@media (max-width: 900px) {
    .nav-logo img {
        height: var(--nav-h);
        max-height: var(--nav-h);
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: var(--nav-h);
        max-height: var(--nav-h);
    }
}

/* scrolled dark mode clrs */

/* 1. Force the scrolled state to retain its light background in dark mode */
.navbar.scrolled,
html[data-theme="dark"] .navbar.scrolled {
    background: rgba(253, 250, 246, 0.97) !important;
    box-shadow: 0 4px 20px rgba(26, 18, 8, 0.06) !important;
}

/* 2. Force text links to remain dark and readable on scrolled background */
.navbar.scrolled .nav-link,
html[data-theme="dark"] .navbar.scrolled .nav-link {
    color: #1F2937 !important; /* Fixed dark gray */
}

/* 3. Handle active/hover styles uniformly */
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
html[data-theme="dark"] .navbar.scrolled .nav-link:hover,
html[data-theme="dark"] .navbar.scrolled .nav-link.active {
    color: #D4A24C !important; /* Gold accent color */
}

/* 4. Correct the theme toggle button styles so it doesn't shift or hide */
.navbar.scrolled .nav-theme-toggle,
html[data-theme="dark"] .navbar.scrolled .nav-theme-toggle {
    color: #1F2937 !important;
    background: transparent !important;
    border: none !important;
}

/* 5. Force the Book Now button to remain dark-styled when scrolled */
.navbar.scrolled .nav-cta,
html[data-theme="dark"] .navbar.scrolled .nav-cta {
    background: #1F2937 !important;
    color: #F5F1E8 !important;
    border-color: #1F2937 !important;
}

.navbar.scrolled .nav-cta:hover,
html[data-theme="dark"] .navbar.scrolled .nav-cta:hover {
    background: #D4A24C !important;
    border-color: #D4A24C !important;
    color: #F5F1E8 !important;
}

/* 6. Prevent mobile layout background mismatch on scroll toggle */
@media (max-width: 768px) {
    .nav-links.open {
        background: var(--white) !important;
    }
    .nav-links.open .nav-link {
        color: var(--ink) !important;
    }
    .nav-links.open .nav-link.active {
        color: var(--terra) !important;
    }
    .nav-links.open .nav-cta {
        border-color: var(--terra) !important;
        color: var(--terra) !important;
        background: transparent !important;
    }
}

/* ── CTA BANNER ── */

.cta-banner {

    position: relative;

    padding: 7rem 0;

    overflow: hidden;

    background: linear-gradient(130deg, #0f766e 0%, #169b8a 52%, #35b8a1 100%);

    border-bottom: 1px solid rgba(13, 33, 34, 0.35);

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    border-radius: 8px;

}



.cta-banner .container {

    position: relative;

    z-index: 2;

}



.cta-layout {

    display: grid;

    grid-template-columns: 1fr 320px;

    gap: 4rem;

    align-items: center;

}



/* Text side */

.cta-text .section-label {

    color: var(--accent);

}



.cta-text h2 {

    font-size: clamp(2rem, 4vw, 3.2rem);

    color: var(--white);

    margin-bottom: 1rem;

    line-height: 1.12;

}



.cta-text h2 em {

    font-family: var(--font-serif);

    font-style: italic;

    color: var(--accent);

}



.cta-text p {

    font-size: 1rem;

    color: rgba(255, 255, 255, 0.72);

    max-width: 460px;

    line-height: 1.75;

    margin-bottom: 2.5rem;

}



.cta-btns {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}



/* Video thumbnail */

.cta-video-thumb {

    position: relative;

    border-radius: 10px;

    overflow: hidden;

    cursor: pointer;

    background: var(--ink);

}



.cta-video-thumb img {

    width: 100%;

    height: 190px;

    object-fit: cover;

    opacity: 0.75;

    display: block;

    transition: transform 0.5s var(--transition), opacity 0.4s ease;

}



.cta-video-thumb:hover img {

    transform: scale(1.05);

    opacity: 0.55;

}



.cta-play-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 0.75rem;

}



.cta-play-btn {

    width: 60px;

    height: 60px;

    background: rgba(255, 255, 255, 0.15);

    border: 2px solid rgba(255, 255, 255, 0.7);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 1.1rem;

    padding-left: 3px;

    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;

}



.cta-video-thumb:hover .cta-play-btn {

    background: var(--terra);

    border-color: var(--terra);

    transform: scale(1.1);

}



.cta-play-label {

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.85);

}



/* Video Modal */

.cta-video-modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.88);

    z-index: 9999;

    align-items: center;

    justify-content: center;

}



.cta-video-modal.open {

    display: flex;

}



.cta-modal-box {

    position: relative;

    width: 860px;

    max-width: 94vw;

    background: #000;

    border-radius: 10px;

    overflow: hidden;

}



.cta-modal-box iframe {

    display: block;

    width: 100%;

    height: 484px;

    border: none;

}



.cta-modal-close {

    position: absolute;

    top: 12px;

    right: 14px;

    width: 34px;

    height: 34px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    color: var(--white);

    font-size: 0.9rem;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 5;

    transition: background 0.25s ease;

}



.cta-modal-close:hover {

    background: rgba(255, 255, 255, 0.28);

}



/* Responsive */

@media (max-width: 900px) {

    .cta-layout {

        grid-template-columns: 1fr;

    }



    .cta-video-thumb img {

        height: 240px;

    }



    .cta-modal-box iframe {

        height: 56vw;

    }

}



@media (max-width: 600px) {

    .cta-btns {

        flex-direction: column;

    }



    .cta-btns .btn {

        text-align: center;

        justify-content: center;

    }

}



/* ── WHY  SECTION ── */

.why-header {

    max-width: 100%;

    margin-bottom: 2.5rem;

}



.why-intro {

    font-size: 0.92rem;

    color: var(--mist);

    line-height: 1.8;

    margin-top: 0.75rem;

}



@media (min-width: 900px) {

    .why-intro {

        white-space: nowrap;

    }

}



.values-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1rem;

}



.value-card {

    background: var(--white);

    border: 1px solid var(--sand-deep);

    border-radius: 10px;

    padding: 1.15rem 1rem 1rem;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    transition: border-color 0.25s ease, background 0.25s ease;

}



.value-card::before {

    /* remove the colored top accent */

    display: none;

}



.value-card.open {

    /* keep open state visually identical to default */

    border-color: transparent;

    background: var(--white);

    transform: none;

    box-shadow: none;

}



.val-num {

    position: absolute;

    top: 1rem;

    right: 1.1rem;

    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.05em;

    color: var(--sand-deep);

}



/* hide the original numeric badges */

.val-num {

    display: none;

}



.val-icon {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--icon-bg);

    margin: 0 auto 1rem;

    /* center horizontally */

}



.val-icon i,

.val-icon svg {

    font-size: 1rem;

    color: var(--icon-color, #D4A24C) !important;

    transform: none;

}



/* Active (highlighted) card styles */

.value-card.active {

    /* Active card should match the default card appearance to avoid visual inconsistency */

    transform: none;

    box-shadow: none;

    background: var(--white);

    border-color: var(--sand-deep);

}



/* Hover and focus styles to match CTA hover aesthetic */

.value-card:hover,

.value-card:focus-visible {

    transform: translateY(-6px);

    box-shadow: 0 24px 54px rgba(26, 18, 8, 0.08);

    border-color: var(--terra);

    background: var(--ivory);

}



.value-card:focus-visible {

    outline: 3px solid rgba(22, 155, 132, 0.12);

}



.value-card.active::before {

    /* no colored bar for active state */

    display: none;

}



.value-card h3 {

    font-family: var(--font-sans);

    font-size: 0.92rem;

    font-weight: 600;

    color: var(--ink);

    margin-bottom: 0;

    line-height: 1.35;

}



/* center the title on a single line */

.value-card h3 {

    text-align: center;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.value-card p {

    font-size: 0.82rem;

    color: var(--mist);

    line-height: 1.65;

    margin: 0;

    max-height: none;

    overflow: visible;

    opacity: 1;

}



.values-cta {

    margin-top: 2.5rem;

    display: flex;

    justify-content: center;

    align-items: center;

}



/* Ensure the centered Explore button has the same hover lift and shadow as Rate Us */

.values-cta .btn-primary,

.values-cta .btn {

    transition: all 0.28s ease;

}



.values-cta .btn-primary:hover,

.values-cta .btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 18px 40px rgba(26, 188, 156, 0.16);

}



@media (max-width: 640px) {

    .values-grid {

        grid-template-columns: 1fr 1fr;

    }

}



@media (max-width: 400px) {

    .values-grid {

        grid-template-columns: 1fr;

    }

}



.navbar.scrolled .nav-logo,

.navbar.scrolled .nav-link {

    color: var(--ink);

}



.navbar.scrolled .nav-logo span {

    color: var(--terra);

}



.navbar.scrolled .nav-cta {

    background: var(--terra);

    color: var(--white);

    border-color: var(--terra);

}



.nav-inner {

    width: 100%;

    max-width: none;

    margin: 0;

    padding: 0 2rem;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.nav-logo {

    font-family: var(--font-display);

    font-size: 1.55rem;

    font-weight: 700;

    color: var(--white);

    letter-spacing: -0.02em;

    transition: color var(--transition);

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

}



.nav-logo span {

    color: var(--accent);

}



.nav-logo img {

    display: block;

    height: var(--nav-h);

    width: auto;

    max-height: var(--nav-h);

    max-width: 320px;

    object-fit: contain;

}



@media (max-width: 900px) {

    .nav-logo img {

        height: calc(var(--nav-h) - 8px);

        max-width: 260px;

    }

}



@media (max-width: 480px) {

    .nav-logo img {

        height: calc(var(--nav-h) - 18px);

        max-width: 180px;

    }

}



/* Slightly reduce `logo_1` image size across all navbars */

.nav-logo img[src*="logo_1"] {

    height: calc(var(--nav-h) * 0.82);

    max-height: calc(var(--nav-h) * 0.82);

}



@media (max-width: 900px) {

    .nav-logo img[src*="logo_1"] {

        height: calc((var(--nav-h) - 8px) * 0.82);

        max-width: 240px;

    }

}



@media (max-width: 480px) {

    .nav-logo img[src*="logo_1"] {

        height: calc((var(--nav-h) - 18px) * 0.82);

        max-width: 160px;

    }

}



/* Footer brand logo sizing */

.footer-logo img,

.footer-logo-img {

    width: 220px;

    height: auto;

}



/* Improve hero text readability over busy images */

.hero h1,

.hero h1 em {

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);

}



.nav-links {

    display: flex;

    align-items: center;

    gap: 0.25rem;

    margin-left: auto;

}



.nav-link {

    font-size: 0.85rem;

    font-weight: 500;

    color: rgba(255, 255, 255, 0.85);

    padding: 0.5rem 0.85rem;

    border-radius: 2px;

    transition: all 0.25s ease;

    letter-spacing: 0.02em;

}



.nav-link:hover,

.nav-link.active {

    color: var(--white);

}



.navbar:not(.scrolled) .nav-link:hover {

    background: rgba(255, 255, 255, 0.1);

}



.navbar.scrolled .nav-link:hover {

    color: var(--terra);

}



.navbar.scrolled .nav-link.active {

    color: var(--terra);

}



.nav-cta {

    font-size: 0.82rem;

    font-weight: 600;

    padding: 0.6rem 1.4rem;

    border: 1.5px solid rgba(255, 255, 255, 0.6);

    border-radius: 2px;

    color: var(--white);

    background: transparent;

    margin-left: 0.5rem;

    transition: all var(--transition);

    letter-spacing: 0.04em;

}



.nav-cta:hover {

    background: rgba(255, 255, 255, 0.15);

    border-color: var(--white);

}



/* Hamburger */

.nav-toggle {

    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    padding: 4px;

}



.nav-toggle span {

    display: block;

    width: 24px;

    height: 2px;

    background: var(--white);

    border-radius: 2px;

    transition: all 0.3s ease;

}



.navbar.scrolled .nav-toggle span {

    background: var(--ink);

}



/* ── FOOTER ── */

footer {

    background: var(--ink);

    color: rgba(255, 255, 255, 0.65);

    padding: 3.5rem 0 1.5rem;

}



.footer-grid {

    display: grid;

    grid-template-columns: 1.8fr 1fr 1fr 1fr;

    gap: 2.25rem;

    margin-bottom: 2.5rem;

}



/* vertically align footer columns with the brand/logo */

.footer-grid {

    align-items: center;

}



.footer-brand .footer-logo {

    font-family: var(--font-display);

    font-size: 1.6rem;

    color: var(--white);

    font-weight: 700;

    margin-bottom: 0.75rem;

}



/* ensure logo area has consistent vertical rhythm */

.footer-brand {

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.footer-brand .footer-logo span {

    color: var(--accent);

}



.footer-brand p {

    font-size: 0.88rem;

    line-height: 1.8;

    max-width: 280px;

    margin-bottom: 1rem;

}



.social-links {

    display: flex;

    gap: 0.75rem;

}



.social-links a {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;

    align-items: center;

    justify-content: center;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.82rem;

    transition: background 0.25s ease, border-color 0.25s ease,

        color 0.25s ease, transform 0.25s ease;

    text-decoration: none;

}



.social-links a:hover {

    border-color: transparent;

    color: #fff;

    transform: translateY(-3px);

}



.social-links .social-fb:hover {

    background: #1877F2;

}



.social-links .social-tw:hover {

    background: #1DA1F2;

}



.social-links .social-x:hover {

    background: #000000;

}



.social-links .social-ig:hover {

    background: #E1306C;

}



.social-links .social-li:hover {

    background: #0A66C2;

}



.social-links .social-yt:hover {

    background: #FF0000;

}



.footer-col h4 {

    font-family: var(--font-sans);

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--white);

    margin-bottom: 0.95rem;

}



/* ── Footer contact list spacing ── */

footer .footer-col ul li {

    display: flex;

    align-items: flex-start;

    gap: 0;

    margin-bottom: 0.55rem;

    font-size: 0.84rem;

    color: rgba(255, 255, 255, 0.5);

    line-height: 1.6;

}



footer .footer-col ul a {

    color: rgba(255, 255, 255, 0.5);

    transition: color 0.25s ease;

}



footer .footer-col ul a:hover {

    color: var(--green);

}



.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding-top: 1.25rem;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.8rem;

}



/* Blog filter visibility managed via markup/JS — temporary hide removed. */



/* ── HERO ── */

.hero {

    position: relative;

    height: 100vh;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

}



.hero::after {

    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg,

            rgba(26, 18, 8, 0.72) 0%,

            rgba(26, 18, 8, 0.35) 60%,

            rgba(26, 18, 8, 0.15) 100%);

    z-index: 1;

    pointer-events: none;

}



.hero-bg {

    position: absolute;

    inset: 0;

    /* background removed so JS controls the slideshow images (prevents brief CSS flash) */

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    z-index: 0;

    opacity: 1;

    transition: opacity 2.6s linear, transform 0.45s ease, filter 0.45s ease;

    will-change: opacity, transform, filter;

}



.hero-bg-next {

    opacity: 0;

}



.hero-content {

    position: relative;

    z-index: 2;

    max-width: 1240px;

    margin: 0 auto 0 0;

    /* left-align hero content (left margin 0, right auto) */

    padding: 0 2rem;

    padding-top: var(--nav-h);

    text-align: left;

    opacity: 0;

    transform: translateY(40px);

    transition: all 0.8s ease;

}



.hero-content.show {

    opacity: 1;

    transform: translateY(0);

}



.hero:hover .hero-bg {

    transform: scale(1.04);

    filter: saturate(1.05) brightness(1.03);

}



@media (max-width: 900px) {



    /* On small screens, center content for better layout */

    .hero-content {

        margin: 0 auto;

        text-align: center;

    }

}



.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 100px;

    padding: 0.45rem 1rem;

    font-size: 0.78rem;

    font-weight: 500;

    color: var(--white);

    letter-spacing: 0.06em;

    text-transform: uppercase;

    margin-bottom: 1.75rem;

    animation: fadeUp 0.8s 0.2s both;

}



.hero-tag::before {

    content: '';

    width: 6px;

    height: 6px;

    background: var(--accent);

    border-radius: 50%;

}



.hero h1 {

    font-size: clamp(3rem, 7vw, 6rem);

    color: var(--white);

    line-height: 1.05;

    font-weight: 700;

    margin-bottom: 1.5rem;

    animation: fadeUp 0.8s 0.35s both;

}



.hero h1 em {

    font-style: italic;

    font-family: var(--font-serif);

    color: var(--accent);

    font-weight: 300;

}



.hero-sub {

    font-size: 1.05rem;

    color: rgba(255, 255, 255, 0.78);

    max-width: 520px;

    margin-bottom: 2.5rem;

    line-height: 1.75;

    animation: fadeUp 0.8s 0.5s both;

}



.hero-btns {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

    animation: fadeUp 0.8s 0.65s both;

}



.hero-stats {

    display: flex;

    gap: 2.5rem;

}



.hero .hero-stats {

    position: absolute;

    bottom: 3rem;

    right: 2rem;

    z-index: 2;

    animation: fadeUp 0.8s 0.8s both;

}



.stat {

    text-align: center;

}



.stat-num {

    font-family: var(--font-display);

    font-size: 2rem;

    font-weight: 700;

    color: var(--white);

    line-height: 1;

}



.stat-label {

    font-size: 0.72rem;

    color: rgba(255, 255, 255, 0.6);

    letter-spacing: 0.1em;

    text-transform: uppercase;

    margin-top: 0.25rem;

}



.scroll-indicator {

    position: absolute;

    bottom: 2.5rem;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0.4rem;

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.7rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    z-index: 2;

    animation: fadeUp 1s 1s both;

}



.scroll-indicator .line {

    width: 1px;

    height: 40px;

    background: rgba(255, 255, 255, 0.3);

    animation: scrollLine 1.8s ease-in-out infinite;

}



/* ── SEARCH BAR ── */

.search-bar-section {

    background: transparent;

    padding: 0 0 2rem;

    position: relative;

    z-index: 10;

    margin-top: -88px;

}



.search-card {

    background: var(--white);

    box-shadow: 0 20px 60px rgba(26, 18, 8, 0.12);

    border-radius: 8px;

    padding: 2rem;

    margin: 0 auto 0;

    max-width: 900px;

    position: relative;

    z-index: 10;

}



.search-card h3 {

    font-family: var(--font-sans);

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--terra);

    margin-bottom: 1.25rem;

}



.search-fields {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr auto;

    gap: 1rem;

    align-items: end;

}



.search-field label {

    display: block;

    font-size: 0.75rem;

    font-weight: 600;

    color: var(--mist);

    letter-spacing: 0.08em;

    text-transform: uppercase;

    margin-bottom: 0.5rem;

}



.search-field input,

.search-field select {

    width: 100%;

    padding: 0.85rem 1rem;

    border: 1.5px solid var(--sand-deep);

    border-radius: var(--radius);

    font-family: var(--font-sans);

    font-size: 0.92rem;

    color: var(--ink);

    background: var(--white);

    transition: border-color 0.25s ease;

    outline: none;

}



.search-field input:focus,

.search-field select:focus {

    border-color: var(--terra);

}



/* ── PAGE HERO (inner pages) ── */

.page-hero {

    height: 520px;

    min-height: 560px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

}



.page-hero.page-hero-fixed {

    height: 560px;

    min-height: 560px;

}



.page-hero-bg {

    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;

    transition: transform 0.45s ease, filter 0.45s ease;

    will-change: transform, filter;

}



.page-hero-bg::after {

    content: '';

    position: absolute;

    inset: 0;

    background: rgba(26, 18, 8, 0.55);

}



.page-hero-content {

    position: relative;

    z-index: 2;

    padding-top: var(--nav-h);

    opacity: 0;

    /* shift slightly left for better visual alignment on inner pages */

    transform: translateY(60px) translateX(-6vw);

    transition: all 0.8s ease;

}



.page-hero-content.show {

    opacity: 1;

    transform: translateY(0) translateX(-3vw);

}



@media (max-width: 900px) {



    /* remove horizontal offset on smaller screens so content remains centered */

    .page-hero-content {

        transform: translateY(40px) translateX(0) !important;

    }



    .page-hero-content.show {

        transform: translateY(0) translateX(0) !important;

    }

}



/* page_hero */

.page-hero-content.boxed {

    position: absolute;

    top: 0;

    left: 0;

    width: 350px;

    /* exact bounding box width */

    height: 250px;

    /* exact bounding box height */

    box-sizing: border-box;

    padding: 16px 18px;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: flex-start;

    overflow: hidden;

    /* prevent overflow outside the box */

}



.page-hero-content.boxed .section-label {

    font-size: 0.68rem;

    /* reduced to fit */

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--accent);

    margin-bottom: 8px;

}



.page-hero-content.boxed h1 {

    font-family: var(--font-display);

    font-size: 22px;

    /* tuned to fit 350x250 box */

    line-height: 1.05;

    margin: 0 0 8px 0;

    color: var(--white);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    /* prevent wrapping/overflow */

}



.page-hero-content.boxed .breadcrumb {

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.88);

    margin-top: auto;

    /* push breadcrumb to bottom of the boxed area */

}



/* Ensure the entrance animation does not move the box outside the target area */

.page-hero-content.boxed.show {

    opacity: 1;

    transform: translateY(0);

}



@media (max-width: 900px) {



    /* on smaller screens the boxed layout falls back to relative centering */

    .page-hero-content.boxed {

        position: relative;

        width: 100%;

        height: auto;

        padding: 1.25rem 1rem;

    }



    .page-hero-content.boxed h1 {

        white-space: normal;

        font-size: clamp(1.25rem, 4vw, 1.6rem);

    }

}



.page-hero:hover .page-hero-bg {

    transform: scale(1.04);

    filter: saturate(1.05) brightness(1.03);

}



.page-hero h1 {

    color: var(--white);

    font-size: clamp(2.5rem, 5vw, 4rem);

    margin-bottom: 0.75rem;

}



.breadcrumb {

    font-size: 0.82rem;

    color: rgba(255, 255, 255, 0.65);

}



.breadcrumb a {

    color: var(--accent);

}



.breadcrumb a:hover {

    text-decoration: underline;

}



/* ── BLOG SECTION ── */

.destinations {

    padding: 6rem 0;

    background: var(--white);

}



.section-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 3rem;

}



.dest-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-template-rows: auto auto;

    gap: 1.25rem;

}



.dest-card {

    position: relative;

    border-radius: 6px;

    overflow: hidden;

    cursor: pointer;

    background: var(--ink);

}



.dest-card.large {

    grid-column: span 2;

    grid-row: span 2;

}



.dest-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s var(--transition);

    opacity: 0.88;

}



/* Package Details Page Styles */

.detail-layout {

    padding: 5rem 0 6rem;

    background: var(--white);

}



.detail-grid {

    display: grid;

    grid-template-columns: 1fr 360px;

    gap: 3.5rem;

    align-items: flex-start;

}



/* Gallery */

.gallery-main {

    border-radius: 8px;

    overflow: hidden;

    height: 460px;

    margin-bottom: 1rem;

}



.gallery-main img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: opacity 0.4s ease;

}



.gallery-thumbs {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0.75rem;

}



.gallery-thumb {

    height: 90px;

    border-radius: 4px;

    overflow: hidden;

    cursor: pointer;

    opacity: 0.65;

    transition: opacity 0.25s ease, transform 0.25s ease;

    border: 2px solid transparent;

}



.gallery-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.gallery-thumb:hover,

.gallery-thumb.active {

    opacity: 1;

    border-color: var(--terra);

    transform: scale(1.02);

}



/* Detail content */

.detail-content {

    margin-top: 2.5rem;

}



.pkg-tags {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

    margin-bottom: 1rem;

}



.pkg-tag {

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    padding: 0.3rem 0.8rem;

    border-radius: 100px;

    border: 1px solid var(--sand-deep);

    color: var(--mist);

}



.detail-title {

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    margin-bottom: 0.75rem;

}



.detail-meta-row {

    display: flex;

    gap: 1.5rem;

    flex-wrap: wrap;

    margin-bottom: 1.5rem;

    padding-bottom: 1.5rem;

    border-bottom: 1px solid var(--sand-deep);

}



.dmr-item {

    display: flex;

    align-items: center;

    gap: 0.4rem;

    font-size: 0.88rem;

    color: var(--mist);

}



.dmr-item i {

    color: var(--terra);

}



.detail-content p {

    font-family: var(--font-serif);

    font-size: 1.05rem;

    line-height: 1.85;

    color: var(--ink-soft);

    margin-bottom: 1rem;

}



/* Includes / Excludes */

.inc-exc {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 2rem;

    margin: 2.5rem 0;

    padding: 2rem;

    background: var(--sand);

    border-radius: 8px;

}



.inc-exc h4 {

    font-family: var(--font-sans);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 1rem;

}



.inc-exc ul li {

    font-size: 0.88rem;

    color: var(--ink-soft);

    margin-bottom: 0.5rem;

    display: flex;

    align-items: flex-start;

    gap: 0.5rem;

    line-height: 1.5;

}



.inc-exc .inc-icon {

    color: #4a9c6e;

}



.inc-exc .exc-icon {

    color: #c85050;

}



/* Itinerary */

.itinerary {

    margin: 2.5rem 0;

}



.itinerary h3 {

    font-size: 1.5rem;

    margin-bottom: 1.5rem;

}



.itin-day {

    display: flex;

    gap: 1.25rem;

    margin-bottom: 1.25rem;

}



.itin-num {

    width: 44px;

    height: 44px;

    background: var(--terra);

    color: var(--white);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: var(--font-display);

    font-weight: 700;

    font-size: 0.95rem;

    flex-shrink: 0;

}



.itin-body h5 {

    font-family: var(--font-sans);

    font-size: 0.95rem;

    font-weight: 600;

    margin-bottom: 0.25rem;

    color: var(--ink);

}



.itin-body p {

    font-size: 0.85rem !important;

    color: var(--mist) !important;

    margin-bottom: 0 !important;

    font-family: var(--font-sans) !important;

}



/* Map */

.map-section {

    margin: 2.5rem 0;

}



.map-section h3 {

    font-size: 1.5rem;

    margin-bottom: 1rem;

}



.map-embed {

    border-radius: 8px;

    overflow: hidden;

    height: 320px;

    background: var(--sand-deep);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--mist);

    font-size: 0.9rem;

    border: 1px solid var(--sand-deep);

}



.map-embed iframe {

    width: 100%;

    height: 100%;

    border: none;

}



.package-cta {

    margin: 3rem 0 2.5rem;

    background: linear-gradient(90deg, rgba(31, 41, 55, 0.82), rgba(80, 94, 120, 0.78));

    border-radius: 8px;

    overflow: hidden;

}



.package-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1.5rem;

    padding: 1.5rem 2rem;

}



.package-cta h3 {

    color: #fff;

    font-family: var(--font-display);

    font-size: 1.55rem;

    font-weight: 700;

    margin-top: 0.4rem;

}



.package-cta .btn {

    white-space: nowrap;

}



.related-tours {

    margin: 0 0 1rem;

}



.related-header {

    margin-bottom: 1rem;

}



.related-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1rem;

}



.related-card {

    background: #eef2ff;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 8px 18px rgba(24, 32, 56, 0.08);

    transition: transform 0.22s ease, box-shadow 0.22s ease;

}



.related-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 28px rgba(24, 32, 56, 0.14);

}



.related-card img {

    width: 100%;

    height: 120px;

    object-fit: cover;

    display: block;

}



.related-card h4 {

    margin: 0.8rem 0 0.25rem;

    padding: 0 0.9rem;

    text-align: center;

    font-family: var(--font-serif);

    font-style: italic;

    font-size: 0.98rem;

    font-weight: 400;

}



.related-card span {

    display: block;

    padding: 0 0.9rem 0.95rem;

    text-align: center;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    color: #4f84d4;

}



/* Sidebar booking card */

.booking-sidebar {

    position: sticky;

    top: calc(var(--nav-h) + 2rem);

}



.booking-card {

    background: var(--white);

    border: 1px solid var(--sand-deep);

    border-radius: 10px;

    padding: 2rem;

    box-shadow: 0 12px 40px rgba(26, 18, 8, 0.08);

}



.booking-card .price-main {

    font-family: var(--font-display);

    font-size: 2.2rem;

    font-weight: 700;

    color: var(--terra);

    line-height: 1;

    margin-bottom: 0.25rem;

}



.booking-card .price-note {

    font-size: 0.8rem;

    color: var(--mist);

    margin-bottom: 1.5rem;

}



.booking-card .form-group {

    margin-bottom: 1rem;

}



.booking-card label {

    display: block;

    font-size: 0.75rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--mist);

    margin-bottom: 0.4rem;

}



.booking-card input,

.booking-card select {

    width: 100%;

    padding: 0.8rem 1rem;

    border: 1.5px solid var(--sand-deep);

    border-radius: 4px;

    font-family: var(--font-sans);

    font-size: 0.9rem;

    color: var(--ink);

    outline: none;

    transition: border-color 0.25s ease;

}



.booking-card input:focus,

.booking-card select:focus {

    border-color: var(--terra);

}



.booking-summary {

    background: var(--sand);

    border-radius: 6px;

    padding: 1rem;

    margin: 1rem 0;

    font-size: 0.84rem;

}



.booking-summary .sum-row {

    display: flex;

    justify-content: space-between;

    margin-bottom: 0.4rem;

    color: var(--mist);

}



.booking-summary .sum-total {

    display: flex;

    justify-content: space-between;

    font-weight: 600;

    color: var(--ink);

    border-top: 1px solid var(--sand-deep);

    padding-top: 0.5rem;

    margin-top: 0.5rem;

}



.booking-card .btn {

    width: 100%;

    justify-content: center;

    padding: 1rem;

    font-size: 0.92rem;

}



/* tighten booking form layout on small screens/modal */

@media (max-width: 900px) {

    .booking-form {

        padding: 14px;

        gap: 10px;

    }



    .booking-form .form-full {

        grid-column: 1 / -1;

    }



    .booking-page {

        max-width: 96%;

        margin: 1rem auto;

    }



    .package-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }



    .related-grid {

        grid-template-columns: 1fr;

    }

}



.trust-badges {

    display: flex;

    gap: 0.75rem;

    justify-content: center;

    margin-top: 1rem;

    flex-wrap: wrap;

}



.trust-badge {

    font-size: 0.72rem;

    color: var(--mist);

    display: flex;

    align-items: center;

    gap: 0.3rem;

}



.trust-badge i {

    color: var(--terra);

}



@media (max-width: 900px) {

    .detail-grid {

        grid-template-columns: 1fr;

    }



    .booking-sidebar {

        position: static;

    }



    .gallery-main {

        height: 300px;

    }



    .inc-exc {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

}





.dest-card.large img {

    min-height: 520px;

}



.dest-card:not(.large) img {

    min-height: 248px;

}



.dest-card:hover img {

    transform: scale(1.06);

    opacity: 0.75;

}



.dest-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(26, 18, 8, 0.85) 0%, transparent 55%);

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 1.75rem;

}



/* Ensure destination card overlay text is always readable (white)

   and appears bold on the homepage cards */

.dest-card .dest-overlay .dest-cat,

.dest-card .dest-overlay .dest-country,

.dest-card .dest-overlay .dest-name,

.dest-card .dest-overlay .dest-meta {

    color: var(--white) !important;

    font-weight: 700 !important;

}



.dest-country {

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--accent);

    margin-bottom: 0.3rem;

}



.dest-name {

    font-family: var(--font-display);

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--white);

    margin-bottom: 0.4rem;

}



.dest-card.large .dest-name {

    font-size: 2.2rem;



}



.dest-meta {

    font-size: 0.82rem;

    color: rgba(255, 255, 255, 0.8);

    font-weight: 700;

}



.dest-card .dest-arrow {

    position: absolute;

}



/* ── BLOG PAGE ── */

.blog-filter {

    background: var(--white);

    padding: 1.75rem 0;

    border-bottom: 1px solid var(--sand-deep);

    position: sticky;

    top: var(--nav-h);

    z-index: 50;

}



.blog-filter-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    flex-wrap: wrap;

}



.blog-cats {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

    margin: 0.85rem 0 1.75rem;

}



.blog-cat-btn {

    padding: 0.45rem 1.1rem;

    border-radius: 100px;

    border: 1.5px solid var(--sand-deep);

    background: transparent;

    font-family: var(--font-sans);

    font-size: 0.8rem;

    font-weight: 500;

    color: var(--ink-soft);

    cursor: pointer;

    transition: all 0.25s ease;

}



.blog-cat-btn:hover,

.blog-cat-btn.active {

    background: var(--terra);

    border-color: var(--terra);

    color: var(--white);

}



.blog-search-wrap {

    position: relative;

}



.blog-search-wrap input {

    padding: 0.55rem 1rem 0.55rem 2.4rem;

    border: 1.5px solid var(--sand-deep);

    border-radius: 100px;

    font-family: var(--font-sans);

    font-size: 0.84rem;

    color: var(--ink);

    background: var(--white);

    outline: none;

    width: 220px;

    transition: border-color 0.25s ease, width 0.35s ease;

}



.blog-search-wrap input:focus {

    border-color: var(--terra);

    width: 260px;

}



.blog-search-wrap i {

    position: absolute;

    left: 0.9rem;

    top: 50%;

    transform: translateY(-50%);

    color: var(--mist);

    font-size: 0.8rem;

    pointer-events: none;

}



.blog-main {

    padding: 5rem 0 7rem;

    background: var(--white);

}



.blog-layout {

    display: grid;

    grid-template-columns: 1fr;

    gap: 0;

    align-items: flex-start;

}



.featured-post {

    position: relative;

    border-radius: 10px;

    overflow: hidden;

    margin-bottom: 3.5rem;

    background: var(--ink);

    cursor: pointer;

}



.featured-post-img {

    height: auto;

    overflow: hidden;

}



.featured-post-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: 0.75;

    transition: transform 0.7s var(--transition), opacity 0.4s ease;

}



.featured-post:hover .featured-post-img img {

    transform: scale(1.04);

    opacity: 0.65;

}



.featured-post-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(26, 18, 8, 0.92) 0%, rgba(26, 18, 8, 0.2) 55%, transparent 100%);

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 2.75rem;

}



.featured-label {

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    background: var(--terra);

    color: var(--white);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    padding: 0.35rem 0.9rem;

    border-radius: 100px;

    margin-bottom: 1.1rem;

    width: fit-content;

}



.featured-post h2 {

    font-size: clamp(1.7rem, 3vw, 2.4rem);

    color: var(--white);

    margin-bottom: 0.75rem;

    line-height: 1.18;

}



.featured-post h2 em {

    font-family: var(--font-serif);

    font-style: italic;

    color: var(--accent);

}



.featured-post-meta {

    display: flex;

    align-items: center;

    gap: 1.25rem;

    flex-wrap: wrap;

    margin-bottom: 1.1rem;

}



.fpm-item {

    font-size: 0.8rem;

    color: rgba(255, 255, 255, 0.62);

    display: flex;

    align-items: center;

    gap: 0.35rem;

}



.fpm-item i {

    color: var(--accent);

}



.featured-post p {

    font-family: var(--font-serif);

    font-size: 1rem;

    color: rgba(255, 255, 255, 0.75);

    max-width: 600px;

    line-height: 1.75;

    margin-bottom: 1.5rem;

}



.read-more-btn {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    color: var(--white);

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 0.06em;

    border-bottom: 1.5px solid var(--accent);

    padding-bottom: 2px;

    transition: gap 0.25s ease, color 0.25s ease;

}



.read-more-btn:hover {

    color: var(--accent);

    gap: 0.9rem;

}



.featured-author {

    position: absolute;

    top: 1.75rem;

    right: 1.75rem;

    display: flex;

    align-items: center;

    gap: 0.6rem;

    background: rgba(253, 250, 246, 0.12);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 100px;

    padding: 0.4rem 0.9rem 0.4rem 0.4rem;

}



.featured-author img {

    width: 28px;

    height: 28px;

    border-radius: 50%;

    object-fit: cover;

}



.featured-author span {

    font-size: 0.75rem;

    font-weight: 500;

    color: var(--white);

}



.posts-grid-label {

    font-family: var(--font-sans);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;

    color: var(--terra);

    margin-bottom: 1.5rem;

    display: block;

}



.posts-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1.75rem;

}



.post-card {

    background: var(--white);

    border-radius: 8px;

    overflow: hidden;

    border: 1px solid var(--sand-deep);

    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition), border-color 0.3s ease;

    cursor: pointer;

}



.post-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 20px 50px rgba(26, 18, 8, 0.1);

    border-color: transparent;

}



.post-card-img {

    aspect-ratio: 16 / 9;

    height: auto;

    overflow: hidden;

    position: relative;

}



.post-card-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s var(--transition);

}



.post-card:hover .post-card-img img {

    transform: scale(1.07);

}



.post-cat-tag {

    position: absolute;

    top: 0.85rem;

    left: 0.85rem;

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    padding: 0.28rem 0.7rem;

    border-radius: 100px;

    color: var(--white);

}



.post-body {

    padding: 1.35rem 1.5rem 1.5rem;

}



.post-meta {

    display: flex;

    align-items: center;

    gap: 0.85rem;

    margin-bottom: 0.65rem;

}



.post-meta-item {

    font-size: 0.75rem;

    color: var(--mist);

    display: flex;

    align-items: center;

    gap: 0.3rem;

}



.post-meta-item i {

    font-size: 0.68rem;

    color: var(--terra);

}



.destination-location {

    color: var(--ink-soft);

    font-weight: 500;

}



.destination-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 0.4rem;

    margin-top: 0.25rem;

}



.destination-chip {

    display: inline-flex;

    align-items: center;

    padding: 0.25rem 0.65rem;

    border-radius: 100px;

    background: rgba(212, 162, 76, 0.12);

    border: 1px solid rgba(212, 162, 76, 0.18);

    color: var(--ink-soft);

    font-size: 0.68rem;

    font-weight: 600;

    letter-spacing: 0.04em;

}



.post-body h3 {

    font-size: 1.05rem;

    line-height: 1.3;

    margin-bottom: 0.6rem;

    transition: color 0.25s ease;

}



.post-card:hover .post-body h3 {

    color: var(--terra);

}



.post-body p {

    font-size: 0.84rem;

    color: var(--mist);

    line-height: 1.65;

    margin-bottom: 1.1rem;

    line-clamp: 2;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.post-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 0.85rem;

    border-top: 1px solid var(--sand-deep);

}



.post-author {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.post-author img {

    width: 28px;

    height: 28px;

    border-radius: 50%;

    object-fit: cover;

}



.post-author span {

    font-size: 0.78rem;

    font-weight: 500;

    color: var(--ink-soft);

}



.post-read-time {

    font-size: 0.72rem;

    color: var(--mist);

    display: flex;

    align-items: center;

    gap: 0.3rem;

}



.post-card.wide {

    grid-column: span 2;

    display: grid;

    grid-template-columns: 1.1fr 1fr;

}



.post-card.wide .post-card-img {

    height: 100%;

    min-height: 240px;

}



.post-card.wide .post-body {

    padding: 2rem;

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.post-card.wide .post-body h3 {

    font-size: 1.3rem;

}



.post-card.wide .post-body p {

    line-clamp: 3;

    -webkit-line-clamp: 3;

}



.load-more-wrap {

    text-align: center;

    margin-top: 3rem;

}



.load-more-btn {

    display: inline-flex;

    align-items: center;

    gap: 0.6rem;

    padding: 0.9rem 2.5rem;

    border: 1.5px solid var(--sand-deep);

    border-radius: 100px;

    font-family: var(--font-sans);

    font-size: 0.84rem;

    font-weight: 600;

    color: var(--ink-soft);

    background: transparent;

    cursor: pointer;

    transition: all 0.3s ease;

}



.load-more-btn:hover {

    background: var(--terra);

    border-color: var(--terra);

    color: var(--white);

}



.blog-sidebar {

    position: sticky;

    top: calc(var(--nav-h) + 5rem);

    display: flex;

    flex-direction: column;

    gap: 2rem;

}



.sidebar-widget {

    background: var(--white);

    border: 1px solid var(--sand-deep);

    border-radius: 10px;

    overflow: hidden;

}



.widget-header {

    padding: 1.1rem 1.5rem;

    border-bottom: 1px solid var(--sand-deep);

    font-family: var(--font-sans);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--ink);

}



.widget-body {

    padding: 1.25rem 1.5rem;

}



.about-widget-body {

    text-align: center;

    padding: 1.75rem 1.5rem;

}



.about-widget-body img {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    object-fit: cover;

    margin: 0 auto 0.85rem;

    border: 3px solid var(--sand-deep);

}



.about-widget-body h4 {

    font-size: 1rem;

    margin-bottom: 0.2rem;

}



.about-widget-body span {

    font-size: 0.75rem;

    color: var(--terra);

    font-weight: 600;

    letter-spacing: 0.06em;

    display: block;

    margin-bottom: 0.75rem;

}



.about-widget-body p {

    font-size: 0.83rem;

    color: var(--mist);

    line-height: 1.65;

}



.popular-post {

    display: flex;

    gap: 0.9rem;

    align-items: center;

    padding: 0.85rem 0;

    border-bottom: 1px solid var(--sand-deep);

    cursor: pointer;

    transition: background 0.2s ease;

}



.popular-post:last-child {

    border-bottom: none;

    padding-bottom: 0;

}



.popular-post:first-child {

    padding-top: 0;

}



.popular-post:hover .pp-title {

    color: var(--terra);

}



.pp-img {

    width: 60px;

    height: 60px;

    border-radius: 6px;

    overflow: hidden;

    flex-shrink: 0;

}



.pp-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.pp-title {

    font-family: var(--font-display);

    font-size: 0.88rem;

    font-weight: 700;

    line-height: 1.3;

    color: var(--ink);

    margin-bottom: 0.25rem;

    transition: color 0.25s ease;

}



.pp-meta {

    font-size: 0.72rem;

    color: var(--mist);

    display: flex;

    align-items: center;

    gap: 0.35rem;

}



.pp-meta i {

    color: var(--terra);

    font-size: 0.65rem;

}



.cat-list li {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0.6rem 0;

    border-bottom: 1px solid var(--sand-deep);

    font-size: 0.86rem;

    cursor: pointer;

    transition: color 0.25s ease;

}



.cat-list li:last-child {

    border-bottom: none;

}



.cat-list li:hover {

    color: var(--terra);

}



.cat-list li:hover .cat-count {

    background: var(--terra);

    color: var(--white);

}



.cat-count {

    font-size: 0.72rem;

    font-weight: 600;

    background: var(--sand);

    color: var(--mist);

    padding: 0.15rem 0.55rem;

    border-radius: 100px;

    transition: all 0.25s ease;

}



.tag-cloud {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

}



.tag-pill {

    font-size: 0.75rem;

    font-weight: 500;

    padding: 0.3rem 0.85rem;

    border-radius: 100px;

    border: 1px solid var(--sand-deep);

    color: var(--mist);

    cursor: pointer;

    transition: all 0.25s ease;

}



.tag-pill:hover {

    background: var(--terra);

    border-color: var(--terra);

    color: var(--white);

}



.newsletter-widget {

    background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);

    border: none;

}



.newsletter-widget .widget-header {

    background: rgba(0, 0, 0, 0.15);

    border-color: rgba(255, 255, 255, 0.15);

    color: var(--white);

}



.newsletter-widget .widget-body {

    padding: 1.5rem;

}



.newsletter-widget p {

    font-size: 0.84rem;

    color: rgba(255, 255, 255, 0.82);

    line-height: 1.6;

    margin-bottom: 1rem;

}



.newsletter-input-wrap {

    display: flex;

    flex-direction: column;

    gap: 0.65rem;

}



.newsletter-input-wrap input {

    padding: 0.75rem 1rem;

    border: 1.5px solid rgba(255, 255, 255, 0.3);

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.12);

    color: var(--white);

    font-family: var(--font-sans);

    font-size: 0.87rem;

    outline: none;

    transition: border-color 0.25s ease;

}



.newsletter-input-wrap input::placeholder {

    color: rgba(255, 255, 255, 0.55);

}



.newsletter-input-wrap input:focus {

    border-color: rgba(255, 255, 255, 0.7);

}



.newsletter-input-wrap button {

    padding: 0.75rem;

    background: var(--white);

    color: var(--terra);

    border: none;

    border-radius: 4px;

    font-family: var(--font-sans);

    font-size: 0.84rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;

    letter-spacing: 0.05em;

}



.newsletter-input-wrap button:hover {

    background: var(--accent);

    color: var(--white);

}



.instagram-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0.4rem;

}



.ig-item {

    aspect-ratio: 1;

    border-radius: 4px;

    overflow: hidden;

    cursor: pointer;

    position: relative;

}



.ig-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease, opacity 0.4s ease;

}



.ig-item::after {

    content: '\f16d';

    font-family: 'Font Awesome 6 Brands';

    position: absolute;

    inset: 0;

    background: rgba(200, 131, 74, 0.75);

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 1.2rem;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.ig-item:hover img {

    transform: scale(1.1);

    opacity: 0.6;

}



.ig-item:hover::after {

    opacity: 1;

}



@media (max-width: 1100px) {

    .blog-layout {

        grid-template-columns: 1fr;

        gap: 0;

    }



    .posts-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}



@media (max-width: 900px) {

    .featured-post-img {

        height: auto;

    }



    .post-card.wide {

        grid-template-columns: 1fr;

    }



    .post-card.wide .post-card-img {

        height: 220px;

    }

}



@media (max-width: 640px) {

    .posts-grid {

        grid-template-columns: 1fr;

    }



    .post-card.wide {

        grid-column: span 1;

    }



    .featured-post-img {

        height: auto;

    }



    .blog-filter-inner {

        flex-direction: column;

        align-items: flex-start;

    }



    .blog-search-wrap input {

        width: 100%;

    }



    .blog-search-wrap {

        width: 100%;

    }

}



.dest-card .dest-arrow {

    top: 1.25rem;

    right: 1.25rem;

    width: 36px;

    height: 36px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(6px);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 0.9rem;

    opacity: 0;

    transform: translateY(-4px);

    transition: all 0.3s ease;

}



.dest-card:hover .dest-arrow {

    opacity: 1;

    transform: translateY(0);

}



/* ── PACKAGES ── */

.packages-section {

    padding: 6rem 0;

    /* use standard section background for consistency */

    background: var(--ivory);

}



.pkg-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.75rem;

    margin-top: 3rem;

}



.pkg-card {

    background: var(--white);

    border-radius: 8px;

    overflow: hidden;

    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);

}



.pkg-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 24px 60px rgba(26, 18, 8, 0.14);

}



.pkg-img {

    position: relative;

    height: 240px;

    overflow: hidden;

}



.pkg-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s var(--transition);

}



.pkg-card:hover .pkg-img img {

    transform: scale(1.08);

}



.pkg-badge {

    position: absolute;

    top: 1rem;

    left: 1rem;

    background: var(--terra);

    color: var(--white);

    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    padding: 0.3rem 0.75rem;

    border-radius: 100px;

}



.pkg-price-tag {

    position: absolute;

    bottom: 1rem;

    right: 1rem;

    background: rgba(26, 18, 8, 0.85);

    backdrop-filter: blur(6px);

    color: var(--white);

    padding: 0.4rem 0.9rem;

    border-radius: 4px;

    font-family: var(--font-display);

    font-size: 1rem;

    font-weight: 700;

}



.pkg-price-tag span {

    font-family: var(--font-sans);

    font-size: 0.72rem;

    opacity: 0.65;

    font-weight: 400;

}



.pkg-body {

    padding: 1.5rem;

}



.pkg-meta {

    display: flex;

    gap: 1rem;

    margin-bottom: 0.75rem;

}



.pkg-meta-item {

    font-size: 0.78rem;

    color: var(--mist);

    display: flex;

    align-items: center;

    gap: 0.3rem;

}



.pkg-body h3 {

    font-size: 1.2rem;

    margin-bottom: 0.5rem;

    line-height: 1.3;

}



.pkg-body p {

    font-size: 0.87rem;

    color: var(--mist);

    line-height: 1.7;

    margin-bottom: 1.25rem;

}



.pkg-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 1rem;

    border-top: 1px solid var(--sand-deep);

}



.pkg-rating {

    display: flex;

    align-items: center;

    gap: 0.35rem;

    font-size: 0.82rem;

    font-weight: 600;

    color: var(--ink);

}



.pkg-rating .stars {

    color: var(--accent);

    font-size: 0.75rem;

}



/* ── WHY US ── */

.why-section {

    padding: 7rem 0;

    /* use standard section background for consistency */

    background: var(--ivory);

}



.why-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 5rem;

    align-items: center;

}



.why-images {

    position: relative;

    height: 560px;

}



.why-img-main {

    position: absolute;

    top: 0;

    left: 0;

    width: 72%;

    height: 78%;

    border-radius: 6px;

    overflow: hidden;

}



.why-img-main img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.why-img-secondary {

    position: absolute;

    bottom: 0;

    right: 0;

    width: 52%;

    height: 52%;

    border-radius: 6px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(26, 18, 8, 0.2);

}



.why-img-secondary img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.why-badge {

    position: absolute;

    top: 42%;

    right: 28%;

    background: var(--terra);

    color: var(--white);

    border-radius: 50%;

    width: 96px;

    height: 96px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    font-family: var(--font-display);

    font-size: 1.3rem;

    font-weight: 700;

    line-height: 1;

    box-shadow: 0 8px 30px rgba(200, 131, 74, 0.4);

    z-index: 5;

    transform: rotate(-10deg);

}



.why-badge small {

    font-family: var(--font-sans);

    font-size: 0.58rem;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    opacity: 0.85;

}



.features-list {

    margin: 2rem 0;

    display: flex;

    flex-direction: column;

    gap: 1.25rem;

}



.feature-item {

    display: flex;

    gap: 1rem;

    align-items: flex-start;

}



.feature-icon {

    width: 44px;

    height: 44px;

    background: var(--sand);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1rem;

    flex-shrink: 0;

    margin-top: 0.1rem;

    transition: all 0.3s ease;

}



.feature-item:hover .feature-icon {

    background: var(--terra);

}



.feature-text h4 {

    font-family: var(--font-sans);

    font-size: 0.95rem;

    font-weight: 600;

    color: var(--ink);

    margin-bottom: 0.25rem;

}



.feature-text p {

    font-size: 0.85rem;

    color: var(--mist);

    line-height: 1.6;

}



/* ── Testimonials Section ── */

.testimonials-section {

    /* match .why-section: use same padding and standard section background */

    padding: 7rem 0;

    background: var(--ivory);

    position: relative;

    overflow: hidden;

}



.testimonials-section::before {

    /* disable the decorative overlay so background matches .why-section */

    display: none;

}



.testimonials-section>.container {

    position: relative;

    z-index: 1;

}



.testi-header .section-label {

    color: var(--green);

}



.testi-header .section-title {

    color: var(--ink);

    margin-bottom: 0.75rem;

}



.testi-sub {

    font-size: 0.9rem;

    color: var(--mist);

    margin: 0;

}



.testimonials-section .reviews-cta {

    display: flex;

    justify-content: center;

    margin-top: 1.5rem;

}



.testimonials-section .reviews-rate-btn {

    min-width: 180px;

    justify-content: center;

}



.testi-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.5rem;

    margin-bottom: 3.5rem;

}



.testi-card {

    background: var(--white);

    border: 1px solid var(--sand-deep);

    border-radius: 12px;

    padding: 1rem 1rem 0.95rem;

    display: flex;

    flex-direction: column;

    gap: 0.65rem;

    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

    animation: cardIn 0.4s ease both;

    box-shadow: 0 18px 40px rgba(26, 18, 8, 0.06);

    color: var(--ink);

}



.testi-card:hover {

    background: var(--ivory);

    transform: translateY(-4px);

    box-shadow: 0 28px 60px rgba(26, 18, 8, 0.08);

}



@keyframes cardIn {

    from {

        opacity: 0;

        transform: translateY(14px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.testi-card-stars {

    color: var(--gold);

    font-size: 0.82rem;

    letter-spacing: 1px;

    line-height: 1;

    white-space: nowrap;

}



.testi-card-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 0.75rem;

}



.testi-card-name {

    font-size: 0.95rem;

    font-weight: 700;

    color: var(--ink);

    line-height: 1.2;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.testi-card-text {

    margin: 0;

    font-size: 0.9rem;

    color: var(--ink-soft);

    line-height: 1.65;

    overflow-wrap: anywhere;

}



.testi-empty {

    text-align: center;

    padding: 2.5rem 1rem;

    color: var(--mist);

    font-size: 0.88rem;

}



:root[data-theme="dark"] .testi-card-name {

    color: var(--ink);

}



:root[data-theme="dark"] .testi-card-text {

    color: rgba(230, 234, 237, 0.78);

}



@media (max-width: 640px) {

    .testi-card {

        padding: 0.9rem 0.9rem 0.85rem;

        gap: 0.5rem;

    }



    .testi-card-head {

        gap: 0.5rem;

    }



    .testi-card-name {

        font-size: 0.92rem;

    }



    .testi-card-text {

        font-size: 0.88rem;

        line-height: 1.6;

    }

}



.testi-empty i {

    display: block;

    font-size: 1.8rem;

    margin-bottom: 0.5rem;

    opacity: 0.4;

}



/* Tours page: display reviews vertically (single column) */

.tours-page .testi-grid {

    grid-template-columns: 1fr;

    gap: 1.25rem;

}



.tours-page .testi-card {

    width: 100%;

}



/* Tours page layout: reviews left, form on the right */

.tours-page .testi-layout {

    display: grid;

    grid-template-columns: 1fr 360px;

    gap: 2.25rem;

    align-items: start;

}



/* Make review cards slightly wider/denser and reduce vertical padding (shorter cards) */

.tours-page .testi-card {

    padding: 1.1rem 1.2rem 1rem;

}



.tours-page .testi-card-quote {

    font-size: 0.88rem;

    line-height: 1.45;

}



/* Narrower textarea / reduced height for the form on tours page */

.tours-page .testi-form-wrap {

    max-width: 100%;

    margin: 0;

}



.tours-page .testi-form-card {

    padding: 1.25rem;

}



.tours-page .testi-form-card textarea {

    min-height: 70px;

}



@media (max-width: 900px) {

    .tours-page .testi-layout {

        grid-template-columns: 1fr;

    }



    .tours-page .testi-form-wrap {

        margin-top: 1.5rem;

    }

}



/* ── Divider ── */

.testi-divider {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 2rem;

}



.testi-divider::before,

.testi-divider::after {

    content: '';

    flex: 1;

    height: 1px;

    background: var(--sand-deep);

}



.testi-divider span {

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.35);

    white-space: nowrap;

}



/* ── Review Form ── */

.testi-form-wrap {

    max-width: 720px;

    margin: 0 auto;

}



.testi-form-card {

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 12px;

    padding: 2rem 2rem 1.75rem;

}



.testi-form-meta {

    display: flex;

    align-items: flex-start;

    gap: 1rem;

    margin-bottom: 1.5rem;

}



.testi-form-icon {

    font-size: 1.6rem;

    color: var(--gold);

    opacity: 0.6;

    margin-top: 3px;

    flex-shrink: 0;

}



.testi-form-title {

    font-family: var(--font-display);

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--white);

    margin: 0 0 0.2rem;

}



.testi-form-hint {

    font-size: 0.78rem;

    color: rgba(255, 255, 255, 0.4);

    margin: 0;

}



/* Field row */

.testi-field-row {

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 1rem;

    margin-bottom: 1rem;

    align-items: end;

}



.testi-field {

    display: flex;

    flex-direction: column;

    gap: 0.4rem;

}



.testi-field--sm {

    min-width: 160px;

}



.testi-field label {

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.45);

}



.testi-form-card input[type="text"],

.testi-form-card textarea {

    width: 100%;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 7px;

    padding: 0.7rem 0.9rem;

    font-size: 0.88rem;

    color: var(--white);

    font-family: inherit;

    transition: border-color 0.25s ease, background 0.25s ease;

    box-sizing: border-box;

}



.testi-form-card input[type="text"]::placeholder,

.testi-form-card textarea::placeholder {

    color: rgba(255, 255, 255, 0.25);

}



.testi-form-card input[type="text"]:focus,

.testi-form-card textarea:focus {

    outline: none;

    border-color: var(--green);

    background: rgba(255, 255, 255, 0.1);

}



.testi-form-card textarea {

    resize: vertical;

    min-height: 100px;

}



/* Star picker */

.star-picker {

    display: flex;

    gap: 3px;

}



.star-btn {

    background: none;

    border: none;

    cursor: pointer;

    font-size: 1.5rem;

    color: rgba(255, 255, 255, 0.2);

    padding: 0;

    line-height: 1;

    transition: color 0.15s ease, transform 0.15s ease;

}



.star-btn.active {

    color: var(--gold);

}



.star-btn:hover {

    transform: scale(1.2);

}



/* Footer row */

.testi-form-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    margin-top: 1.25rem;

    flex-wrap: wrap;

}



.testi-form-note {

    font-size: 0.72rem;

    color: rgba(255, 255, 255, 0.3);

    display: flex;

    align-items: center;

    gap: 0.4rem;

}



.testi-form-note i {

    color: var(--green);

    opacity: 0.7;

}



/* Success message */

.testi-success {

    margin-top: 1rem;

    padding: 0.75rem 1rem;

    background: rgba(74, 197, 155, 0.12);

    border: 1px solid rgba(74, 197, 155, 0.3);

    border-radius: 7px;

    display: flex;

    align-items: center;

    gap: 0.6rem;

    font-size: 0.85rem;

    color: var(--green);

}



.testi-success[hidden] {

    display: none;

}



/* ── Responsive ── */

@media (max-width: 900px) {

    .testi-grid {

        grid-template-columns: 1fr 1fr;

    }

}



@media (max-width: 600px) {

    .testi-grid {

        grid-template-columns: 1fr;

    }



    .testi-field-row {

        grid-template-columns: 1fr;

    }



    .testi-form-footer {

        flex-direction: column;

        align-items: flex-start;

    }



    .testi-form-card {

        padding: 1.5rem 1.25rem;

    }

}



/* ── ANIMATIONS ── */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(24px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes scrollLine {



    0%,

    100% {

        transform: scaleY(1);

        transform-origin: top;

    }



    50% {

        transform: scaleY(0.4);

        transform-origin: top;

    }

}



.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition: opacity 0.7s ease, transform 0.7s ease;

}



.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}



.reveal-delay-1 {

    transition-delay: 0.1s;

}



.reveal-delay-2 {

    transition-delay: 0.2s;

}



.reveal-delay-3 {

    transition-delay: 0.3s;

}



.reveal-delay-4 {

    transition-delay: 0.4s;

}



/* ── MOBILE ── */

@media (max-width: 992px) {

    .dest-grid {

        grid-template-columns: 1fr 1fr;

    }



    /* cleaned: removed stray background and empty ruleset */

    .why-images {

        height: 380px;

    }



    .footer-grid {

        grid-template-columns: 1fr 1fr;



        .gallery-thumb img {

            aspect-ratio: 16 / 9;

        }

    }

    .testimonials-track {
        grid-template-columns: 1fr;
    }

    .search-fields {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    :root {
        --nav-h: 68px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 8px 30px rgba(26, 18, 8, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        color: var(--ink) !important;
        width: 100%;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--sand-deep);
    }

    .nav-cta {
        margin: 1rem 0;
        border-color: var(--terra);
        color: var(--terra);
    }

    .nav-toggle {
        display: flex;
    }

    .dest-grid {
        grid-template-columns: 1fr;
    }

    .dest-card.large {
        grid-column: span 1;
    }

    .dest-card.large img {
        min-height: 248px;
    }

    .pkg-grid {
        grid-template-columns: 1fr;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

.tours-showcase {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.tour-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.tour-tile {
    display: block;
    background: #eef2ff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(24, 32, 56, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tour-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(24, 32, 56, 0.14);
}

.tour-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.tour-tile h3 {
    margin: 0.7rem 0 0.25rem;
    padding: 0 0.8rem;
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    color: var(--ink);
}

.tours-showcase .tour-card-grid .tour-tile h3 {
    margin: 0.7rem 0 0.25rem;
    padding: 0 0.8rem;
    text-align: center;
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 900;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: black;
}

.tour-tile span {
    display: block;
    padding: 0 0.8rem 0.9rem;
    text-align: center;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #4f84d4;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0 2rem;
}

.section-title-wrap .line {
    flex: 1;
    height: 2px;
    background: rgba(31, 41, 55, 0.72);
}

.section-heading {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--ink);
    white-space: nowrap;
}

.section-heading a {

    color: inherit;

    text-decoration: none;

}



.section-heading a:focus,

.section-heading a:hover {

    text-decoration: none;

}



.special-grid .tour-tile img {

    height: 180px;

}



.ayurveda-mosaic {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    grid-auto-rows: 240px;

    gap: 1rem;

}



.mosaic-item {

    display: block;

    border-radius: 2px;

    overflow: hidden;

}



.mosaic-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



.mosaic-item.wide {

    grid-column: span 2;

}



@media (max-width: 1200px) {

    .tour-card-grid {

        grid-template-columns: repeat(3, minmax(0, 1fr));

    }

}



@media (max-width: 900px) {

    .tour-card-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }



    .ayurveda-mosaic {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }



    .mosaic-item.wide {

        grid-column: span 2;

    }

}



@media (max-width: 640px) {



    .tour-card-grid,

    .ayurveda-mosaic {

        grid-template-columns: 1fr;

    }



    .mosaic-item.wide {

        grid-column: auto;

    }



    .section-title-wrap {

        margin: 3rem 0 1.5rem;

    }



    .section-heading {

        font-size: 1.55rem;

    }



    .tour-tile img,

    .special-grid .tour-tile img {

        height: 220px;

    }



    .ayurveda-mosaic {

        grid-auto-rows: 220px;

    }

}



/* ── About Us ── */

.about-breadcrumb {

    margin-bottom: 1.5rem;

    font-size: 0.8rem;

    color: rgba(255, 255, 255, 0.45);

}



.about-breadcrumb a {

    color: var(--accent);

}



.about-breadcrumb a:hover {

    text-decoration: underline;

}



/* ── Page body ── */

.about-body {

    background: var(--white);

}



/* ── Section sep label ── */

.ab-sep {

    display: block;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;

    color: var(--mist);

    margin-bottom: 1.25rem;

}



/* ── Story intro ── */

.about-intro {

    padding: 5rem 0 4rem;

    background: var(--white);

}



.about-intro-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.about-intro-text .section-title {

    margin-bottom: 1.25rem;

}



.about-intro-text p {

    font-size: 0.92rem;

    color: var(--mist);

    line-height: 1.85;

    margin-bottom: 1rem;

}



/* image collage */

.about-img-collage {

    position: relative;

    height: 420px;

}



.aic-main {

    position: absolute;

    top: 0;

    left: 0;

    width: 70%;

    height: 76%;

    border-radius: 8px;

    overflow: hidden;

}



.aic-main img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;

}



.aic-main:hover img {

    transform: scale(1.04);

}



.aic-secondary {

    position: absolute;

    bottom: 0;

    right: 0;

    width: 52%;

    height: 52%;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 16px 40px rgba(27, 58, 75, 0.18);

}



.aic-secondary img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;

}



.aic-secondary:hover img {

    transform: scale(1.04);

}



.aic-badge {

    position: absolute;

    top: 44%;

    right: 26%;

    width: 72px;

    height: 72px;

    background: var(--terra);

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--white);

    z-index: 5;

    box-shadow: 0 8px 24px rgba(212, 162, 76, 0.4);

    transform: rotate(-10deg);

    line-height: 1.2;

}



.aic-badge span {

    font-family: var(--font-display);

    font-size: 1.2rem;

    font-weight: 700;

    line-height: 1;

}



.aic-badge small {

    font-size: 0.5rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    opacity: 0.88;

}



/* ── Vision / Mission ── */

.vm-section {

    padding: 5rem 0;

    background: var(--sand);

}



.vm-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1.75rem;

    margin-top: 2.5rem;

}



.vm-card {

    background: var(--white);

    border-radius: 10px;

    border: 1px solid var(--sand-deep);

    padding: 2rem 1.75rem;

    position: relative;

    overflow: hidden;

    transition: transform 0.35s ease, box-shadow 0.35s ease;

}



.vm-card::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    height: 3px;

    background: var(--card-accent, var(--terra));

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;

}



.vm-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 50px rgba(27, 58, 75, 0.1);

}



.vm-card:hover::after {

    transform: scaleX(1);

}



.vm-icon-wrap {

    width: 52px;

    height: 52px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.25rem;

    transition: transform 0.3s ease;

}



.vm-card:hover .vm-icon-wrap {

    transform: scale(1.08) rotate(-4deg);

}



.vm-icon-wrap i {

    font-size: 1.25rem;

}



.vm-card h3 {

    font-size: 1.1rem;

    margin-bottom: 0.2rem;

    color: var(--ink);

}



.vm-card .vm-sub {

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--card-accent, var(--terra));

    margin-bottom: 1rem;

    display: block;

}



.vm-card p {

    font-family: var(--font-serif);

    font-size: 1rem;

    color: var(--mist);

    line-height: 1.85;

}



/* ── Why Us ── */

.why-us-section {

    padding: 7rem 0;

    background: var(--ivory);

}



.why-us-intro {

    max-width: 100%;

    margin-bottom: 2.5rem;

}



.why-us-intro p {

    font-size: 0.92rem;

    color: var(--mist);

    line-height: 1.85;

    margin-top: 0.75rem;

}



.why-us-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 1rem;

}



.wu-card {

    background: var(--white);

    border: 1px solid var(--sand-deep);

    border-radius: 10px;

    padding: 1.15rem 1rem 1rem;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    transition: border-color 0.25s ease, background 0.25s ease,

        transform 0.35s ease, box-shadow 0.35s ease;

}



.wu-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 3px;

    background: var(--accent-color);

    border-radius: 10px 10px 0 0;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;

}



.wu-card:hover::before,

.wu-card.open::before {

    transform: scaleX(1);

}



.wu-card:hover,

.wu-card.open {

    border-color: transparent;

    background: var(--ivory);

    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(27, 58, 75, 0.1);

}



.wu-num {

    position: absolute;

    top: 0.85rem;

    right: 1rem;

    font-size: 0.68rem;

    font-weight: 600;

    letter-spacing: 0.06em;

    color: var(--sand-deep);

}



.wu-icon {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: var(--icon-bg);

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 0.9rem;

    transition: transform 0.3s ease;

}



.wu-card:hover .wu-icon {

    transform: scale(1.1);

}



.wu-icon i {

    font-size: 0.95rem;

    color: var(--accent-color);

}



.wu-card h4 {

    font-family: var(--font-sans);

    font-size: 0.92rem;

    font-weight: 600;

    color: var(--ink);

    line-height: 1.3;

    margin-bottom: 0;

}



.wu-card p {

    font-size: 0.82rem;

    color: var(--mist);

    line-height: 1.65;

    margin: 0;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;

}



.wu-card:hover p,

.wu-card.open p {

    max-height: 160px;

    opacity: 1;

    margin-top: 0.55rem;

}



/* ── Contact strip ── */

.contact-strip {

    padding: 5rem 0;

    background: var(--sand);

}



.contact-grid {

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 4rem;

    align-items: start;

}



.contact-info h2 {

    font-size: clamp(1.8rem, 3vw, 2.4rem);

    margin-bottom: 0.75rem;

}



.contact-info>p {

    font-size: 0.9rem;

    color: var(--mist);

    line-height: 1.8;

    margin-bottom: 2rem;

}



.contact-items {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.contact-item {

    display: flex;

    gap: 1rem;

    align-items: flex-start;

}



.contact-item-icon {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: rgba(26, 188, 156, 0.12);

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    transition: background 0.25s ease;

}



.contact-item:hover .contact-item-icon {

    background: var(--accent);

}



.contact-item-icon i {

    font-size: 0.9rem;

    color: var(--accent);

    transition: color 0.25s ease;

}



.contact-item:hover .contact-item-icon i {

    color: var(--white);

}



.contact-item-text {

    padding-top: 2px;

}



.contact-item-label {

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: var(--mist);

    margin-bottom: 2px;

}



.contact-item-val {

    font-size: 0.88rem;

    color: var(--ink);

    line-height: 1.55;

}



.contact-item-val a {

    color: var(--ink);

    transition: color 0.2s;

}



.contact-item-val a:hover {

    color: var(--accent);

}



/* Social icons */

.contact-socials {

    margin-top: 2rem;

}



.contact-socials h4 {

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--mist);

    margin-bottom: 0.85rem;

}



.contact-social-row {

    display: flex;

    gap: 0.6rem;

    flex-wrap: nowrap;

    /* keep social links on a single row */

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

}



.contact-social-row .cs-link {

    white-space: nowrap;

}



.cs-link {

    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

    padding: 0.45rem 0.9rem;

    border: 1px solid var(--sand-deep);

    border-radius: 100px;

    font-size: 0.75rem;

    font-weight: 600;

    color: var(--mist);

    text-decoration: none;

    transition: all 0.25s ease;

}



.cs-link i {

    font-size: 0.82rem;

}



.cs-link:hover {

    border-color: transparent;

    color: var(--white);

    transform: translateY(-2px);

}



.cs-link.fb:hover {

    background: #1877F2;

}



.cs-link.ig:hover {

    background: #E1306C;

}



.cs-link.x:hover {

    background: #000;

}



.cs-link.li:hover {

    background: #0A66C2;

}



.cs-link.yt:hover {

    background: #FF0000;

}



.cs-link.tt:hover {

    background: #000;

}



/* Map */

.contact-map-wrap {

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 16px 40px rgba(27, 58, 75, 0.12);

    border: 1px solid var(--sand-deep);

    margin-top: 4.5rem;

    /* moved map slightly lower to visually balance with left column */

}



.contact-map-wrap iframe {

    width: 100%;

    height: 340px;

    border: none;

    display: block;

}



.contact-map-caption {

    background: var(--white);

    padding: 1rem 1.25rem;

    display: flex;

    align-items: center;

    gap: 0.65rem;

    font-size: 0.82rem;

    color: var(--mist);

}



.contact-map-caption i {

    color: var(--accent);

}



/* ── CTA Banner ── */

.about-cta {

    padding: 5rem 0;

    background: var(--sand);

    text-align: center;

}



.about-cta .section-label {

    color: var(--accent);

}



.about-cta h2 {

    font-size: clamp(2rem, 4vw, 3rem);

    color: var(--ink);

    margin-bottom: 0.85rem;

}



.about-cta h2 em {

    font-family: var(--font-serif);

    font-style: italic;

    color: var(--accent);

}



.about-cta p {

    font-size: 0.92rem;

    color: var(--mist);

    max-width: 440px;

    margin: 0 auto 2.25rem;

    line-height: 1.8;

}



.about-cta-btns {

    display: flex;

    gap: 1rem;

    justify-content: center;

    flex-wrap: wrap;

}



html[data-theme="dark"] body.about-body .page-hero-bg::after {

    background: rgba(2, 6, 23, 0.66);

}



html[data-theme="dark"] body.about-body .breadcrumb {

    color: rgba(255, 255, 255, 0.75);

}



html[data-theme="dark"] body.about-body .aic-secondary,

html[data-theme="dark"] body.about-body .contact-map-wrap,

html[data-theme="dark"] body.about-body .vm-card,

html[data-theme="dark"] body.about-body .wu-card {

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);

}



/* ── Reveal animations ── */

.ab-reveal {

    opacity: 0;

    transform: translateY(28px);

    transition: opacity 0.65s ease, transform 0.65s ease;

}



.ab-reveal.visible {

    opacity: 1;

    transform: translateY(0);

}



.ab-reveal-d1 {

    transition-delay: 0.1s;

}



.ab-reveal-d2 {

    transition-delay: 0.2s;

}



.ab-reveal-d3 {

    transition-delay: 0.3s;

}



.ab-reveal-d4 {

    transition-delay: 0.4s;

}



.ab-reveal-d5 {

    transition-delay: 0.5s;

}



/* ── Responsive ── */

@media (max-width: 1100px) {

    .why-us-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 900px) {

    .about-intro-grid {

        grid-template-columns: 1fr;

    }



    .about-img-collage {

        height: 320px;

    }



    .vm-grid {

        grid-template-columns: 1fr;

    }



    .contact-grid {

        grid-template-columns: 1fr;

    }



    .why-us-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 600px) {

    .why-us-grid {

        grid-template-columns: 1fr;

    }



    .about-counters {

        gap: 1.5rem;

    }

}

/* dark mode architecture */

/* ── 1. Unified Dark Theme Color Tokens ── */
:root[data-theme="dark"] {
    --sand: #1B2430;
    --sand-deep: #253041;
    --terra: #D4A24C;
    --terra-dark: #E0B85A;
    --ink: #F8FAFC;
    --ink-soft: #CBD5E1;
    --mist: #94A3B8;
    --white: #0F172A;        /* Deep Slate Blue */
    --ivory: #111827;
    --ivory-deep: #1F2937;
    --accent: #22D3B6;
    --green: #22D3B6;
    --gold: #D4A24C;
    --ocean: #F8FAFC;
    --stone: #94A3B8;
}

/* ── 2. Global Image Tuning ── */
/* Slightly dim images in dark theme to preserve user eye-comfort */
html[data-theme="dark"] body:not(.package-page) img:not(.no-dim) {
    filter: brightness(0.88) saturate(0.96);
}

/* ── 3. Immutable Footer Rules (Keep Original Theme Styling) ── */
html[data-theme="dark"] body:not(.package-page) footer {
    background: #1F2937 !important; /* Forces layout to stay original dark grey */
    color: rgba(255, 255, 255, 0.65) !important;
}

html[data-theme="dark"] body:not(.package-page) .footer-brand .footer-logo {
    color: #F5F1E8 !important;
}

html[data-theme="dark"] body:not(.package-page) footer .footer-col ul a,
html[data-theme="dark"] body:not(.package-page) footer .footer-col ul li {
    color: rgba(255, 255, 255, 0.5) !important;
}

html[data-theme="dark"] body:not(.package-page) .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── 4. Immutable Hero Elements (Prevent Text Blind Spots) ── */
html[data-theme="dark"] .hero .hero-bg::after,
html[data-theme="dark"] .hero-bg::after,
html[data-theme="dark"] .page-hero .page-hero-bg::after {
    background: rgba(26, 18, 8, 0.55) !important; /* Original ambient warm shade overlay */
}

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .hero .section-title,
html[data-theme="dark"] .page-hero h1 {
    color: #F5F1E8 !important; /* Locks text value to white */
}

html[data-theme="dark"] .hero .section-label,
html[data-theme="dark"] .page-hero .section-label {
    color: #1ABC9C !important; /* Locks accents to original bright green */
}

html[data-theme="dark"] .hero .breadcrumb,
html[data-theme="dark"] .page-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Keep structural hero photography sharp and unfiltered */
html[data-theme="dark"] .hero .hero-bg,
html[data-theme="dark"] .hero .hero-bg img,
html[data-theme="dark"] .hero-bg,
html[data-theme="dark"] .hero-bg img,
html[data-theme="dark"] .page-hero .page-hero-bg,
html[data-theme="dark"] .page-hero .page-hero-bg img {
    filter: none !important;
    opacity: 1 !important;
}

/*modal overlay */

/* The full-screen blurred background */
.modal-overlay {
    display: none; /* Keeps it hidden until 'Book Now' is clicked */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.35); /* Subtle dark tint */
    backdrop-filter: blur(8px); /* Blurs your landing page background */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    z-index: 9999; /* Ensures it sits on top of everything else */
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Allows scrolling if the viewport is small */
    padding: 20px;
}

/* The container that holds your booking form page card */
.modal-content {
    width: 100%;
    max-width: 900px; /* Limits maximum width on big screens */
    margin: auto;
    animation: fadeInModal 0.3s ease-out; /* Smooth pop-in transition */
}

/* Active class applied via JS to display the modal */
.modal-overlay.show {
    display: flex;
}

/* Smooth fade-in animation */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*contact us modifies*/

.contact-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;          /* vertically center both columns */
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 2rem;
}

/* LEFT — info column */
.contact-grid .section-title {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.25rem;
}

.contact-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(26, 188, 156, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--accent);
}

.contact-item-icon i {
    font-size: 0.88rem;
    color: var(--accent);
    transition: color var(--transition);
}

.contact-item:hover .contact-item-icon i {
    color: #fff;
}

.contact-item-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 2px;
}

.contact-item-val {
    font-size: 0.87rem;
    color: var(--ink);
    line-height: 1.55;
}

.contact-item-val a {
    color: var(--ink);
    transition: color 0.2s ease;
}

.contact-item-val a:hover {
    color: var(--accent);
}

/* RIGHT — form card */
.cf-wrap {
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--sand-deep);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;   /* reduced */
    box-shadow: 0 8px 28px rgba(26, 18, 8, 0.07);
    width: 100%;
    box-sizing: border-box; 
    height: auto;
    align-self: flex-start;
    margin-top: 0px;
}

.cf-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0.25rem 0 0.25rem;
    line-height: 1.2;
}

.cf-subtitle {
    font-size: 0.82rem;
    color: var(--mist);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Name + Email row */
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
}

.cf-row .cf-group {
    width: 100%;
    min-width: 0;
}

/* All field groups */
.cf-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
    width: 100%;
}

.cf-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.35rem;
}

.cf-input {
    width: 100%;
    padding: 0.62rem 0.9rem;
    border: 1.5px solid var(--sand-deep);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--ink);
    background: var(--ivory);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.cf-input:focus {
    border-color: var(--terra);
    box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.1);
    background: var(--white);
}

.cf-input::placeholder {
    color: var(--mist);
    opacity: 0.65;
}

.cf-textarea {
    resize: none;          /* fixed height — no manual resize needed */
    height: 100px;
    line-height: 1.55;
}

/* Send button */
.cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--accent) 0%, #17a286 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    margin-top: 0.1rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cf-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 188, 156, 0.22);
    filter: brightness(1.04);
}

.cf-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.cf-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cfSpin 0.7s linear infinite;
}

@keyframes cfSpin {
    to { transform: rotate(360deg); }
}

/* Feedback messages */
.cf-feedback {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 0.75rem;
}

.cf-success {
    background: #edfbf6;
    border: 1px solid rgba(26, 188, 156, 0.28);
    color: #0f6e56;
}

.cf-error {
    background: #fef2f2;
    border: 1px solid rgba(220, 38, 38, 0.18);
    color: #991b1b;
}

/* MAP */
.contact-map-wrap {
    max-width: 1240px;
    margin: 2.5rem auto 0;
    padding: 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--sand-deep);
    box-shadow: 0 6px 24px rgba(26, 18, 8, 0.06);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .contact-section {
        padding: 3rem 0 4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.25rem;
    }

    .contact-map-wrap {
        padding: 0 1.25rem;
        margin-top: 1.75rem;
    }

    .contact-map-wrap iframe {
        height: 240px;
    }
}

@media (max-width: 540px) {
    .cf-row {
        grid-template-columns: 1fr;
    }

    .cf-wrap {
        padding: 1.35rem 1.25rem;
    }
}

/* ── DARK MODE ── */
html[data-theme="dark"] .cf-wrap {
    background: var(--ivory);
    border-color: var(--sand-deep);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .cf-input {
    background: var(--white);
    border-color: var(--sand-deep);
    color: var(--ink);
}

html[data-theme="dark"] .cf-input:focus {
    background: var(--ivory-deep);
    border-color: var(--terra);
}

html[data-theme="dark"] .cf-success {
    background: rgba(26, 188, 156, 0.08);
    color: var(--accent);
    border-color: rgba(26, 188, 156, 0.18);
}

html[data-theme="dark"] .cf-error {
    background: rgba(220, 38, 38, 0.08);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.18);
}

/* ── Review Form: Light Mode Fixes ── */

/* Fixes the form card background and border */
body:not([data-theme="dark"]) .testi-form-card,
:root:not([data-theme="dark"]) .testi-form-card {
    background: var(--white);
    border: 1px solid var(--sand-deep);
    box-shadow: 0 8px 28px rgba(26, 18, 8, 0.07);
}

/* Fix form title and hint text */
:root:not([data-theme="dark"]) .testi-form-title {
    color: var(--ink);
}

:root:not([data-theme="dark"]) .testi-form-hint {
    color: var(--mist);
}

/* Fix field labels */
:root:not([data-theme="dark"]) .testi-field label {
    color: var(--ink-soft);
}

/* Fix inputs and textarea */
:root:not([data-theme="dark"]) .testi-form-card input[type="text"],
:root:not([data-theme="dark"]) .testi-form-card textarea {
    background: var(--ivory);
    border: 1.5px solid var(--sand-deep);
    color: var(--ink);
}

:root:not([data-theme="dark"]) .testi-form-card input[type="text"]::placeholder,
:root:not([data-theme="dark"]) .testi-form-card textarea::placeholder {
    color: var(--mist);
    opacity: 0.7;
}

:root:not([data-theme="dark"]) .testi-form-card input[type="text"]:focus,
:root:not([data-theme="dark"]) .testi-form-card textarea:focus {
    border-color: var(--terra);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.10);
}

/* Fix star buttons */
:root:not([data-theme="dark"]) .star-btn {
    color: var(--sand-deep);
}

:root:not([data-theme="dark"]) .star-btn.active {
    color: var(--gold);
}

/* Fix the form note text */
:root:not([data-theme="dark"]) .testi-form-note {
    color: var(--mist);
}

/* Fix the divider label */
:root:not([data-theme="dark"]) .testi-divider span {
    color: var(--mist);
}

/* Fix the form icon */
:root:not([data-theme="dark"]) .testi-form-icon {
    color: var(--terra);
    opacity: 0.8;
}

/* Responsive hardening: keep desktop rules intact and correct tablet/mobile overflow. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        padding: 0;
    }

    .container,
    .nav-inner,
    .hero-content {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .nav-inner {
        gap: 1rem;
    }

    .navbar.scrolled .nav-logo img,
    .nav-logo img,
    .nav-logo img[src*="logo_1"] {
        height: 42px !important;
        max-height: 42px !important;
        max-width: min(58vw, 220px) !important;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links {
        width: 100%;
        max-height: calc(100vh - var(--nav-h));
        max-height: calc(100dvh - var(--nav-h));
        overflow-y: auto;
        padding: 0.75rem clamp(1rem, 4vw, 1.5rem) 1rem;
        align-items: stretch;
    }

    .nav-links li,
    .nav-links .nav-link,
    .nav-links .nav-cta,
    .nav-links .nav-theme-toggle {
        width: 100%;
    }

    .nav-link,
    .nav-cta,
    .btn,
    .reviews-rate-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .nav-link {
        padding: 0.8rem 0;
    }

    .nav-cta {
        justify-content: center;
        margin: 0.75rem 0 0;
    }

    .nav-theme-toggle {
        justify-content: flex-start;
        background: transparent;
    }

    .hero {
        min-height: 100svh;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.5rem);
    }

    .hero-btns {
        justify-content: center;
    }

    .srilanka-intro,
    .destinations,
    .packages-section,
    .why-section,
    .testimonials-section,
    .cta-banner,
    .tours-showcase {
        padding-top: clamp(3.5rem, 10vw, 5rem);
        padding-bottom: clamp(3.5rem, 10vw, 5rem);
    }

    .sl-grid,
    .why-grid,
    .detail-grid,
    .inc-exc,
    .cta-layout,
    .testi-grid,
    .tour-card-grid {
        grid-template-columns: 1fr;
    }

    .sl-grid,
    .why-grid,
    .detail-grid,
    .cta-layout {
        gap: 2rem;
    }

    .sl-text {
        max-width: none;
    }

    .sl-video-card iframe {
        width: 100%;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header .btn,
    .destinations .section-header .btn-dark,
    .packages-section .section-header .btn-dark,
    .srilanka-intro .sl-text .btn-primary {
        width: 100%;
        max-width: 22rem;
    }

    .dest-grid,
    .pkg-grid,
    .gallery-thumbs,
    .search-fields {
        grid-template-columns: 1fr;
    }

    .dest-card,
    .pkg-card,
    .testi-card,
    .tour-tile {
        min-width: 0;
    }

    .pkg-meta,
    .pkg-footer,
    .detail-meta-row,
    .footer-bottom,
    .booking-flash {
        flex-wrap: wrap;
    }

    .pkg-badge {
        max-width: calc(100% - 2rem);
        white-space: normal;
        line-height: 1.25;
    }

    .gallery-main {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .why-images {
        height: auto;
        display: grid;
        gap: 1rem;
    }

    .why-img-main,
    .why-img-secondary,
    .why-badge {
        position: static;
        width: 100%;
        height: auto;
        transform: none;
    }

    .why-img-main,
    .why-img-secondary {
        aspect-ratio: 4 / 3;
    }

    .why-badge {
        width: 92px;
        height: 92px;
        justify-self: center;
    }

    .booking-page {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .booking-form,
    .trip-row {
        grid-template-columns: 1fr;
    }

    .booking-form {
        padding: 1rem;
    }

    .phone-code {
        min-width: 64px;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .booking-flash {
        top: calc(var(--nav-h) + 0.5rem);
        align-items: flex-start;
    }

    .booking-flash span {
        white-space: normal;
    }

    footer .footer-col ul li {
        min-width: 0;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-h: 64px;
    }

    .container,
    .nav-inner,
    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar.scrolled .nav-logo img,
    .nav-logo img,
    .nav-logo img[src*="logo_1"] {
        height: 38px !important;
        max-height: 38px !important;
        max-width: 140px !important;
    }

    .hero-content {
        width: 100%;
    }

    .hero-btns,
    .cta-actions,
    .reviews-cta {
        width: 100%;
    }

    .hero-btns .btn,
    .cta-actions .btn,
    .reviews-cta .btn,
    .pkg-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: clamp(1.8rem, 10vw, 2.55rem);
    }

    .dest-card {
        min-height: 220px;
    }

    .dest-card img,
    .dest-card.large img {
        min-height: 220px;
    }

    .pkg-img {
        height: 210px;
    }

    .pkg-body {
        padding: 1.15rem;
    }

    .feature-item,
    .itin-day {
        gap: 0.75rem;
    }

    .booking-modal {
        align-items: flex-start;
        padding-top: 0.75rem;
    }

    .booking-modal-box {
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        max-height: calc(100dvh - 1.5rem);
        border-radius: 14px;
    }
}

/* ============================================================
   FOOTER RESPONSIVE FIX
   Add at the END of style.css (overrides existing footer rules)
   ============================================================ */

/* ── Base footer (already correct on desktop) ────────────── */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
    align-items: start; /* top-align all columns */
}

/* ── Tablet: 2-column layout ─────────────────────────────── */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2.5rem;
    }

    /* Brand takes full row at top */
    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .footer-brand .footer-logo {
        margin-bottom: 0;
    }

    .footer-brand p {
        margin-bottom: 0;
    }
}

/* ── Mobile: compact 3-link-col layout ───────────────────── */
@media (max-width: 768px) {
    footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-grid {
        /* Brand full-width on top, then 3 cols side by side */
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem 1rem;
        margin-bottom: 1.75rem;
    }

    /* Brand: full width, horizontal layout */
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        flex-wrap: wrap;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 0.25rem;
    }

    .footer-brand .footer-logo {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .footer-brand .footer-logo-img {
        width: 140px;
    }

    .footer-brand p {
        display: none; /* hide tagline on mobile — saves space */
    }

    .social-links {
        margin-top: 0;
    }

    /* 3 link columns: Quick Links, Travel Types, Contact Us */
    .footer-col {
        min-width: 0;
    }

    .footer-col h4 {
        font-size: 0.65rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.75rem;
        white-space: nowrap;
    }

    .footer-col ul li,
    footer .footer-col ul li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        word-break: break-word;
    }

    footer .footer-col ul a {
        font-size: 0.8rem;
    }

    /* Bottom bar */
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding-top: 1rem;
    }
}

/* ── Small phones: 2-col links ───────────────────────────── */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1rem;
    }

    /* Contact Us column spans full width (has long address text) */
    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-brand .footer-logo-img {
        width: 120px;
    }
}