/* ============================================================
   SURFPOINT SRI LANKA — style.css
   Bright tropical, editorial premium, scroll-animated kite
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Bebas+Neue&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --ocean:      #0077B6;
  --ocean-dark: #005F92;
  --sky:        #90E0EF;
  --sky-light:  #CAF0F8;
  --sand:       #F5E6C8;
  --sand-light: #FBF5EA;
  --coral:      #FF6B35;
  --coral-dark: #E55525;
  --foam:       #F8FFFE;
  --deep:       #022B4E;
  --deep-2:     #0A1F33;
  --leaf:       #2D7D46;
  --gold:       #F4A261;
  --text:       #0D1F2D;
  --text-2:     #3A5068;
  --muted:      #6B8499;
  --border:     rgba(0,119,182,0.10);
  --white:      #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-stamp:   'Bebas Neue', sans-serif;

  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 12px rgba(0,119,182,0.07);
  --shadow-md:  0 8px 32px rgba(0,119,182,0.12);
  --shadow-lg:  0 20px 60px rgba(0,119,182,0.16);
  --shadow-xl:  0 32px 80px rgba(2,43,78,0.20);

  --nav-h: 72px;
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--foam);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CUSTOM CURSOR ── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s var(--ease-smooth);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ocean);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
  transition: transform 0.4s var(--ease-smooth), width 0.25s, height 0.25s, opacity 0.25s;
  transform: translate(-50%, -50%);
}

.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--coral);
  opacity: 0.7;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── SCROLL PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--ocean));
  width: 0%;
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--deep-2);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-stamp);
  font-size: 42px;
  letter-spacing: 6px;
  color: white;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-kite {
  font-size: 48px;
  animation: loaderFloat 1.2s ease-in-out infinite alternate;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--coral));
  border-radius: 2px;
  animation: loaderFill 1.6s var(--ease-out) forwards;
}

@keyframes loaderFill {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes loaderFloat {
  from { transform: translateY(0) rotate(-5deg); }
  to   { transform: translateY(-14px) rotate(5deg); }
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.45s var(--ease-smooth),
              box-shadow 0.45s var(--ease-smooth),
              height 0.3s var(--ease-smooth);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 28px rgba(0,30,60,0.09);
  --nav-h: 60px;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-stamp);
  font-size: 24px;
  letter-spacing: 3.5px;
  color: white;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-kite { font-size: 20px; transition: transform 0.4s var(--ease-spring); }
.nav-logo:hover .logo-kite { transform: rotate(-20deg) scale(1.2); }

#navbar.scrolled .nav-logo { color: var(--deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  position: relative;
  transition: color 0.25s;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--coral);
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

#navbar.scrolled .nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--coral) !important; }

.nav-cta-btn {
  background: var(--coral);
  color: white !important;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  box-shadow: 0 4px 20px rgba(255,107,53,0.35);
  transition: transform 0.2s var(--ease-spring),
              box-shadow 0.25s,
              background 0.2s !important;
}

.nav-cta-btn::after { display: none !important; }

.nav-cta-btn:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,53,0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 600;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-smooth), opacity 0.3s, background 0.3s;
}

#navbar.scrolled .hamburger span { background: var(--deep); }

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

/* Mobile Nav Drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: white;
  z-index: 490;
  padding: 100px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: -8px 0 40px rgba(0,30,60,0.15);
  transition: right 0.45s var(--ease-out);
}

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

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s, transform 0.2s;
  display: block;
}

.mobile-menu a:hover { color: var(--ocean); transform: translateX(6px); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,43,78,0.5);
  z-index: 480;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(175deg,
      rgba(2,43,78,0.72) 0%,
      rgba(0,95,146,0.45) 45%,
      rgba(144,224,239,0.20) 100%
    ),
    url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1800&q=85')
    center / cover no-repeat;
  transform-origin: center;
  transition: transform 0.1s linear;
}

/* Kite Canvas */
#kite-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 56px;
  max-width: 820px;
  margin-top: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 50px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8.5vw, 106px);
  font-weight: 900;
  line-height: 1.0;
  color: white;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.9s 0.38s var(--ease-out) forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--sky);
  display: inline-block;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { color: var(--sky); }
  50%       { color: #d4f5ff; }
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.72s var(--ease-out) forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--coral);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 32px rgba(255,107,53,0.40);
  transition: transform 0.22s var(--ease-spring),
              box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(255,107,53,0.52);
}

.btn-primary .btn-icon {
  font-size: 18px;
  transition: transform 0.3s var(--ease-spring);
}

.btn-primary:hover .btn-icon { transform: translateX(4px); }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.25s, gap 0.25s;
}

.btn-ghost-white:hover {
  border-color: rgba(255,255,255,0.9);
  gap: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--ocean);
  color: var(--ocean);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, transform 0.2s var(--ease-spring);
}

