/* ==========================================================================
   HARISANKAR // DIGITAL MARKETING TRAINER & FREELANCE SPECIALIST
   Modern "Vibe Coding" & High-Conversion Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Dark (Default) */
  --bg-base: #06090e;
  --bg-surface: #0e1420;
  --bg-surface-elevated: #151d2c;
  --bg-surface-glass: rgba(14, 20, 32, 0.78);
  --bg-input: #0a0e17;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-hover: rgba(0, 242, 152, 0.45);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #06090e;

  /* Accent Neon Brand Colors */
  --accent-emerald: #00f298;
  --accent-emerald-glow: rgba(0, 242, 152, 0.25);
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.25);
  --accent-amber: #ffb800;
  --accent-purple: #9d4edd;
  --accent-red: #ff4d4d;
  
  --gradient-accent: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(0, 242, 152, 0.15) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 80%);
  --gradient-card: linear-gradient(180deg, rgba(21, 29, 44, 0.85) 0%, rgba(14, 20, 32, 0.95) 100%);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation / Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 25px rgba(0, 242, 152, 0.25);
  --shadow-cyan: 0 0 25px rgba(0, 210, 255, 0.25);

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --nav-height: 76px;
  
  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-spring);
  --transition-normal: 0.35s var(--ease-spring);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #ffffff;
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-hover: rgba(5, 150, 105, 0.45);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.2);
  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.2);
  --accent-amber: #d97706;
  --accent-purple: #7c3aed;
  
  --gradient-accent: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(5, 150, 105, 0.1) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 80%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-neon: 0 0 20px rgba(5, 150, 105, 0.2);
  --shadow-cyan: 0 0 20px rgba(2, 132, 199, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw + 1rem, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3vw + 0.5rem, 2.75rem);
}

h3 {
  font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.75rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.mono {
  font-family: var(--font-mono);
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header .tag-badge {
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* --- Badges & Pills --- */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 242, 152, 0.08);
  border: 1px solid rgba(0, 242, 152, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-theme="light"] .tag-badge {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
}

.tag-badge.location {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
}

.tag-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 242, 152, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 242, 152, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 242, 152, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 242, 152, 0);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #06090e;
  font-weight: 700;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 242, 152, 0.45);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.05);
}

.btn-whatsapp-action {
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-action:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* --- Cards --- */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Navigation Header --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: background-color var(--transition-normal);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-brand .brand-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-brand .brand-logo span {
  color: var(--accent-emerald);
}

.nav-brand .brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-emerald);
  transform: rotate(15deg);
}

.theme-toggle-btn .sun-icon {
  display: none;
}
.theme-toggle-btn .moon-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
}
[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-actions .btn-header-cta {
    display: none;
  }
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-location-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-headline {
  margin-top: 0.25rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-value span {
  color: var(--accent-emerald);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Visual / Portrait Card */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.portrait-wrapper {
  position: relative;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: var(--bg-surface);
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .portrait-img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-badge.badge-top {
  top: -15px;
  right: -15px;
  animation-delay: 0s;
}

.hero-floating-badge.badge-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 242, 152, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hero-floating-badge.badge-top {
    right: 5px;
  }
  .hero-floating-badge.badge-bottom {
    left: 5px;
  }
}

/* --- Freelance Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 152, 0.1);
  border: 1px solid rgba(0, 242, 152, 0.25);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-accent);
  color: #06090e;
}

.service-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.service-title {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-desc {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-deliverables li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* --- Interactive Training Curriculum Section --- */
.curriculum-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.curriculum-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.curriculum-search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.curriculum-search-bar input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 3rem;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.curriculum-search-bar input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px var(--accent-emerald-glow);
}

.curriculum-search-bar .search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Module Tabs Switcher */
.module-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.module-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.6rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.module-tab-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.module-tab-btn.active {
  background: rgba(0, 242, 152, 0.12);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 20px var(--accent-emerald-glow);
}

[data-theme="light"] .module-tab-btn.active {
  background: rgba(5, 150, 105, 0.15);
  color: var(--accent-emerald);
}

.module-tab-btn .badge-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-base);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

/* Module Content Panels */
.module-panel {
  display: none;
}

.module-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.module-meta-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.module-meta-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.module-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.module-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.module-highlight-item svg {
  color: var(--accent-emerald);
}

@media (max-width: 768px) {
  .module-meta-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Accordion Component */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-item.active {
  border-color: rgba(0, 242, 152, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.accordion-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 242, 152, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-emerald);
  background: rgba(0, 242, 152, 0.1);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.75rem;
}

.accordion-item.active .accordion-content {
  max-height: 1400px;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
  padding: 0 1.75rem 1.75rem 1.75rem;
}

.topic-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.topic-pill-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.topic-pill-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topic-pill-title svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.topic-pill-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.topic-tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.topic-tool-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0, 242, 152, 0.08);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 242, 152, 0.2);
}

/* --- Interactive ROI & Career Estimator --- */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  gap: 1rem;
}

.calc-tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.calc-tab-btn.active {
  color: var(--accent-emerald);
  border-bottom-color: var(--accent-emerald);
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

.slider-val {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 152, 0.6);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.result-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.result-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.result-number.highlight {
  color: var(--accent-emerald);
}

@media (max-width: 768px) {
  .calc-panel.active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Dual Lead Generation Forms Section --- */
.dual-forms-section {
  position: relative;
}

.forms-container-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.form-type-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-medium);
}

.form-switch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.4rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.form-switch-btn:hover {
  color: var(--text-primary);
}

.form-switch-btn.active {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.form-switch-btn.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
}

.form-panel {
  display: none;
  padding: 3rem 2.5rem;
}

.form-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.form-label span.req {
  color: var(--accent-emerald);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald-glow);
}

.form-select option {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
}

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

.checkbox-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-checkbox-label:hover {
  border-color: var(--border-hover);
}

.custom-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-emerald);
  width: 16px;
  height: 16px;
}

.form-actions-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.form-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .form-type-switcher {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 2rem 1.25rem;
  }
  .form-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Palakkad Local & Trainer Spotlight --- */
.spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.spotlight-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spotlight-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.perk-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.perk-box svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.perk-box-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.perk-box-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spotlight-dashboard-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  position: relative;
}

.spotlight-dashboard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .spotlight-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

/* --- Testimonials / Social Proof --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #06090e;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.78rem;
}

/* --- Persistent Floating WhatsApp Widget --- */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-btn:hover {
  transform: scale(1.12);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: pulse-ring 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.whatsapp-tooltip {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  animation: fadeIn 0.3s ease;
}

.whatsapp-tooltip span {
  color: #25D366;
}

@media (max-width: 576px) {
  .whatsapp-floating-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

/* --- Footer --- */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-emerald);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: slideInRight 0.35s ease;
  max-width: 380px;
}

.toast.success {
  border-left: 4px solid var(--accent-emerald);
}

.toast.error {
  border-left: 4px solid var(--accent-red);
}

.toast-icon {
  font-size: 1.25rem;
}

.toast-msg {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Modal / Action Prompt */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* Spinner Loader Animation */
.spin-loader {
  animation: spin 0.8s linear infinite;
}

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