/* ============================================================
   style.css  —  Kanneliya Travel Partner
   Global base styles + About Section styles
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg: #071217;
  --bg-dark: #080f14;
  --accent: #4ecdc4;
  --accent-dim: rgba(78, 205, 196, 0.12);
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.70);
  --white-40: rgba(255, 255, 255, 0.38);
  --white-08: rgba(255, 255, 255, 0.07);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
}

/* ── Global Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Placeholder sections (pages not yet built) ───────────── */
.placeholder-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(78, 205, 196, 0.08);
  letter-spacing: 0.06em;
}

/* ── Scroll Reveal Utilities ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible,
.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.18s;
}

.d3 {
  transition-delay: 0.28s;
}

.d4 {
  transition-delay: 0.40s;
}

.d5 {
  transition-delay: 0.52s;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-section {
  width: 100%;
  padding: 90px 72px;
  /* background: linear-gradient(150deg, #0c1f26 0%, #071217 55%); */
  overflow: hidden;
}

/* Two-column grid */
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Left column ── */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Eyebrow label */
.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-eyebrow-line {
  display: block;
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #4ecdc4);
  flex-shrink: 0;
}

.about-eyebrow-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

/* Heading */
.about-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.15;
  color: var(--white);
}

/* ── Image collage ── */
.about-image-grid {
  position: relative;
  height: 400px;
  width: 100%;
}

.about-img-box {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.45s ease;
  filter: brightness(0.85) saturate(0.88);
}

.about-img-box:hover img {
  transform: scale(1.05);
  filter: brightness(0.95) saturate(1);
}

/* Centre large image */
.about-img-center {
  width: 420px;
  height: 350px;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  z-index: 3;
}

/* Top-right small — behind centre */
.about-img-top-right {
  width: 200px;
  height: 155px;
  right: 0;
  top: 0;
  z-index: 1;
}

/* Bottom-left small — overlaps centre */
.about-img-bot-left {
  width: 190px;
  height: 150px;
  left: 0;
  bottom: 0;
  z-index: 4;
  border: 7px solid #091E24;
  border-radius: 16px;
}

/* Explore More button */
.about-explore-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: transparent;
  border: 1px solid var(--white-40);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 13px 30px;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.about-explore-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── Right column — text ── */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
  align-self: center;
}

.about-right p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--white-70);
  letter-spacing: 0.01em;
}

/* ── About Responsive ─────────────────────────────────────── */
@media (max-width: 1050px) {
  .about-section {
    padding: 72px 40px;
  }

  .about-inner {
    gap: 44px;
  }

  .about-img-center {
    width: 270px;
    height: 310px;
  }

  .about-img-top-right {
    width: 170px;
    height: 134px;
  }

  .about-img-bot-left {
    width: 160px;
    height: 130px;
  }

  .about-image-grid {
    height: 360px;
  }
}

@media (max-width: 780px) {
  .about-section {
    padding: 64px 28px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-image-grid {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: static;
  }

  .about-img-box {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: 180px !important;
    border: none !important;
    border-radius: 12px !important;
  }

  .about-img-center {
    grid-column: 1 / -1;
    height: 260px !important;
    order: 1;
  }

  .about-img-top-right {
    order: 2;
  }

  .about-img-bot-left {
    order: 3;
  }

  .about-explore-btn {
    position: static;
    grid-column: 1 / -1;
    order: 4;
    width: fit-content;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 52px 20px;
  }

  .about-image-grid {
    grid-template-columns: 1fr;
  }

  .about-img-center {
    height: 230px !important;
  }

  .about-img-top-right,
  .about-img-bot-left {
    height: 160px !important;
  }

  .about-heading {
    font-size: 28px;
  }
}


/* ============================================================
   DESTINATIONS SECTION
   ============================================================

   Grid layout (4 col × 3 row):

   Row 1: img-a | img-b | heading (spans col3+col4)
   Row 2: img-a | img-b | img-c   | img-d
   Row 3: sm    | big   | sm      | sm
*/

.dest-section {
  width: 100%;
  padding: 90px 72px;
  /* background: linear-gradient(160deg, #071217 0%, #0a1c22 60%, #071217 100%); */
  overflow: hidden;
}

.dest-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Main CSS grid ── */
.dest-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  grid-template-areas:
    "a  b  heading  heading"
    "a  b  c        d"
    "e  f  c        d";
  gap: 12px;
}

