/* assets/css/style.css - LearnTelugu Custom Theme & Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Noto+Sans+Telugu:wght@300;400;600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #062b6c;
  --navy-light: #0a3d96;
  --navy-dark: #03173b;
  --gold: #fbcc11;
  --gold-hover: #e0b40b;
  --gold-light: #fef3c7;
  --white: #fffdf9;
  /* warm cream white */
  --bg-cream: #faf6eb;
  /* warm illustrated background color */
  --bg-light: #fdfbf7;
  --text-dark: #2d3748;
  --text-muted: #5a6e85;
  --text-light: #f7fafc;
  --border-gold: rgba(251, 204, 17, 0.4);
  --border-navy: rgba(6, 43, 108, 0.15);
  --success: #10b981;

  /* Multi-layer Ambient Shadows (Tactile & Soft) */
  --shadow-sm: 0 2px 4px rgba(6, 43, 108, 0.04), 0 1px 2px rgba(6, 43, 108, 0.02);
  --shadow-md: 0 10px 20px -5px rgba(6, 43, 108, 0.06), 0 4px 8px -4px rgba(6, 43, 108, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(6, 43, 108, 0.08), 0 8px 10px -6px rgba(6, 43, 108, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(6, 43, 108, 0.15), 0 10px 20px -15px rgba(6, 43, 108, 0.1);
  --shadow-hover: 0 30px 40px -15px rgba(6, 43, 108, 0.22), 0 15px 25px -20px rgba(6, 43, 108, 0.15);

  /* Unified Motion tokens */
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-short: 250ms;
  --duration-medium: 500ms;
  --duration-long: 800ms;
}

/* ─── BASE RESET ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Paper grain overlay for storybook texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 700;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration-short) var(--ease-hover), box-shadow var(--duration-short) var(--ease-hover), background-color var(--duration-short) var(--ease-hover);
  font-family: 'DM Sans', sans-serif;
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(6, 43, 108, 0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(251, 204, 17, 0.3);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-gold:hover {
  background: rgba(251, 204, 17, 0.1);
  transform: translateY(-4px);
}

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

.btn-outline-navy:hover {
  background: rgba(6, 43, 108, 0.05);
  transform: translateY(-4px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 76px;
  background: rgba(6, 43, 108, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

.logo-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
}

.logo-text span {
  color: var(--gold);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav ul a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  opacity: 0.85;
}

nav ul a:hover,
nav ul a.active {
  color: var(--gold);
  opacity: 1;
}

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

.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-sm);
}

#nav-user-slot button {
  background: transparent;
  color: var(--white);
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  transition: color 0.2s;
}

#nav-user-slot button:hover {
  color: var(--gold);
}

#nav-user-slot button:last-child {
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50px;
  padding: 8px 18px;
  box-shadow: 0 4px 10px rgba(251, 204, 17, 0.2);
}

#nav-user-slot button:last-child:hover {
  background: var(--gold-hover);
}

/* ─── SECTION STYLING ─── */
section {
  padding: 100px 6vw;
  position: relative;
}

.section-tag {
  display: inline-block;
  color: var(--navy-light);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 6vw 100px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)), url('../images/abstract_background_global.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  transition: background-position 0.1s ease-out;
  /* parallax hint */
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-light));
  pointer-events: none;
}

.hero-overlay-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 48px;
  max-width: 640px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 43, 108, 0.08);
  border: 1px solid rgba(6, 43, 108, 0.15);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-telugu-line {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--navy-light);
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  position: relative;
  z-index: 1;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 12px;
  background: rgba(251, 204, 17, 0.45);
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── HERO WHEEL WRAPPER & ROTATOR ─── */
.hero-wheel-wrapper {
  position: absolute;
  right: 6vw;
  top: 22%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: idleFloat 6s ease-in-out infinite;
}

.hero-wheel-container {
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--duration-medium) var(--ease-entrance);
}

.rotating-wheel-group {
  transform-origin: 200px 200px;
  animation: rotateWheel 45s linear infinite;
}

