/* ═══════════════════════════════════════════════════════════
   TAKSHA 2025 — Ultra Premium Design System
   ISTE SCTCE SC
═══════════════════════════════════════════════════════════ */

/* ── Tokens: Ragam '23 Typography & Color Palette ───────── */
:root {
  --bg-base: #000000;
  --bg-surface: #050505;
  --bg-elevated: #0a0a0a;
  --bg-glass: rgba(235, 230, 208, 0.04);

  --cyan: #00D4FF;
  --cyan-dim: rgba(0, 212, 255, 0.12);
  --cyan-glow: rgba(0, 212, 255, 0.4);
  --gold: #C9A96E;
  --gold-bright: #F0C97A;
  --gold-dim: rgba(201, 169, 110, 0.12);
  --gold-glow: rgba(201, 169, 110, 0.4);
  --accent-coral: #FF6C38;
  --accent-crimson: #BA2D20;

  --text-primary: #EBE6D0;
  /* Ragam '23 Warm Cream */
  --text-secondary: rgba(235, 230, 208, 0.65);
  --text-muted: rgba(235, 230, 208, 0.40);
  --border: rgba(235, 230, 208, 0.12);
  --border-bright: rgba(235, 230, 208, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Cutive Mono', 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}


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

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

body {
  background: #000000;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── Loader ──────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-morph-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loader-morph-svg {
  width: min(720px, 85vw);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(201, 169, 110, 0.35));
}
.loader-script-label {
  text-align: center;
}
.loader-script-label span {
  font-family: 'JetBrains Mono', 'Cutive Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: rgba(235, 230, 208, 0.45);
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.loader-bottom {
  position: absolute;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.loader-bar {
  width: min(320px, 60vw);
  height: 2px;
  background: rgba(235, 230, 208, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #C9A96E, #E2C485);
  border-radius: 2px;
  transition: width 4.5s linear;
}
.loader-tagline {
  font-family: 'JetBrains Mono', 'Cutive Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(235, 230, 208, 0.3);
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

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

/* ── Custom Cursor ────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out-expo),
    width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    border-color 0.3s ease,
    background 0.3s ease,
    border-radius 0.3s ease;
  mix-blend-mode: normal;
}

.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 56px;
  height: 56px;
  border-color: var(--gold);
  background: rgba(255, 179, 71, 0.06);
}

/* Liquid Morphing Cursor Blob for Fulltext Section */
body:has(.fulltext-section:hover) .cursor,
body:has(.fulltext:hover) .cursor,
body:has(.ft-word:hover) .cursor {
  width: 90px;
  height: 90px;
  border-color: transparent;
  background: #ffffff; /* Solid White Filled Liquid Droplet Body */
  mix-blend-mode: difference;
  animation: cursorLiquid 3s infinite ease-in-out alternate;
}

@keyframes cursorLiquid {
  0% {
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  33% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(-50%, -50%) rotate(90deg) scale(1.1);
  }

  66% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    transform: translate(-50%, -50%) rotate(180deg) scale(0.9);
  }

  100% {
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

/* ── Loader — Canvas Tile-Morph ─────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 1.1s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Flubber SVG Loader */
.loader-flubber-svg {
  width: min(650px, 85vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 35px rgba(201, 169, 110, 0.4));
  animation: loaderPulse 2.5s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
  0% { transform: scale(0.98); filter: drop-shadow(0 0 25px rgba(201, 169, 110, 0.3)); }
  100% { transform: scale(1.03); filter: drop-shadow(0 0 45px rgba(240, 201, 122, 0.6)); }
}

/* Script name caption */
.loader-script-label {
  margin-top: 24px;
  text-align: center;
}

#loader-script-lang {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.42em;
  color: rgba(201, 169, 110, 0.55);
  text-transform: uppercase;
  transition: opacity 0.45s ease;
}

/* Bottom bar + tagline */
.loader-bottom {
  position: fixed;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-bar {
  width: 220px;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A96E, #F0C97A, #00D4FF);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.loader-tagline {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}






/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 60px;
  background: rgba(0, 0, 0, 0.08); /* 20% More Translucent */
  backdrop-filter: blur(16px);
  transition: padding 0.4s var(--ease-out-expo),
    background 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.scrolled {
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.35); /* 20% More Translucent on scroll */
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon {
  width: 48px;
  height: 48px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-primary);
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.4s var(--ease-out-expo),
    opacity 0.3s ease,
    width 0.3s ease;
}

.nav-hamburger.active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Menu Overlay ─────────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 120px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo),
    visibility 0.5s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-inner {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  transform: translateY(40px);
  transition: transform 0.6s var(--ease-out-expo);
}

.menu-overlay.active .menu-overlay-inner {
  transform: translateY(0);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  -webkit-text-stroke: 1.5px rgba(235, 230, 208, 0.7);
  color: transparent;
  letter-spacing: -0.03em;
  transition: -webkit-text-stroke 0.35s ease, color 0.35s ease, transform 0.35s var(--ease-out-expo);
  line-height: 1.05;
}

.menu-link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-coral);
  -webkit-text-stroke: 0px;
  letter-spacing: 0.1em;
}

.menu-link:hover {
  color: var(--text-primary);
  -webkit-text-stroke: 0px transparent;
  transform: translateX(12px);
}

.menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.menu-social {
  display: flex;
  gap: 24px;
}

.menu-social-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.menu-social-link:hover {
  color: var(--cyan);
}

.menu-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
}

.section-header {
  margin-bottom: 72px;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease-out-expo) var(--delay, 0s),
    transform 0.9s var(--ease-out-expo) var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--cyan);
  color: var(--bg-base);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  background: #33DDFF;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--cyan-glow);
}

