/* =========================================
   EDUCORE EDUCATIONAL SYSTEMS — Global Stylesheet
   css/style.css
   ========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Space+Mono:wght@400;700&display=swap');

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
  --primary:       #0A1628;
  --secondary:     #0D2E6E;
  --accent:        #1A6ED8;
  --accent-gold:   #F5A623;
  --accent-teal:   #00C2A8;
  --white:         #FFFFFF;
  --soft-white:    #F0F4FF;
  --text-main:     #E8EDF7;
  --text-muted:    #8A9BBF;
  --text-dark:     #1A2540;
  --border:        rgba(26, 110, 216, 0.2);
  --card-bg:       rgba(13, 46, 110, 0.5);
  --shadow:        0 8px 32px rgba(10, 22, 40, 0.6);
  --glow:          0 0 24px rgba(26, 110, 216, 0.4);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-accent:   'Space Mono', monospace;
  --nav-height:    80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-muted); line-height: 1.75; }

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }

.section-alt { background: rgba(13, 46, 110, 0.12); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(0, 194, 168, 0.08);
  border: 1px solid rgba(0, 194, 168, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.text-accent { color: var(--accent); }
.text-gold   { color: var(--accent-gold); }
.text-teal   { color: var(--accent-teal); }
.text-white  { color: var(--white); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
  background: #1f7de8;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

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

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  padding: 10px 24px;
  font-size: 0.9rem;
}

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

.btn-gold {
  background: var(--accent-gold);
  color: var(--primary);
  border-color: var(--accent-gold);
  font-weight: 700;
}

.btn-gold:hover {
  box-shadow: 0 0 24px rgba(245, 166, 35, 0.5);
  transform: translateY(-2px);
}

/* =========================================
   GLASS CARD
   ========================================= */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.glass-card:hover {
  box-shadow: var(--glow), var(--shadow);
  border-color: rgba(26, 110, 216, 0.45);
  transform: translateY(-4px);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 30px rgba(10, 22, 40, 0.85);
}

.privacy-page .navbar {
  background: var(--primary);
  box-shadow: 0 2px 30px rgba(10, 22, 40, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.logo-sub {
  font-family: var(--font-accent);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO — GENERAL
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(26, 110, 216, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(0, 194, 168, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 85%, rgba(13, 46, 110, 0.35) 0%, transparent 55%),
    var(--primary);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Page hero (inner pages) */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0c1f45 50%, var(--secondary) 100%);
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 110, 216, 0.12) 0%, transparent 70%);
  top: -100px;
  right: 10%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0;
}

.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content p { font-size: 1.1rem; max-width: 580px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumb a { color: var(--accent-teal); }
.breadcrumb a:hover { color: var(--white); }

/* =========================================
   HOMEPAGE — MESH BACKGROUND
   ========================================= */
.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.mesh-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 110, 216, 0.18) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  animation: meshFloat1 14s ease-in-out infinite;
}

.mesh-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.1) 0%, transparent 70%);
  bottom: -120px;
  right: 5%;
  animation: meshFloat2 18s ease-in-out infinite;
}

.mesh-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(13, 46, 110, 0.4) 0%, transparent 70%);
  top: 30%;
  left: 40%;
  animation: meshFloat3 10s ease-in-out infinite;
}