.wheel-node {
  animation: rotateNodeInverse 45s linear infinite;
  transition: transform var(--duration-short) var(--ease-hover);
  cursor: pointer;
}

.hero-wheel-container:hover .rotating-wheel-group,
.hero-wheel-container:hover .wheel-node,
.hero-wheel-container:hover .active-glow {
  animation-play-state: paused;
}

.hero-wheel-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.active-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ─── ANIMATION KEYFRAMES ─── */
@keyframes rotateWheel {
  from {
    transform: rotate(0deg);
  }

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

@keyframes rotateNodeInverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes idleFloat {

  0%,
  100% {
    transform: translateY(-50%) translateY(0px);
  }

  50% {
    transform: translateY(-50%) translateY(-12px);
  }
}

@keyframes pulseGlow {

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

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes pulse {

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

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

/* Hover label swap & interaction styles */
.wheel-node:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(251, 204, 17, 0.7));
}

.node-text-hover {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-short) var(--ease-hover);
}

.node-text-default {
  opacity: 1;
  pointer-events: none;
  transition: opacity var(--duration-short) var(--ease-hover);
}

.wheel-node:hover .node-text-default {
  opacity: 0;
}

.wheel-node:hover .node-text-hover {
  opacity: 1;
}

/* ─── ABOUT SECTION ─── */
.about-section {
  background-color: var(--white);
  position: relative;
}

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

.about-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  outline: 1px solid rgba(6, 43, 108, 0.1);
  transition: transform var(--duration-short) var(--ease-hover), box-shadow var(--duration-short) var(--ease-hover);
}

.about-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-long) var(--ease-entrance);
}

.about-image-container:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.about-image-container:hover img {
  transform: scale(1.03);
}

.about-content {
  padding-right: 20px;
}

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

.about-feat-item {
  display: flex;
  gap: 12px;
}

