/* ============================================================
   Mission Academy — stylesheet (matched to live Canva design)
   Colors sampled from the reference site:
     mint accent   #7ADE9F
     mint pale     #CDF2DF
     blue pale     #AECEEF
     card blue     #649ABB
     contact blue  #3A73DB
     ink           #141414

   Type: "Playfair Display" (headings)
         + "Lora" (body serif)
         + "Quicksand" (rounded sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;1,500&family=Lora:ital,wght@0,400;0,500;1,400&family=Quicksand:wght@500;600;700&display=swap');


/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {
  --mint: #6FDB9C;
  --mint-deep: #4FBE82;
  --mint-pale: #CDF2DF;

  --blue-pale: #AECEEF;

  --card-blue: #649ABB;
  --card-blue-light: #7CABC5;

  --contact-blue: #3A73DB;

  --ink: #141414;
  --ink-soft: #3A3A3A;

  --cream: #FFFFFF;

  --serif-display: 'Playfair Display', Georgia, serif;
  --serif-body: 'Lora', Georgia, serif;
  --sans-round: 'Quicksand', -apple-system, sans-serif;

  --max-w: 1220px;
}


/* ============================================================
   GLOBAL
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);

  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  line-height: 1.1;

  margin: 0;

  color: var(--ink);
}


/* ============================================================
   CONTAINER
   ============================================================ */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--contact-blue);
  outline-offset: 3px;
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


/* ============================================================
   TOP BAR
   ============================================================ */

.topbar {
  padding: 30px 0 10px;
}

.topbar .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 24px;
}


/* Brand */

.brand {
  display: flex;
  align-items: center;

  gap: 10px;

  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;

  border-radius: 50%;
}

.brand span {
  font-family: var(--serif-display);
  font-weight: 600;

  font-size: 19px;

  color: var(--ink);
}


/* Partners */

.partners {
  text-align: center;
}

.partners .label {
  font-size: 11px;
  color: var(--ink-soft);

  margin-bottom: 6px;
}

.partners img {
  height: 34px;
  width: auto;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;

  padding: 60px 0 40px;

  overflow: hidden;
}

.hero .wrap {
  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 20px;

  min-height: 420px;
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 68px);
}

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

.hero-sub {
  margin-top: 18px;

  font-size: 19px;

  color: var(--ink-soft);

  max-width: 40ch;
}

.hero-rings {
  position: relative;

  width: 100%;
  height: 420px;
}

.hero-rings svg {
  position: absolute;

  right: -60px;
  top: 0;

  width: 640px;
  max-width: 130%;
}


/* ============================================================
   OVERVIEW
   ============================================================ */

.overview {
  padding: 0 0 90px;
}

.overview .wrap {
  display: grid;

  grid-template-columns: 0.85fr 1fr;

  gap: 56px;

  align-items: center;
}

.overview-photo {
  border-radius: 4px;

  overflow: hidden;
}

.overview-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.overview-copy h2 {
  font-size: clamp(38px, 4.4vw, 56px);

  color: var(--mint);

  margin-bottom: 20px;
}

.overview-copy p {
  color: var(--ink-soft);

  font-size: 17px;

  margin-bottom: 18px;
}

.overview-copy p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   SECTION BASICS
   ============================================================ */

section.block {
  padding: 90px 0;
}

.center-head {
  text-align: center;

  margin-bottom: 56px;
}

.center-head h2 {
  font-size: clamp(32px, 4vw, 46px);
}


/* ============================================================
   SIGNATURE COURSES
   ============================================================ */

.signature-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 34px;
}

.signature-card {
  border: 1.5px dashed var(--mint-pale);

  border-radius: 26px;

  overflow: hidden;

  background: var(--cream);

  display: flex;

  flex-direction: column;
}

.signature-card .pill {
  background: var(--card-blue);

  color: var(--cream);

  font-family: var(--sans-round);

  font-weight: 600;

  text-align: center;

  padding: 34px 24px;

  font-size: 22px;

  line-height: 1.4;
}

.signature-card .pill small {
  display: block;

  font-weight: 500;

  font-size: 18px;

  opacity: 0.95;
}

.signature-card .body {
  padding: 26px 26px 32px;

  font-size: 14.5px;

  line-height: 1.7;

  color: var(--ink-soft);

  text-align: center;
}


/* ============================================================
   INDIVIDUAL COURSES
   ============================================================ */

.pill-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 22px;
}

.pill-item {
  background: var(--card-blue);

  color: var(--cream);

  border-radius: 20px;

  min-height: 108px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 14px 16px;

  font-family: var(--sans-round);

  font-weight: 600;

  font-size: 18px;

  line-height: 1.3;
}

.pill-item small {
  display: block;

  font-weight: 500;

  font-size: 11.5px;

  margin-top: 6px;

  opacity: 0.9;

  line-height: 1.4;
}

.pill-item b {
  font-weight: 700;
}


/* ============================================================
   LIVE COURSES — API
   ============================================================ */

.live-courses {
  background: var(--mint-pale);
}

.course-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(260px, 1fr));

  gap: 26px;
}

.course-card {
  background: var(--cream);

  border-radius: 20px;

  overflow: hidden;

  border: 1.5px dashed var(--card-blue-light);

  display: flex;

  flex-direction: column;
}