.btn-outline:hover {
  background: var(--ocean);
  color: white;
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  position: absolute;
  bottom: 120px;
  right: 56px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  animation: fadeLeft 0.8s 0.9s var(--ease-out) forwards;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 14px 22px;
  color: white;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.stat-pill:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(-4px);
}

.stat-num {
  font-family: var(--font-stamp);
  font-size: 36px;
  letter-spacing: 1px;
  color: var(--sky);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.82;
}

/* Hero bottom wave */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  pointer-events: none;
  z-index: 4;
}

.hero-wave svg { display: block; width: 100%; height: 90px; }

/* Hero scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounceY 2.2s ease-in-out infinite;
}

.scroll-hint .mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-hint .wheel {
  width: 3px; height: 7px;
  background: rgba(255,255,255,0.7);
  border-radius: 3px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── STRIP ── */
.info-strip {
  background: white;
  padding: 30px 56px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  box-shadow: 0 4px 32px rgba(0,60,120,0.07);
  position: relative;
  z-index: 10;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s var(--ease-spring);
}

.strip-item:hover { transform: translateY(-3px); }

.strip-icon-box {
  width: 48px; height: 48px;
  background: var(--sand-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.strip-item:hover .strip-icon-box {
  background: var(--sky-light);
  transform: rotate(-8deg) scale(1.1);
}

.strip-text strong { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.strip-text span { font-size: 13px; color: var(--muted); }

/* ── SECTION COMMONS ── */
section { padding: 108px 56px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--ocean);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
}

.section-title em { font-style: italic; color: var(--ocean); }

.section-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted);
  max-width: 560px;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-spring);
}

.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* ── ABOUT SECTION ── */
#about {
  background: var(--foam);
  padding: 108px 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.about-visual { position: relative; }

.about-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-img-float {
  position: absolute;
  bottom: 48px;
  right: -44px;
  width: 52%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px; height: 100px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 28px rgba(255,107,53,0.42);
  animation: rotateSlow 16s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-badge-inner { font-family: var(--font-stamp); font-size: 28px; letter-spacing: 1px; animation: rotateSlow 16s linear infinite reverse; }
.about-badge-sub { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; animation: rotateSlow 16s linear infinite reverse; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
}

.feature-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.3s var(--ease-spring),
              box-shadow 0.3s,
              border-color 0.25s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}

.feature-box .f-icon { font-size: 28px; margin-bottom: 12px; }
.feature-box .f-title { font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.feature-box .f-text { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── SERVICES ── */
#services {
  background: linear-gradient(168deg, #EAF6FF 0%, var(--foam) 100%);
}

.services-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.services-header .section-sub { margin: 0 auto; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-spring),
              box-shadow 0.35s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card-img-wrap { position: relative; overflow: hidden; }

.service-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.service-card:hover .service-card-img { transform: scale(1.07); }

.service-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--coral);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
}

.service-card-body { padding: 30px; }

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 22px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean);
  transition: gap 0.25s var(--ease-smooth);
}

.card-link:hover { gap: 14px; }
.card-link .arrow { font-size: 18px; transition: transform 0.25s; }
.card-link:hover .arrow { transform: translateX(4px); }

/* ── KITE PARALLAX SECTION ── */
#kite-section {
  position: relative;
  min-height: 100vh;
  background: var(--deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 108px 56px;
}

#kite-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80')
    center / cover no-repeat;
  opacity: 0.12;
}

#kite-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.kite-section-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.kite-text .section-title { color: white; }
.kite-text .section-title em { color: var(--sky); }
.kite-text .section-sub { color: rgba(255,255,255,0.68); max-width: 100%; }
.kite-text .section-label { color: var(--sky); }
.kite-text .section-label::before { background: var(--sky); }

.kite-feats { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }

.kite-feat-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.kite-feat-row:hover {
  background: rgba(255,255,255,0.11);
  transform: translateX(6px);
}

.kfr-icon {
  font-size: 24px;
  width: 50px; height: 50px;
  background: rgba(144,224,239,0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kfr-title { font-weight: 600; font-size: 15px; color: white; margin-bottom: 5px; }
.kfr-text  { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.62; }

/* Kite card panel */
.kite-card-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spot-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: white;
}

.spot-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.5s;
}

.spot-card:hover img { opacity: 1; transform: scale(1.04); }
.spot-card-img-wrap { overflow: hidden; }

.spot-card-body { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; }
.spot-card-place { font-weight: 600; font-size: 16px; }
.spot-card-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }

.spot-cta {
  background: var(--sky);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  white-space: nowrap;
}

.spot-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(144,224,239,0.4);
}

