.tourism-hero-section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* increase hero height to match vertically long look */
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    background:
        url('images/invest-in-kasauli/why-kasauli.webp');
    line-height: 1.6;
    overflow: hidden;
}

.tourism-hero-section .tourism-bg-video {
    position: absolute;
    /* keep full coverage while preserving native aspect ratio */
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.25);
    transform-origin: center center;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    max-width: none;
    will-change: transform;
} 

.tourism-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        transparent 100px,
        rgba(0, 0, 0, 0.3) 200px,
        rgba(0, 0, 0, 0.3) calc(100% - 200px),
        transparent calc(100% - 100px),
        transparent 100%);
    z-index: 1;
}

/* Background layer (parallax removed) */
.tourism-hero-section.has-parallax { background: none; }
.tourism-parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin-top: -70px;
  padding-bottom: 70px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f5ede3;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.02) contrast(1.02);
}

/* Top gradient blend to transition from the previous section */
/* .tourism-parallax-layer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100px;
  background: linear-gradient(to bottom,
    #f5ede3 0%,
    rgba(245, 237, 227, 0.9) 20%,
    rgba(245, 237, 227, 0.7) 40%,
    rgba(245, 237, 227, 0.4) 60%,
    rgba(245, 237, 227, 0.15) 80%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
} */

/* Bottom gradient blend to transition into the next section */
/* .tourism-parallax-layer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  background: linear-gradient(to top,
    #f5ede3 0%,
    rgba(242, 234, 227, 0.9) 20%,
    rgba(242, 234, 227, 0.7) 40%,
    rgba(242, 234, 227, 0.4) 60%,
    rgba(242, 234, 227, 0.15) 80%,
    transparent 100%);
  pointer-events: none;
} */

.tourism-hero-section .tourism-main-container { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .tourism-parallax-layer { transition: none; transform: none !important; }
}

/* Hover parallax effect removed */

/* Larger screens: give even taller crop for very tall appearance */
@media (min-width: 1400px) {
    .tourism-hero-section {
        min-height: 1500px;
        padding: 100px 20px;
    }

    .tourism-hero-section .tourism-bg-video {
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%) scale(1.5);
    }
} 

.kasauli-text {
  position: relative;
  z-index: 9;
  font-family: 'Montserrat', 'Arial', sans-serif;
  /* Responsive big title that scales between small and very large screens */
  font-size: clamp(48px, 9.5vw, 140px);
  font-weight: 600;
  padding-bottom: 10vw;
  margin-left: 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 12px;
  line-height: 0.95;
  text-align: center;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.6);
  /* increase gap to sit higher above the white card (responsive) */
  margin: 0 0 clamp(80px, 17vw, 250px);
}

/* small caption above the main word */
/* .kasauli-text::before {
  content: "WHY";
  font-style: italic;
  position: absolute;
  top: -1.2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(10px, 1.6vw, 18px);
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.95);
  text-shadow: none;
} */

#why {
  /* font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px; */
  content: "WHY";
  font-style: italic;
  position: absolute;
  top: -2.2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.95);
  text-shadow: none;
}

#tourism-dock-point {
  display: inline-block;
  padding-bottom: 25px;
  font-size: clamp(48px, 4vw, 80px);
  font-weight: 600;
  color: #ffffff;
}

.kasauli-title-center {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 25vh;
  text-align: center;
}

.kasauli-title-inner {
  position: relative;
}

/* dotted line under the main title */
.kasauli-text::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.8em;
  width: 100%;
  height: 0;
  /* border-bottom: 1px dotted rgba(255, 255, 255, 0.45); */
}

@media (max-width: 950px) {
    .kasauli-text {
        padding-bottom: 4vw;
    }
}

@media (max-width: 768px) {
  .kasauli-text {
    font-size: clamp(34px, 10vw, 56px);
    letter-spacing: 8px;
  }

  .kasauli-text::before {
    top: -1.6em;
  }

  .kasauli-text::after {
    bottom: -1.8em;
    width: 75%;
  }
}

.tourism-main-container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.tourism-white-card-box {
    flex: auto;
    justify-content: center;
    margin: 0 30px 0 30px;
    padding: 50px 40px;
    box-sizing: border-box;
    background: #f2eae3;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.tourism-grid-wrapper {
    margin: 0 0 40px 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
}

.tourism-info-card {
    margin: 0;
    padding: 60px 40px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

.tourism-info-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: #e0e0e0;
}