.btn-primary:hover svg {
  transform: translate(3px, -3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--border-bright);
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease-out-expo);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 0;
}

.hero-kerala-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-kerala-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: sepia(0.3) saturate(0.8);
  transform: scale(1.05);
  transition: transform 10s ease, opacity 1s ease;
}

.hero:hover .hero-kerala-art img {
  transform: scale(1.0);
  opacity: 0.22;
}

/* Kerala mandala decoration corners */
.kerala-mandala-left,
.kerala-mandala-right {
  position: absolute;
  width: 420px;
  height: 420px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.kerala-mandala-left {
  bottom: -80px;
  left: -80px;
  background-image: url('assets/kerala_tech_mandala.png');
  background-position: bottom left;
  transform: rotate(-15deg);
  animation: mandalaSpin 60s linear infinite;
}

.kerala-mandala-right {
  top: -80px;
  right: -80px;
  background-image: url('assets/kerala_tech_mandala.png');
  background-position: top right;
  transform: rotate(25deg);
  animation: mandalaSpin 80s linear infinite reverse;
}

@keyframes mandalaSpin {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

.kerala-kathakali {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background-image: url('assets/kathakali_tech.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  filter: sepia(0.2) saturate(1.2);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 212, 255, 0.07) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.75) 80%, #000000 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  padding-top: 60px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(235, 230, 208, 0.07);
  border: 1px solid rgba(235, 230, 208, 0.22);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-coral);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* TAKSHA Multi-Language Hero Title Fluid Morphing Styles */
.hero-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 220px;
}

.hero-lang-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #F8F3EA 0%, #E2C485 35%, #F5D996 70%, #C9A96E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(14px) brightness(0.4) drop-shadow(0 0 35px rgba(226, 196, 133, 0.45));
  will-change: opacity, transform, filter;
}

.hero-lang-glyph.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px) brightness(1) drop-shadow(0 0 40px rgba(226, 196, 133, 0.5));
  pointer-events: auto;
}

/* 5 Authentic Language Fonts */
.hero-lang-glyph.lang-en {
  font-family: 'Orbitron', var(--font-display), sans-serif;
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  font-weight: 900;
  letter-spacing: 0.28em;
}

