﻿/* ===========================
   SPEAKORA EXCELLENCE ACADEMY
   Main Stylesheet
   Designed by Elite Computer Tech
   =========================== */

:root {
  --navy:   #0B1C3D;
  --teal:   #008080;
  --cyan:   #00BCD4;
  --light:  #F5F9FA;
  --white:  #ffffff;
  --slate:  #64748b;
  --dark:   #1e293b;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(11,28,61,0.10);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: #fff; line-height: 1.7; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p  { font-size: 1.05rem; color: var(--slate); }

/* ---- UTILITIES ---- */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.section--alt { background: var(--light); }
.section--dark{ background: var(--navy); color: #fff; }
.text-center  { text-align: center; }
.text-teal    { color: var(--teal); }
.text-cyan    { color: var(--cyan); }
.text-navy    { color: var(--navy); }
.gradient-text{
  background: linear-gradient(to right, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label{
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.section-subtitle{
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 12px auto 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary   { background: var(--teal);  color: #fff; }
.btn-primary:hover { background: var(--cyan); }
.btn-outline   { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark      { background: var(--navy); color: #fff; }
.btn-dark:hover{ background: var(--teal); }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 16px rgba(11,28,61,0.08);
  height: 72px;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
}
.logo span { color: var(--teal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links .btn    { font-size: 0.9rem; padding: 10px 24px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 15% 55%, rgba(0,188,212,0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(0,128,128,0.22) 0%, transparent 50%);
  color: #fff;
  padding: 100px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text p  { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 36px; max-width: 520px; }
.hero-btns    { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img img {
  border-radius: var(--radius);
  height: 480px;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* ---- WHY SPEAKORA ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.feature-card {
  background: var(--light);
  border: 1.5px solid rgba(0,128,128,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.feature-icon.teal { background: rgba(0,128,128,0.12); color: var(--teal); }
.feature-icon.cyan { background: rgba(0,188,212,0.12); color: var(--cyan); }
.feature-icon.navy { background: rgba(11,28,61,0.10);  color: var(--navy); }
.feature-card:hover .feature-icon { background: var(--teal); color: #fff; }

/* ---- AUDIENCE CARDS ---- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.audience-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.audience-card:hover { box-shadow: 0 12px 40px rgba(11,28,61,0.12); transform: translateY(-4px); }
.audience-icon { font-size: 2rem; margin-bottom: 16px; }
.audience-card h3 { margin-bottom: 12px; color: var(--navy); }
.audience-card p  { flex-grow: 1; margin-bottom: 24px; }
.link-arrow {
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--navy); }

/* ---- LANGUAGE CARDS ---- */
.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.lang-card {
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.lang-card--dark { background: var(--navy); color: #fff; }
.lang-card--light { background: var(--light); color: var(--navy); border: 1.5px solid #e2e8f0; }
.lang-card h2   { margin-bottom: 16px; }
.lang-card p    { margin-bottom: 32px; font-size: 1.1rem; }
.lang-check-list { margin-bottom: 36px; }
.lang-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}
.lang-check-list .chk { color: var(--teal); font-size: 1rem; }
.lang-card--light .chk { color: var(--cyan); }
.lang-bg-icon {
  position: absolute;
  top: 0; right: 0;
  padding: 24px;
  font-size: 8rem;
  opacity: 0.05;
}

/* ---- HOW IT WORKS ---- */
.steps-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 64px;
  gap: 8px;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(0,188,212,0.25);
  z-index: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step-num.active { background: var(--teal); box-shadow: 0 0 20px rgba(0,128,128,0.5); }
.step-num.last   { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,188,212,0.5); }
.step h4 { font-size: 0.95rem; font-weight: 700; color: #fff; }

/* ---- TOOLKIT ---- */
.toolkit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}
.toolkit-tag {
  padding: 12px 24px;
  background: var(--light);
  border: 1.5px solid rgba(0,128,128,0.2);
  border-radius: 50px;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.toolkit-tag:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.toolkit-tag i { font-size: 1rem; color: var(--teal); transition: color 0.25s; }
.toolkit-tag:hover i { color: #fff; }

/* ---- CONTENT SPLIT ---- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }
.split-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-text .section-label { margin-bottom: 8px; }
.split-text h2 { margin-bottom: 20px; color: var(--navy); }
.split-text p  { margin-bottom: 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--dark);
}
.check-list .chk { color: var(--teal); margin-top: 3px; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.testimonial-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-placeholder {
  background: var(--light);
  border-radius: 8px;
  padding: 20px;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.testimonial-meta { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-role { color: var(--slate); font-size: 0.85rem; }

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 56px auto 0;
  align-items: center;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.pricing-card:hover { box-shadow: 0 12px 40px rgba(11,28,61,0.12); }
.pricing-card.featured {
  border: 2px solid var(--teal);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,128,128,0.2);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-region { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pricing-amount { font-size: 2.6rem; font-weight: 800; color: var(--teal); margin-bottom: 4px; font-family: var(--font-heading); }
.pricing-amount span { font-size: 1rem; color: var(--slate); font-weight: 400; }
.pricing-features { margin: 20px 0 28px; flex-grow: 1; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--slate);
}
.pricing-features .chk { color: var(--teal); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 56px auto 0; }
.faq-item {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover  { background: var(--light); }
.faq-question.active { background: var(--navy); color: #fff; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 1.4rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-answer {
  display: none;
  padding: 0 28px 24px;
  color: var(--slate);
}
.faq-answer.open { display: block; }

/* ---- FINAL CTA ---- */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 24px;
}
.final-cta h2 { margin-bottom: 20px; }
.final-cta p  { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 600px; margin: 0 auto 40px; }
.final-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.5rem; color: #fff; margin-bottom: 12px; }
.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.9rem; color: #94a3b8; transition: color 0.2s; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  text-align: center;
  font-size: 0.875rem;
}
.social-links { display: flex; gap: 16px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  transition: all 0.2s;
}
.social-links a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-grid, .lang-grid, .split-grid, .split-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .hero-img { order: -1; }
  .hero-img img { height: 300px; }
  .features-grid, .audience-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 20px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .steps-row { flex-direction: column; align-items: center; }
  .steps-row::before { display: none; }
  .step { width: 100%; flex-direction: row; text-align: left; gap: 20px; }
  .step-num { flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- 2030 HEADER & UI UPGRADES --- */
.navbar {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 95% !important;
  max-width: 1200px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 100px !important;
  padding: 8px 24px !important;
  box-shadow: 0 10px 40px rgba(11, 28, 61, 0.08), 0 1px 3px rgba(255, 255, 255, 0.5) inset !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (max-width: 1024px) {
  .navbar {
    top: 10px !important;
    border-radius: 24px !important;
    padding: 12px 20px !important;
  }
}

.nav-links a {
  font-weight: 600 !important;
  letter-spacing: -0.3px !important;
  transition: color 0.2s, transform 0.2s !important;
}
.nav-links a:hover {
  color: var(--cyan) !important;
  transform: translateY(-1px) !important;
}

.btn.btn-dark, .btn-dark {
  background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%) !important;
  border-radius: 100px !important;
  box-shadow: 0 8px 20px rgba(11, 28, 61, 0.2) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

.btn.btn-dark:hover, .btn-dark:hover {
  box-shadow: 0 12px 25px rgba(0, 188, 212, 0.4) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #1a365d 0%, var(--navy) 100%) !important;
}

section[style*="background:var(--navy)"] {
  padding-top: 140px !important; /* Push hero down so floating nav doesn't cover title */
  background: radial-gradient(circle at top right, #102a5c, var(--navy)) !important;
}

/* --- FIX OVERLAP ISSUES --- */
.navbar .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  gap: 40px !important; /* Force space between logo and menu */
}

.logo-link {
  flex-shrink: 0 !important;
  margin-right: auto !important; /* Pushes the menu to the right side */
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important; /* Space between each link */
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .navbar .container {
    gap: 15px !important;
  }
  .nav-links {
    gap: 12px !important;
  }
}

/* --- PREMIUM SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-100 { transition-delay: 100ms; }
.reveal.delay-200 { transition-delay: 200ms; }
.reveal.delay-300 { transition-delay: 300ms; }
.reveal.delay-400 { transition-delay: 400ms; }

/* Add hover scale to cards for extra polish */
.feature-card, .audience-card, .pricing-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.feature-card:hover, .audience-card:hover, .pricing-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(11, 28, 61, 0.1) !important;
}

/* --- DARK NAVBAR TO MATCH LOGO --- */
.navbar {
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.nav-links a {
  color: #e2e8f0 !important;
}
.nav-links a:hover, .nav-links a.active-link {
  color: var(--cyan) !important;
}
.hamburger span {
  background: #fff !important;
}

/* --- MOBILE MENU FIX --- */
@media (max-width: 1024px) {
  .nav-links {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(11, 28, 61, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    flex-direction: column !important;
    padding: 30px 20px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    margin-top: 10px !important;
    transform: translateY(-20px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nav-links.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