/* =========================================
   HOMEPAGE — HERO SECTION
   ========================================= */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(0, 194, 168, 0.08);
  border: 1px solid rgba(0, 194, 168, 0.3);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-headline .highlight {
  color: var(--accent);
  display: inline-block;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

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

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(138, 155, 191, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  animation: scrollDot 2.5s ease-in-out infinite;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: rgba(13, 46, 110, 0.55);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================
   EXAM CARDS
   ========================================= */
.exam-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.exam-card {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--accent-teal);
}

.exam-card:hover {
  border-top-color: var(--accent);
}

.exam-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: rgba(0, 194, 168, 0.08);
  border: 1px solid rgba(0, 194, 168, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  transition: var(--transition);
}

.exam-card:hover .exam-icon {
  background: rgba(26, 110, 216, 0.15);
  border-color: rgba(26, 110, 216, 0.4);
  box-shadow: var(--glow);
}

.exam-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.exam-card p {
  font-size: 0.83rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.learn-more {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.learn-more:hover { gap: 10px; color: var(--accent); }

.arrow-right {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* =========================================
   WHY EDUCORE TEASER (3-COL)
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 2.5rem 2rem;
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(26, 110, 216, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: var(--transition);
}

.why-item:hover .why-icon {
  background: rgba(26, 110, 216, 0.2);
  box-shadow: var(--glow);
  border-color: rgba(26, 110, 216, 0.5);
}

.why-item h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

/* =========================================
   FEATURED TESTIMONIAL
   ========================================= */
.featured-testimonial {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3.5rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 9rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -2rem;
  left: 2rem;
  line-height: 1;
  pointer-events: none;
}

.star-rating {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.star { color: var(--accent-gold); font-size: 1.1rem; }

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.9;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.author-name {
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}

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

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(26, 110, 216, 0.25) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26, 110, 216, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -50px;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.1) 0%, transparent 70%);
  bottom: -80px;
  left: 10%;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

/* =========================================
   BLOG CARDS
   ========================================= */
.blog-grid,
.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-card-image.img-1 { background: linear-gradient(135deg, #0D2E6E 0%, #1A6ED8 100%); }
.blog-card-image.img-2 { background: linear-gradient(135deg, #0A2040 0%, #00C2A8 100%); }
.blog-card-image.img-3 { background: linear-gradient(135deg, #0D2E6E 0%, #B8890A 100%); }
.blog-card-image.img-4 { background: linear-gradient(135deg, #091422 0%, #1A6ED8 100%); }
.blog-card-image.img-5 { background: linear-gradient(135deg, #063030 0%, #00C2A8 100%); }
.blog-card-image.img-6 { background: linear-gradient(135deg, #1A2540 0%, #1A6ED8 100%); }

.category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-accent);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-teal);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
}

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

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.blog-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.blog-card p {
  font-size: 0.875rem;
  flex: 1;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.read-more {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  margin-top: auto;
}

.read-more:hover { gap: 10px; color: var(--accent-teal); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #060E1C;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 1.25rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--accent-teal);
  padding-left: 4px;
}

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

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.83rem; color: var(--text-muted); }

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.footer-legal a:hover { color: var(--accent-teal); }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image-placeholder {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0D2E6E 0%, rgba(26, 110, 216, 0.35) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  border: 1px solid var(--border);
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 55%, rgba(26, 110, 216, 0.15) 100%);
}

.about-text h2 { color: var(--white); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; }

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mission-card,
.vision-card { padding: 2.5rem; }

.mv-card-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.mission-card h3,
.vision-card h3 { color: var(--white); margin-bottom: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-item {
  padding: 2rem;
  text-align: center;
}

.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.value-item h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

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

.team-card {
  padding: 2.5rem;
  text-align: center;
}

.team-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(26, 110, 216, 0.3);
}

.team-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.team-role {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-teal));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(26, 110, 216, 0.7);
  z-index: 1;
}

.timeline-content {
  width: calc(50% - 3rem);
  padding: 1.5rem;
}

.timeline-year {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* =========================================
   COURSES PAGE
   ========================================= */
.courses-grid { display: grid; gap: 2rem; }

.course-card {
  padding: 0;
  overflow: hidden;
}

.course-card-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.course-sidebar {
  background: linear-gradient(180deg, rgba(13, 46, 110, 0.9) 0%, rgba(10, 22, 40, 0.7) 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--border);
  gap: 1rem;
}

.course-icon { font-size: 3rem; }

.course-sidebar h3 {
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.3;
}

.level-tag {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid;
}

.level-beginner   { color: var(--accent-teal); border-color: var(--accent-teal); background: rgba(0,194,168,0.08); }
.level-intermediate { color: var(--accent-gold); border-color: var(--accent-gold); background: rgba(245,166,35,0.08); }
.level-advanced   { color: #FF8A80; border-color: #FF8A80; background: rgba(255,138,128,0.08); }
.level-all        { color: var(--accent); border-color: var(--accent); background: rgba(26,110,216,0.08); }

.course-body { padding: 2.5rem; }

.course-body h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.course-body > p { margin-bottom: 1.5rem; }

.course-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.skill-tag {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(26, 110, 216, 0.08);
  border: 1px solid rgba(26, 110, 216, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: rgba(10, 22, 40, 0.4);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.course-meta-item .meta-label {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.course-meta-item .meta-value {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.price-info {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  display: block;
}

/* =========================================
   WHY US PAGE
   ========================================= */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.comparison-table th {
  padding: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  background: rgba(13, 46, 110, 0.6);
  color: var(--text-main);
}

.comparison-table th:first-child { text-align: left; }

.comparison-table th.col-educore {
  background: rgba(26, 110, 216, 0.2);
  color: var(--accent);
  border-top: 3px solid var(--accent);
}

.comparison-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
}

.comparison-table td:first-child {
  text-align: left;
  color: var(--text-main);
  font-weight: 500;
}

.comparison-table td.col-educore {
  background: rgba(26, 110, 216, 0.07);
  color: var(--white);
}

.comparison-table .check { color: var(--accent-teal); font-size: 1.1rem; }
.comparison-table .cross { color: #FF6B6B; font-size: 1.1rem; }
.comparison-table .partial { color: var(--accent-gold); }

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

.pillar-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -0.75rem;
}

.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.pillar-card h3 { color: var(--white); margin-bottom: 0.75rem; }

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

.score-card {
  padding: 2.5rem;
  text-align: center;
}

.score-display {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.score-exam-type {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
  display: block;
}

.score-student-name {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.score-country { font-size: 0.85rem; color: var(--text-muted); }

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-badge {
  padding: 2rem;
  text-align: center;
}

.badge-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.trust-badge h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.5rem; }
.trust-badge p { font-size: 0.82rem; }

/* =========================================
   TESTIMONIALS PAGE
   ========================================= */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(26, 110, 216, 0.1);
}

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

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

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

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

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.exam-badge-wrap { text-align: right; }

.exam-badge {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(0, 194, 168, 0.08);
  border: 1px solid rgba(0, 194, 168, 0.3);
  color: var(--accent-teal);
  display: inline-block;
}

.score-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  margin-top: 4px;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}

.testimonial-stars { display: flex; gap: 3px; }
.testimonial-stars .star { font-size: 0.85rem; }

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

.video-placeholder {
  border-radius: 16px;
  overflow: hidden;
  background: var(--secondary);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
}

.video-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  z-index: 2;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: var(--glow);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 40px rgba(26, 110, 216, 0.75);
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-card { padding: 2.5rem; }

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-group label .req { color: #FF6B6B; margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 22, 40, 0.65);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 110, 216, 0.15);
}

.form-control.error {
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A9BBF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

select.form-control option { background: var(--secondary); color: var(--text-main); }

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

.phone-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.5rem;
}

.field-error {
  font-size: 0.78rem;
  color: #FF8A80;
  margin-top: 0.35rem;
  display: none;
}

.field-error.visible { display: block; }

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  position: relative;
}

.btn-submit .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .spinner { display: block; }

.form-success {
  display: none;
  padding: 1.5rem;
  background: rgba(0, 194, 168, 0.08);
  border: 1px solid rgba(0, 194, 168, 0.3);
  border-radius: 8px;
  color: var(--accent-teal);
  text-align: center;
  margin-top: 1rem;
}

.form-success.visible { display: block; }

.contact-info-col { display: flex; flex-direction: column; gap: 2rem; }

.contact-info-card { padding: 2rem; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(26, 110, 216, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}

.info-label {
  font-family: var(--font-accent);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.info-value {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

.hours-grid {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child { border-bottom: none; }

.map-placeholder {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 200px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
}

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

/* =========================================
   PRIVACY POLICY PAGE
   ========================================= */
.privacy-page {
  background: var(--soft-white);
}

.privacy-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
}

.privacy-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.privacy-hero p { color: var(--text-muted); }

.privacy-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
}

.privacy-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 20px rgba(10, 22, 40, 0.08);
  border: 1px solid #E2E8F0;
}

.privacy-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.privacy-sidebar ul { display: flex; flex-direction: column; gap: 0.2rem; }

.privacy-sidebar ul li a {
  font-size: 0.83rem;
  color: #5A6A8A;
  padding: 7px 12px;
  border-radius: 6px;
  display: block;
  transition: var(--transition);
  border-left: 2px solid transparent;
  line-height: 1.4;
}

.privacy-sidebar ul li a:hover,
.privacy-sidebar ul li a.active {
  color: var(--accent);
  background: rgba(26, 110, 216, 0.07);
  border-left-color: var(--accent);
  padding-left: 16px;
}

.privacy-content {
  background: var(--white);
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: 0 2px 30px rgba(10, 22, 40, 0.08);
  border: 1px solid #E2E8F0;
}

.privacy-content .doc-title {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.last-updated {
  font-size: 0.83rem;
  color: #718096;
  font-family: var(--font-accent);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #EDF2F7;
  display: block;
}

.privacy-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}

.privacy-section h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.privacy-section h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 1.75rem 0 0.75rem;
}

.privacy-section p {
  color: #4A5568;
  margin-bottom: 1rem;
  line-height: 1.85;
  font-size: 0.95rem;
}

.privacy-section ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.privacy-section ul li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  color: #4A5568;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.7;
}

.privacy-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.privacy-highlight {
  background: rgba(26, 110, 216, 0.05);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.privacy-highlight p { margin: 0; }

/* =========================================
   FOCUS STYLES (ACCESSIBILITY)
   ========================================= */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================
   PARTICLES CANVAS
   ========================================= */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* =========================================
   RESPONSIVE — 1024px
   ========================================= */
@media (max-width: 1024px) {
  .exam-cards-grid { grid-template-columns: repeat(3, 1fr); }

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

  .timeline::before { left: 20px; }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding-left: 55px;
  }

  .timeline-item:nth-child(even) .timeline-content { text-align: left; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }

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

  .course-card-inner { grid-template-columns: 1fr; }
  .course-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    flex-direction: row;
    text-align: left;
  }

  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-sidebar { position: static; }
}

/* =========================================
   RESPONSIVE — 768px
   ========================================= */
@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 1px solid var(--border);
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-link { font-size: 1.15rem; padding: 12px 28px; }

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

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

  .why-grid,
  .team-grid,
  .pillars-grid,
  .score-cards-grid { grid-template-columns: 1fr; }

  .blog-grid,
  .blog-full-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .about-story,
  .mission-vision-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .hero-cta-group { flex-direction: column; align-items: flex-start; }

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

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

  .course-meta { grid-template-columns: 1fr 1fr; }

  .featured-testimonial { padding: 2rem 1.5rem; }

  .cta-banner { padding: 3rem 1.5rem; }

  .section { padding: 3.5rem 0; }
}

/* =========================================
   RESPONSIVE — 480px
   ========================================= */
@media (max-width: 480px) {
  .exam-cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .phone-row { grid-template-columns: 80px 1fr; }
  .course-meta { grid-template-columns: 1fr; }

  .stat-item:not(:last-child)::after { display: none; }

  .privacy-content { padding: 1.5rem; }

  h2 { font-size: 1.75rem; }
}

/* =========================================
   PULSE KEYFRAME (used inline)
   ========================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* =========================================
   DUAL SERVICE CARDS
   ========================================= */
.dual-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.dual-service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 2rem;
}

.ds-icon {
  font-size: 3rem;
  line-height: 1;
}

.dual-service-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 0;
}

.ds-subhead {
  font-size: 1rem;
  color: var(--accent-teal);
  font-style: italic;
  margin: 0;
}

.ds-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ds-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ds-features li::before {
  content: "✓";
  color: var(--accent-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================
   HOW AUTOMATION WORKS (PROCESS GRID)
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.process-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.process-step {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.process-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin: 0;
}

.process-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.process-card-connector {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  text-align: center;
  flex-shrink: 0;
}

/* =========================================
   TESTIMONIALS GRID (3-col)
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}

/* Stats grid — 5 columns defined in base .stats-grid rule */

/* =========================================
   AUTOMATION SECTION
   ========================================= */
.automation-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.automation-card {
  background: rgba(13, 46, 110, 0.35);
  border: 1px solid rgba(26, 110, 216, 0.2);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.automation-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 110, 216, 0.5);
  box-shadow: 0 12px 40px rgba(26, 110, 216, 0.2);
}

.automation-card-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.automation-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin: 0;
}

.automation-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.automation-cta {
  text-align: center;
  margin-top: 3rem;
}

/* =========================================
   PRICING PAGE
   ========================================= */
.pricing-section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.pricing-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border: none;
  margin: 5rem 0 0;
}

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

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

.pricing-card {
  background: rgba(13, 46, 110, 0.3);
  border: 1px solid rgba(26, 110, 216, 0.2);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 110, 216, 0.45);
  box-shadow: 0 16px 48px rgba(26, 110, 216, 0.18);
}

.pricing-card.popular {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px var(--accent-gold), 0 0 32px rgba(245, 166, 35, 0.25);
  background: rgba(13, 46, 110, 0.5);
}

.pricing-card.popular:hover {
  box-shadow: 0 0 0 1px var(--accent-gold), 0 0 48px rgba(245, 166, 35, 0.35), 0 16px 48px rgba(26, 110, 216, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-emoji {
  font-size: 2rem;
  line-height: 1;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.plan-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(26, 110, 216, 0.15);
  border-bottom: 1px solid rgba(26, 110, 216, 0.15);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.plan-features li::before {
  content: "✓";
  color: var(--accent-teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.plan-best-for {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 110, 216, 0.12);
}

.plan-best-for strong {
  color: var(--accent-gold);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
}

.btn-wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* Pricing responsive */
@media (max-width: 1200px) {
  .pricing-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card-connector { display: none; }
}

@media (max-width: 1024px) {
  .automation-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .dual-service-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 640px) {
  .automation-cards-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-5 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
}
