/* =============================================
   НУRUL ИЛЬМ — Дизайн-система
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --emerald:      #0D5C4A;
  --emerald-light:#12785F;
  --emerald-dark: #09402F;
  --gold:         #C9A84C;
  --gold-light:   #E8C96E;
  --gold-pale:    #F5EAC8;
  --navy:         #0A1628;
  --navy-mid:     #12233E;
  --cream:        #F8F3EA;
  --cream-dark:   #EDE5D5;
  --white:        #FFFFFF;
  --gray-100:     #F5F5F5;
  --gray-200:     #E8E8E8;
  --gray-400:     #9CA3AF;
  --gray-600:     #4B5563;
  --gray-800:     #1F2937;

  --font-arabic:  'Amiri', serif;
  --font-main:    'Inter', sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  --shadow-card:  0 8px 32px rgba(10,22,40,0.10);
  --shadow-hover: 0 16px 48px rgba(10,22,40,0.18);
  --shadow-gold:  0 4px 24px rgba(201,168,76,0.30);

  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-arabic);
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  color: var(--navy);
  margin-bottom: 16px;
}
.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
}

/* --- Layout Helpers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}
.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,92,74,0.35);
}
.btn-emerald:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13,92,74,0.5);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.nav-logo .logo-text { line-height: 1.1; }
.nav-logo .logo-text span:first-child {
  display: block;
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}
.nav-logo .logo-text span:last-child {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-actions .btn { padding: 10px 22px; font-size: 0.87rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,22,40,0.98) 0%,
    rgba(10,22,40,0.7) 50%,
    rgba(13,92,74,0.5) 100%);
}
/* Islamic pattern overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3Cpath d='M30 10L50 30L30 50L10 30Z' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0.9;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-stats-grid {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-item {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-arabic);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* =============================================
   WHY US
   ============================================= */
.why-us { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  border: 1px solid var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--emerald));
  transition: var(--transition);
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.feature-card h3 { margin-bottom: 12px; color: var(--navy); }
.feature-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* =============================================
   COURSES / DISCIPLINES
   ============================================= */
.disciplines { background: var(--cream); position: relative; overflow: hidden; }
.disciplines::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.discipline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  border: 2px solid transparent;
}
.discipline-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.disc-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.disc-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--emerald-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.discipline-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--navy); }
.discipline-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 20px; }
.disc-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-400);
}
.disc-meta span { display: flex; align-items: center; gap: 5px; }

/* =============================================
   TEACHERS
   ============================================= */
.teachers { background: var(--navy); position: relative; overflow: hidden; }
.teachers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='35' fill='none' stroke='rgba(201,168,76,0.05)' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='20' fill='none' stroke='rgba(201,168,76,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.teachers .section-title { color: var(--white); }
.teachers .section-desc { color: rgba(255,255,255,0.6); }
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.teacher-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.teacher-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.teacher-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}
.teacher-info { padding: 24px 22px; }
.teacher-name {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 6px;
}
.teacher-title {
  font-size: 0.83rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.teacher-bio { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 18px; }
.teacher-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.teacher-tag {
  background: rgba(201,168,76,0.12);
  color: var(--gold-light);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.2);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--cream); }
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-left: 4px solid var(--gold);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.test-stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.test-text { color: var(--gray-600); font-size: 0.95rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 14px; }
.test-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}
.test-name { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.test-location { font-size: 0.8rem; color: var(--gray-400); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--navy) 60%, var(--emerald) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(13,92,74,0.4) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 520px; margin: 0 auto 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.55); max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--white);
}
.social-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
}
.footer-bottom p { color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--gold); }

/* =============================================
   COURSES PAGE
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--emerald-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(201,168,76,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.courses-section { background: var(--cream); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.course-card-top {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.course-level {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(0,0,0,0.35);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.course-body { padding: 24px; }
.course-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.course-title { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.course-desc { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 18px; line-height: 1.6; }
.course-info {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.course-info span { display: flex; align-items: center; gap: 5px; }
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}
.course-price { font-family: var(--font-arabic); font-size: 1.2rem; color: var(--emerald); font-weight: 700; }
.course-price .free { color: var(--emerald); }
.btn-sm {
  padding: 8px 20px;
  font-size: 0.83rem;
  border-radius: 50px;
  background: var(--emerald);
  color: white;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-sm:hover { background: var(--emerald-light); transform: translateY(-2px); }

/* =============================================
   TEACHERS PAGE
   ============================================= */
.teachers-page { background: var(--cream); }
.teachers-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.teacher-card-light {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.teacher-card-light:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.teacher-card-light .teacher-photo { height: 280px; }
.teacher-card-light .teacher-info { padding: 24px; }
.teacher-card-light .teacher-name { color: var(--navy); }
.teacher-card-light .teacher-bio { color: var(--gray-600); }
.teacher-card-light .teacher-tag {
  background: var(--cream);
  color: var(--emerald);
  border-color: var(--cream-dark);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 800; }
.about-badge span { font-size: 0.82rem; font-weight: 600; }

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.value-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.value-item h4 { color: var(--navy); margin-bottom: 6px; }
.value-item p { font-size: 0.9rem; color: var(--gray-600); }

.partners { background: var(--cream); text-align: center; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.partner-pill {
  background: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.partner-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--emerald); }

/* =============================================
   ADMISSION PAGE
   ============================================= */
.admission-section { background: var(--cream); }
.admission-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.steps-list { counter-reset: steps; }
.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
}
.step-item::before {
  content: '';
  position: absolute;
  left: 22px; top: 52px;
  width: 2px;
  height: calc(100% - 16px);
  background: var(--cream-dark);
}
.step-item:last-child::before { display: none; }
.step-num {
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-body h4 { color: var(--navy); margin-bottom: 8px; }
.step-body p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }

.admission-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-hover);
}
.admission-form-wrap h3 {
  color: var(--navy);
  margin-bottom: 8px;
}
.admission-form-wrap > p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 12px;
  text-align: center;
}

.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.faq-question:hover { color: var(--emerald); }
.faq-icon { font-size: 1.3rem; color: var(--emerald); transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding-bottom: 20px; font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .admission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-menu, .nav-actions { display: none; }
  .burger { display: flex; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 999;
  }
  .nav-menu.mobile-open a { font-size: 1.2rem; }
  .hero-stats-grid { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-stats { position: static; margin-top: 60px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .about-badge { position: static; margin-top: 24px; display: inline-block; }
}
@media (max-width: 480px) {
  .teachers-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .admission-form-wrap { padding: 32px 24px; }
}
