/* ==========================================================================
   KALPITIYA KITESURF ACADEMY — REDESIGNED DESIGN SYSTEM & INDEX STYLES
   Brand Concept: CALM OCEAN • CLEAR WATER • SUNLIGHT • FREEDOM • LUXURY WATERSPORT
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR SYSTEM & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --white: #FFFFFF;
  --bg-pearl: #F6FBFC;
  --bg-water-light: #E7F5F7;
  --navy-deep: #082C3D;
  --ocean-muted: #397F96;
  --aqua-accent: #42C7D4;

  /* Glassmorphism System */
  --glass-bg: rgba(255, 255, 255, 0.48);
  --glass-bg-hover: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-dark: rgba(8, 44, 61, 0.12);
  --glass-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 14px 35px rgba(8, 44, 61, 0.06);
  --glass-shadow-hover: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 20px 45px rgba(8, 44, 61, 0.12);

  /* Typography */
  --font-heading: 'Syne', 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;

  /* Layout Spacing */
  --nav-height: 72px;
  --container-max: 1320px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  /* Motion & Transitions */
  --ease-fluid: cubic-bezier(0.25, 1, 0.35, 1);
  --transition-fast: 0.25s var(--ease-fluid);
  --transition-normal: 0.4s var(--ease-fluid);
  --transition-slow: 0.8s var(--ease-fluid);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--navy-deep);
  background-color: var(--bg-pearl);
  line-height: 1.65;
  position: relative;
}

/* Water Caustics / Light Reflections Background Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 10% 15%, rgba(66, 199, 212, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(57, 127, 150, 0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section-padding {
  padding: 120px 0;
}

/* Typography Utilities */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(66, 199, 212, 0.08);
  border: 1px solid rgba(66, 199, 212, 0.25);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ocean-muted);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  color: var(--navy-deep);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(8, 44, 61, 0.75);
  max-width: 640px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   3. BRAND LOADING SCREEN (Wave Line Reveal)
   -------------------------------------------------------------------------- */
.brand-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s var(--ease-fluid), opacity 0.6s var(--ease-fluid);
}

.brand-loader.loaded {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  height: 72px;
  width: 72px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: transparent;
  margin-bottom: 36px;
  animation: fadeIn 0.8s ease;
}

.loader-track {
  width: 240px;
  height: 3px;
  background: rgba(8, 44, 61, 0.08);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.loader-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ocean-muted), var(--aqua-accent));
  border-radius: 3px;
  transition: width 1.2s ease-in-out;
}

.loader-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--ocean-muted);
  margin-top: 16px;
  text-transform: uppercase;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   4. NEW WATER / GLASS CTA BUTTON SYSTEM
   -------------------------------------------------------------------------- */
/* Primary Button: Translucent Aqua Glass with Right Circular Arrow Icon */
.btn-glass-water {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px 14px 32px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 12px 30px rgba(8, 44, 61, 0.08);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy-deep);
  transition: all var(--transition-fast);
}

.btn-glass-water::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(66, 199, 212, 0.14);
  border-radius: 16px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-glass-water:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), 0 16px 40px rgba(66, 199, 212, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-glass-water:hover::before {
  opacity: 1;
}

.btn-arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.btn-glass-water:hover .btn-arrow-circle {
  transform: translateX(4px);
  background: var(--ocean-muted);
}

/* Secondary Button: Text link or glass outline */
.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-deep);
  padding: 14px 20px;
  transition: all var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--ocean-muted);
  transform: translateX(3px);
}

.btn-text-link span {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn-text-link:hover span {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   5. REDESIGNED FLOATING GLASS NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: top var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.95), 0 14px 40px rgba(8, 44, 61, 0.09);
  transition: all var(--transition-normal);
  position: relative;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  pointer-events: none;
}

.navbar-scrolled .navbar {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), 0 18px 50px rgba(8, 44, 61, 0.13);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: transparent;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--ocean-muted);
}

/* Scroll Offset for Fixed Glass Navbar Jumps */
#reviews, #gallery, #team, #intro, #lagoon, #safety, #book {
  scroll-margin-top: 100px;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--ocean-muted);
  border-radius: 2px;
}