/* ── TESTIMONIALS ── */
#testimonials { background: white; }

.testi-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1320px;
  margin: 0 auto 52px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: var(--sand-light);
  border-radius: var(--radius-md);
}

.rating-big {
  font-family: var(--font-stamp);
  font-size: 48px;
  color: var(--text);
  line-height: 1;
}

.rating-stars { color: #FFC107; font-size: 18px; letter-spacing: 2px; }
.rating-count { font-size: 13px; color: var(--muted); margin-top: 3px; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.testi-card {
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--foam);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

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

.testi-card.featured {
  background: var(--ocean);
  color: white;
  border-color: transparent;
}

.quote-glyph {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.7;
  color: var(--sky);
  opacity: 0.25;
  position: absolute;
  top: 20px; right: 24px;
  pointer-events: none;
}

.testi-card.featured .quote-glyph { color: white; opacity: 0.15; }

.testi-stars { margin-bottom: 16px; color: #FFC107; font-size: 15px; letter-spacing: 2px; }
.testi-card.featured .testi-stars { color: var(--sky); }

.testi-body { font-size: 15px; line-height: 1.78; margin-bottom: 26px; }
.testi-card.featured .testi-body { color: rgba(255,255,255,0.88); }

.testi-author { display: flex; align-items: center; gap: 13px; }

.testi-av {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--ocean);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-card.featured .testi-av { background: rgba(255,255,255,0.18); color: white; }

.testi-name { font-weight: 600; font-size: 14px; }
.testi-card.featured .testi-name { color: white; }
.testi-from { font-size: 12px; color: var(--muted); }
.testi-card.featured .testi-from { color: rgba(255,255,255,0.6); }

/* ── SEASONS ── */
#seasons {
  background: linear-gradient(170deg, #FFF8EF 0%, var(--foam) 100%);
}

.seasons-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}

.seasons-header .section-label { justify-content: center; }
.seasons-header .section-label::before { display: none; }
.seasons-header .section-sub { margin: 0 auto; }

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
}

.season-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.season-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.season-card.peak    { background: var(--ocean); color: white; border-color: transparent; }
.season-card.good    { background: #E5F5FF; border-color: #B8DEFF; }
.season-card.shoulder{ background: #EFFFF4; border-color: #B8EEC8; }
.season-card.off     { background: #FFF5EA; border-color: #FFD9B5; }

.season-ico { font-size: 40px; margin-bottom: 16px; display: block; }
.season-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.season-card.peak .season-name { color: white; }
.season-period { font-size: 13px; font-weight: 600; opacity: 0.75; margin-bottom: 12px; }
.season-desc { font-size: 13px; line-height: 1.65; opacity: 0.72; }

.season-pill {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}

.season-card.peak .season-pill     { background: rgba(255,255,255,0.22); color: white; }
.season-card.good .season-pill     { background: var(--sky); color: var(--deep); }
.season-card.shoulder .season-pill { background: #8DD9A8; color: #0D3320; }
.season-card.off .season-pill      { background: var(--gold); color: #3a200a; }

/* ── BLOG ── */
#blog { background: white; }

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1320px;
  margin: 0 auto 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 26px;
  max-width: 1320px;
  margin: 0 auto;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

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

.blog-card-img-wrap { overflow: hidden; }

.blog-card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);
}

.blog-card:first-child .blog-card-img { height: 290px; }
.blog-card:hover .blog-card-img { transform: scale(1.06); }

.blog-card-body { padding: 26px 28px; }
.blog-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--ocean); margin-bottom: 10px; }
.blog-card-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.blog-card:first-child .blog-card-body h3 { font-size: 24px; }
.blog-card-body p { font-size: 13.5px; color: var(--muted); line-height: 1.72; margin-bottom: 18px; }
.blog-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.blog-meta .sep { color: var(--sky); }

/* ── CTA ── */
#cta {
  background: linear-gradient(138deg, var(--ocean) 0%, var(--deep) 100%);
  text-align: center;
  padding: 116px 56px;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1583012322939-70e2d74ec8d0?w=1600&q=80') center / cover no-repeat;
  opacity: 0.07;
}

/* Animated rings */
#cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  animation: ringExpand 4s ease-out infinite;
}

@keyframes ringExpand {
  0%   { transform: translate(-50%,-50%) scale(0.4); opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner .section-label { color: var(--sky); justify-content: center; }
.cta-inner .section-label::before { background: var(--sky); }

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  margin-bottom: 22px;
}

.cta-inner h2 em { font-style: italic; color: var(--sky); }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.72); margin-bottom: 44px; font-weight: 300; }

.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-white {
  background: white;
  color: var(--deep);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.22s var(--ease-spring), box-shadow 0.25s;
}

.btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(0,0,0,0.3); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.45);
  color: white;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.25s, background 0.25s;
}