.about-feat-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-hover);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.about-feat-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.about-feat-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── JOURNEY MAP SECTION (HORIZONTAL) ─── */
.journey-section {
  background-image: linear-gradient(rgba(250, 246, 235, 0.55), rgba(250, 246, 235, 0.55)), url('../images/educational_pathway_telugu.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.journey-header {
  padding: 0 3vw;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}

.journey-header .section-tag {
  border-left: none;
  border-bottom: 2.5px solid var(--gold);
  padding-left: 0;
  padding-bottom: 6px;
}

.journey-header .section-sub {
  margin: 0 auto;
}

/* Map Strip background container */
.journey-map-container {
  position: relative;
  padding: 40px 6vw 80px;
}

.journey-desktop-row {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 30px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

/* Desktop horizontal path connector */
.journey-map-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10vw;
  right: 10vw;
  height: 4px;
  background: dashed rgba(6, 43, 108, 0.15);
  z-index: 1;
  pointer-events: none;
}

/* Progressive drawing connector */
.journey-path-progress {
  content: '';
  position: absolute;
  top: 40px;
  left: 10vw;
  height: 4px;
  background: var(--gold);
  z-index: 1;
  pointer-events: none;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.journey-pin-wrapper {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  animation: idleFloat 3s ease-in-out infinite;
}

/* Adjust animation delays so pins bob out of phase */
.journey-column:nth-child(2) .journey-pin-wrapper {
  animation-delay: 0.5s;
}

.journey-column:nth-child(3) .journey-pin-wrapper {
  animation-delay: 1s;
}

.journey-column:nth-child(4) .journey-pin-wrapper {
  animation-delay: 1.5s;
}

.journey-pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.journey-pin svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.journey-pin:hover {
  transform: scale(1.22);
  box-shadow: var(--shadow-lg);
}

.journey-pin-num {
  margin-top: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 30px;
  border: 1px solid var(--border-gold);
  white-space: nowrap;
}

/* Stated colors for pins */
.pin-orange {
  background-color: #f97316;
}

.pin-green {
  background-color: #10b981;
}

.pin-navy {
  background-color: #062b6c;
}

.pin-gold {
  background-color: #fbcc11;
}

.pin-purple {
  background-color: #8b5cf6;
}

.pin-rose {
  background-color: #e11d48;
}

.journey-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(6, 43, 108, 0.08);
  transition: transform var(--duration-short) var(--ease-hover), box-shadow var(--duration-short) var(--ease-hover), border-color var(--duration-short) var(--ease-hover);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.journey-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.journey-card-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.bg-orange-light {
  background-color: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.bg-green-light {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.bg-navy-light {
  background-color: rgba(6, 43, 108, 0.1);
  color: #062b6c;
}

.bg-gold-light {
  background-color: rgba(251, 204, 17, 0.15);
  color: #b48b04;
}

.bg-purple-light {
  background-color: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.bg-rose-light {
  background-color: rgba(225, 29, 72, 0.12);
  color: #e11d48;
}

.journey-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  color: var(--navy);
}

.journey-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

/* ─── 3. CORPORATE / GROUP LEARNING SECTION ─── */
.corporate-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Layered background blur blobs */
.corporate-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 204, 17, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Checklist custom styling */
.corporate-checklist-box {
  background: rgba(251, 204, 17, 0.12);
  /* Low opacity gold */
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(251, 204, 17, 0.3);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.corporate-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corporate-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.corporate-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Layered Card Offset panel right side */
.corporate-image-wrapper {
  position: relative;
  padding: 20px;
}

/* Dotted grid pattern decoration */
.dotted-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--navy) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.12;
  z-index: 1;
}

/* Background panel peeking out */
.corporate-offset-panel {
  position: absolute;
  inset: 0 0 20px 20px;
  background: var(--navy);
  border-radius: 24px;
  z-index: 2;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
}

.corporate-img-card {
  position: relative;
  z-index: 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  transition: transform var(--duration-short) var(--ease-hover);
}

.corporate-img-card img {
  width: 100%;
  height: auto;
  display: block;
}

.corporate-image-wrapper:hover .corporate-img-card {
  transform: scale(1.02) translate(-4px, -4px);
}

/* Floating Badge overlay */
.corporate-floating-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--white);
  animation: idleFloat 3.8s ease-in-out infinite;
}

/* ─── 4. FREE TRIAL STEPS SECTION ─── */
.free-trial-steps-section {
  background-color: var(--bg-light);
  border-top: 1px solid rgba(6, 43, 108, 0.05);
}

.trial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.trial-step-column {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Dome-shaped illustration container */
.trial-dome-container {
  width: 100%;
  max-width: 240px;
  height: 280px;
  background: rgba(251, 204, 17, 0.1);
  /* Soft gold background */
  border-radius: 120px 120px 24px 24px;
  /* Dome shape */
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  transition: transform var(--duration-short) var(--ease-hover), box-shadow var(--duration-short) var(--ease-hover);
  overflow: hidden;
  border: 1px solid rgba(251, 204, 17, 0.2);
}

.trial-dome-container img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform var(--duration-medium) var(--ease-entrance);
}

.trial-step-column:hover .trial-dome-container {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.trial-step-column:hover .trial-dome-container img {
  transform: scale(1.05);
}

.trial-step-column h3 {
  font-size: 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.trial-step-column p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

/* ─── TESTIMONIALS SECTION ─── */
.testimonials-section {
  background: radial-gradient(circle at 50% 30%, #08378b 0%, #03173b 80%);
  color: var(--white);
  padding: 100px 6vw;
  position: relative;
}

/* Background grid pattern */
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

/* Header container for Left alignment like Image 1, styled to match the homepage tag/title aesthetics */
.testimonials-header-container {
  max-width: 1000px;
  margin: 0 auto 30px;
  text-align: left;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.testimonials-header-container .section-tag {
  border-left: none;
  border-bottom: 2.5px solid var(--gold);
  padding-left: 0;
  padding-bottom: 6px;
  display: inline-block;
  color: white;
}

.testimonials-header-container .section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 2.2rem;
  text-transform: none;
  letter-spacing: normal;
}

.testimonials-header-container .section-sub {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 1.05rem;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform var(--duration-medium) var(--ease-entrance);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 15px;
}

.desktop-slide-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 43, 108, 0.08);
  /* Vakmay card border */
  border-radius: 20px;
  /* Vakmay card border-radius */
  padding: 30px 28px;
  position: relative;
  box-shadow: var(--shadow-md);
  /* Vakmay card shadow */
  transition: transform var(--duration-short) var(--ease-hover), box-shadow var(--duration-short) var(--ease-hover), border-color var(--duration-short) var(--ease-hover);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: left;
  z-index: 2;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  /* Vakmay card hover border color */
}

.testimonial-header {
  margin-bottom: 12px;
}

.testimonial-name {
  font-size: 1.25rem;
  color: var(--navy);
  /* Vakmay navy color */
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
  /* Vakmay header font family */
}

.testimonial-sub-title {
  font-size: 0.82rem;
  color: #b48b04;
  /* Vakmay golden-brown accent */
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-card-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  /* Muted Slate-600 */
  margin-bottom: 24px;
  font-style: italic;
  /* Elegant quote style */
  flex-grow: 1;
  /* Stretch middle space to force divider/footer to equal bottom alignments */
  font-family: 'DM Sans', sans-serif;
}

@media (min-width: 769px) {
  .testimonial-card {
    padding: 36px 32px;
  }

  .testimonial-card-quote {
    font-size: 1rem;
    line-height: 1.65;
  }
}

.testimonial-divider {
  border: 0;
  height: 1px;
  background: rgba(6, 43, 108, 0.08);
  /* Vakmay separator line style */
  margin: 0 0 20px 0;
  width: 100%;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.testimonial-platform-badge {
  display: flex;
  align-items: center;
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  align-items: center;
}

.testimonial-rating .star-icon {
  width: 14px;
  height: 14px;
  color: #cbd5e1;
  /* Unfilled slate-300 */
  stroke-width: 1.5;
}

.testimonial-rating .star-icon.star-filled {
  color: var(--gold);
  /* Vakmay primary gold */
  fill: var(--gold);
  stroke: var(--gold);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

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

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ─── FAQ SECTION ─── */
.faq-section {
  background-color: var(--bg-light);
}

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

.faq-card {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-navy);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-header h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  transition: color 0.2s;
}

.faq-header:hover h3 {
  color: var(--navy-light);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 43, 108, 0.05);
  border: 1.5px solid rgba(6, 43, 108, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--duration-short) var(--ease-hover);
  flex-shrink: 0;
}

.faq-toggle-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5px;
  transition: transform var(--duration-short) var(--ease-hover);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-medium) var(--ease-entrance);
  padding: 0 32px;
}