.hero-lang-glyph.lang-ml {
  font-family: 'Anek Malayalam', 'Manjari', sans-serif;
  font-size: clamp(4rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-lang-glyph.lang-kn {
  font-family: 'Anek Kannada', sans-serif;
  font-size: clamp(4rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-lang-glyph.lang-hi {
  font-family: 'Yatra One', 'Anek Devanagari', 'Rozha One', serif;
  font-size: clamp(4rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-lang-glyph.lang-te {
  font-family: 'Anek Telugu', sans-serif;
  font-size: clamp(4rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Glitch pulse class triggered during morph */
.taksha-wordmark.morphing #morph-disp {
  animation: morphGlitchPulse 0.8s ease forwards;
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(60px) skewY(2deg);
  }

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

/* Ragam '23 Iconic Display Year Typography */
.hero-year {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.year-devanagari {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

.year-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(235, 230, 208, 0.5), transparent);
}

.year-latin {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 0.9;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.hero-meta-item {
  text-align: center;
}

.meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.meta-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.hero-meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  writing-mode: horizontal-tb;
}

/* ═══════════════════════════════════
   MARQUEE
═══════════════════════════════════ */
.marquee-section {
  overflow: hidden;
  padding: 20px 0;
  background: #050505;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.marquee-dot {
  color: var(--cyan) !important;
  font-size: 0.5rem !important;
}

/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.about {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 169, 110, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
}

/* Kerala cultural image overlay in about section */
.about-kerala-overlay {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background-image: url('assets/kerala_tech_mandala.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
  animation: mandalaSpin 120s linear infinite;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.about-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.about-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-bright);
  padding-bottom: 4px;
  transition: border-color 0.3s ease, gap 0.3s ease, color 0.3s ease;
}

.about-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.about-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  gap: 18px;
}

.about-cta:hover svg {
  transform: translateX(4px);
}

.about-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  padding: 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.stat-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.stat-number,
.stat-badge-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}


/* ═══════════════════════════════════
   DIVE IN / EVENTS
═══════════════════════════════════ */
.divein {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.divein-headline-wrap {
  padding: 0 48px;
  margin-bottom: 64px;
}

.divein-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}

.divein-headline em {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  color: transparent;
}

.events-slider {
  display: flex;
  gap: 24px;
  padding: 0 48px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.events-slider::-webkit-scrollbar {
  display: none;
}

.event-card {
  flex: 0 0 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
  cursor: none;
}

.event-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-8px);
}

.event-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, color-mix(in srgb, var(--glow), transparent 80%) 0%, transparent 60%);
  transition: opacity 0.4s ease;
  opacity: 0.6;
}

.event-card:hover .event-card-glow {
  opacity: 1;
}

.event-card-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-icon svg {
  width: 64px;
  height: 64px;
}

.event-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.event-card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.event-card-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex-grow: 1;
}

.event-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-top: 8px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.event-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.event-card-cta:hover {
  gap: 12px;
}

.event-card-cta:hover svg {
  transform: translate(2px, -2px);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 48px 0;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.slider-progress {
  flex: 1;
  height: 1px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.slider-progress-bar {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  border-radius: 99px;
  transition: width 0.4s var(--ease-out-expo);
}

/* ═══════════════════════════════════
   WORKSHOPS
═══════════════════════════════════ */
.workshops {
  padding: 120px 0;
  position: relative;
}

.workshops::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.02) 50%, transparent);
  pointer-events: none;
}

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

.workshop-card {
  position: relative;
  padding: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.workshop-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
}

.workshop-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.workshop-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.workshop-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.workshop-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.workshop-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════
   FULL TEXT SECTION
═══════════════════════════════════ */
.fulltext-section {
  padding: 120px 48px;
  overflow: hidden;
}