.tourism-card-title {
    color: #1f3533;
    margin: 0 0 20px 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.tourism-card-description {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #1f3533;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
}

.why-kasauli-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.why-kasauli-section-box {
    margin: 0;
    padding: 50px 40px;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.why-kasauli-section-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.why-kasauli-section-title {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f3533;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    line-height: 1.4;
}

.why-kasauli-section-title span {
    display: block;
    position: relative;
    padding-bottom: 15px;
}

.why-kasauli-section-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3a5a57, #1f3533);
    border-radius: 2px;
}

.why-kasauli-section-subtext {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #1f3533;
    font-size: 15px;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Why Kasauli Main Container */
.why-kasauli-main-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding: 40px 30px;
}

/* Why Kasauli CTA Wrapper */
.why-kasauli-cta-wrapper {
    margin: 40px 0 0 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Why Kasauli Button */
.why-kasauli-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 15px 45px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1f3533, #2c3e50);
    color: #f2eae3;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(31, 53, 51, 0.2);
}

.why-kasauli-button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #1f3533, #1f3533);
    transform: translateY(-3px);
    /* box-shadow: 0 8px 25px rgba(31, 53, 51, 0.35); */
}

.tourism-cta-wrapper {
    margin: 40px 0 0 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 10;
}

.tourism-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 15px 45px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1f3533, #2c3e50);
    color: #f2eae3;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(31, 53, 51, 0.2);
}

.tourism-action-button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #1f3533, #1f3533);
    transform: translateY(-3px);
    /* box-shadow: 0 8px 25px rgba(31, 53, 51, 0.35); */
}

@media (max-width: 768px) {
    .tourism-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tourism-info-card:not(:last-child)::after {
        display: none;
    }

    .tourism-white-card-box {
        padding: 40px 25px;
        margin: 0 15px;
        position: relative;
        z-index: 5;
    }

    .tourism-hero-section {
        min-height: auto !important;
        height: auto !important;
        /* Removed top padding gap */
        padding: 0 15px 40px 15px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: relative;
    }

    /* Align serenity text with the left edge of the image */
    .serenity-text-box {
        margin-left: 10%;
    }

    /* Make parallax layer contained within section on mobile */
    .tourism-hero-section .tourism-parallax-layer {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        margin-top: 0;
        padding-bottom: 0;
    }

    .tourism-main-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        z-index: 2;
        flex: none;
    }

    .kasauli-title-center {
        height: auto;
        padding-top: 35%;
        padding-bottom: 10px;
        position: relative;
        flex: none;
        /* Lower z-index so kasauli text stays behind serenity section */
        z-index: 1;
    }

    .kasauli-text {
        margin: 0;
        padding-bottom: 0;
        /* Lower z-index so it stays behind serenity content when animating */
        z-index: 1;
    }

    .kasauli_serenity_section {
        margin-top: 15px;
        margin-bottom: 20px;
        position: relative;
        flex: none;
        /* Higher z-index to stay above kasauli text during scroll animation */
        z-index: 50;
    }

    .serenity-content {
        gap: 20px;
    }

    .serenity-image-box {
        padding: 10px;
    }

    /* Reduce the scale on smaller screens to avoid excessive cropping and bandwidth */
    .tourism-hero-section .tourism-bg-video {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .tourism-hero-section {
        min-height: auto !important;
        height: auto !important;
        padding: 60px 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: relative;
    }

    /* Reduce the scale on tablet to disable parallax effect */
    .tourism-hero-section .tourism-bg-video {
        transform: translate(-50%, -50%) scale(1.05);
    }

    /* Make parallax layer contained within section on tablet */
    .tourism-hero-section .tourism-parallax-layer {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }

    .tourism-main-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        position: relative;
        z-index: 2;
        flex: none;
    }

    .kasauli-title-center {
        height: 60vh;
        padding-top: 35%;
        padding-bottom: 20px;
        position: relative;
        flex: none;
        /* Keep centered initially - JS will animate to left on dock */
        justify-content: center;
        text-align: left;
        /* Lower z-index so kasauli text stays behind serenity section */
        z-index: 1;
    }

    .kasauli-text {
        margin: 0;
        padding-bottom: 5px;
        font-size: 170px;
        /* Lower z-index so it stays behind serenity content when animating */
        z-index: 1;
    }

    .kasauli_serenity_section {
        margin-top: 20px;
        margin-bottom: 30px;
        position: relative;
        flex: none;
        /* Higher z-index to stay above kasauli text during scroll animation */
        z-index: 50;
    }

    .serenity-content {
        padding: 0 25px;
    }

    .tourism-white-card-box {
        margin: 0 20px;
        position: relative;
        z-index: 5;
    }
}

