/* =============================================
   QURAN ACADEMY - FULLY RESPONSIVE HOMEPAGE CSS
   ============================================= */

/* =============================================
   1. CSS VARIABLES
   ============================================= */
:root {
  --background: hsl(40, 33%, 98%);
  --foreground: hsl(160, 50%, 10%);
  --card: hsl(40, 33%, 99%);
  --card-foreground: hsl(160, 50%, 10%);
  --primary: hsl(162, 75%, 17%);
  --primary-foreground: hsl(40, 33%, 98%);
  --secondary: hsl(43, 52%, 54%);
  --secondary-foreground: hsl(160, 50%, 10%);
  --muted: hsl(40, 20%, 94%);
  --muted-foreground: hsl(160, 20%, 40%);
  --accent: hsl(162, 40%, 94%);
  --accent-foreground: hsl(162, 75%, 17%);
  --border: hsl(40, 20%, 88%);
  --input: hsl(40, 20%, 88%);
  --gold: hsl(43, 52%, 54%);
  --gold-muted: hsl(43, 35%, 75%);
  --ivory: hsl(40, 33%, 98%);
  --ivory-warm: hsl(40, 40%, 96%);

  --gradient-hero: linear-gradient(135deg, hsl(162, 75%, 17%) 0%, hsl(162, 60%, 25%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(43, 52%, 54%) 0%, hsl(43, 45%, 45%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(40, 33%, 98%) 0%, hsl(40, 40%, 96%) 100%);

  --shadow-sm: 0 1px 2px 0 hsla(160, 50%, 10%, 0.05);
  --shadow-md: 0 4px 6px -1px hsla(160, 50%, 10%, 0.1), 0 2px 4px -2px hsla(160, 50%, 10%, 0.1);
  --shadow-lg: 0 10px 15px -3px hsla(160, 50%, 10%, 0.1), 0 4px 6px -4px hsla(160, 50%, 10%, 0.1);
  --shadow-xl: 0 20px 25px -5px hsla(160, 50%, 10%, 0.1), 0 8px 10px -6px hsla(160, 50%, 10%, 0.1);
  --shadow-emerald: 0 10px 30px -10px hsla(162, 75%, 17%, 0.3);
  --shadow-gold: 0 10px 30px -10px hsla(43, 52%, 54%, 0.3);

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 0.5rem;
  --container-max: 1400px;
  --container-padding: 1.25rem;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

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

/* =============================================
   3. UTILITY
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   4. BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn--default {
  height: 2.5rem;
  padding: 0 1rem;
}

.btn--lg {
  height: 2.75rem;
  padding: 0 2rem;
}

.btn--xl {
  height: 3.25rem;
  padding: 0 1.75rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
}

.btn--hero {
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-emerald);
}

.btn--hero:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--hero:active {
  transform: scale(0.98);
}

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

.btn--hero-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn--subtle {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn--subtle:hover {
  background: hsla(162, 40%, 94%, 0.8);
}

.btn--full {
  width: 100%;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

.btn--xl svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Custom outline button */
.btn1 {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn1:hover {
  background-color: var(--primary);
  color: white;
}

/* =============================================
   5. TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

.top-bar__link:hover {
  opacity: 0.8;
}

.top-bar__link svg {
  width: 1rem;
  height: 1rem;
}

.top-bar__hours {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar__divider {
  opacity: 0.5;
}

/* =============================================
   6. HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 0.85rem 0;
  background: hsla(40, 33%, 98%, 0.95);
}

.header--scrolled {
  background: hsla(40, 33%, 98%, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.65rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header__logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-emerald);
}

.header__logo-icon span {
  color: var(--primary-foreground);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--foreground);
}

.header__logo-tagline {
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav-link {
  color: hsla(160, 50%, 10%, 0.8);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.header__nav-link:hover {
  color: var(--primary);
}

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

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

.header__mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--foreground);
}

.header__mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1.25rem;
}

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

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.mobile-menu__link {
  color: hsla(160, 50%, 10%, 0.8);
  font-weight: 500;
  padding: 0.45rem 0;
  transition: color 0.2s;
}

.mobile-menu__link:hover {
  color: var(--primary);
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* =============================================
   7. HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B4D3C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.hero__decor-1 {
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: hsla(162, 75%, 17%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
  animation: pulse-soft 3s ease-in-out infinite;
}

.hero__decor-2 {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: hsla(43, 52%, 54%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
  animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero__inner {
  position: relative;
  z-index: 10;
  padding: 4rem 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fade-up 0.6s ease-out;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s ease-out;
}

.hero__title-highlight {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
  animation: fade-up 0.8s ease-out 0.1s backwards;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  animation: fade-up 0.8s ease-out 0.2s backwards;
}

.hero__microcopy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  animation: fade-up 0.8s ease-out 0.3s backwards;
}

/* Hero Card */
.hero__card-wrapper {
  position: relative;
  animation: fade-up 0.8s ease-out 0.3s backwards;
  max-width: 420px;
  margin: 0 auto;
}

.hero__card {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero__card-badge {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  background: var(--gradient-gold);
  color: var(--foreground);
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}

.hero__card-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.hero__card-icon {
  width: 5.5rem;
  height: 5.5rem;
  background: var(--gradient-hero);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-emerald);
}

.hero__card-icon span {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-foreground);
}

.hero__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.hero__card-desc {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.hero__card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hero__card-feature {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.hero__card-feature-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: hsla(162, 75%, 17%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-feature-icon svg {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--primary);
}

.hero__card-feature span {
  color: hsla(160, 50%, 10%, 0.8);
}

/* Floating stat */
.hero__floating-stat {
  position: absolute;
  bottom: -1.25rem;
  left: -0.75rem;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 0.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: fade-up 0.8s ease-out 0.8s backwards;
}

.hero__floating-stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__floating-stat-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--primary);
}

.hero__floating-stat-value {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--foreground);
}

.hero__floating-stat-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Trust strip */
.hero__trust-strip {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(40, 20%, 88%, 0.5);
  animation: fade-up 0.8s ease-out 1s backwards;
}

.hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.hero__trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.hero__trust-badge svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--primary);
}