.fulltext-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fulltext {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.ft-word {
  display: inline-block;
  color: #1a1917; /* Neutral dark ghost text - zero purple/blue tint */
  opacity: 1;
  transition: transform 0.3s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
}

.ft-word.lit {
  color: #1a1917;
}

.ft-word:hover {
  transform: translateY(-2px);
}

/* ═══════════════════════════════════
   GALLERY
═══════════════════════════════════ */
.gallery {
  padding: 120px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 12px;
  padding: 0 48px;
  margin-top: 64px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color 0.4s ease;
  grid-column: span 4;
}

.gallery-item:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: span 4;
}

.gallery-item:nth-child(3) {
  grid-column: span 4;
}

.gallery-item:nth-child(4) {
  grid-column: span 8;
}

.gallery-item:nth-child(5) {
  grid-column: span 4;
}

.gallery-placeholder {
  height: 100%;
}

.gallery-item:hover {
  border-color: var(--border-bright);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ═══════════════════════════════════
   FAQ
═══════════════════════════════════ */
.faq {
  padding: 120px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-subtitle {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--border);
  overflow: hidden;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  cursor: none;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.faq-item.open .faq-q-text {
  color: var(--cyan);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo), background 0.3s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-out-expo);
}

.faq-item.open .faq-icon {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
  padding-bottom: 28px;
  padding-left: calc(0.65rem + 24px + 1px);
  min-height: 0;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
/* ═══════════════════════════════════
   RAGAM '23 ANIMATED FOOTER
═══════════════════════════════════ */
.footer {
  position: relative;
  padding: 120px 0 40px;
  background: #000000;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}

.footer-main-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

/* ── 1. Interactive Get In Touch Card (Ragam Swipe Fill) ── */
.footer-get-in-touch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 56px;
  background: rgba(235, 230, 208, 0.03);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.footer-card-fill {
  position: absolute;
  inset: 0;
  background: var(--text-primary); /* Ragam '23 Warm Cream */
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.footer-get-in-touch:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
}

.footer-get-in-touch:hover .footer-card-fill {
  transform: translateY(0%);
}

.footer-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.footer-card-email {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.4s ease;
}

.footer-card-arrow {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, color 0.4s ease;
}

.footer-card-arrow svg {
  width: 26px;
  height: 26px;
  transition: transform 0.4s var(--ease-out-expo);
}

.footer-get-in-touch:hover .footer-card-label {
  color: rgba(0, 0, 0, 0.6);
}

.footer-get-in-touch:hover .footer-card-email {
  color: #000000;
}

.footer-get-in-touch:hover .footer-card-arrow {
  border-color: #000000;
  color: #000000;
  transform: scale(1.1) rotate(45deg);
}

/* ── 2. Social Buttons with Expanding Circle Fill ── */
.footer-social-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social-btn {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.3s var(--ease-out-expo);
}

.footer-btn-fill {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.footer-social-btn svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  transition: color 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.footer-social-btn:hover {
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

.footer-social-btn:hover .footer-btn-fill {
  transform: scale(1);
}

.footer-social-btn:hover svg {
  color: #000000;
  transform: scale(1.1);
}

/* ── 3. Clean Links Grid ── */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 12px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  width: fit-content;
  transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(10px);
}

/* ── 4. Bottom Bar ── */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ── 5. Animated Giant Watermark ── */
.footer-watermark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 24rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(235, 230, 208, 0.025);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  animation: watermarkFloat 12s ease-in-out infinite alternate;
}

@keyframes watermarkFloat {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  100% {
    transform: translateX(-50%) translateY(-15px);
  }
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .nav {
    padding: 20px 32px;
  }

  .container {
    padding: 0 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 20px 24px;
  }

  .nav.scrolled {
    padding: 14px 24px;
  }

  .container {
    padding: 0 24px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-meta-divider {
    width: 48px;
    height: 1px;
  }

  .about-stats-col {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 200px;
  }

  .footer {
    padding: 60px 24px 32px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .events-slider {
    padding: 0 24px;
  }

  .divein-headline-wrap {
    padding: 0 24px;
  }

  .slider-controls {
    padding: 40px 24px 0;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }

  body {
    cursor: auto;
  }

  button {
    cursor: pointer;
  }

  a {
    cursor: pointer;
  }

  .fulltext-section {
    padding: 80px 24px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .about-stats-col {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

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

  .menu-link {
    font-size: 2rem;
  }
}

/* ═══════════════════════════════════
   KERALA CULTURAL DECORATIVE ELEMENTS
═══════════════════════════════════ */

/* Kerala lotus border decorators */
.kerala-border-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(201, 169, 110, 0.08) 20%,
      rgba(201, 169, 110, 0.25) 50%,
      rgba(201, 169, 110, 0.08) 80%,
      transparent 100%);
  position: relative;
}

.kerala-border-line::before {
  content: '◈';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.6rem;
  color: rgba(201, 169, 110, 0.4);
  background: #000000;
  padding: 0 12px;
}

/* Kerala culture section - decorative strip between sections */
.kerala-strip {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.kerala-strip-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/kerala_culture_hero.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.08;
  mix-blend-mode: screen;
  filter: sepia(0.4) saturate(0.6);
}

.kerala-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      #000000 0%,
      rgba(0, 0, 0, 0.7) 30%,
      rgba(0, 0, 0, 0.7) 70%,
      #000000 100%);
}

.kerala-strip-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 48px;
}

.kerala-motif {
  flex-shrink: 0;
  opacity: 0.5;
}

.kerala-strip-text {
  text-align: center;
}

.kerala-strip-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--kerala-gold);
  margin-bottom: 8px;
  display: block;
}