/* Kasauli Serenity Section Styles */
.kasauli_serenity_section {
    position: relative;
    z-index: 8;
    width: 100%;
    margin-top: clamp(150px, 30vw, 400px);
    margin-bottom: clamp(40px, 8vw, 100px);
}

.serenity-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(30px, 8vw, 60px);
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 50px);
}

.serenity-text-box {
    flex: 0 1 45%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Ensure text box stays above kasauli text during scroll animation */
    position: relative;
    z-index: 55;
}

.serenity-heading {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    text-align: left;
    /* Create stacking context to keep all text above docking kasauli text */
    position: relative;
    z-index: 60;
}

.serenity-label {
    display: block;
    font-size: clamp(48px, 4vw, 80px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: clamp(4px, 0.3vw, 15px);
    /* Ensure label stays above docking kasauli text during scroll */
    position: relative;
    z-index: 15;
}

.serenity-main {
    display: block;
    font-size: clamp(48px, 4vw, 80px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 0.95;
}

.serenity-subtext {
    display: block;
    font-size: clamp(32px, 3vw, 56px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
    margin-top: clamp(8px, 1.5vw, 15px);
    font-style: italic;
}

/* Rotator styles: keep font and spacing from .serenity-subtext but make words occupy same position */
.serenity-rotator {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    min-width: 8ch;
    /* reduce the gap between the main line and the rotating word */
    margin-top: clamp(0px, 0.6vw, 6px);
    /* Ensure rotator stays above docking kasauli text during scroll */
    z-index: 15;
}
.serenity-rotator .serenity-subtext {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 0; /* override default .serenity-subtext spacing */
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
    white-space: nowrap;
    margin-left: -15px;
}
.serenity-rotator .serenity-subtext.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Image rotator: place images stacked and fade/slide in sync with the text */
.serenity-image-rotator {
    position: relative;
    width: 100%;
    max-width: 520px; /* slightly larger to bring image closer to the right */
    margin: 0 auto;
    margin-left: auto; /* align right within the image box */
    transform: translateX(6%); /* nudge right so the pseudo-color peeks through at bottom-right */
    aspect-ratio: 1920 / 1012; /* keep same visual size as original single image */
    overflow: hidden;
    border-radius: 8px;
}
.serenity-image-rotator .rot-image {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .45s ease, transform .45s ease;
}
.serenity-image-rotator .rot-image.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 2;
}

/* Pixel cover effect for serenity images */
.serenity-image-rotator .serenity-pixels-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
}

.serenity-image-rotator .pixels-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    z-index: 10;
    pointer-events: none;
}

.serenity-image-rotator .pixel {
    flex-shrink: 0;
    opacity: 1;
}

@media (max-width: 1024px) {
    .serenity-image-rotator {
        transform: translateX(4%);
        max-width: 520px;
    }

    .serenity-label {
        font-size: clamp(36px, 5vw, 60px);
    }

    .serenity-subtext {
        font-size: clamp(26px, 4vw, 40px);
    }
}
@media (max-width: 768px) {
    .serenity-rotator {
        min-width: 6ch;
    }
    .serenity-image-rotator {
        max-width: 420px;
        transform: translateX(4%);
    }
}
@media (max-width: 480px) {
    .serenity-rotator {
        min-width: 4ch;
        display: block;
        margin-top: clamp(6px, 1.2vw, 12px);
        text-align: left;
        min-height: 1.5em;
        position: relative;
    }
    /* Keep absolute positioning so rotation still shows one active word at a time on mobile */
    .serenity-rotator .serenity-subtext {
        position: absolute;
        left: 0;
        top: 0;
        transform: translateY(6px);
        white-space: nowrap;
        margin-left: 0;
    }
    .serenity-rotator .serenity-subtext.active {
        transform: translateY(0);
    }
    /* On small screens keep the rotator layout vertical but show only the active image */
    .serenity-image-rotator {
        position: static;
        max-width: 100%;
        transform: none;
    }
    .serenity-image-rotator .rot-image {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        display: none;
        margin-bottom: 12px;
    }
    .serenity-image-rotator .rot-image.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .serenity-text-box {
        width: 100%;
    }

    .serenity-heading {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    #tourism-dock-point {
        padding-bottom: 10px;
        margin-left: -150px;
    }
}

.serenity-image-box {
    flex: 0 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: transparent;
    padding: clamp(10px, 4vw, 20px);
    border-radius: 8px;
}

.serenity-image-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50px;
    width: 50%;
    height: 50%;
    background-color: #d4c5b9;
    border-radius: 0 0 8px 0;
    z-index: -1;
}