.hero__trust-badge span {
  font-weight: 500;
}

/* =============================================
   8. WHY TRUST US
   ============================================= */
.why-trust {
  padding: 4.5rem 0;
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.why-trust__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B4D3C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.why-trust__inner {
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-header__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-header__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.section-header__desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted-foreground);
}

.why-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.reason-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.reason-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: hsla(162, 75%, 17%, 0.2);
}

.reason-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--accent);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.reason-card:hover .reason-card__icon {
  background: var(--primary);
  transform: scale(1.08);
}

.reason-card__icon svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--primary);
  transition: color 0.3s;
}

.reason-card:hover .reason-card__icon svg {
  color: var(--primary-foreground);
}

.reason-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.6rem;
}

.reason-card__desc {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Stats bar */
.why-trust__stats {
  margin-top: 3rem;
  background: var(--gradient-hero);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-emerald);
}

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

.stat__value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.35rem;
}

.stat__label {
  color: hsla(40, 33%, 98%, 0.8);
  font-size: 0.875rem;
}

/* =============================================
   9. HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 4.5rem 0;
  background: var(--background);
}

.how-it-works__steps {
  position: relative;
}

.how-it-works__line {
  display: none;
  position: absolute;
  top: 5.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step {
  position: relative;
  text-align: center;
}

.step__icon-wrapper {
  position: relative;
  display: inline-flex;
  margin-bottom: 1.25rem;
}

.step__icon {
  width: 3.75rem;
  height: 3.75rem;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-emerald);
  position: relative;
  z-index: 10;
}

.step__icon svg {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--primary-foreground);
}

.step__number {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--foreground);
  box-shadow: var(--shadow-gold);
}

.step__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.6rem;
}

.step__desc {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* =============================================
   10. COURSES
   ============================================= */