/* Top two rows height */
.dest-grid>.dest-a,
.dest-grid>.dest-b {
  min-height: 440px;
}

/* Area assignments — top block */
.dest-a {
  grid-area: a;
}

.dest-b {
  grid-area: b;
}

.dest-heading-block {
  grid-area: heading;
}

.dest-c {
  grid-area: c;
}

.dest-d {
  grid-area: d;
}

/* Area assignments — bottom row */
.dest-e {
  grid-area: e;
}

.dest-f {
  grid-area: f;
}

.dest-g {
  grid-area: g;
}

.dest-h {
  grid-area: h;
}

/* Bottom row heights */
.dest-e,
.dest-f,
.dest-g,
.dest-h {
  height: 200px;
}

/* ── Individual destination card ── */
.dest-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.4s ease;
  filter: brightness(0.82) saturate(0.9);
}

.dest-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.92) saturate(1.05);
}

/* Name label — bottom left gradient */
.dest-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background: #091E24;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  pointer-events: none;
  width: max-content;
  border-radius: 0 12px 0 0;
}

/* Teal accent line on hover */
.dest-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.dest-card:hover::after {
  width: 100%;
}

/* ── Heading block — spans col3+col4, row1 ── */
.dest-heading-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 24px 8px 24px 24px;
  gap: 16px;
}

.dest-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.dest-eyebrow-line {
  display: block;
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #4ecdc4);
  flex-shrink: 0;
}

.dest-eyebrow-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

.dest-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* ── Lightbox overlay ── */
.dest-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 12, 16, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.dest-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.dest-lightbox-inner {
  position: relative;
  max-width: 880px;
  width: 90vw;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.38s ease;
}

.dest-lightbox.open .dest-lightbox-inner {
  transform: scale(1) translateY(0);
}

.dest-lightbox-img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.dest-lightbox-caption {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
}

.dest-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 1;
}

.dest-lightbox-close:hover {
  background: #3ab8b0;
  transform: rotate(90deg) scale(1.1);
}

.dest-lightbox-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2.5;
}

.dest-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
  z-index: 2;
}

.dest-lb-arrow:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.dest-lb-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.dest-lb-prev {
  left: -60px;
}

.dest-lb-next {
  right: -60px;
}

/* ── Destinations Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .dest-section {
    padding: 72px 40px;
  }

  .dest-grid>.dest-a,
  .dest-grid>.dest-b {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .dest-section {
    padding: 64px 28px;
  }

  .dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "heading  heading"
      "a        b"
      "c        d"
      "e        f";
    gap: 10px;
  }

  .dest-heading-block {
    align-items: flex-start;
    text-align: left;
    padding: 0 0 8px 0;
  }

  .dest-eyebrow {
    justify-content: flex-start;
  }

  .dest-grid>.dest-a,
  .dest-grid>.dest-b {
    min-height: 220px;
  }

  /* .dest-c,
  .dest-d {
    height: 180px;
  } */

  .dest-e,
  .dest-f,
  .dest-g,
  .dest-h {
    height: 160px;
  }

  .dest-lb-prev {
    left: -10px;
  }

  .dest-lb-next {
    right: -10px;
  }
}

@media (max-width: 520px) {
  .dest-section {
    padding: 52px 20px;
  }

  .dest-grid {
    gap: 8px;
  }

  .dest-grid>.dest-a,
  .dest-grid>.dest-b {
    min-height: 170px;
  }

  .dest-c,
  .dest-d,
  .dest-e,
  .dest-f,
  .dest-g,
  .dest-h {
    height: 140px;
  }

  .dest-lightbox-inner {
    width: 95vw;
  }

  .dest-lb-prev,
  .dest-lb-next {
    display: none;
  }
}


/* ============================================================
   PACKAGES SECTION
   ============================================================ */

