/* ===================================================
   Chiang Mai Elephant Sanctuary - Homepage Styles
   =================================================== */

/* --- Self-Hosted Fonts (Playfair Display + Raleway) --- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../assets/fonts/raleway-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../assets/fonts/raleway-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../assets/fonts/raleway-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../assets/fonts/raleway-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --color-primary: #515b20;
  --color-primary-dark: #3a4218;
  --color-accent: #8a9a3a;
  --color-text: #333;
  --color-text-light: #646a64;
  --color-bg: #fff;
  --color-bg-light: #f9f7f2;
  --color-bg-tint: #f3f5eb;
  --color-border: #e0e0e0;
  --color-white: #fff;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  --max-width: 1200px;
  --nav-height: 91px;
  --ease-calm: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition: 0.3s var(--ease-calm);
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.advantages h3 {
  font-size: 1.95rem;
  color: #333;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

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

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s;
}

/* "Read More Genuine Reviews in Trip Advisor" — sits directly under
   the Tripadvisor phone-preview screenshot in the social-proof banner */
.pd-tripadvisor-more-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 16px auto 0;
  padding: 12px 20px;
  font-size: 0.82rem;
  text-align: center;
  white-space: normal;
  line-height: 1.4;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #1a1008;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-logo img {
  height: 82px;
  width: auto;
  filter:
    drop-shadow(0 0 5px rgba(255, 205, 120, 0.6)) drop-shadow(0 0 14px rgba(255, 205, 120, 0.4));
  transition: transform var(--transition), filter var(--transition);
}

.site-logo:hover img {
  transform: scale(1.04);
  filter:
    drop-shadow(0 0 6px rgba(255, 205, 120, 0.75)) drop-shadow(0 0 18px rgba(255, 205, 120, 0.5));
}

/* Text-based logo (icon commented out in markup) */
.header-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo-text {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 0.85;
  color: var(--color-white);
  letter-spacing: 0.01em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-logo:hover .site-logo-text {
  opacity: 0.85;
  transform: scale(1.03);
}

.site-logo-text .logo-line-1 {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-logo-text .logo-line-2 {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-left: 3px;
}

.site-logo-text .logo-line-3 {
  font-size: 1.0rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: #f1f1f1;
  margin-left: 3px;
}


.header-book-btn {
  padding: 16px 44px;
  font-size: 1.05rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

/* "Other Programs" hover dropdown */
.other-programs-dropdown {
  position: relative;
}

.other-programs-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 230px;
  background-color: #1a1008;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1000;
}

.other-programs-menu li {
  list-style: none;
}

.other-programs-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

.other-programs-menu a::after {
  display: none;
}

.other-programs-menu a:hover {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.06);
}

.other-programs-dropdown:hover .other-programs-menu,
.other-programs-dropdown:focus-within .other-programs-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile nav "Other Programs" main item — styled like the other
   top-level nav links (not a faint sub-heading) since the items
   below it are its dropdown, not a continuation of "Full Day
   Program". Previously rendered near-white-on-white and was
   effectively invisible, which is what caused the confusion. */
.mobile-nav-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  list-style: none;
}

.mobile-nav-group-label::after {
  content: '▾';
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Phuket Programs — standalone animated CTA button (isolated from .main-nav a rules) */
a.nav-cta-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  padding: 16px 36px;
  border-radius: 16px;
  text-align: center;
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 220% 220%;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 14px rgba(81, 91, 32, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.nav-cta-btn span {
  position: relative;
  z-index: 2;
}

a.nav-cta-btn .nav-cta-line-1 {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

a.nav-cta-btn .nav-cta-line-2 {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}

a.nav-cta-btn.nav-cta-btn--animated {
  animation: navCtaGradient 4s ease infinite, navCtaPulse 2.6s ease-in-out infinite;
}

a.nav-cta-btn.nav-cta-btn--animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: navCtaShine 2.8s ease-in-out infinite;
  z-index: 1;
}

a.nav-cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(81, 91, 32, 0.55);
}

@keyframes navCtaGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes navCtaShine {
  0% {
    left: -60%;
  }

  50% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

@keyframes navCtaPulse {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(81, 91, 32, 0.4);
  }

  50% {
    box-shadow: 0 4px 22px rgba(138, 154, 58, 0.65);
  }
}

@media (prefers-reduced-motion: reduce) {

  a.nav-cta-btn.nav-cta-btn--animated,
  a.nav-cta-btn.nav-cta-btn--animated::before {
    animation: none;
  }
}

/* Standalone placement in mobile menu, separated from the link list */
.nav-cta-btn--mobile-standalone {
  width: 100%;
  margin: 0 0 20px 0;
  padding: 18px;
  border-bottom: none;
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 2px 6px;
  min-width: 420px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  transform: translateX(-50%) translateY(-8px);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--color-text);
}

