:root {
    --primary-color: #D8A669;
    --text-color: #ffffff;
    --font-main: 'Geologica', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #050505;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
}

.header--scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header--scrolled .logo img {
    height: 70px;
}

.header--scrolled .nav-menu ul {
    gap: 28px;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.logo,
.header-actions {
    flex: 0 0 250px;
    /* Equal width to push menu to center */
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.logo:hover img {
    opacity: 0.5;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 36px;
    transition: gap 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0.85;
    display: inline-block;
}

.nav-menu a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-1px);
}

.mobile-menu-header {
    display: none;
    /* Hide on desktop */
}

/* Burger Menu & Mobile Actions */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.btn-mobile-phone {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-mobile-phone:active {
    transform: scale(0.9);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(168, 165, 165, 0.3);
    backdrop-filter: blur(20px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 0.5;
    visibility: visible;
}

/* Header Reveal Animation */
.logo,
.nav-menu li,
.btn-call {
    opacity: 0;
    animation: headerFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cascade Animation Delays */
.logo {
    animation-delay: 800ms;
}

.nav-menu li:nth-child(1) {
    animation-delay: 1300ms;
}

.nav-menu li:nth-child(2) {
    animation-delay: 1800ms;
}

.nav-menu li:nth-child(3) {
    animation-delay: 2300ms;
}

.nav-menu li:nth-child(4) {
    animation-delay: 2800ms;
}

.nav-menu li:nth-child(5) {
    animation-delay: 3300ms;
}

.nav-menu li:nth-child(6) {
    animation-delay: 3800ms;
}

.nav-menu li:nth-child(7) {
    animation-delay: 4300ms;
}

.btn-call {
    animation-delay: 4800ms;
}

/* Call Button Styles */
.btn-call {
    display: inline-flex;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: transparent;
    transition: all 0.4s ease;
}

.btn-call:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    /* Vertically center content */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

/* Typographic details */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    /* Fluid font size */
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 900px;
    min-height: 2.3em;
    display: block;
    position: relative;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-title.typing::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 0.85em;
    background-color: var(--primary-color);
    margin-left: 12px;
    transform: translateY(6px);
    /* Align with text baseline */
    animation: blink 0.9s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    /* Fluid font size */
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons {
    display: flex;
    gap: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease 0.2s, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

/* Visibility triggers */
.hero-subtitle.visible,
.hero-buttons.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(216, 166, 105, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(216, 166, 105, 0.0);
}

.btn .arrow {
    margin-left: 10px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    font-weight: 400;
}

.btn:hover .arrow {
    transform: translateX(6px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    border-color: #fff;
    background-color: #fff;
    color: #000;
}

/* Camper Selection Section */
.camper-selection {
    background-color: #ffffff;
    padding: 70px 0 0;
    color: #232323;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.selection-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.selection-header {
    text-align: center;
    margin-bottom: 40px;
}

.selection-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: #232323;
}

.selection-title .highlight {
    color: var(--primary-color);
}

.selection-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.swipe-hint {
    display: none;
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cards-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.camper-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4/5.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.camper-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.camper-card:hover .card-bg {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.card-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: fit-content;
}

.card-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.card-description {
    font-size: 0.825rem;
    line-height: 1.6;
    margin-bottom: 14px;
    opacity: 0.85;
    max-width: 100%;
    font-weight: 300;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.825rem;
    transition: opacity 0.3s ease;
    width: fit-content;
    margin-top: 5px;
}

.btn-card:hover {
    color: var(--primary-color);
}

.btn-card .arrow {
    margin-left: 6px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    font-weight: 400;
}

.camper-card:hover .btn-card .arrow {
    transform: translateX(6px);
}

/* Animations Trigger Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* About / Why Us Section */
.why-us {
    padding: 100px 0 0;
    background-color: #ffffff;
    font-family: var(--font-main);
}

.why-us__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.why-us__top {
    background-color: #F5F1E8;
    border-radius: 32px;
    padding: 60px 60px 140px 60px;
}

.why-us__top-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.why-us__top-text {
    flex: 1;
    max-width: 600px;
}

.why-us__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #232323;
    opacity: 0.5;
    margin-bottom: 24px;
}

.why-us__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.25;
    color: #232323;
    margin-bottom: 0;
}

.why-us__top-image {
    flex: 1;
    max-width: 500px;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
}

.why-us__top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-us__features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(35, 35, 35, 0.1);
    padding-top: 40px;
}

.why-us__feature {
    flex: 1;
    position: relative;
    text-align: center;
}

.why-us__feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translate(50%, -50%);
    width: 1px;
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.25) 50%,
        rgba(0,0,0,0) 100%
    );
}

