/* === Colour variables === */
:root {
  --navy: #1e3a6e;
  --orange: #f47c20;
  --orange-dark: #d96a10;
}

/* === Reset & base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === Layout helpers === */

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy);
}

/* === Header / Nav === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* === Hero === */

.hero {
  text-align: center;
  padding: 0.5rem 0 3rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: #444;
}

.hero-logo-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 360px;
  max-width: 80%;
  display: block;
}

.btn-primary {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary:hover {
  background: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* === Cards & common blocks === */

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.bullet-list {
  margin: 0.6rem 0;
  padding-left: 1.2rem;
}

.bullet-list li {
  margin-bottom: 0.25rem;
}

/* === Courses / price table === */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.price-table thead {
  background: #e8edf5;
  color: var(--navy);
  font-weight: 600;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #666;
}

/* === Teacher === */

.teacher-name {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.teacher-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-photo-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Access / Map === */

.access-sub {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #555;
}

.map {
  padding: 0;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
}

/* === Booking / Calendly === */

/* Trial / Calendly section */
#trial {
  padding: 3rem 0 0;
}

.trial-text {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.trial-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #555;
}

/* Calendly container */
.trial-calendly {
  max-width: 980px;       /* same width as .container */
  margin: 1.5rem auto 0;
  padding: 0 1.2rem;
}

/* Calendly widget itself */
.calendly-inline-widget {
  width: 100%;
  border: 0;
}

/* Give extra height on small screens if needed */
@media (max-width: 600px) {
  .calendly-inline-widget {
    height: 480px !important;
    min-height: unset;
  }
}

/* === Contact / QR === */

.contact-info {
  margin-top: 0.4rem;
}

.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.qr-wrapper img {
  max-width: 180px;
  width: 100%;
  border-radius: 8px;
  background: #fff;
  padding: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.qr-caption {
  font-size: 0.9rem;
  color: #444;
}

/* === Footer === */

.site-footer {
  padding: 1.8rem 0 2.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

/* === Responsive === */

@media (max-width: 800px) {
  .two-column {
    grid-template-columns: 1fr;
    padding: 2.4rem 0;
  }

  .nav-links {
    gap: 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 500px) {
  /* Nav */
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem 0.6rem;
  }

  .logo-img {
    height: 34px;
    margin-top: 0.3rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 0.8rem;
    font-size: 0.88rem;
  }

  .nav-links a {
    padding: 0.2rem 0;
    border-bottom: 1px solid #eee;
  }

  /* Hero */
  .hero {
    padding: 0 0 2rem;
  }

  .hero-logo {
    max-width: 75%;
  }

  /* Body padding */
  .container {
    padding: 0 1rem;
  }

  /* Section headings */
  .section-title {
    font-size: 1.2rem;
  }

  /* Reduce whitespace around trial/contact */
  #trial {
    padding: 2rem 0 0;
  }

  #contact {
    padding-top: 1.5rem;
  }
}
.contact-form {
  max-width: 520px;
  margin-top: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}