/* Small Circular Glass Navbar CTA */
.nav-cta-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-deep);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 4px 18px rgba(8, 44, 61, 0.08);
  transition: all var(--transition-fast);
}

.nav-cta-glass:hover,
.nav-cta-glass.active {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(8, 44, 61, 0.18);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: -10px 0 40px rgba(8, 44, 61, 0.12);
  padding: 100px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1002;
  transition: right var(--transition-normal);
}

.mobile-drawer.open { right: 0; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy-deep);
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 44, 61, 0.3);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. EDITORIAL HERO SECTION (With Real Kitesurf Photo & Layered Typography)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg-pearl);
}

/* Real Photo Canvas Container */
.hero-photo-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.03);
  transition: transform var(--transition-slow);
}

/* Light Coastal Gradient Overlay (Light & Airy) */
.hero-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(246, 251, 252, 0.75) 0%, 
    rgba(246, 251, 252, 0.45) 45%, 
    rgba(246, 251, 252, 0.85) 100%
  );
  z-index: 2;
}

.hero-editorial-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

/* Editorial Staggered Headings */
.hero-heading-block {
  display: flex;
  flex-direction: column;
}

.hero-title-top {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  line-height: 0.95;
  color: var(--navy-deep);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-title-bottom {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 0.98;
  color: var(--ocean-muted);
  letter-spacing: -1px;
  margin-top: 12px;
  margin-left: max(20px, 4vw);
}

.hero-description-editorial {
  margin-top: 32px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(8, 44, 61, 0.85);
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Floating Glass Detail Panel Right */
.hero-glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--glass-shadow);
  max-width: 380px;
  margin-left: auto;
}

.glass-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--aqua-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.glass-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.glass-card-desc {
  font-size: 0.9rem;
  color: rgba(8, 44, 61, 0.78);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. EDITORIAL FLOATING INFO STRIP (Replaces generic 4 cards)
   -------------------------------------------------------------------------- */
.hero-info-strip {
  position: relative;
  z-index: 4;
  margin-top: 60px;
  width: 100%;
}

.info-strip-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.strip-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.strip-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ocean-muted);
  opacity: 0.7;
}

.strip-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--navy-deep);
  text-transform: uppercase;
}

.strip-sub {
  font-size: 0.82rem;
  color: rgba(8, 44, 61, 0.65);
  display: block;
}

.strip-divider {
  width: 1px;
  height: 32px;
  background: rgba(8, 44, 61, 0.12);
}

/* --------------------------------------------------------------------------
   8. LEARN TO KITESURF (Asymmetrical Split & Organic Mask)
   -------------------------------------------------------------------------- */
.learn-asym-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.learn-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(8, 44, 61, 0.1);
  border: 1px solid var(--glass-border);
}

.learn-photo-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.learn-photo-frame:hover img {
  transform: scale(1.04);
}

.learn-feature-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.learn-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--navy-deep);
}

.learn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua-accent);
}

/* --------------------------------------------------------------------------
   9. LESSONS PREVIEW (Clean Coastal Glass Cards)
   -------------------------------------------------------------------------- */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.course-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.course-photo-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-photo-box img {
  transform: scale(1.05);
}

.course-tag-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--ocean-muted);
  text-transform: uppercase;
}

.course-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.course-text {
  font-size: 0.92rem;
  color: rgba(8, 44, 61, 0.75);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   SPECIAL KITESURF PACKAGE CARD
   -------------------------------------------------------------------------- */
.special-package-box {
  background: linear-gradient(135deg, #e7f5f7 0%, #ffffff 50%, #d4eff4 100%);
  border: 2px solid var(--aqua-accent);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 40px rgba(66, 199, 212, 0.15);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.special-package-grid-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.special-package-badge-tag {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.special-package-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.1;
  margin-bottom: 16px;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.package-price-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
}

.package-price-unit {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ocean-muted);
  text-transform: uppercase;
}

.package-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 32px;
}

.package-inclusion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
}