.why-us__feature-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.why-us__feature-desc {
    display: block;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Why Us Details Card */
.why-us__details-card {
    background-color: #F5F1E8;
    border-radius: 28px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); /* РњСЏРіРєР°СЏ С‚РµРЅСЊ */
    position: relative;
    margin-top: -20px; /* Overlap with the white card above, but less to save content */
    z-index: 5; /* Sit on top of the white card */
    text-align: left;
}

.why-us__details-grid {
    display: flex;
    gap: 60px;
    justify-content: space-between;
}

.why-us__details-item {
    flex: 1;
    position: relative;
}

.why-us__details-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px; /* РџРѕР»РѕРІРёРЅР° gap: 60px */
    top: 50%;
    transform: translate(50%, -50%);
    width: 1px;
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0) 100%
    );
}

.why-us__details-image {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 28px;
}

.why-us__details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Add Ken Burns to static images (Col 1 & 2) */
.why-us__details-item:not(:last-child) .why-us__details-image img {
    animation: kenBurns 10s linear infinite alternate;
}

.why-us__details-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #232323;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.why-us__details-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Detailed Card Slider */
.why-us__details-slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider-track img.active {
    opacity: 1;
    animation: kenBurns 8s linear infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

.why-us__details-text strong {
    display: block;
    font-weight: 600;
    color: #232323;
}

@media (max-width: 992px) {
    .why-us__details-card {
        padding: 40px 24px;
        margin-top: -30px; /* Refined overlap value */
        text-align: center;
    }

    .why-us__details-grid {
        flex-direction: column;
        gap: 50px;
    }

    .why-us__details-item:not(:last-child)::after {
        display: none;
    }

    .why-us__details-image {
        height: 250px;
    }
}

.why-us__bottom {
    position: relative;
    z-index: 2;
    margin-top: -80px; /* Restore overlap with beige top */
    padding: 0 40px;
}

.why-us__card {
    background-color: #ffffff;
    border-radius: 32px;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    align-items: stretch;
}

.why-us__card-image {
    flex: 1;
    min-width: 40%;
}

.why-us__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-us__card-content {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-us__card-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-us__card-title {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 600;
    color: #232323;
    margin-bottom: 24px;
}

.why-us__card-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.why-us__card-text:last-of-type {
    margin-bottom: 30px;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    color: #232323;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    width: fit-content;
}

.btn-about:hover {
    color: var(--primary-color);
}

.btn-about .arrow {
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    font-weight: 400;
}

.btn-about:hover .arrow {
    transform: translateX(6px);
}

/* About / Why Us Responsive */
@media (max-width: 1200px) {
    .why-us__bottom {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .why-us__top {
        padding: 50px 40px 120px 40px;
    }

    .why-us__top-main {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .why-us__top-image {
        width: 100%;
        max-width: 100%;
        height: 400px;
    }

    .why-us__features {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .why-us__feature:not(:last-child)::after {
        display: none;
    }

    .why-us__card {
        flex-direction: column;
    }

    .why-us__card-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .why-us {
        padding: 60px 0 0;
        margin-top: -1px; /* Bridge potential sub-pixel gap between sections */
    }

    .why-us__container {
        padding: 0 20px;
    }

    .why-us__top {
        padding: 40px 24px 100px 24px;
        border-radius: 24px;
    }

    .why-us__bottom {
        padding: 0;
        margin-top: -60px;
    }

    .why-us__card {
        border-radius: 24px;
    }

    .why-us__card-content {
        padding: 40px 24px;
        text-align: center;
    }

    .btn-about {
        margin: 0 auto;
    }

    .why-us__top-image {
        height: 250px;
    }

    .why-us__card-image {
        min-height: 250px;
    }
}

/* Responsive Implementation */
@media (max-width: 1440px) {

    .header-container,
    .hero-content,
    .selection-container {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {

    .logo,
    .header-actions {
        flex: 0 0 200px;
    }

    .logo img {
        height: 80px;
    }
}

@media (max-width: 992px) {
    .logo img {
        height: 120px;
        /* Increased header logo for mobile screens */
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        /* Transparent dark glass */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 30px;
        transition: left 0.4s ease;
    }

    .close-menu {
        position: absolute;
        top: 24px;
        right: 24px;
        background: transparent;
        border: none;
        color: var(--text-color);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        z-index: 1002;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .close-menu:hover {
        color: var(--primary-color);
        transform: scale(1.1);
    }

    .close-menu svg {
        width: 28px;
        height: 28px;
        stroke-width: 1.5;
    }

    .mobile-menu-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 50px;
        width: 100%;
        padding-top: 10px;
    }

    .mobile-logo {
        margin-bottom: 20px;
    }

    .mobile-logo img {
        height: 160px;
        width: auto;
    }

    .btn-call-mobile {
        width: 100%;
        padding: 14px 0;
        text-align: center;
        background: var(--primary-color);
        color: #fff;
        text-decoration: none;
        border-radius: 30px;
        font-weight: 600;
        font-size: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        width: 100%;
    }

    .nav-menu a {
        font-size: 18px;
        letter-spacing: 2px;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        display: block;
    }

    .burger-menu {
        display: flex;
        width: 26px;
        /* Slightly smaller burger */
        height: 18px;
    }

    .btn-mobile-phone {
        display: flex;
    }

    /* Hide burger menu when mobile menu is active */
    .header-container {
        padding: 0 24px;
        position: relative;
    }

    .burger-menu.active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .btn-call {
        display: none;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 15px;
    }

    .hero-content {
        padding: 0 24px;
        text-align: center;
    }

    .hero-title,
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .cards-grid {
        gap: 24px;
    }

    .selection-container {
        padding: 0 20px;
    }

    .camper-selection {
        padding: 70px 0 80px;
        border: none;
    }

    .camper-card {
        aspect-ratio: 4/5.5;
        padding: 24px 18px;
        max-width: 280px;
    }

    .card-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 16px;
    }

    .btn {
        width: 100%;
        padding: 16px 32px;
    }

    .hero-subtitle {
        margin-bottom: 32px;
    }

    /* Mobile Camper Stack */
    .cards-grid.stack-mode {
        position: relative;
        width: 100%;
        height: 540px;
        /* Increased height slightly */
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        overflow: visible;
        padding-bottom: 20px;
    }

    .cards-grid.stack-mode+.swipe-hint {
        display: block;
        animation: pulseSwipe 2s infinite;
    }

    @keyframes pulseSwipe {

        0%,
        100% {
            opacity: 0.4;
        }

        50% {
            opacity: 1;
        }
    }

    .cards-grid.stack-mode .camper-card {
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        margin: auto;
        width: calc(100% - 40px);
        max-width: 380px;
        aspect-ratio: 4/5.5;
        z-index: 1;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            opacity 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
        background-color: #000;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
        padding: 24px;
    }

    .cards-grid.stack-mode .camper-card.card-front {
        z-index: 2;
        transform: translateY(0) scale(1) rotate(0deg);
        filter: brightness(1);
        opacity: 1;
    }

    .cards-grid.stack-mode .camper-card.card-back {
        z-index: 1;
        transform: translateY(15px) scale(0.95) rotate(3deg);
        filter: brightness(0.6);
        opacity: 1;
    }

    .cards-grid.stack-mode .camper-card.card-hidden {
        z-index: 0;
        opacity: 0;
        transform: translateY(20px) scale(0.9) rotate(-3deg);
        pointer-events: none;
    }

    /* Disable hover completely when stack mode */
    .cards-grid.stack-mode .camper-card:hover {
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    }

    .cards-grid.stack-mode .camper-card.card-front:hover {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    .cards-grid.stack-mode .camper-card.card-back:hover {
        transform: translateY(15px) scale(0.95) rotate(3deg);
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 85%;
    }

    .logo img {
        height: 100px;
    }

    .camper-card {
        aspect-ratio: 4/5;
        padding: 24px;
    }

    .selection-title {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.75rem;
    }

    .card-badge {
        top: 20px;
        left: 20px;
    }
}

/* Fix for large screens */
@media (min-width: 1920px) {

    .header-container,
    .hero-content {
        max-width: 1720px;
        padding: 0 80px;
    }
}

/* =========================================
   How It Works Section
   ========================================= */
/* =========================================
   How It Works Section (Refined Wavy)
   ========================================= */
.how-it-works {
    background-color: #ffffff;
    padding: 70px 0 180px;
    font-family: var(--font-main);
    color: #232323;
    position: relative;
    overflow: hidden;
}

.hiw-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hiw-header {
    text-align: center;
    margin-bottom: 120px;
}

.hiw-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.how-it-works.active .hiw-title {
    opacity: 1;
    transform: translateY(0);
}

.hiw-title .highlight {
    color: var(--primary-color);
}

/* Timeline Horizontal Layout */
.timeline-horizontal {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 300px;
}

.hiw-actions {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hiw-actions.is-active {
    opacity: 1;
    transform: translateY(0);
}

.wave-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.timeline-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wave-bg {
    fill: none;
    stroke: rgba(216, 166, 105, 0.1);
    stroke-width: 3;
    display: none; /* Hide background track */
}

.wave-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    opacity: 0;
}

/* Steps Tracking */
.steps-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hiw-step {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.hiw-step.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Step Content Box */
.step-content {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    margin-left: -120px;
    z-index: 3;
}

/* BELOW steps logic */
.step-below .step-content {
    top: -24px;
}

/* ABOVE steps logic */
.step-above .step-content {
    bottom: -24px;
    flex-direction: column-reverse;
}
.step-above .step-icon {
    margin-bottom: 0;
    margin-top: 12px;
}

.step-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.hiw-step.is-active .step-icon {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 30px rgba(216, 166, 105, 0.5);
    transform: scale(1.1);
}

/* Final Step Styling */
.step-final {
    z-index: 5;
}
.step-final .step-content {
    top: -32px;
}
.step-final .step-icon.final {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: #fff;
}
.step-final .final-text {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #232323;
}

.step-text {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    text-align: center;
    line-height: 1.4;
    max-width: 200px;
    margin: 0;
}

/* Mobile Adjustments (Rotate 90) */
@media screen and (max-width: 768px) {
    .how-it-works {
        padding: 60px 0 100px;
    }
    .hiw-container {
        padding: 0 20px;
        overflow: hidden;
    }
    .timeline-horizontal {
        height: 800px;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .hiw-actions {
        margin-top: 140px; /* Space after step 5 */
    }
    .wave-container {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
    }
    .timeline-svg {
        transform: rotate(90deg);
        transform-origin: center;
        width: 800px;
        height: 340px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -400px;
        margin-top: -170px;
    }

    /* Steps vertical wave positions */
    .hiw-step:nth-child(1) { left: 50% !important; top: 0% !important; }
    .hiw-step:nth-child(2) { left: 80% !important; top: 25% !important; }
    .hiw-step:nth-child(3) { left: 20% !important; top: 50% !important; }
    .hiw-step:nth-child(4) { left: 80% !important; top: 75% !important; }
    .hiw-step:nth-child(5) { left: 50% !important; top: 100% !important; }

    .step-content {
        position: absolute;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-left: 0 !important;
        left: 0 !important;
        display: flex;
        align-items: center;
        width: 200px; /* Max space for side steps */
    }

    /* Centered steps 1 and 5 */
    .hiw-step:nth-child(1) .step-content {
        flex-direction: row;
        left: -24px !important; /* Anchor icon left edge to point */
        top: 50% !important;
        text-align: left;
        width: 240px;
        transform: translateY(-50%) !important;
    }
    .hiw-step:nth-child(1) .step-icon { margin: 0 12px 0 0; }

    .hiw-step:nth-child(5) .step-content {
        top: 10px !important; /* Move content slightly down from point */
        flex-direction: column; /* Text under icon */
        width: 160px;
        left: -80px !important;
        text-align: center;
        transform: none !important;
    }
    .hiw-step:nth-child(5) .step-icon { margin-bottom: 20px; } /* Increased from 8 to 20 approx 10px diff */

    /* Right peaks (2 & 4) -> Text to the LEFT of icon */
    .hiw-step:nth-child(2) .step-content,
    .hiw-step:nth-child(4) .step-content {
        flex-direction: row-reverse;
        left: auto !important;
        right: -24px !important; /* Anchor icon right edge to point */
        text-align: right;
        width: 240px;
    }
    .hiw-step:nth-child(2) .step-icon,
    .hiw-step:nth-child(4) .step-icon {
        margin: 0 0 0 12px;
    }

    /* Left peak (3) -> Text to the RIGHT of icon */
    .hiw-step:nth-child(3) .step-content {
        flex-direction: row;
        left: -24px !important; /* Anchor icon left edge to point */
        text-align: left;
        width: 240px;
    }
    .hiw-step:nth-child(3) .step-icon {
        margin: 0 12px 0 0;
    }

    .step-text {
        font-size: 0.9rem;
        max-width: 160px; /* Prevent line overlap */
    }
    
    .step-final .final-text {
        font-size: 1.1rem;
    }
}
/* =========================================
   Terms Section
   ========================================= */
.terms {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #F5F1E8;
    color: #232323;
    font-family: var(--font-main);
}

.terms-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.terms-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: kenBurnsTerms 15s linear infinite alternate;
}

@keyframes kenBurnsTerms {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.terms-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* 0.25-0.35 as requested */
    z-index: 2;
}

.terms-container {
    position: relative;
    z-index: 3;
    max-width: 1300px; /* Max width 1200-1300 */
    width: 100%;
    padding: 80px 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.terms-header {
    text-align: center;
    margin-bottom: 80px;
}

.terms-title {
    font-size: clamp(3rem, 5vw, 4rem); /* 48-64px */
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    min-height: 1.25em;
    display: block;
}

.terms-title .highlight {
    color: var(--primary-color);
}

.terms-title.typing::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background-color: var(--primary-color);
    margin-left: 8px;
    transform: translateY(4px);
    animation: blink 0.9s step-end infinite;
}

.terms-subtitle {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem); /* 18-20px */
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.terms.active .terms-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.terms-content {
    width: 100%;
}

.terms-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 60px;
}

.terms-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.terms-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.terms-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.2;
}

.terms-col-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: 0.5px;
}

.terms-col-text {
    font-size: 0.9375rem; /* 15px */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.terms-divider {
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0) 100%
    );
}

.terms-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    color: #fff;
    font-size: 0.875rem;
}

.terms-footer-dot {
    color: var(--primary-color);
    opacity: 1;
}

.terms-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn.terms-btn {
    border-radius: 30px;
    padding: 16px 44px;
    font-size: 0.9rem;
}

.btn.terms-btn:hover {
    transform: scale(1.03); /* Hover logic + existing btn- hover scaling */
}

/* Animations Trigger */
.terms .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.terms.active .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustments */
@media screen and (max-width: 992px) {
    .terms-grid {
        flex-wrap: wrap;
        gap: 40px 0;
    }
    .terms-column {
        flex: 0 0 45%;
    }
    .terms-divider {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .terms {
        height: auto;
        padding: 60px 0;
    }
    .terms-container {
        padding: 40px 20px;
    }
    .terms-header {
        margin-bottom: 50px;
    }
    .terms-title {
        font-size: clamp(1.75rem, 5vw, 2.1rem); /* 28-34px */
    }
    .terms-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    .terms-column {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 0px;
    }
    .terms-icon {
        margin-bottom: 16px;
    }
    .terms-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin-bottom: 40px;
    }
    .terms-footer-dot {
        display: none;
    }
    .terms-actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .btn.terms-btn {
        width: 100%;
    }
}

.reviews {
    padding: 120px 0;
    background-color: #F5F1E8;
    color: #232323;
    position: relative;
    overflow: hidden;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-title {
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.reviews-title .highlight {
    color: var(--primary-color);
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

.reviews-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.reviews-slider {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start; /* Ensure content starts from top to avoid overlap vertically */
}

.review-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.review-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.review-rating {
    color: #D8A669;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.review-quote {
    position: absolute;
    top: 32px;
    left: 40px;
    opacity: 0.6;
}

.review-name {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #000;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -27px;
}

.slider-arrow.next {
    right: -27px;
}

.slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive Reviews */
@media (max-width: 1100px) {
    .slider-arrow.prev { left: 0; }
    .slider-arrow.next { right: 0; }
}

@media (max-width: 768px) {
    .reviews {
        padding: 80px 0;
    }
    
    .reviews-container {
        padding: 0 20px;
    }
    
    .review-card {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .review-quote {
        display: none;
    }
    
    .slider-arrow {
        display: none; /* Hide arrows on mobile, use swipe/dots */
    }
    
    .reviews-slider {
        display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .review-slide {
        grid-area: 1 / 1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease;
        transform: none; /* No horizontal movement on mobile for stability */
    }
    
    .review-slide.active {
        opacity: 1;
        visibility: visible;
    }
    
    .review-slide:not(.active) {
        display: none; /* Completely remove from layout when not active */
    }
    
    .review-text {
        font-size: 0.95rem;
    }
}

/* FAQ Section */
.faq {
    background-color: #F5F1E8;
    padding: 100px 0;
    color: #232323;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    display: block;
    min-height: 1.2em;
}

.faq-title .highlight {
    color: var(--primary-color);
}

.faq-title.typing::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background-color: var(--primary-color);
    margin-left: 8px;
    transform: translateY(4px);
    animation: blink 0.9s step-end infinite;
}

.faq-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: rgba(35, 35, 35, 0.6);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.faq.active .faq-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question span {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 600;
    color: #232323;
    transition: color 0.3s ease;
    padding-right: 20px;
}

.faq-item.active .faq-question span {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #232323;
    background: #F5F1E8;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough to fit content */
    opacity: 1;
}

.faq-answer-content {
    padding: 0 30px 30px;
    font-size: clamp(0.9rem, 1.1vw, 1.125rem);
    line-height: 1.7;
    color: rgba(35, 35, 35, 0.7);
    font-weight: 400;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-container {
        padding: 0 20px;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
    
    .faq-item {
        border-radius: 18px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
}

/* Final CTA Section */
.cta-final {
    background-color: #FFFFFF;
    color: #232323;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.cta-container {
    max-width: 800px;
    width: 100%;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #232323;
    min-height: 1.8em; /* Placeholder for typewriter effect */
}

/* Custom highlight for white bg */
.cta-title .highlight {
    color: var(--primary-color);
}

.cta-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #666;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-actions {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Specific visibility triggers for CTA */
.cta-final.active .cta-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.cta-final.active .cta-actions {
    opacity: 1;
    transform: scale(1);
}

/* CTA Button Tweaks */
.cta-final .btn {
    padding: 18px 48px;
    border-radius: 16px; /* Custom radius as requested */
    font-weight: 600;
}

.cta-final .btn-primary:hover {
    transform: scale(1.03);
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 15px 35px rgba(216, 166, 105, 0.3);
}

/* Desktop only animations for typewriter cursor */
.cta-title.typing::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 0.85em;
    background-color: var(--primary-color);
    margin-left: 10px;
    transform: translateY(6px);
    animation: blink 0.9s step-end infinite;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .cta-final {
        padding: 60px 40px;
        min-height: 70vh;
    }
    
    .cta-subtitle {
        margin-bottom: 32px;
    }
    
    .cta-final .btn {
        width: 100%;
        padding: 18px 30px;
    }
}

/* Footer Section */
.footer {
    background-color: #F5F1E8;
    padding: 55px 0;
    font-family: var(--font-main);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    width: 140px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-v-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 0 35px;
    flex-shrink: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-main {
    flex-grow: 1;
    gap: 8px; /* space between rows */
}

/* Rows & Alignments */
.footer-row-top {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap; /* allow wrapping on small screens */
    gap: 30px; /* space between contact blocks */
    margin-bottom: 6px;
}

.footer-contact-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer-icon {
    color: #1a1a1a;
    transform: translateY(3px); /* Optical baseline alignment */
    flex-shrink: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Phone & Email & Address text */
.footer-phone,
.footer-email {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-phone::after,
.footer-email::after,
.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.footer-phone:hover::after,
.footer-email:hover::after,
.footer-legal-link:hover::after {
    width: 100%;
}

.footer-address {
    font-size: 1rem;
    color: #6b6b6b;
}

/* Social links inline */
.footer-social-link {
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-left: 6px;
    transform: translateY(3px); /* baseline align with text */
}

.footer-social-link:hover {
    transform: translateY(3px) scale(1.05);
    opacity: 0.7;
}

/* Legal text row */
.footer-legal-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 10px;
    font-size: 0.85rem;
}

.footer-copyright {
    color: #8a8a8a;
}

.footer-divider {
    color: rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

.footer-legal-link {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-phone:hover,
.footer-email:hover,
.footer-legal-link:hover {
    color: #1a1a1a;
}

/* Make touch targets slightly larger via padding */
.footer-legal-link, .footer-phone, .footer-email {
    padding: 2px 0;
}

/* Active touch states */
.footer-phone:active, .footer-email:active, .footer-legal-link:active {
    opacity: 0.7;
}

/* Mobile Adapation */
@media screen and (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 0 40px;
    }

    .footer-left-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .footer-v-divider {
        display: none;
    }

    .footer-logo-img {
        margin-bottom: 10px;
        width: 140px;
    }

    .footer-col-main {
        width: 100%;
        gap: 16px;
    }

    .footer-row-top {
        gap: 16px; /* tighter spacing on mobile */
    }

    .footer-contact-group {
        width: 100%; /* force stacking on small screens */
    }

    .footer-legal-row {
        flex-wrap: wrap; /* allow wrapping on mobile */
        white-space: normal;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-phone {
        font-size: 1.25rem;
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 900px;
    z-index: 9999;
    padding: 24px 32px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: bottom 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
    opacity: 0;
}

.cookie-popup.show {
    bottom: 20px;
    opacity: 1;
}

.cookie-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cookie-text a:hover {
    opacity: 0.8;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-accept:hover {
    background-color: #e5b37a; /* Lighter gold */
    border-color: #e5b37a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 166, 105, 0.3);
}

.btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-decline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Cookie Popup */
@media (max-width: 768px) {
    .cookie-popup {
        padding: 20px;
        bottom: -100%;
    }
    
    .cookie-popup.show {
        bottom: 10px;
    }

    .cookie-popup-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-text {
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
        padding: 14px;
    }
}


