/* ------------------------------
   Base & layout
--------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f3f4f6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding-top: 5rem;
}

section {
  scroll-margin-top: 5rem;
}

/* ------------------------------
   Top bar & header
--------------------------------- */

.top-bar {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.875rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.logo-mark {
  color: #111827;
}

.logo-highlight {
  color: #2563eb;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  color: #4b5563;
  padding-bottom: 0.1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
}

/* ------------------------------
   Buttons
--------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1d4ed8);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(243, 244, 246, 0.7);
  color: #f9fafb;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(243, 244, 246, 0.12);
}

.btn-ghost {
  border-radius: 999px;
  padding-inline: 1.1rem;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

.btn-ghost:hover {
  background: #f3f4f6;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* ------------------------------
   Hero
--------------------------------- */

.hero {
  background: radial-gradient(circle at top left, #e0f2fe, transparent 55%),
    radial-gradient(circle at bottom right, #e5e7eb, transparent 55%),
    #f9fafb;
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw + 1.4rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #0f172a;
}

.accent {
  color: #2563eb;
}

.lead {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.3rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.badge {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.badge strong {
  display: block;
  font-size: 0.9rem;
}

.badge span {
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-panel {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.hero-panel h2 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.35rem;
}

.hero-panel p {
  margin-top: 0;
  margin-bottom: 1.3rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #4b5563;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid #d1d5db;
  font: inherit;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.55);
  background: #ffffff;
}

.helper-text {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  color: #6b7280;
}

/* ------------------------------
   Sections
--------------------------------- */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.section-header p {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.card-tag {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #4b5563;
  font-size: 0.92rem;
}

.card-list {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  color: #374151;
  font-size: 0.9rem;
}

.card-list li {
  margin-bottom: 0.25rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price {
  font-weight: 700;
  color: #111827;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.pill {
  background: #eff6ff;
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #dbeafe;
}

.pill h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.pill p {
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
}

.stats-panel {
  background: #020617;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.5);
}

.stats-panel h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.stats-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.stats-panel li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.stats-panel li span:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  color: #38bdf8;
}

/* ------------------------------
   Schedule
--------------------------------- */

.filters {
  display: inline-flex;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.25rem;
  background: #e5e7eb;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border-radius: 999px;
  border: none;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  background: transparent;
  cursor: pointer;
  color: #4b5563;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-btn.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 2px 5px rgba(148, 163, 184, 0.45);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.schedule-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.schedule-course {
  font-weight: 600;
}

.schedule-meta {
  color: #4b5563;
}

.schedule-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.schedule-cta {
  margin-top: 0.4rem;
}

/* ------------------------------
   Testimonials
--------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.testimonial {
  background: #f9fafb;
  border-radius: 0.9rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid #e5e7eb;
}

.testimonial blockquote {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: #374151;
}

.testimonial .name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial .role {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ------------------------------
   FAQ
--------------------------------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.faq-icon {
  margin-left: 1rem;
  font-weight: 700;
  color: #6b7280;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  border-top: 1px solid #e5e7eb;
  transition: max-height 0.22s ease, padding-bottom 0.22s ease;
}

.faq-answer p {
  margin: 0.75rem 0 0.9rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 0.5rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ------------------------------
   Contact & footer
--------------------------------- */

.contact-details {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.contact-details li {
  margin-bottom: 0.4rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.8rem;
  font-size: 0.9rem;
}

.footer-about {
  margin-top: 0.6rem;
  color: #9ca3af;
  max-width: 20rem;
}

.site-footer .logo-mark {
  color: #e5e7eb;
}

.site-footer .logo-highlight {
  color: #60a5fa;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.25rem;
}

.site-footer a {
  color: #e5e7eb;
}

.site-footer a:hover {
  color: #93c5fd;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.newsletter-form input {
  border-radius: 999px;
  border: 1px solid #4b5563;
  padding: 0.45rem 0.7rem;
  background: #020617;
  color: #e5e7eb;
  font: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid #111827;
  margin-top: 2rem;
  padding: 0.9rem 0;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ca3af;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* ------------------------------
   Responsive
--------------------------------- */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

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

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

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

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  main {
    padding-top: 4.3rem;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-container {
    padding-inline: 1rem;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.75rem 1.25rem 0.9rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    gap: 0.7rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-header.open .main-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-grid,
  .schedule-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pill-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}