.nav-dropdown a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

.nav-dropdown a::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 998;
  overflow-y: auto;
  padding: 24px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav li a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.mobile-nav li a:hover {
  color: var(--color-primary);
}

.mobile-nav .mobile-submenu {
  padding-left: 16px;
}

.mobile-nav .mobile-submenu a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-light);
}

/* ===================================================
   HERO SECTION — full-width video background
   =================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}

/* Video fills the entire hero */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark gradient overlay */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.38) 55%,
      rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

/* REMOVE this old rule — kept here as comment marker */

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 80px) 40px 80px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tc-badge {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.hero-guide {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 440px;
}

.hero-guide-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-guide-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.hero-guide-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.hero-guide-text strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}

/* .hero-image removed — replaced by full-width video background */

/* ===================================================
   ADVANTAGES SECTION
   =================================================== */
.advantages {
  background: var(--color-bg-tint);
  padding: 80px 0;
}

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

.advantages-header h2 {
  font-size: clamp(0.8rem, 2vw, 1.8rem);
  margin-bottom: 16px;
}

.advantages-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}

.advantages-grid-heading {
  grid-column: 1 / -1;
  text-align: center;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-family: var(--font-body);
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.advantage-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.advantage-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
}

/* ===================================================
   PROGRAMS SECTION
   =================================================== */
.programs {
  background: var(--color-bg-tint);
  padding: 80px 0;
}

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

.programs-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.programs-slider {
  position: relative;
  overflow: hidden;
}

.programs-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

.program-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.program-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.program-card-body {
  padding: 24px;
}

.program-card-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.program-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-card a.btn-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.program-card a.btn-link:hover {
  gap: 10px;
}

.program-card a.btn-link::after {
  content: '→';
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  font-size: 1.1rem;
}

.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ===================================================
   WHY OBSERVATION SECTION
   =================================================== */
.why-observation {
  background: var(--color-bg);
  padding: 80px 0;
}

.why-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.why-image {
  flex: 0 0 45%;
  position: relative;
}

.why-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  object-fit: cover;
  height: 480px;
}

.why-content {
  flex: 1;
}

.why-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

.why-content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===================================================
   WHAT'S INCLUDED SECTION
   =================================================== */
.included-section {
  background: var(--color-bg);
  padding: 80px 0;
}

.included-list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.included-list li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: var(--color-primary);
}