.courses {
  padding: 4.5rem 0;
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.courses__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B4D3C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
}

.courses__inner {
  position: relative;
  z-index: 10;
}

.courses__pathway {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.courses__pathway-step {
  padding: 0.25rem 0.7rem;
  background: hsla(162, 75%, 17%, 0.1);
  color: var(--primary);
  border-radius: 9999px;
}

.courses__pathway-arrow {
  width: 1rem;
  height: 1rem;
}

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

.course-card {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
}

.course-card--featured {
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg);
  border-color: var(--primary);
}

.course-card__badge {
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  text-align: center;
  padding: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.course-card__content {
  padding: 1.75rem;
}

.course-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--accent);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.course-card:hover .course-card__icon {
  background: var(--primary);
  transform: scale(1.08);
}

.course-card__icon svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--primary);
  transition: color 0.3s;
}

.course-card:hover .course-card__icon svg {
  color: var(--primary-foreground);
}

.course-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.course-card__level {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  background: var(--muted);
  border-radius: 9999px;
  color: var(--muted-foreground);
}

.course-card__duration {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.course-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.6rem;
}

.course-card__desc {
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.courses__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* =============================================
   11. TEACHERS
   ============================================= */
.teachers {
  padding: 4.5rem 0;
  background: var(--background);
}

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

.teacher-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.teacher-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: hsla(162, 75%, 17%, 0.2);
}

.teacher-card__avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.teacher-card__avatar {
  width: 5.5rem;
  height: 5.5rem;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-emerald);
}

.teacher-card__avatar span {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-foreground);
}

.teacher-card__gender {
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 9999px;
}

.teacher-card__gender--male {
  background: hsl(210, 100%, 95%);
  color: hsl(210, 80%, 45%);
}

.teacher-card__gender--female {
  background: hsl(330, 100%, 95%);
  color: hsl(330, 80%, 45%);
}

.teacher-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.teacher-card__specialty {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.teacher-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.teacher-card__info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.teacher-card__info-item svg {
  width: 0.95rem;
  height: 0.95rem;
}

.teacher-card__info-item svg.gold {
  color: var(--gold);
}

.teacher-card__info-item svg.primary {
  color: var(--primary);
}

.teacher-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 0.85rem;
}

.teacher-card__rating svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: var(--gold);
  color: var(--gold);
}

/* Recruitment CTA */
.teachers__recruitment {
  margin-top: 3rem;
  text-align: center;
  padding: 1.75rem;
  background: var(--accent);
  border-radius: 1rem;
}