.pkg-section {
  width: 100%;
  padding: 90px 0 110px;
  /* background: linear-gradient(160deg, #071217 0%, #061318 50%, #071c24 100%); */
  overflow: hidden;
  position: relative;
}

/* Subtle hex grid background decoration */
/* .pkg-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 340px;
  height: 340px;
  background-image:
    repeating-linear-gradient(0deg, rgba(78, 205, 196, 0.04) 0px, rgba(78, 205, 196, 0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(60deg, rgba(78, 205, 196, 0.04) 0px, rgba(78, 205, 196, 0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(120deg, rgba(78, 205, 196, 0.04) 0px, rgba(78, 205, 196, 0.04) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
} */

.pkg-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 72px;
}

/* ── Heading ── */
.pkg-heading-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.pkg-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pkg-eyebrow-line {
  display: block;
  width: 100px;
  height: 1px;
  background: linear-gradient(to left, transparent, #4ecdc4);
}

.pkg-eyebrow-line:nth-child(1) {
  background: linear-gradient(to right, transparent, #4ecdc4);
}

.pkg-eyebrow-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

.pkg-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

/* ── Carousel wrapper ── */
.pkg-carousel-wrap {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Arrow buttons ── */
.pkg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.pkg-arrow:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.pkg-arrow svg {
  width: 18px;
  height: 18px;
}

.pkg-prev {
  left: 0;
}

.pkg-next {
  right: 0;
}

/* ── Track ── */
.pkg-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Individual card ── */
.pkg-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.55s ease,
    box-shadow 0.55s ease,
    filter 0.55s ease;
  will-change: transform, opacity;
}

.pkg-card-inner {
  background: #0d1f27;
  border: 1px solid rgba(78, 205, 196, 0.18);
  border-radius: 18px;
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
}

/* Notch at top centre */
.pkg-card-notch {
  width: 150px;
  height: 6px;
  background: var(--accent);
  border-radius: 0 0 6px 6px;
  margin: -36px auto 28px;
  opacity: 0.7;
}

/* ── Card positions ── */

/* Centre — active */
.pkg-pos-center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 10;
  box-shadow:
    0 0 0 1px rgba(78, 205, 196, 0.35),
    0 0 40px rgba(78, 205, 196, 0.25),
    0 0 80px rgba(78, 205, 196, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.6);
  filter: none;
  border-radius: 18px;
}

.pkg-pos-center .pkg-card-inner {
  border-color: rgba(78, 205, 196, 0.5);
}

/* Left side card */
.pkg-pos-left {
  transform: translate(calc(-50% - 310px), -50%) scale(0.82);
  opacity: 0.55;
  z-index: 5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  filter: brightness(0.7);
}

/* Right side card */
.pkg-pos-right {
  transform: translate(calc(-50% + 310px), -50%) scale(0.82);
  opacity: 0.55;
  z-index: 5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  filter: brightness(0.7);
}

/* Hidden cards */
.pkg-pos-hidden {
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hover on side cards */
.pkg-pos-left:hover,
.pkg-pos-right:hover {
  opacity: 0.75;
  filter: brightness(0.85);
}

/* ── Card typography ── */
.pkg-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.pkg-plan-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.pkg-divider {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(to right,
      rgba(255, 255, 255, 0.2) 0px,
      rgba(255, 255, 255, 0.2) 6px,
      transparent 6px,
      transparent 12px);
  margin: 12px 0;
}

.pkg-list {
  list-style: decimal;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pkg-list li {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.5;
}

.pkg-meals-block {
  margin-top: 4px;
}

.pkg-meal-type {
  font-size: 12px;
  font-weight: 400;
  color: var(--white-70);
  margin-bottom: 6px;
}

.pkg-meal-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pkg-meal-list li {
  font-size: 12px;
  font-weight: 300;
  color: var(--white-70);
}

.pkg-meal-list li::before {
  content: '-';
  margin-right: 4px;
  color: var(--accent);
}

/* ── Dot indicators ── */
.pkg-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pkg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.pkg-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pkg-inner {
    padding: 0 48px;
  }

  .pkg-card {
    width: 340px;
  }

  .pkg-pos-left {
    transform: translate(calc(-50% - 270px), -50%) scale(0.82);
  }

  .pkg-pos-right {
    transform: translate(calc(-50% + 270px), -50%) scale(0.82);
  }
}

@media (max-width: 860px) {
  .pkg-inner {
    padding: 0 28px;
  }

  .pkg-card {
    width: 300px;
  }

  .pkg-pos-left {
    transform: translate(calc(-50% - 220px), -50%) scale(0.78);
  }

  .pkg-pos-right {
    transform: translate(calc(-50% + 220px), -50%) scale(0.78);
  }

  .pkg-carousel-wrap {
    height: 500px;
  }
}

@media (max-width: 600px) {
  .pkg-section {
    padding: 64px 0 80px;
  }

  .pkg-inner {
    padding: 0 20px;
  }

  .pkg-card {
    width: 280px;
  }

  .pkg-carousel-wrap {
    height: 480px;
  }

  .pkg-pos-left {
    transform: translate(calc(-50% - 170px), -50%) scale(0.72);
    opacity: 0.4;
  }

  .pkg-pos-right {
    transform: translate(calc(-50% + 170px), -50%) scale(0.72);
    opacity: 0.4;
  }

  .pkg-prev {
    left: -4px;
  }

  .pkg-next {
    right: -4px;
  }
}


/* ============================================================
   WHY CHOOSE US SECTION — Horizontal Accordion
   ============================================================ */

.why-section {
  width: 100%;
  padding: 90px 72px;
  /* background: linear-gradient(150deg, #071217 0%, #0a1d25 55%, #071217 100%); */
  overflow: hidden;
  position: relative;
}

/* Hex grid decoration top-left */
/* .why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  background-image:
    repeating-linear-gradient(0deg, rgba(78, 205, 196, 0.05) 0px, rgba(78, 205, 196, 0.05) 1px, transparent 1px, transparent 38px),
    repeating-linear-gradient(60deg, rgba(78, 205, 196, 0.05) 0px, rgba(78, 205, 196, 0.05) 1px, transparent 1px, transparent 38px),
    repeating-linear-gradient(120deg, rgba(78, 205, 196, 0.05) 0px, rgba(78, 205, 196, 0.05) 1px, transparent 1px, transparent 38px);
  pointer-events: none;
} */

.why-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Heading ── */
.why-heading-wrap {
  margin-bottom: 40px;
}

.why-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.why-eyebrow-line {
  display: block;
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #4ecdc4);
  flex-shrink: 0;
}

.why-eyebrow-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.why-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ── Cards row ── */
.why-cards {
  display: flex;
  gap: 12px;
  height: 340px;
  align-items: stretch;
}

/* ── Individual card ── */
.why-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
  /* collapsed width */
  flex: 0 0 160px;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Active card — expanded */
.why-card.why-active {
  flex: 1 1 0%;
}

/* Image fills card */
.why-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.5s ease;
  filter: brightness(0.65) saturate(0.85);
}

.why-card.why-active img {
  filter: brightness(0.8) saturate(1);
}

.why-card:not(.why-active):hover img {
  transform: scale(1.06);
  filter: brightness(0.78) saturate(1);
}

/* Frosted content box — bottom of card */
.why-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px 20px;
  background: rgba(10, 25, 32, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: 0 0 16px 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Collapsed cards — content slides down slightly */
.why-card:not(.why-active) .why-card-content {
  padding: 14px 16px 16px;
}

/* Title */
.why-card-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.4;
  transition: font-size 0.4s ease;
}

.why-card.why-active .why-card-title {
  font-size: 13.5px;
  margin-bottom: 8px;
}

/* Text — hidden on collapsed cards */
.why-card-text {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  opacity: 0.5;
  transition: opacity 0.4s ease, -webkit-line-clamp 0.4s ease;
}

.why-card.why-active .why-card-text {
  -webkit-line-clamp: 4;
  line-clamp: 4;
  opacity: 1;
}

/* Teal left accent border on active */
.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  border-radius: 16px 0 0 16px;
}

