/* ==========================================================================
   TUTE NINJA - Shared Stylesheet
   Brand: TUTE NINJA
   Tagline: "Unpack Creativity, Enjoy Learning"
   Colors: Pink (#EC3565), Yellow (#FFF100), Navy (#161E38), White (#FFFFFF)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Core Palette */
  --color-pink: #EC3565;
  --color-pink-hover: #D81B52;
  --color-pink-dark: #B91241;
  --color-pink-tint: #FFF0F4;
  --color-pink-glow: rgba(236, 53, 101, 0.22);

  --color-yellow: #FFF100;
  --color-yellow-hover: #EEDD00;
  --color-yellow-dark: #D4AF00;
  --color-yellow-tint: #FEFCE8;
  --color-yellow-accent: #FFDE03;

  --color-navy: #161E38;
  --color-navy-light: #222B4C;
  --color-navy-muted: #4A5568;
  --color-navy-tint: #F3F5FA;

  /* Neutrals & Surfaces */
  --color-white: #FFFFFF;
  --color-bg-body: #F9FAFD;
  --color-bg-surface: #FFFFFF;
  --color-bg-muted: #F1F4F9;
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  
  /* Status Colors */
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-error-bg: #FEF2F2;

  /* Typography */
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 6px rgba(22, 30, 56, 0.05);
  --shadow-md: 0 8px 20px rgba(22, 30, 56, 0.08);
  --shadow-lg: 0 16px 36px rgba(22, 30, 56, 0.12);
  --shadow-pink: 0 8px 25px rgba(236, 53, 101, 0.28);
  --shadow-card-hover: 0 14px 30px rgba(236, 53, 101, 0.14), 0 4px 10px rgba(22, 30, 56, 0.06);

  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-body);
  color: var(--color-navy);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--color-pink-hover);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-yellow-accent);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-navy-muted);
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Container & Layout System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 840px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-sm {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-tint {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-pink-tint {
  background: linear-gradient(180deg, var(--color-pink-tint) 0%, var(--color-bg-body) 100%);
}

.section-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 {
  color: var(--color-white);
}

.section-navy p {
  color: #CBD5E1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-yellow);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-tag-pink {
  background-color: var(--color-pink-tint);
  color: var(--color-pink);
  border: 1px solid rgba(236, 53, 101, 0.2);
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 14px;
}

.section-title span.highlight {
  color: var(--color-pink);
  position: relative;
  display: inline-block;
}

.section-title span.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 241, 0, 0.45);
  z-index: -1;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-navy-muted);
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-pink);
  color: var(--color-white);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  background-color: var(--color-pink-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(236, 53, 101, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-navy-tint);
  border-color: var(--color-navy);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-yellow {
  background-color: var(--color-yellow);
  color: var(--color-navy);
  border-color: var(--color-yellow);
  box-shadow: 0 6px 18px rgba(255, 241, 0, 0.35);
}

.btn-yellow:hover {
  background-color: #F8E700;
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-outline-pink {
  background-color: transparent;
  color: var(--color-pink);
  border-color: var(--color-pink);
}

.btn-outline-pink:hover {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  border-color: #25D366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-pink {
  background-color: var(--color-pink-tint);
  color: var(--color-pink);
}

.badge-yellow {
  background-color: var(--color-yellow);
  color: var(--color-navy);
}

.badge-navy {
  background-color: var(--color-navy-tint);
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   5. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

/* Prominent, uncropped, undistorted brand logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-xs);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-tagline-text {
  display: none; /* Accessible text alternative / shown on larger displays if desired */
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy-muted);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-navy);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-pink);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-pink);
}

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

.nav-link.active {
  color: var(--color-pink);
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile elements hidden on desktop */
.nav-backdrop,
.drawer-header,
.header-actions-mobile,
.drawer-whatsapp-link {
  display: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--color-navy);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   6. Hero Section (Home)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 70px 0 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F8 100%);
  border-bottom: 1px solid var(--color-border);
}

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

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255, 241, 0, 0.35);
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .text-pink {
  color: var(--color-pink);
}

.hero-title .text-underline-yellow {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-title .text-underline-yellow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 12px;
  background-color: var(--color-yellow);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-navy-muted);
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--color-pink);
  flex-shrink: 0;
}

/* Hero Visual Graphic */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 30px rgba(22, 30, 56, 0.12));
}

/* --------------------------------------------------------------------------
   7. Course Cards & Grid
   -------------------------------------------------------------------------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 30px;
}

.course-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(236, 53, 101, 0.35);
}

.course-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  background-color: var(--color-navy);
  overflow: hidden;
}

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

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

.course-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-yellow);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.course-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta-tags {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy-muted);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-navy);
  line-height: 1.35;
}

.course-desc {
  font-size: 0.92rem;
  color: var(--color-navy-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-pricing {
  display: flex;
  flex-direction: column;
}

.course-price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-pink);
}

.course-price-original {
  font-size: 0.82rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Why Learn / Features Section
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-yellow));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(236, 53, 101, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background-color: var(--color-pink-tint);
  color: var(--color-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(236, 53, 101, 0.12);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-navy);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 2px solid var(--color-pink);
}

.testimonial-author-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-navy);
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--color-navy-muted);
}

.sample-notice-pill {
  display: inline-block;
  font-size: 0.72rem;
  background-color: var(--color-bg-muted);
  color: var(--color-navy-muted);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   10. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-pink);
  box-shadow: 0 4px 16px rgba(236, 53, 101, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  gap: 16px;
}

.faq-question:hover {
  color: var(--color-pink);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--color-pink);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px 24px;
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Call to Action Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, #202A4F 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--color-pink);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(40px);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: var(--color-yellow);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
}

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

.cta-banner h2 {
  color: var(--color-white);
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #E2E8F0;
  font-size: 1.15rem;
  margin-bottom: 30px;
}

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

/* --------------------------------------------------------------------------
   12. Courses Filter & Search Bar (courses.html)
   -------------------------------------------------------------------------- */