.course-card .thumb {
  aspect-ratio: 16/10;

  background: var(--blue-pale);

  overflow: hidden;
}

.course-card .thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.course-card .body {
  padding: 20px 22px 24px;

  flex: 1;

  display: flex;

  flex-direction: column;
}

.course-card h3 {
  font-family: var(--sans-round);

  font-size: 19px;

  font-weight: 700;

  color: var(--ink);

  margin-bottom: 8px;
}

.course-card p.desc {
  color: var(--ink-soft);

  font-size: 14.5px;

  line-height: 1.55;

  flex: 1;
}

.course-card .meta {
  margin-top: 16px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.course-card .price {
  font-family: var(--serif-display);

  font-size: 20px;

  color: var(--card-blue);
}

.course-card .status {
  font-family: var(--sans-round);

  font-weight: 600;

  font-size: 12px;

  padding: 4px 12px;

  border-radius: 20px;

  background: var(--mint-pale);

  color: var(--mint-deep);
}

.course-state {
  grid-column: 1 / -1;

  text-align: center;

  padding: 40px 20px;

  color: var(--ink-soft);

  font-size: 15px;

  border: 1px dashed var(--card-blue-light);

  border-radius: 16px;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 40px;
}

.testimonial p.quote {
  font-family: var(--serif-body);

  font-size: 16px;

  line-height: 1.6;

  color: var(--ink);

  margin-bottom: 24px;

  min-height: 150px;
}

.testimonial .photo {
  aspect-ratio: 1/1;

  border-radius: 4px;

  overflow: hidden;

  margin-bottom: 16px;
}

.testimonial .photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.testimonial .caption {
  font-family: var(--serif-body);

  font-style: italic;

  font-size: 14.5px;

  color: var(--ink-soft);
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact .wrap {
  display: grid;

  grid-template-columns: 0.95fr 1.05fr;

  gap: 60px;

  align-items: center;
}

.contact h2 {
  color: var(--contact-blue);

  font-size: clamp(34px, 4vw, 48px);

  margin-bottom: 30px;
}


/* Contact labels */

.contact-list dt {
  font-family: var(--serif-display);

  font-size: 18px;

  color: var(--ink);

  display: inline-block;

  width: 100px;

  vertical-align: top;
}

.contact-list dd {
  display: inline;

  margin: 0;

  font-family: var(--serif-body);

  font-size: 17px;

  color: var(--ink-soft);
}

.contact-row {
  margin-bottom: 16px;
}


/* ============================================================
   SOCIAL ICONS
   ============================================================ */

/*
   Seven icons:

   1. Instagram
   2. Facebook
   3. X / Twitter
   4. YouTube
   5. LinkedIn
   6. TikTok
   7. QR Code
*/

.social-row {
  display: flex;

  align-items: center;

  gap: 8px;

  margin-top: 4px;

  flex-wrap: nowrap;
}


/* Individual social button */

.social-icon {
  width: 46px;
  height: 46px;

  min-width: 46px;

  border-radius: 10px;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* Hover */

.social-icon:hover {
  transform: translateY(-2px);

  opacity: 0.9;
}


/* SVG icons */

.social-icon svg {
  width: 30px;
  height: 30px;

  display: block;

  flex-shrink: 0;
}


/* ============================================================
   SOCIAL COLORS
   ============================================================ */


/* Instagram */

.social-icon.instagram {
  background: #E1306C;
}


/* Facebook */

.social-icon.facebook {
  background: #1877F2;
}


/* X / Twitter */

.social-icon.x-twitter {
  background: #1DA1F2;
}


/* YouTube */

.social-icon.youtube {
  background: #FF0000;
}


/* LinkedIn */

.social-icon.linkedin {
  background: #0A66C2;
}


/* TikTok */

.social-icon.tiktok {
  background: #000000;
}


/* QR Code */

.social-icon.qr-code {
  background: #FFFFFF;

  border: 1px solid #D8D8D8;
}


/* QR Code image */

.social-icon.qr-code img {
  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;

  display: block;
}


/* ============================================================
   CONTACT IMAGE / VIDEO
   ============================================================ */

.contact-photo {
  border-radius: 4px;

  overflow: hidden;

  aspect-ratio: 4/3;
}

.contact-photo img,
.contact-photo video {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 30px 0 40px;

  text-align: center;

  font-size: 13px;

  color: var(--ink-soft);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

  .topbar .wrap {
    flex-direction: column;

    align-items: center;

    text-align: center;
  }


  .hero .wrap {
    grid-template-columns: 1fr;
  }


  .hero-rings {
    display: none;
  }


  .overview .wrap {
    grid-template-columns: 1fr;
  }


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


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


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


  .contact .wrap {
    grid-template-columns: 1fr;
  }


  section.block {
    padding: 60px 0;
  }
}


/* ============================================================
   MOBILE SOCIAL ICONS
   ============================================================ */

@media (max-width: 600px) {

  .social-row {
    gap: 7px;

    flex-wrap: wrap;
  }

  .social-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

    border-radius: 9px;
  }

.course-pill-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

  .social-icon svg {
    width: 27px;
    height: 27px;
  }

  .social-icon.qr-code img {
    width: 100%;
    height: 100%;
  }
}