/* placeholder box used until a real photo is added */
.image-placeholder {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  background: repeating-linear-gradient(45deg, #e8e6df, #e8e6df 12px, #ded9cd 12px, #ded9cd 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  text-align: center;
  padding: 16px;
}

@media (max-width: 768px) {
  .image-placeholder {
    height: 300px;
  }
}

/* ===================================================
   ELEPHANTS SECTION
   =================================================== */
.our-elephants {
  background: var(--color-bg-tint);
  padding: 80px 0;
}

.elephants-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.elephants-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.elephants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.elephant-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.elephant-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.elephant-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.elephant-card-body {
  padding: 20px;
}

.elephant-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(81, 91, 32, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.elephant-card h3 {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.elephant-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.elephant-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.elephant-stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
}

.elephant-stat-value {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text-light);
}

/* ===================================================
   FAQ SECTION
   =================================================== */
.faq {
  background: var(--color-bg);
  padding: 80px 0;
}

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

.faq-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===================================================
   CONTACT / BOOKING SECTION
   =================================================== */
.contact-section {
  background: var(--color-primary);
  padding: 80px 0;
  color: var(--color-white);
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.contact-content {
  flex: 1;
}

.contact-content .section-tag {
  color: rgba(255, 255, 255, 0.7);
}

.contact-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-form-wrap {
  flex: 0 0 480px;
}

.contact-form {
  background: var(--color-white);
  border-radius: 12px;
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover {
  background-color: #1EBE5B;
  transform: translateY(-2px);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-check label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
  cursor: pointer;
}

.form-check label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: #1e2310;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 32px;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

/* Prevent long email addresses from overflowing their column */
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-brand img {
  height: 160px;
  width: auto;
  margin-bottom: 16px;
  background: none;
  border-radius: 0;
  padding: 0;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-badge {
  margin-top: 18px;
}

.footer-badge img {
  height: 72px;
  width: auto;
  margin: 0;
  background: none;
  border-radius: 0;
  padding: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===================================================
   BOOK NOW MODAL
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 560px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--color-border);
}

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.modal p.modal-sub {
  color: var(--color-text-light);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ===================================================
   VIDEO HERO (homepage)
   =================================================== */
.hero--video {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: #111;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.hero--video .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: calc(var(--nav-height, 90px) + 60px) 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--video .hero-content {
  max-width: 600px;
}

.hero--video .hero-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.hero--video .hero-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero--video .hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
}

.hero--video .hero-guide {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero--video .hero-guide strong,
.hero--video .hero-guide-text {
  color: #fff;
}

.hero--video .hero-guide-icon svg {
  fill: #fff;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .program-card {
    flex: 0 0 calc(50% - 14px);
  }

  .contact-inner {
    flex-direction: column;
    gap: 40px;
  }

  .contact-form-wrap {
    flex: none;
    width: 100%;
  }

  .why-inner {
    gap: 48px;
  }

  .why-book-inner {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 96px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hide the standalone header CTA on mobile — it's duplicated inside the mobile nav */
  .header-actions>a.nav-cta-btn {
    display: none;
  }

  .header-actions .btn {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .header-brand {
    gap: 14px;
  }

  .site-logo-text {
    font-size: 1.3rem;
  }

  .header-book-btn {
    font-size: 0.85rem;
    padding: 10px 18px;
  }

  .hero-inner {
    padding: calc(var(--nav-height) + 40px) 20px 60px;
  }

  .hero--video {
    min-height: 100svh;
  }

  .hero--video .hero-inner {
    padding: calc(var(--nav-height) + 40px) 20px 60px;
  }

  .hero--video .hero-content {
    max-width: 100%;
  }

  .hero-content {
    max-width: 100%;
  }

  .why-inner {
    flex-direction: column;
  }

  .why-image {
    flex: none;
    width: 100%;
  }

  .why-image img {
    height: 300px;
  }

  .why-book-inner {
    flex-direction: column;
  }

  .elephants-grid {
    grid-template-columns: 1fr 1fr;
  }

  .elephants-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .program-card {
    flex: 0 0 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .elephants-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.wa-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  animation: waSlideIn 0.6s var(--ease-calm) 1s both;
}

@keyframes waSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

/* Soft breathing pulse ring — calm, slow, low-opacity */
.wa-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: waPulseRing 3.2s var(--ease-calm) 2s infinite;
  z-index: -1;
}

@keyframes waPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  70% {
    transform: scale(1.55);
    opacity: 0;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.wa-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.wa-button img {
  width: 38px;
  height: 38px;
  display: block;
}

.wa-message {
  background: #fff;
  color: #333;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  cursor: pointer;
  animation: wa-pop 0.4s ease both;
}

@keyframes wa-pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateX(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

@media (max-width: 480px) {
  .wa-wrapper {
    bottom: 18px;
    right: 18px;
  }

  .wa-message {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* ===================================================
   SHARED INNER-PAGE HERO
   Used by about, blog, contact, faq, gallery,
   our-elephants, and programs pages. Each page's own
   stylesheet still defines .page-hero-inner .lead with
   a page-specific max-width.
   =================================================== */
.page-hero {
  padding-top: var(--nav-height);
  background: var(--color-bg-tint);
  border-bottom: 1px solid var(--color-border);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.page-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--color-text);
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ===================================================
   CALM MOTION SYSTEM
   Page-load fade, page-to-page transition, and a gentle
   staggered rise for hero text. Designed to feel quiet
   and tranquil rather than flashy.
   =================================================== */

/* Gentle whole-page fade-in on load */
body {
  animation: pageFadeIn 0.5s var(--ease-calm) both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Added by main.js just before navigating to an internal link,
   so leaving a page feels like a soft fade rather than a hard cut */
body.page-transitioning {
  animation: none;
  opacity: 0;
  transition: opacity 0.22s var(--ease-calm);
}

/* Staggered rise for hero / page-hero text.
   Both .hero-content and .page-hero-inner already carry the
   .reveal class in the markup — this just adds a gentle
   cascade to their direct children once .revealed is applied. */
.hero-content>*,
.page-hero-inner>* {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-calm), transform 0.7s var(--ease-calm);
}

.hero-content.revealed>*,
.page-hero-inner.revealed>* {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.revealed>*:nth-child(2),
.page-hero-inner.revealed>*:nth-child(2) {
  transition-delay: 0.12s;
}

.hero-content.revealed>*:nth-child(3),
.page-hero-inner.revealed>*:nth-child(3) {
  transition-delay: 0.24s;
}

.hero-content.revealed>*:nth-child(4),
.page-hero-inner.revealed>*:nth-child(4) {
  transition-delay: 0.36s;
}

.hero-content.revealed>*:nth-child(5),
.page-hero-inner.revealed>*:nth-child(5) {
  transition-delay: 0.48s;
}

/* Respect people who've asked their OS for less motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  body.page-transitioning {
    opacity: 1;
  }
}

/* ===================================================
   WHY BOOK WITH US
   =================================================== */
.why-book {
  padding: 96px 0;
  background: var(--color-bg);
}

.why-book-header {
  text-align: center;
  margin-bottom: 48px;
}

.why-book-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0;
}

.why-book-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.why-book-inner .why-book-card {
  flex: 1;
  max-width: none;
  margin: 0;
  text-align: left;
}

.why-book-inner .why-book-badge {
  margin: 0 auto 24px;
}

.why-book-inner .why-book-card>a {
  display: block;
}

.why-book-card-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0 0 24px;
}

.why-book-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  text-align: center;
}

.why-book-badge {
  display: block;
  margin: 0 auto 24px;
  width: 119px;
  height: 154px;
}

.why-book-card p {
  font-family: var(--font-body);
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0 0 16px;
}

.why-book-card p:last-of-type {
  margin-bottom: 32px;
}

.why-book-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  text-align: left;
}

.why-book-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
}

.why-book-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
}

@media (max-width: 640px) {
  .why-book {
    padding: 64px 0;
  }

  .why-book-header h2 {
    font-size: 1.9rem;
  }

  .why-book-card {
    padding: 32px 24px;
  }

  .why-book-list {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   WHAT WE ARE SECTION
   =================================================== */
.what-we-are {
  background: var(--color-bg);
  padding: 80px 0;
}

.what-we-are .why-content .section-tag {
  margin-bottom: 14px;
  display: inline-block;
}

/* ===================================================
   CHIANG MAI COMPARISON / ETHICS SECTION
   =================================================== */
.cm-compare {
  background: var(--color-bg);
  padding: 80px 0;
}

.cm-compare-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  align-items: center;
}

.cm-compare-content {
  flex: 0 1 420px;
}

.cm-compare-content .section-tag {
  margin-bottom: 14px;
  display: inline-block;
}

.cm-compare-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Good To Know accordion (Before You Visit) */
.good-to-know {
  background: var(--color-bg-tint);
  padding: 80px 0;
}

.good-to-know-header {
  text-align: center;
  margin-bottom: 56px;
}

.good-to-know-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.good-to-know-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.good-to-know-item {
  border-bottom: 1px solid var(--color-border, #e4ded0);
}

.good-to-know-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text, #1a1008);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.good-to-know-question:hover {
  color: var(--color-primary, #3f5c34);
}

.good-to-know-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-light, #f3efe4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.good-to-know-item.open .good-to-know-icon {
  transform: rotate(45deg);
  background: var(--color-primary, #3f5c34);
  color: white;
}

.good-to-know-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.good-to-know-item.open .good-to-know-answer {
  max-height: 900px;
}

.good-to-know-answer p {
  padding-bottom: 16px;
  color: var(--color-text-light, #5a5347);
  line-height: 1.8;
}

.good-to-know-answer .included-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.good-to-know-answer .included-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--color-text-light, #5a5347);
}

.good-to-know-answer .included-list li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: var(--color-primary, #3f5c34);
}

.cm-compare-content p {
  font-size: 1.02rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.cm-compare-checklist {
  flex: 0 0 600px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.cm-compare-checklist h3 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.cm-compare-checklist ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.cm-compare-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.cm-compare-checklist li:last-child {
  border-bottom: none;
}

.cm-compare-checklist li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: var(--color-primary);
}

@media (max-width: 900px) {
  .cm-compare-inner {
    flex-direction: column;
  }

  .cm-compare-content {
    flex-basis: auto;
    width: 100%;
  }

  .cm-compare-checklist {
    flex-basis: auto;
    padding: 28px 24px;
    width: 100%;
  }
}

/* ===================================================
   SEE US ON TRIPADVISOR SECTION
   =================================================== */
.tp-preview {
  padding: 96px 0;
  background: var(--color-bg);
  text-align: center;
}

.tp-preview-header {
  max-width: 620px;
  margin: 0 auto 48px;
}

.tp-preview-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-primary-dark);
  margin: 12px 0 16px;
}

.tp-preview-header p {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.tp-phone-link {
  display: inline-block;
  text-decoration: none;
}

.tp-phone {
  position: relative;
  width: 300px;
  margin: 0 auto;
  background: linear-gradient(155deg, #2b2f36, #0a0c10 55%, #050608);
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-calm), box-shadow 0.3s var(--ease-calm);
}

.tp-phone-notch {
  position: absolute;
  top: 26px;
  left: 61%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d4a5c, #050608 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.tp-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
}

.tp-phone-cta {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.tp-phone-link:hover .tp-phone {
  transform: translateY(-6px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.28);
}

.tp-phone-link:hover .tp-phone-cta {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .tp-phone {
    width: 240px;
  }
}

/* ===================================================
   WHAT YOUR VISIT REALLY SUPPORTS SECTION
   =================================================== */
.visit-supports {
  background: var(--color-bg-tint);
  padding: 80px 0;
}

.visit-supports-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.visit-supports-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.visit-supports-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.visit-supports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.visit-supports-card {
  background: var(--color-bg-tint);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.visit-supports-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.visit-supports-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.visit-supports-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.visit-supports-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.visit-supports-card p {
  color: var(--color-text-light);
  line-height: 1.75;
  font-size: 0.98rem;
}

.visit-supports-directly {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 44px 48px;
  color: var(--color-white);
}

.visit-supports-directly h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 22px;
  text-align: center;
}

.visit-supports-directly ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.visit-supports-directly li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.visit-supports-directly li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: var(--color-accent);
}

@media (max-width: 900px) {
  .visit-supports-grid {
    grid-template-columns: 1fr;
  }

  .visit-supports-directly ul {
    grid-template-columns: 1fr;
  }

  .visit-supports-directly {
    padding: 32px 24px;
  }
}

/* ===================================================
   FINAL CTA SECTION
   =================================================== */
.final-cta {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(rgba(30, 35, 16, 0.72), rgba(30, 35, 16, 0.72)),
    url('https://elephantspark.org/assets/program6.png') center/cover no-repeat;
  text-align: center;
}

.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 18px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .final-cta {
    padding: 72px 0;
  }
}

/* ===================================================
   FOOTER SOCIAL ICONS
   =================================================== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.9);
}

/* ===================================================
   BLOG PAGE
   =================================================== */
.blog-hero {
  background: var(--color-bg-light);
  padding: 100px 0 60px;
  text-align: center;
}

.blog-hero .section-tag {
  margin-bottom: 16px;
  display: inline-block;
}

.blog-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.blog-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-grid-section {
  background: var(--color-bg);
  padding: 70px 0 100px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-card h2 {
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.blog-card p {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}

.blog-card .btn-link {
  align-self: center;
}

@media (max-width: 800px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    padding: 36px 28px;
  }
}

/* Individual blog post page */
.blog-post-hero {
  background: var(--color-bg-light);
  padding: 90px 0 50px;
  text-align: center;
}

.blog-post-hero .section-tag {
  margin-bottom: 16px;
  display: inline-block;
}

.blog-post-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  max-width: 820px;
  margin: 0 auto 14px;
}

.blog-post-hero .blog-meta {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.blog-post-body {
  padding: 64px 0 100px;
}

.blog-post-content {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post-content img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 36px;
  height: 380px;
  object-fit: cover;
}

.blog-post-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--color-primary-dark);
}

.blog-post-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-light);
  margin-bottom: 18px;
}

.blog-post-content ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.blog-post-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 1.02rem;
  color: var(--color-text);
}

.blog-post-content ul li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: var(--color-primary);
}

.blog-post-cta {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.blog-post-cta h3 {
  margin-bottom: 18px;
  color: var(--color-primary-dark);
}

.blog-back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--color-primary);
}