.faq-body-content {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Active FAQ States */
.faq-card.open {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-xl);
}

.faq-card.open .faq-toggle-icon {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.faq-card.open .faq-toggle-icon svg {
  transform: rotate(45deg);
}

/* ─── CALL TO ACTION BANNER ─── */
.cta-banner-section {
  padding: 0 6vw 80px;
  background-color: var(--bg-light);
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--border-gold);
  transition: transform 0.3s ease;
}

.cta-banner-card:hover {
  transform: scale(1.01);
}

.cta-banner-card::before {
  content: 'తెలుగు';
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: clamp(8rem, 15vw, 13rem);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(251, 204, 17, 0.05);
  pointer-events: none;
  white-space: nowrap;
  font-weight: 700;
}

.cta-banner-card h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-banner-card .btn {
  position: relative;
  z-index: 10;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 80px 6vw 40px;
  color: var(--white);
}

.footer-top {
  display: grid;
  /* grid-template-columns: 2fr 1fr 1fr 1.5fr; */
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: stroke 0.2s ease, fill 0.2s ease;
}

.footer-social-icon:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

/* Newsletter Column */
.footer-newsletter p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 10px 18px;
  color: var(--white);
  outline: none;
  font-size: 0.88rem;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--gold-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-telugu {
  font-family: 'Noto Sans Telugu', sans-serif;
  color: var(--gold);
  opacity: 0.65;
}

