/* ==========================================================================
   Apex Skills Institute - Master Styling System
   Theme: Modern Tech Academy (Slate Navy, Cyan, Emerald & Warm Amber)
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
  /* Colors */
  --clr-navy-900: #0f172a;
  --clr-navy-800: #1e293b;
  --clr-navy-700: #334155;
  --clr-slate-600: #475569;
  --clr-slate-400: #94a3b8;
  --clr-slate-100: #f8fafc;
  --clr-slate-50: #f1f5f9;

  --clr-primary: #0284c7;       /* Ocean Cyan Blue */
  --clr-primary-hover: #0369a1;
  --clr-primary-light: #e0f2fe;

  --clr-accent-emerald: #059669; /* Emerald Green for CTAs & Badges */
  --clr-accent-emerald-hover: #047857;
  --clr-accent-emerald-light: #d1fae5;

  --clr-accent-amber: #d97706;   /* Saturday Batch Badge */
  --clr-accent-amber-light: #fef3c7;

  --clr-accent-purple: #7c3aed;  /* Sunday Batch Badge */
  --clr-accent-purple-light: #ede9fe;

  --clr-text-dark: #0f172a;
  --clr-text-muted: #475569;
  --clr-text-light: #f8fafc;

  --clr-card-bg: #ffffff;
  --clr-border: #e2e8f0;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 30px -10px rgba(15, 23, 42, 0.2);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--clr-text-dark);
  background-color: var(--clr-slate-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-navy-900);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Header Utility */
.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--clr-navy-900);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

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

/* 3. Top Announcement Banner */
.top-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-badge {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  transition: var(--transition-fast);
}

.top-bar-link:hover {
  color: #ffffff;
}

/* 4. Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--clr-navy-900);
  background-color: transparent;
}

.brand-logo img.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  background-color: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Hide old SVG when logo image is present */
.brand-logo svg.logo-svg-hide {
  display: none;
}

.brand-logo svg {
  color: var(--clr-primary);
  width: 32px;
  height: 32px;
}

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

/* Footer brand logo */
.footer-brand .logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-navy-800);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--clr-primary);
  transition: var(--transition-fast);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent-emerald) 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

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

.btn-outline:hover {
  background-color: var(--clr-primary-light);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--clr-navy-900);
  cursor: pointer;
}

/* 5. Hero Section */
.hero-section {
  background: radial-gradient(120% 100% at 50% 0%, #0f172a 0%, #1e293b 70%, #090d16 100%);
  color: #ffffff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.trust-item svg {
  color: #34d399;
  flex-shrink: 0;
}

/* Quick Lead Box inside Hero */
.hero-form-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  color: var(--clr-navy-900);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.hero-form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-form-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.hero-form-header p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--clr-navy-800);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%20475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
}

.form-notice {
  font-size: 0.75rem;
  color: var(--clr-slate-600);
  text-align: center;
  margin-top: 0.75rem;
}

/* 6. Key Metrics Bar */
.stats-banner {
  background-color: #ffffff;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0.5rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-slate-600);
  margin-top: 0.35rem;
}

/* 7. Courses Section */
.courses-section {
  padding: 5rem 0;
  background-color: var(--clr-slate-100);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

.course-card-header {
  padding: 1.75rem 1.75rem 1rem;
  border-bottom: 1px dashed var(--clr-border);
  position: relative;
}

.course-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-emerald {
  background-color: var(--clr-accent-emerald-light);
  color: var(--clr-accent-emerald);
}

.badge-amber {
  background-color: var(--clr-accent-amber-light);
  color: var(--clr-accent-amber);
}

.badge-purple {
  background-color: var(--clr-accent-purple-light);
  color: var(--clr-accent-purple);
}

.badge-cyan {
  background-color: var(--clr-primary-light);
  color: var(--clr-primary);
}

.course-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--clr-navy-900);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--clr-slate-600);
  margin-top: 0.5rem;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.course-card-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.audience-box {
  background-color: var(--clr-slate-50);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.audience-title {
  font-weight: 700;
  color: var(--clr-navy-800);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.course-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.course-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--clr-navy-800);
  margin-bottom: 0.6rem;
}

.course-features-list li svg {
  color: var(--clr-accent-emerald);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.course-card-footer {
  padding: 1.25rem 1.75rem 1.75rem;
  background-color: var(--clr-card-bg);
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 8. Why Choose Us Section */
.why-us-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  padding: 2rem;
  background-color: var(--clr-slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: var(--transition-normal);
}

.feature-card:hover {
  background-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--clr-slate-600);
}

/* 9. Reviews / Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--clr-navy-900);
  color: #ffffff;
}

.testimonials-section .section-title {
  color: #ffffff;
}

.testimonials-section .section-subtitle {
  color: var(--clr-slate-400);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.review-card {
  background: var(--clr-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.review-card:hover {
  border-color: rgba(52, 211, 153, 0.4);
  transform: translateY(-4px);
}

.review-stars {
  color: #fbbf24;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.reviewer-info h4 {
  color: #ffffff;
  font-size: 1rem;
}

.reviewer-info p {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* 10. Master Lead Section */
.lead-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
}