.package-check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--aqua-accent);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.package-btn {
  background: var(--navy-deep);
  color: var(--white);
  box-sizing: border-box;
  max-width: 100%;
}

.package-btn .btn-arrow-circle {
  background: var(--aqua-accent);
  color: var(--navy-deep);
}

.special-package-photo-wrap {
  text-align: center;
}

.special-package-photo {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(8, 44, 61, 0.1);
}

/* --------------------------------------------------------------------------
   10. WHY KALPITIYA SECTION (Muted Ocean Theme & Benefits)
   -------------------------------------------------------------------------- */
.why-section {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-section .section-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--bg-water-light);
}

.why-section .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.why-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.why-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   11. EXPERIENCE SECTION (Editorial Asymmetrical Photo Tiles)
   -------------------------------------------------------------------------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.exp-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.exp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.exp-card:hover .exp-card-img {
  transform: scale(1.04);
}

.exp-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 44, 61, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--white);
}

.exp-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}

.exp-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   12. LEARNING JOURNEY (5 Step Progression)
   -------------------------------------------------------------------------- */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.journey-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition-normal);
}

.journey-card:hover {
  transform: translateY(-6px);
}

.journey-step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ocean-muted);
  margin-bottom: 12px;
}

.journey-step-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--navy-deep);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. REVIEWS SLIDER
   -------------------------------------------------------------------------- */
.reviews-wrapper {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s var(--ease-fluid);
}

.review-card {
  min-width: calc(33.333% - 19px);
  flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 0.96rem;
  color: rgba(8, 44, 61, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}

.review-author-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-deep);
}

.review-author-country {
  font-size: 0.8rem;
  color: var(--ocean-muted);
  font-weight: 600;
}

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

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--navy-deep);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   14. FINAL CTA SECTION & FOOTER
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.footer {
  background: #041822;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: transparent;
  margin-bottom: 20px;
}

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