.serenity-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1012;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Mobile and Tablet Responsive */
@media (max-width: 1024px) {
    .serenity-content {
        flex-direction: column;
        text-align: left;
        gap: clamp(20px, 5vw, 40px);
    }

    .serenity-text-box {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .serenity-heading {
        text-align: left;
    }

    .serenity-image-box {
        flex: 1 1 100%;
        width: 100%;
        max-width: 500px;
    }

    .serenity-image-box::after {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .serenity-label {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: clamp(6px, 1.2vw, 12px);
    }

    .serenity-main {
        font-size: clamp(36px, 5vw, 48px);
    }

    .serenity-subtext {
        font-size: clamp(20px, 5vw, 28px);
        margin-top: clamp(6px, 1.2vw, 12px);
    }

    .serenity-image-box {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .tourism-hero-section {
        /* Removed top padding gap */
        padding: 0 10px 30px 10px;
    }

    .kasauli-title-center {
        /* Reduced padding to prevent overlap with serenity section */
        padding-top: 42%;
        padding-bottom: 15px;
        min-height: 100px;
        height: 40vh;
        /* Keep centered initially - JS will animate to left on dock */
        justify-content: center;
        text-align: center;
        /* Ensure proper stacking - lower than serenity section */
        position: relative;
        z-index: 1;
    }

    .kasauli-text {
        margin: 0;
        padding-bottom: 0;
        font-size: 50px;
        /* Ensure text doesn't overflow into other sections */
        position: relative;
        /* Lower z-index so it stays behind serenity content when animating */
        z-index: 1;
    }

    /* Ensure serenity section has proper spacing from kasauli title */
    .kasauli_serenity_section {
        position: relative;
        /* Higher z-index to stay above kasauli text during scroll animation */
        z-index: 50;
        /* Add top margin to ensure proper separation */
        margin-top: 30px !important;
    }

    /* Initial state before JS loads - ensure visibility on load */
    .serenity-label,
    .serenity-rotator {
        opacity: 1;
    }

    .serenity-content {
        padding: 0 15px;
    }

    .serenity-heading {
        display: flex;
        flex-direction: column;
        gap: clamp(4px, 0.8vw, 8px);
    }

    .serenity-label {
        font-size: clamp(22px, 6vw, 32px);
        letter-spacing: 1px;
    }

    .serenity-main {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .serenity-subtext {
        font-size: clamp(16px, 5vw, 22px);
        letter-spacing: 0.5px;
    }

    .tourism-white-card-box {
        margin: 0 10px;
        padding: 30px 20px;
    }

    .tourism-info-card {
        padding: 30px 15px;
    }

    .tourism-card-title {
        font-size: 20px;
    }

    .tourism-card-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .serenity-image-box {
        max-width: 100%;
        padding: clamp(5px, 2vw, 10px);
    }

    .serenity-image-box::after {
        right: 0;
    }
}

/* Disable click behavior on amenities center thumbnails */
.snap-slider-thumbs .thumb-slide {
    cursor: default;
    pointer-events: none;
}

.snap-slider-thumbs .thumb-slide .slide-link {
    display: none;
}

/* =====================================================
   MOBILE AMENITIES SCROLL OPTIMIZATION
   Performance optimizations for smooth scrolling on touch devices
   ===================================================== */

/* Ensure snap-slider-holder contains pinned elements properly */
.snap-slider-holder {
    position: relative;
    /* Create stacking context to contain z-index */
    isolation: isolate;
}

/* Ensure pinned thumbs wrapper stays positioned correctly */
.snap-slider-thumbs {
    z-index: 5;
}

/* Ensure pinned captions wrapper stays positioned correctly */
.snap-slider-captions {
    z-index: 4;
}

/* GSAP pin-spacer wrapper styling to prevent escape */
.snap-slider-holder .pin-spacer {
    z-index: 5 !important;
}

@media (max-width: 1024px) {
    /* Optimize images for GPU compositing on mobile */
    .snap-slide .img-mask {
        will-change: transform, opacity;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .snap-slide .section-image,
    .snap-slide .item-image {
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Optimize thumbnail animations - promote to GPU layer */
    .snap-slider-thumbs-wrapper {
        will-change: transform;
        transform: translateZ(0);
    }

    .thumb-slide {
        will-change: transform;
        transform: translateZ(0);
    }

    /* Optimize caption animations - promote to GPU layer */
    .snap-slider-captions-wrapper {
        will-change: transform;
        transform: translateZ(0);
    }

    .snap-slide-caption {
        will-change: transform;
    }
}