.lead-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
}

.lead-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.lead-info p {
  color: var(--clr-slate-600);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.lead-perks {
  list-style: none;
  margin-bottom: 2.5rem;
}

.lead-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--clr-navy-800);
}

.lead-perks li svg {
  color: var(--clr-accent-emerald);
}

.direct-contact-box {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-navy-900);
}

/* 11. FAQ Accordion */
.faq-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.faq-accordion {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-header:hover {
  background-color: var(--clr-slate-50);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--clr-primary);
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--clr-slate-50);
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 1rem 1.5rem 1.5rem;
}

.faq-body p {
  color: var(--clr-slate-600);
  font-size: 0.95rem;
}

/* 12. Footer */
.site-footer {
  background-color: var(--clr-navy-900);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

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

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 13. Floating Elements & Mobile Action Bar */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-bounce);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--clr-navy-900);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* Mobile Quick Bar (Call + WhatsApp) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 98;
  background: #ffffff;
  border-top: 1px solid var(--clr-border);
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* 14. Course Syllabus Modal Popup */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: var(--clr-navy-900);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1.35rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-slate-600);
  cursor: pointer;
  position: relative;

}

.tab-btn.active {
  color: var(--clr-primary);
}

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.syllabus-module {
  background: var(--clr-slate-50);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--clr-primary);
}

.syllabus-module h5 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.syllabus-module ul {
  padding-left: 1.25rem;
  color: var(--clr-slate-600);
  font-size: 0.9rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #ffffff;
  color: var(--clr-navy-900);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--clr-accent-emerald);
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