.dkode-credit {
  color: var(--aqua-accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS & MOBILE OPTIMIZATION (DOWN TO 360PX)
   -------------------------------------------------------------------------- */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1180px) {
  .nav-links, .nav-cta-glass {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero-editorial-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-glass-card {
    margin-left: 0;
    max-width: 100%;
  }
  .info-strip-glass {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px;
  }
  .strip-divider {
    display: none;
  }
  .lessons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-card {
    min-width: calc(50% - 14px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .section-padding {
    padding: 44px 0;
  }
  .nav-links, .nav-cta-glass {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .learn-asym-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lessons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .special-package-box {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }
  .special-package-grid-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .package-price-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 20px;
  }
  .package-price-num {
    font-size: 2.8rem;
  }
  .package-price-unit {
    font-size: 0.9rem;
  }
  .package-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
  }
  .why-card {
    padding: 24px 20px;
    box-sizing: border-box;
    width: 100%;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reviews-wrapper {
    margin-top: 28px;
  }
  .reviews-track {
    gap: 24px;
  }
  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    box-sizing: border-box;
  }
  .slider-controls {
    margin-top: 24px;
  }
  .final-cta {
    padding: 40px 20px;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .final-cta-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .final-cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .btn-glass-water {
    min-height: 48px;
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .package-inclusions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .section-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }
  .btn-glass-water {
    font-size: 0.82rem;
    gap: 12px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   HOME OFFER POPUP
   ========================================================= */

body.home-offer-popup-open {
  overflow: hidden;
}


/* Background overlay */
.home-offer-popup {
  position: fixed;
  inset: 0;

  z-index: 9998;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(5, 27, 38, 0.54);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  overflow: hidden;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}


/* Visible popup */
.home-offer-popup.is-visible {
  opacity: 1;
  visibility: visible;
}


/* Main popup card */
.home-offer-popup-card {
  position: relative;

  width: min(520px, 100%);

  max-height:
    min(720px, calc(100vh - 48px));

  overflow: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */

  background: transparent;

  border:
    1px solid rgba(255, 255, 255, 0.78);

  border-radius: 24px;

  box-shadow:
    0 28px 80px rgba(8, 44, 61, 0.28);

  transform:
    translateY(18px) scale(0.97);

  transition:
    transform 0.34s var(--ease-fluid);
}

.home-offer-popup-card::-webkit-scrollbar {
  display: none;
}


.home-offer-popup.is-visible
.home-offer-popup-card {

  transform:
    translateY(0) scale(1);

}


/* Image */
.home-offer-popup-image-wrap {
  width: 100%;
  height: 220px;

  overflow: hidden;

  background:
    var(--bg-water-light);

  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}


.home-offer-popup-image {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* Card Background Blurred Image */
.home-offer-popup-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(25px);
  z-index: -1;
  opacity: 1;
}


/* Content */
.home-offer-popup-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
}



/* Special offer tag */
.home-offer-popup-eyebrow {
  display: inline-flex;

  margin-bottom: 10px;

  padding: 5px 11px;

  border-radius: 999px;

  background:
    rgba(66, 199, 212, 0.12);

  color:
    var(--ocean-muted);

  font-size: 0.7rem;

  font-weight: 800;

  letter-spacing: 1.8px;
}


/* Title */
.home-offer-popup-title {
  margin: 0;

  color:
    var(--navy-deep);

  font-family:
    var(--font-heading);

  font-size:
    clamp(1.75rem, 5vw, 2.5rem);

  line-height: 1.08;

  letter-spacing: -0.5px;
}


/* Description */
.home-offer-popup-description {
  margin: 12px 0 0;

  color:
    rgba(8, 44, 61, 0.72);

  font-size: 0.94rem;

  line-height: 1.6;
}


/* Price */
.home-offer-popup-price {
  display: flex;

  align-items: baseline;
  justify-content: center;

  gap: 9px;

  margin-top: 18px;
}


.home-offer-popup-price strong {
  color:
    var(--navy-deep);

  font-family:
    var(--font-heading);

  font-size: 2rem;

  line-height: 1;
}


.home-offer-popup-price span {
  color:
    var(--ocean-muted);

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: 1px;
}


/* Inclusions */
.home-offer-popup-inclusions {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;

  margin-top: 20px;
}


.home-offer-popup-inclusion {
  display: flex;

  align-items: flex-start;
  justify-content: center;

  gap: 9px;

  color:
    rgba(8, 44, 61, 0.82);

  font-size: 0.86rem;

  font-weight: 600;
}


.home-offer-popup-check {
  flex: 0 0 20px;

  width: 20px;
  height: 20px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 1px;

  border-radius: 50%;

  background:
    rgba(66, 199, 212, 0.13);

  color:
    var(--ocean-muted);

  font-size: 0.7rem;

  font-weight: 900;
}


/* CTA */
.home-offer-popup-cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 50px;

  margin-top: 24px;

  padding: 12px 18px;

  border-radius: 14px;

  background:
    var(--navy-deep);

  color:
    var(--white);

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 1.3px;

  text-align: center;

  transition:
    transform var(--transition-fast),
    background var(--transition-fast);
}


.home-offer-popup-cta:hover {
  background:
    var(--ocean-muted);

  color:
    var(--white);

  transform:
    translateY(-2px);
}


/* Close X */
.home-offer-popup-close {
  position: absolute;

  top: 14px;
  right: 14px;

  z-index: 2;

  width: 38px;
  height: 38px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.92);

  color:
    var(--navy-deep);

  box-shadow:
    0 7px 20px rgba(8, 44, 61, 0.14);

  font-size: 1.65rem;

  line-height: 1;

  transition:
    transform var(--transition-fast),
    background var(--transition-fast);
}


.home-offer-popup-close:hover {
  transform: scale(1.06);

  background:
    var(--white);
}


/* Mobile */
@media (max-width: 600px) {

  .home-offer-popup {
    padding: 16px;

    align-items: flex-end;
  }


  .home-offer-popup-card {
    width: 100%;

    max-height:
      min(82vh, 680px);

    border-radius: 22px;
  }


  .home-offer-popup-image-wrap {
    height: 185px;
  }


  .home-offer-popup-content {
    padding:
      24px 20px 22px;
  }

}