.courses-filter-bar {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-box {
  position: relative;
  flex-grow: 1;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-navy);
  background-color: var(--color-bg-body);
  transition: all var(--transition-fast);
}

.search-box input:focus {
  background-color: var(--color-white);
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px var(--color-pink-glow);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-navy-muted);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-pink);
  color: var(--color-pink);
}

.filter-btn.active {
  background-color: var(--color-pink);
  border-color: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(236, 53, 101, 0.25);
}

.filter-dropdown select {
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  background-color: var(--color-bg-body);
  cursor: pointer;
}

/* Empty State */
.empty-state {
  display: none;
  text-align: center;
  padding: 70px 20px;
  background-color: var(--color-bg-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.empty-state.show {
  display: block;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
  color: var(--color-pink);
}

.empty-state h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 1rem;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   13. Modal / Quick Details Dialog
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 30, 56, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  background-color: var(--color-bg-surface);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  animation: modalAppear 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-navy-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-bg-muted);
  color: var(--color-navy);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--color-bg-muted);
}

/* --------------------------------------------------------------------------
   14. Forms & Authentication (login.html, contact.html)
   -------------------------------------------------------------------------- */
.auth-wrapper {
  max-width: 460px;
  margin: 30px auto;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header .brand-logo-img {
  height: 56px;
  margin: 0 auto 16px auto;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 28px;
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-navy-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.auth-tab-btn.active {
  color: var(--color-pink);
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background-color: var(--color-pink);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-navy);
  background-color: var(--color-bg-body);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background-color: var(--color-white);
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px var(--color-pink-glow);
  outline: none;
}

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

.password-input-wrapper {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-navy-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  color: var(--color-pink);
}

.form-helper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-navy);
  cursor: pointer;
}

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

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-alert-info {
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.form-alert-success {
  background-color: var(--color-success-bg);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* --------------------------------------------------------------------------
   15. Contact Page Layout & Map
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-pink-tint);
  color: var(--color-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.contact-item-value a {
  color: var(--color-navy);
}

.contact-item-value a:hover {
  color: var(--color-pink);
}

.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background-color: var(--color-bg-muted);
  position: relative;
}

.map-placeholder-box {
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #161E38 0%, #253358 100%);
  color: var(--color-white);
  padding: 30px;
  text-align: center;
}

.map-placeholder-box p {
  color: #CBD5E1;
  max-width: 500px;
  margin: 12px 0 20px 0;
}

/* --------------------------------------------------------------------------
   16. About Page Modules & Philosophy
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.philosophy-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 53, 101, 0.3);
}

.ninja-badge-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--color-yellow);
  color: var(--color-navy);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(255, 241, 0, 0.3);
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.value-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-point-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-pink-tint);
  color: var(--color-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   17. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: #CBD5E1;
  padding-top: 70px;
  padding-bottom: 30px;
  margin-top: auto;
  border-top: 4px solid var(--color-yellow);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo-img {
  height: 52px;
  margin-bottom: 18px;
  background-color: var(--color-white);
  padding: 3px;
}

.footer-tagline {
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 24px;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 32px;
  height: 3px;
  background-color: var(--color-pink);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

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

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.94rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.footer-contact-list a {
  color: #E2E8F0;
}

.footer-contact-list a:hover {
  color: var(--color-yellow);
}

.footer-icon {
  width: 20px;
  height: 20px;
  color: var(--color-yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-ninja-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-pink);
}

/* --------------------------------------------------------------------------
   18. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-grid {
    gap: 32px;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    height: 72px;
  }

  .brand-logo-img {
    height: 44px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-surface);
    color: var(--color-navy);
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Mobile Backdrop Overlay */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 30, 56, 0.65);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Off-canvas Left Slide-In Drawer */
  .main-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-bg-surface);
    flex-direction: column;
    padding: 24px 20px;
    gap: 8px;
    box-shadow: 12px 0 35px rgba(22, 30, 56, 0.25);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-right: 1px solid var(--color-border);
    border-bottom: none;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  /* Drawer Top Header (Logo & Close Button) */
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
  }

  .drawer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-xs);
  }

  .drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-body);
    color: var(--color-navy);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: all var(--transition-fast);
  }

  .drawer-close-btn:hover {
    background-color: var(--color-pink);
    color: var(--color-white);
    border-color: var(--color-pink);
  }

  /* Drawer Nav Links */
  .main-nav .nav-link {
    font-size: 1.05rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-navy);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    background-color: var(--color-pink-tint);
    color: var(--color-pink);
    border-color: rgba(236, 53, 101, 0.2);
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .header-right-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-actions {
    display: flex;
    align-items: center;
  }

  /* Keep Login button visible in mobile header */
  .header-actions .header-btn-login {
    display: inline-flex;
    padding: 7px 16px;
    font-size: 0.84rem;
    font-weight: 700;
  }

  /* Hide Explore Courses button in mobile top bar (accessible inside drawer & hero) */
  .header-actions .header-btn-explore {
    display: none;
  }

  /* Drawer Bottom Actions */
  .main-nav .header-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
  }

  .drawer-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #16A34A;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .drawer-whatsapp-link:hover {
    background-color: #D1FAE5;
    color: #065F46;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  .hero-section {
    padding: 40px 0 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .section-title {
    font-size: 1.95rem;
  }

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

  .courses-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .values-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.98rem;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