.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

.cta-contact-row {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.cta-contact-row a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.cta-contact-row a:hover { color: var(--sky); }

/* ── FOOTER ── */
footer {
  background: var(--deep-2);
  color: rgba(255,255,255,0.7);
  padding: 80px 56px 40px;
}

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

.footer-brand .f-logo {
  font-family: var(--font-stamp);
  font-size: 32px;
  letter-spacing: 4px;
  color: white;
  display: block;
  margin-bottom: 18px;
}

.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 290px; margin-bottom: 24px; }

.f-socials { display: flex; gap: 10px; }

.f-social {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  transition: background 0.25s, transform 0.25s var(--ease-spring), color 0.2s;
}

.f-social:hover { background: var(--ocean); color: white; transform: translateY(-3px); }

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 22px;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-col a:hover { color: var(--sky); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--sky); }

.dkode-tag { color: rgba(255,255,255,0.32); font-size: 12px; }
.dkode-tag a { color: var(--sky) !important; font-weight: 600; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-visual { max-width: 560px; }
  .about-img-float { right: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .seasons-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .kite-section-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 72px 24px; }
  #hero { padding: 0; }
  .hero-content { padding: 0 24px; }
  .hero-stats { display: none; }
  #navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .info-strip { padding: 24px; gap: 28px; justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-img-float { display: none; }
  .about-badge { top: -10px; left: 0; width: 80px; height: 80px; }
  .about-badge-inner { font-size: 22px; }
  #kite-section { padding: 72px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 46px; }
  .seasons-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1100px) {
  .about-visual {
    position: relative !important;
    top: auto !important;
    z-index: 1;
  }
}

/* ── DARK MODE THEME VARIABLES ── */
[data-theme="dark"] {
  --foam:       #0B192C;        /* Main dark background */
  --white:      #112236;        /* Card backgrounds */
  --text:       #F8FFFE;        /* Primary light text */
  --text-2:     #CAF0F8;        /* Secondary light text */
  --muted:      #8B9EAF;        /* Muted text */
  --border:     rgba(144,224,239,0.15); /* Soft border */
  --sand-light: #1A2F45;        /* Alternate section backgrounds */
  --ocean:      #48CAE4;        /* Brighten primary color for contrast */
}

/* ── THEME TOGGLE BUTTONS ── */
.desktop-toggle {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}

.desktop-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

#navbar.scrolled .desktop-toggle { color: var(--text); }
#navbar.scrolled .desktop-toggle:hover { background: rgba(0,0,0,0.05); color: var(--ocean); }

/* Switch icons based on active theme */
[data-theme="dark"] .desktop-toggle .sun-icon { display: none; }
[data-theme="dark"] .desktop-toggle .moon-icon { display: block; }

/* Mobile Track Toggle */
.mobile-toggle { width: 52px; height: 28px; }
.toggle-track {
  width: 100%; height: 100%;
  background: var(--muted);
  border-radius: 50px;
  position: relative;
  transition: background 0.3s;
}
.toggle-thumb {
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .toggle-track { background: var(--ocean); }
[data-theme="dark"] .toggle-thumb { transform: translateX(24px); }
[data-theme="dark"] .mobile-menu { background: var(--foam); }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
}

/* ── DYNAMIC TIME-BASED GRADIENT OVERRIDES ── */

/* 1. Set the main body background to the 3-stop gradient */
body {
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bot) 100%);
  background-attachment: fixed; /* Keeps the gradient static while scrolling */
  color: var(--text-main);
}

/* 2. Make all solid sections transparent so the gradient shows through */
section, 
.info-strip, 
.activities-list, 
.blog-page-section, 
.room-rates-section, 
.team-section,
#about,
#services,
#rentals-preview,
#activities-preview,
#team-preview,
#testimonials,
#blog-preview {
  background: transparent !important;
}

/* 3. Apply semi-transparent glass backgrounds to cards/boxes */
.feature-box, 
.service-card, 
.testi-card, 
.season-card, 
.blog-card, 
.price-card, 
.team-card, 
.activity-meta,
.info-strip {
  background: var(--card-bg) !important;
  border-color: var(--border) !important;
  backdrop-filter: blur(12px); /* Gives it a premium glassmorphism look */
  color: var(--text-main);
}

/* 4. Ensure headings adapt to the time of day */
h1, h2, h3, h4, .section-title, .f-title, .strip-text strong {
  color: var(--text-main) !important;
}

/* 5. Update accented text (like the Yellow/Orange sunset text) */
em, 
.section-label, 
.card-link, 
.blog-cat,
.stat-num,
.quote-glyph {
  color: var(--text-accent) !important;
}
.section-label::before {
  background: var(--text-accent) !important;
}