/* ==========================================================================
   15. Responsive Breakpoints — Mobile Optimized
   ========================================================================== */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .hero-grid, .lead-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .courses-grid, .features-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .lead-wrapper {
    padding: 2.5rem 2rem;
  }

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

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {

  /* ---------- Top Bar ---------- */
  .top-bar {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .top-bar-contact {
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ---------- Navbar ---------- */
  .nav-cta-group .btn-outline {
    /* Hide "Call Direct" button — phone number is in top-bar & mobile bottom bar */
    display: none;
  }

  .nav-cta-group .btn.btn-primary {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
    border-top: 1px solid var(--clr-border);
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.65rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--clr-border);
  }

  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* ---------- Hero ---------- */
  .hero-section {
    padding: 3rem 0 3.5rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.8rem;
  }

  .hero-cta-box {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta-box .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-list {
    gap: 0.85rem;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  .hero-form-card {
    padding: 1.5rem 1.25rem;
  }

  /* ---------- Section Typography ---------- */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* ---------- Stats Bar ---------- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* ---------- Courses / Features / Reviews ---------- */
  .courses-grid, .features-grid, .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .courses-section,
  .why-us-section,
  .testimonials-section,
  .faq-section {
    padding: 3.5rem 0;
  }

  /* ---------- Lead Section ---------- */
  .lead-section {
    padding: 3.5rem 0;
  }

  .lead-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .lead-info h2 {
    font-size: 1.65rem;
  }

  .lead-info p {
    font-size: 0.95rem;
  }

  /* ---------- FAQ ---------- */
  .faq-header {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .faq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }

  /* ---------- Footer ---------- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .site-footer {
    padding: 3rem 0 5.5rem; /* extra bottom for mobile bottom bar */
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* ---------- Floating WhatsApp ---------- */
  .floating-whatsapp {
    bottom: 4.75rem; /* sit above mobile bottom bar */
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  /* Hide tooltip on mobile to avoid overflow */
  .whatsapp-tooltip {
    display: none;
  }

  /* ---------- Mobile Bottom Bar ---------- */
  .mobile-bottom-bar {
    display: block;
  }

  .mobile-bottom-bar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .mobile-bottom-bar .btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.5rem;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  /* ---------- Modal ---------- */
  .modal-backdrop {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .modal-window {
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .modal-header {
    padding: 1.1rem 1.25rem;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 1.25rem;
  }

  .modal-tabs {
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0;
  }

  .tab-btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
  }

  /* ---------- Toast ---------- */
  .toast-container {
    top: auto;
    bottom: 5.5rem;
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast {
    font-size: 0.875rem;
    padding: 0.85rem 1rem;
  }

  /* ---------- Container ---------- */
  .container {
    width: 94%;
    padding: 0 0.75rem;
  }
}

/* ── Small Phones (≤ 480px) ── */
@media (max-width: 480px) {

  /* ---------- Top Bar ---------- */
  .top-bar {
    font-size: 0.72rem;
  }

  .top-bar-contact {
    gap: 0.6rem;
  }

  /* ---------- Navbar ---------- */
  .brand-logo {
    font-size: 1.15rem;
  }

  .brand-logo svg {
    width: 26px;
    height: 26px;
  }

  /* ---------- Hero ---------- */
  .hero-section {
    padding: 2.5rem 0 3rem;
  }

  .hero-title {
    font-size: 1.75rem;
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-form-card {
    padding: 1.25rem 1rem;
  }

  .hero-form-header h3 {
    font-size: 1.2rem;
  }

  /* ---------- Section Typography ---------- */
  .section-title {
    font-size: 1.55rem;
  }

  .section-tagline {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  /* ---------- Stats ---------- */
  .stats-banner {
    padding: 1.5rem 0;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* ---------- Course Cards ---------- */
  .course-card-header {
    padding: 1.25rem 1.25rem 0.85rem;
  }

  .course-card-body {
    padding: 1.1rem 1.25rem;
  }

  .course-card-footer {
    padding: 1rem 1.25rem 1.25rem;
  }

  .course-title {
    font-size: 1.2rem;
  }

  /* ---------- Feature Cards ---------- */
  .feature-card {
    padding: 1.5rem;
  }

  /* ---------- Review Cards ---------- */
  .review-card {
    padding: 1.5rem;
  }

  /* ---------- Lead Section ---------- */
  .lead-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .lead-info h2 {
    font-size: 1.45rem;
  }

  .lead-perks li {
    font-size: 0.9rem;
  }

  /* ---------- FAQ ---------- */
  .faq-header {
    font-size: 0.9rem;
    padding: 0.9rem 1rem;
  }

  .faq-body {
    padding: 0 1rem;
  }

  .faq-item.active .faq-body {
    padding: 0.75rem 1rem 1.25rem;
  }

  .faq-body p {
    font-size: 0.875rem;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    font-size: 0.82rem;
    padding: 2.5rem 0 5.5rem;
  }

  .footer-brand h3 {
    font-size: 1.1rem;
  }

  /* ---------- Buttons ---------- */
  .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  /* ---------- Modal ---------- */
  .modal-header h3 {
    font-size: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }


  /* ---------- Toast ---------- */
  .toast-container {
    bottom: 5rem;
    right: 0.5rem;
    left: 0.5rem;
  }

  /* ---------- Logo ---------- */
  .brand-logo img.logo-img {
    height: 36px;
    background-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .footer-brand .logo-img {
    height: 32px;
  }
}

/* ==========================================================================
   Thank You Page Styles & Animations
   ========================================================================== */

/* Spinner keyframe */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Success Checkmark Pulse Animation */
@keyframes pulse-success {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(5, 150, 105, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

/* WhatsApp Button Pulse */
@keyframes pulse-whatsapp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
  }
}

.thank-you-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: var(--clr-slate-100);
}

.thank-you-card {
  background: var(--clr-card-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 3rem 2.5rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  transition: transform var(--transition-normal);
}

.thank-you-card:hover {
  transform: translateY(-2px);
}

.success-icon-container {
  width: 80px;
  height: 80px;
  background-color: var(--clr-accent-emerald-light);
  color: var(--clr-accent-emerald);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: pulse-success 2s infinite;
}

.thank-you-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--clr-navy-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.thank-you-subtitle {
  color: var(--clr-slate-600);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Steps Timeline */
.timeline-card {
  background-color: var(--clr-slate-50);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.timeline-card h4 {
  font-size: 1.1rem;
  color: var(--clr-navy-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  background: var(--clr-border);
  color: var(--clr-slate-600);
  font-size: 0.8rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-step.completed .step-number {
  background: var(--clr-accent-emerald);
  color: white;
}

.timeline-step.active .step-number {
  background: var(--clr-primary);
  color: white;
}

.step-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-navy-800);
  margin-bottom: 0.1rem;
}

.step-details p {
  font-size: 0.85rem;
  color: var(--clr-slate-600);
  margin: 0;
}

/* Custom Action Buttons */
.thank-you-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: pulse-whatsapp 3s infinite ease-in-out;
}

.btn-whatsapp-cta:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-back-home {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-navy-700);
  transition: all var(--transition-fast);
}

.btn-back-home:hover {
  background: var(--clr-slate-50);
  border-color: var(--clr-slate-400);
  color: var(--clr-navy-900);
}

@media (max-width: 640px) {
  .thank-you-card {
    padding: 2rem 1.5rem;
  }
  .thank-you-title {
    font-size: 1.75rem;
  }
}