.teachers__recruitment-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.teachers__recruitment-desc {
  color: var(--muted-foreground);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.teachers__recruitment-link {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.teachers__recruitment-link:hover {
  text-decoration: underline;
}

/* =============================================
   12. TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 4.5rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.testimonials__decor-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: hsla(40, 33%, 98%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.testimonials__decor-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsla(40, 33%, 98%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.testimonials__inner {
  position: relative;
  z-index: 10;
}

.testimonials .section-header__badge {
  background: hsla(40, 33%, 98%, 0.1);
  color: var(--primary-foreground);
}

.testimonials .section-header__title {
  color: var(--primary-foreground);
}

.testimonials .section-header__desc {
  color: hsla(40, 33%, 98%, 0.8);
}

.testimonials__carousel {
  max-width: 56rem;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--primary-foreground);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-xl);
}

.testimonial-card__quote {
  width: 2.75rem;
  height: 2.75rem;
  color: hsla(162, 75%, 17%, 0.2);
  margin-bottom: 1.25rem;
}

.testimonial-card__content {
  font-size: 1.05rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.testimonial-card__author {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-card__meta {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.testimonial-card__rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.testimonial-card__rating svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: var(--gold);
  color: var(--gold);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.testimonials__nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: hsla(40, 33%, 98%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.testimonials__nav-btn:hover {
  background: hsla(40, 33%, 98%, 0.2);
}

.testimonials__nav-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--primary-foreground);
}

.testimonials__dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testimonials__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: hsla(40, 33%, 98%, 0.3);
  transition: all 0.3s;
  cursor: pointer;
}

.testimonials__dot--active {
  background: var(--primary-foreground);
  width: 1.75rem;
}

/* =============================================
   13. PRICING
   ============================================= */
.pricing {
  padding: 4.5rem 0;
  background: var(--background);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg);
  border-color: var(--primary);
}

.pricing-card__badge {
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  text-align: center;
  padding: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pricing-card__badge svg {
  width: 0.95rem;
  height: 0.95rem;
}

.pricing-card__content {
  padding: 1.75rem;
}

.pricing-card__name {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}

.pricing-card__price {
  margin-bottom: 1.25rem;
}

.pricing-card__amount {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--foreground);
}

.pricing-card__period {
  color: var(--muted-foreground);
}

.pricing-card__sessions {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 0.2rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.pricing-card__feature-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: hsla(162, 75%, 17%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-card__feature-icon svg {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--primary);
}

.pricing-card__feature span {
  font-size: 0.875rem;
  color: hsla(160, 50%, 10%, 0.8);
}

/* Family plan */
.pricing__family {
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.pricing__family-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.pricing__family-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.pricing__family-title {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--foreground);
}

.pricing__family-discount {
  padding: 0.25rem 0.7rem;
  background: var(--gradient-gold);
  color: var(--foreground);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
}

.pricing__family-desc {
  color: var(--muted-foreground);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.pricing__family-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.pricing__family-feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: hsla(160, 50%, 10%, 0.8);
}

.pricing__family-feature svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--primary);
}

/* Payment trust */
.pricing__trust {
  text-align: center;
  margin-top: 2.5rem;
}

.pricing__trust-label {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.85rem;
}

.pricing__trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0.6;
  flex-wrap: wrap;
}

.pricing__trust-logos span {
  font-weight: 700;
  font-size: 1.05rem;
}

/* =============================================
   14. CTA SECTION
   ============================================= */
.cta-section {
  padding: 4.5rem 0;
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.cta-section__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B4D3C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta-section__inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cta-section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.cta-section__desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted-foreground);
  margin-bottom: 1.75rem;
}

.cta-section__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.cta-section__benefit {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cta-section__benefit-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: hsla(162, 75%, 17%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section__benefit-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--primary);
}

.cta-section__benefit span {
  color: var(--foreground);
  font-size: 0.95rem;
}

.cta-section__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Contact form */
.cta-form {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 180%;
}

.cta-form:hover {
  border-color: #10b981;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.cta-form__title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.cta-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cta-form__group {
  margin-bottom: 1.25rem;
}

.cta-form__group:last-of-type {
  margin-bottom: 0;
}

.cta-form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
  margin-left: 10px;
}

.cta-form__input,
.cta-form__select,
.cta-form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--background);
}

.cta-form__input::placeholder,
.cta-form__textarea::placeholder {
  color: var(--muted-foreground);
}

.cta-form__input:focus,
.cta-form__select:focus,
.cta-form__textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.cta-form__textarea {
  resize: vertical;
  min-height: 110px;
}

.cta-form__submit {
  margin-top: 1.25rem;
}

.cta-form__disclaimer {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.85rem;
}

/* =============================================
   15. FOOTER
   ============================================= */
.footer {
  background: var(--foreground);
  color: var(--primary-foreground);
}

.footer__main {
  padding: 3.5rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-left: 30px;
}