.kerala-strip-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.02em;
}

/* Subtle background texture for all sections - very faint pookalam pattern */
.about,
.workshops,
.faq {
  position: relative;
}

.about::after,
.workshops::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/kerala_tech_mandala.png');
  background-size: 600px;
  background-repeat: repeat;
  opacity: 0.018;
  pointer-events: none;
  z-index: 0;
}

.about>*,
.workshops>* {
  position: relative;
  z-index: 1;
}

/* Nav logo Kerala gold accent */
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #F5F0E8, var(--kerala-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Kerala elements */
@media (max-width: 768px) {

  .kerala-mandala-left,
  .kerala-mandala-right {
    width: 260px;
    height: 260px;
    opacity: 0.09;
  }

  .kerala-kathakali {
    width: 65%;
    opacity: 0.10;
  }

  .kerala-strip-inner {
    gap: 24px;
    padding: 0 24px;
  }

  .about-kerala-overlay {
    display: none;
  }

  .taksha-wordmark {
    width: min(94vw, 680px);
  }
}

@media (max-width: 480px) {
  .kerala-mandala-left {
    display: none;
  }

  .kerala-mandala-right {
    display: none;
  }

  .taksha-wordmark {
    width: 92vw;
  }
}

/* Decorative Mandala Borders */
.mandala-border {
  position: fixed;
  top: 50%;
  width: 600px;
  height: 600px;
  margin-top: -300px;
  /* Center vertically */
  z-index: 1;
  /* Stay behind most content */
  opacity: 0.15;
  pointer-events: none;
  object-fit: contain;
}

.mandala-border.left {
  left: -300px;
  /* Only half visible */
}

.mandala-border.right {
  right: -300px;
  /* Only half visible */
}


/* Nav Morph Logo — Exact User Diamond Emblems */
.nav-spacer {
  width: 70px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo-morph {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
}

.nav-morph-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: blur(10px) brightness(0.5);
  pointer-events: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-morph-img.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px) brightness(1) drop-shadow(0 0 16px rgba(201, 169, 110, 0.5));
  pointer-events: auto;
}

.nav-logo-morph:hover .nav-morph-img.active {
  transform: translate(-50%, -50%) scale(1.08);
  filter: blur(0px) brightness(1.15) drop-shadow(0 0 22px rgba(240, 201, 122, 0.8));
}