/* =========================================
   Eduvibe Resources & Solutions — style.css
   Design Spec: Navy #0B2240 | Teal #00A3A6 | White #F8FAFC
   ========================================= */

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #F8FAFC;
  color: #1e293b;
  line-height: 1.6;
}

/* ─── CSS Variables ─── */
:root {
  --navy:   #0B2240;
  --teal:   #00A3A6;
  --white:  #F8FAFC;
  --gray:   #64748b;
  --border: #cbd5e1;
  --shadow: 0 4px 16px rgba(11, 34, 64, 0.10);
}

/* ─── Navigation ─── */
.nav {
  background-color: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(11, 34, 64, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-badge {
  background-color: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.nav-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-bottom-color: var(--teal);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background-color: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-primary:hover {
  background-color: #008f92;
  border-color: #008f92;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

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

.btn-navy {
  background-color: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-navy:hover {
  background-color: var(--teal);
  border-color: var(--teal);
}

/* ─── Hero Section ─── */
.hero {
  background-color: var(--navy);
  color: #fff;
  padding: 96px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(0, 163, 166, 0.2);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 163, 166, 0.4);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 span {
  color: var(--teal);
}

.hero-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
}

.hero-stat span {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

/* Hero image / visual side */
.hero-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ─── Section Shared ─── */
.section {
  padding: 80px 5%;
}

.section-tag {
  display: inline-block;
  background-color: rgba(0, 163, 166, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 163, 166, 0.3);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ─── Video Section ─── */
.video-section {
  background-color: var(--white);
  padding: 80px 5%;
}

.video-section .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.video-section .section-subtitle {
  margin: 0 auto;
}

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--teal);
  box-shadow: 0 16px 48px rgba(11, 34, 64, 0.18);
}

.video-wrapper iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0B2240 60%, #0d2d52 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background: #008f92;
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 4px;
}

.video-placeholder p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ─── Why Choose Us ─── */
.features-section {
  background-color: #f0f7ff;
  padding: 80px 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}

.feature-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 28px rgba(0, 163, 166, 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 163, 166, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── CTA Banner ─── */
.cta-section {
  background-color: var(--navy);
  padding: 72px 5%;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ─── Footer ─── */
.footer {
  background-color: var(--navy);
  color: #94a3b8;
  padding: 48px 5% 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--teal);
  text-decoration: none;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 64px 5%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 5%;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: relative;
  }

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

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

  .footer-brand {
    grid-column: auto;
  }

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