.footer__brand {
  margin-bottom: 1.25rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer__logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-icon span {
  color: var(--primary-foreground);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer__about {
  color: hsla(40, 33%, 98%, 0.7);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

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

.footer__social-link {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: hsla(40, 33%, 98%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer__social-link:hover {
  background: var(--primary);
  color: var(--foreground);
}

.footer__social-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__link {
  color: hsla(40, 33%, 98%, 0.7);
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--primary);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.footer__contact-item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer__contact-text {
  color: hsla(40, 33%, 98%, 0.7);
  font-size: 0.95rem;
}

.footer__contact-label {
  font-size: 0.85rem;
  color: hsla(40, 33%, 98%, 0.5);
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid hsla(40, 33%, 98%, 0.1);
  padding: 1.35rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__copyright {
  font-size: 0.85rem;
  color: hsla(40, 33%, 98%, 0.6);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__legal-link {
  font-size: 0.85rem;
  color: hsla(40, 33%, 98%, 0.6);
  transition: color 0.2s;
}

.footer__legal-link:hover {
  color: var(--primary);
}

.footer__payments {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: hsla(40, 33%, 98%, 0.4);
  font-size: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__payments span {
  font-weight: 700;
}

/* =============================================
   16. ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="6"] { transition-delay: 0.6s; }

/* =============================================
   17. RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet (≥768px) */
@media (min-width: 768px) {
  :root {
    --container-padding: 1.75rem;
  }

  .hero {
    min-height: 90vh;
  }

  .hero__inner {
    padding: 5rem 0;
  }

  .btn--xl {
    height: 3.5rem;
    padding: 0 2.25rem;
    font-size: 1rem;
  }

  .why-trust,
  .how-it-works,
  .courses,
  .teachers,
  .testimonials,
  .pricing,
  .cta-section {
    padding: 5.5rem 0;
  }

  .why-trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .why-trust__stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .how-it-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

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

  .testimonial-card {
    padding: 2rem 2.5rem;
  }

  .testimonial-card__content {
    font-size: 1.15rem;
  }

  .pricing__grid {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .pricing__family-inner {
    flex-direction: row;
    text-align: left;
  }

  .pricing__family-features {
    justify-content: flex-start;
  }

  .cta-section__buttons {
    flex-direction: row;
  }

  .cta-form__row {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  .header__nav,
  .header__cta {
    display: flex;
  }

  .header__mobile-toggle {
    display: none;
  }

  .header__logo-icon {
    width: 3rem;
    height: 3rem;
  }

  .header__logo-text {
    font-size: 1.25rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero__content {
    text-align: left;
  }

  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__cta-group {
    justify-content: flex-start;
  }

  .hero__card-wrapper {
    max-width: none;
    margin: 0;
  }

  .why-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-it-works__line {
    display: block;
  }

  .how-it-works__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .courses__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-card--featured {
    transform: scale(1.03);
  }

  .teachers__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }

  .pricing-card--featured {
    transform: scale(1.05);
  }

  .cta-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer__main {
    padding: 4rem 0;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  :root {
    --container-padding: 2.5rem;
  }
}

/* Mobile only */
@media (max-width: 767px) {
  .top-bar {
    display: none;
  }

  .header__nav,
  .header__cta {
    display: none;
  }

  .header__mobile-toggle {
    display: block;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  .course-card--featured,
  .pricing-card--featured {
    transform: none;
  }
}

/* Extra small */
@media (max-width: 400px) {
  .hero__title {
    font-size: 1.85rem;
  }

  .hero__floating-stat {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }

  .btn--xl,
  .btn1 {
    width: 100%;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin: 5rem 0;
}

.contact-info {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

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

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--background);
  font-family: inherit;
  font-size: 1rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(162, 75%, 17%, 0.1);
}

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

/* Fixed the broken 210% width */
.form-requirments {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--background);
  font-family: inherit;
  font-size: 1rem;
}

/* CTA */
.contact-cta {
  text-align: center;
  padding: 6rem 0;
}

.contact-cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.contact-cta p {
  color: var(--muted-foreground);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.contact-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}