/* ─── STICKY CTA ─── */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 50px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s, background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--white);
}

.sticky-cta:hover {
  transform: translateY(-3px) scale(1.03);
  background-color: var(--gold-hover);
}

/* ─── MODAL STYLING OVERRIDES ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 23, 59, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: 24px;
  padding: 44px;
  max-width: 480px;
  width: 90%;
  position: relative;
  animation: fadeUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal h2 {
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal>p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

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

/* ─── FORM GROUP OVERRIDES ─── */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-navy);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(6, 43, 108, 0.08);
}

/* ─── TOAST OVERRIDES ─── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy-dark);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 0.9rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 9998;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: var(--success);
}

.toast.error {
  border-color: #ef4444;
}

/* ─── ANIMATIONS & EFFECTS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes pulse {

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

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateWheel {
  from {
    transform: rotate(0deg);
  }

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

@keyframes idleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Dynamic Entrance reveal effects */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-long) var(--ease-entrance), transform var(--duration-long) var(--ease-entrance);
  will-change: opacity, transform;
}

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

/* Entrance stagger helper classes */
.stagger-1 {
  transition-delay: 120ms;
}

.stagger-2 {
  transition-delay: 240ms;
}

.stagger-3 {
  transition-delay: 360ms;
}

.stagger-4 {
  transition-delay: 480ms;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

/* ─── RESPONSIVE MEDIA QUERIES ─── */
@media (max-width: 1280px) {
  .hero-wheel-wrapper {
    width: 380px;
    height: 380px;
    right: 4vw;
  }
}

@media (max-width: 1024px) {
  .trial-steps-grid {
    gap: 24px;
  }

  .hero-wheel-wrapper {
    width: 340px;
    height: 340px;
    right: 3vw;
  }
}

@media (max-width: 768px) {

  /* Reduced motion for performance on mobile */
  .scroll-reveal {
    transform: translateY(10px) !important;
  }

  .scroll-reveal.visible {
    transform: translateY(0) !important;
  }

  .journey-pin-wrapper {
    animation: none !important;
  }

  .hero-wheel-container {
    animation: rotateWheel 45s linear infinite !important;
  }

  nav ul {
    display: none;
  }

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

  .about-image-container {
    order: -1;
    /* image on top on mobile */
  }

  .corporate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .corporate-image-wrapper {
    order: -1;
  }

  .trial-steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-wheel-wrapper {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 320px;
    height: 320px;
    margin: 40px auto 0;
  }

  .hero-wheel-container {
    width: 100%;
    height: 100%;
    animation: rotateWheel 45s linear infinite !important;
  }

  /* Stack journey path map vertically on mobile/tablet */
  .journey-map-container {
    padding-left: 48px;
    padding-right: 20px;
  }

  .journey-map-container::before {
    left: 24px;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
  }

  .journey-path-progress {
    display: none;
    /* simple bypass on mobile */
  }

  .journey-desktop-row {
    flex-direction: column;
    gap: 50px;
    align-items: stretch;
  }

  .journey-column {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
  }

  .journey-pin-wrapper {
    margin-bottom: 0;
  }

  .journey-pin {
    width: 42px;
    height: 42px;
  }

  .journey-pin svg {
    width: 16px;
    height: 16px;
  }

  .journey-pin-num {
    display: none;
    /* clean mobile feel */
  }

  .journey-card {
    text-align: left;
    padding: 20px;
  }

  .journey-card-icon {
    margin: 0 0 12px 0;
  }

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

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

  .footer-bottom-links {
    justify-content: center;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-overlay-card {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .cta-banner-card {
    padding: 50px 24px;
    border-radius: 24px;
  }
}

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

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

  .newsletter-form {
    flex-direction: column;
    border-radius: 0;
  }

  .newsletter-form input {
    border-radius: 30px;
  }

  .newsletter-form button {
    border-radius: 30px;
  }
}