:root {
  --blue: #004aad;
  --blue-dark: #00337a;
  --teal: #1aa3a3;
  --green: #2b9c5f;
  --light: #f5f7fb;
  --dark: #111827;
  --muted: #6b7280;
  --border: #e3e6f0;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: #ffffff;
  line-height: 1.6;
}

p {
  margin: 0 0 0.75rem;
}

ul {
  margin: 0.5rem 0 0.8rem 1.25rem;
  padding: 0;
}

a {
  color: var(--blue);
}

/* Layout */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / Nav ---------- */

header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  gap: 1rem;
}

/* logo uses image + text */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

/* nav links */

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  padding: 0.25rem 0.1rem;
}

.nav a:hover {
  color: var(--blue);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, #f5f7fb 0%, #e7f5ff 100%);
  padding: 3rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

h1 {
  font-size: 2.1rem;
  color: var(--blue);
  margin: 0 0 0.7rem;
}

.lead {
  font-size: 0.98rem;
  color: #374151;
  max-width: 32rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  color: var(--dark);
}

.hero-badge span {
  font-size: 1.1rem;
}

.hero-small {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* video */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Buttons ---------- */

.cta-buttons {
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 0.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 74, 173, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 30px rgba(0, 74, 173, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #ffffff;
}

.btn-outline:hover {
  background: #eef3ff;
  border-color: var(--blue-dark);
  color: var(--blue-dark);
}

/* ---------- Sections ---------- */

section {
  padding: 3rem 0;
}

.light {
  background: var(--light);
}

h2 {
  font-size: 1.7rem;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

h3 {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* cards */

.card {
  background: #ffffff;
  padding: 1.3rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* grids */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- Workbooks + text helpers ---------- */

.tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #e0ecff;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.book-cover {
  width: 100%;
  border-radius: 10px;
  margin: 0.6rem 0 0.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: block;
  object-fit: cover;
}


.muted {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Resources pill links ---------- */

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.pill-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid #d1d5db;
  color: var(--dark);
  background: #f9fafb;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.pill-links a:hover {
  background: #eef3ff;
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* ---------- Pricing ---------- */

.pricing-highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin: 0.2rem 0 0.8rem;
}

/* ---------- Testimonials ---------- */

#testimonials .section-subtitle {
  margin-bottom: 1.5rem;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.testimonial-track {
  position: relative;
  min-height: 140px;
}

.testimonial {
  display: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.testimonial.active {
  display: block;
}

.testimonial .quote {
  font-size: 0.98rem;
  margin: 0 0 0.8rem;
}

.testimonial .name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
}

.testimonial-btn {
  border: none;
  background: #ffffff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.testimonial-btn:hover {
  background: #eef3ff;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.testimonial-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: transparent;
  cursor: pointer;
}

.testimonial-dots .dot.active {
  background: var(--blue);
}

/* ---------- Contact form ---------- */

form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0.6rem 0 0.2rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font: inherit;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

form textarea {
  min-height: 120px;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.18);
}

form .btn-primary {
  margin-top: 1rem;
}

/* Contact info */

#contact p {
  margin-bottom: 0.4rem;
}

/* ---------- Footer ---------- */

footer {
  background: #0b1020;
  color: #dde2ff;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-end;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 2.3rem;
  }
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-grid {
    gap: 1.7rem;
  }

  .testimonial-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-btn.prev,
  .testimonial-btn.next {
    justify-self: center;
  }

  .testimonial-track {
    order: -1;
  }
}