.why-card.why-active::before {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1050px) {
  .why-section {
    padding: 72px 40px;
  }

  .why-cards {
    height: 300px;
  }

  .why-card {
    flex: 0 0 120px;
  }
}

@media (max-width: 720px) {
  .why-section {
    padding: 64px 28px;
  }

  /* Stack vertically on mobile */
  .why-cards {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .why-card {
    flex: none !important;
    height: 100px;
    width: 100%;
    transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .why-card.why-active {
    height: 300px;
  }

  .why-card img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .why-section {
    padding: 52px 20px;
  }

  .why-heading {
    font-size: 26px;
  }

  .why-card.why-active {
    height: 260px;
  }
}


/* ============================================================
   TESTIMONIALS SECTION — Infinite scroll columns
   ============================================================ */

.testi-section {
  width: 100%;
  padding: 90px 72px;
  overflow: hidden;
}

.testi-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Heading ── */
.testi-heading-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.testi-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testi-eyebrow-line {
  display: block;
  width: 100px;
  height: 1px;
  background: linear-gradient(to left, transparent, #4ecdc4);
  flex-shrink: 0;
}

.testi-eyebrow-line:nth-child(1) {
  background: linear-gradient(to right, transparent, #4ecdc4);
}

.testi-eyebrow-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

.testi-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ── 3-column grid ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  height: 560px;
  overflow: hidden;
  /* fade top & bottom edges */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* ── Column wrapper — clips overflow ── */
.testi-col {
  overflow: hidden;
  position: relative;
}

/* ── Scrolling track ── */
.testi-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testi-col:hover .testi-track {
  animation-play-state: paused !important;
}

/* Col 1 & 3 — top to bottom */
.testi-col-down .testi-track {
  animation: scrollDown 22s linear infinite;
}

/* Col 2 — bottom to top */
.testi-col-up .testi-track {
  animation: scrollUp 26s linear infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

/* ── Individual card ── */
.testi-card {
  background: rgba(10, 24, 32, 0.75);
  border: 1px solid rgba(78, 205, 196, 0.18);
  border-radius: 14px;
  padding: 24px 22px;
  flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 1px -1px 15px -6px rgba(78,205,196,0.75);
  -webkit-box-shadow: 1px -1px 15px -6px rgba(78,205,196,0.75);
  -moz-box-shadow: 1px -1px 15px -6px rgba(78,205,196,0.75);
}

.testi-card:hover {
  border-color: rgba(78, 205, 196, 0.45);
  box-shadow:
    0 0 0 1px rgba(78, 205, 196, 0.2),
    0 0 24px rgba(78, 205, 196, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.5);
}

.testi-card-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.testi-card-text {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 1050px) {
  .testi-section {
    padding: 72px 40px;
  }

  .testi-grid {
    height: 500px;
    gap: 12px;
  }
}

/* ── Mobile: Horizontal scroll columns ── */
@media (max-width: 720px) {
  .testi-section {
    padding: 64px 28px;
  }

  .testi-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    height: auto;
    gap: 16px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testi-col {
    height: auto;
    min-height: 180px;
    overflow: hidden;
    position: relative;
  }

  /* Horizontal track */
  .testi-track {
    flex-direction: row;
    width: max-content;
    gap: 14px;
    align-items: stretch;
  }

  .testi-card {
    width: 280px;
    flex-shrink: 0;
    padding: 20px 18px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Col 1 & 3 — left to right */
  .testi-col-down .testi-track {
    animation: scrollRight 25s linear infinite;
  }

  /* Col 2 — right to left */
  .testi-col-up .testi-track {
    animation: scrollLeft 30s linear infinite;
  }

  @keyframes scrollRight {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @keyframes scrollLeft {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }
}

@media (max-width: 480px) {
  .testi-section {
    padding: 52px 20px;
  }

  .testi-heading {
    font-size: 26px;
  }

  .testi-grid {
    gap: 12px;
  }

  .testi-col {
    min-height: 160px;
  }

  .testi-card {
    width: 260px;
    padding: 18px 16px;
    min-height: 140px;
  }
}