/* ========================================
   BASIC RESET
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: #171717;
  background: #FFFCEC;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

/* ========================================
   FIXED VIDEO BACKGROUND
======================================== */
.background-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #FFFCEC;
}
.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #FFFCEC;
}
.background-tint {
  position: absolute;
  inset: 0;
  background: rgba(255, 252, 236, 0.55);
}
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7%;
  color: #FFFCEC;
  background: #0F47AF;
  border-bottom: 3px solid #FCDD09;
}
.logo {
  color: #FFFCEC;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}
.site-header .button-small {
  color: #FCDD09;
  background: transparent;
  border-color: #FCDD09;
}
.site-header .button-small:hover {
  color: #0F47AF;
  background: #FCDD09;
}

/* ========================================
   BUTTONS
======================================== */
.button {
  display: inline-block;
  padding: 13px 22px;
  color: #0F47AF;
  background: transparent;
  border: 2px solid #0F47AF;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}
.button:hover {
  color: #FFFCEC;
  background: #0F47AF;
  transform: translateY(-2px);
}
.button-dark {
  color: #FFFCEC;
  background: #0F47AF;
}
.button-dark:hover {
  color: #0F47AF;
  background: #FCDD09;
}
.button-small {
  padding: 10px 17px;
  font-size: 14px;
}

/* ========================================
   GENERAL LAYOUT
======================================== */
section {
  padding: 90px 7%;
}
.section-inner {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}
.light-section {
  background: transparent;
}
.dark-section .eyebrow {
  color: #FCDD09;
}
.dark-section {
  color: #ffffff;
  background: #0F47AF;
}
.eyebrow {
  margin: 0 0 16px;
  color: #0F47AF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(48px, 8vw, 105px);
  letter-spacing: -4px;
}
h2 {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -2px;
}
h3 {
  margin: 0 0 16px;
  font-size: 26px;
}
.large-text {
  max-width: 850px;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.55;
}

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: transparent;
}
.hero-content {
  width: 100%;
  max-width: 950px;
}
.intro {
  max-width: 720px;
  margin: 0 0 34px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}


/* ========================================
   PALM SILHOUETTES (hero decoration)
======================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.palms {
  position: absolute;
  right: 0;
  bottom: -10px;
  z-index: 1;
  width: min(640px, 60vw);
  pointer-events: none;
  opacity: 0.16;
  user-select: none;
}
.palms svg {
  display: block;
  width: 100%;
  height: auto;
}
.palm-crown {
  transform-box: view-box;
  animation: palm-sway 7s ease-in-out infinite;
}
.palm-a .palm-crown { transform-origin: 250px 210px; }
.palm-b .palm-crown { transform-origin: 560px 300px; animation-duration: 9s; animation-delay: -2.5s; }
.palm-c .palm-crown { transform-origin: 105px 330px; animation-duration: 11s; animation-delay: -5s; }

@keyframes palm-sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50%      { transform: rotate(1.6deg); }
}

@media (max-width: 700px) {
  .palms {
    width: 85vw;
    opacity: 0.09;
  }
}

/* ========================================
   COURSE CARDS
======================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 45px;
}
.course-card {
  padding: 36px;
  background: #ffffff;
  border: 1px solid #CBD6EC;
  border-radius: 8px;
}
.course-card > p {
  margin-bottom: 0;
}
.details {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.details li {
  padding: 12px 0;
  border-bottom: 1px solid #DCE3F0;
}
.details li:last-child {
  border-bottom: 0;
}
.bring-heading {
  margin-top: 52px;
}

/* ========================================
   WORKSHOP STEPS
======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.step {
  padding-top: 22px;
  border-top: 3px solid #FCDD09;
}
.step-number {
  display: block;
  color: #0F47AF;
  margin-bottom: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.step p {
  margin-bottom: 0;
}

/* ========================================
   TEACHER + SLIDESHOW
======================================== */
.teacher {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 60px;
  align-items: center;
}
.teacher-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #ded9ce;
  border-radius: 8px;
}

/* Slideshow container */
.teacher-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

/* Individual slides */
.teacher-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.teacher-slideshow .slide.active {
  opacity: 1;
  z-index: 2;
}

/* ========================================
   EMBASSY SUPPORT
======================================== */
.partners {
  padding-top: 95px;
  padding-bottom: 95px;
  background: transparent;
  text-align: center;
}
.partners-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partners-title {
  margin: 0 0 34px;
  color: #5f5f5f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.partner-logo {
  width: 90px;
  height: auto;
  margin-bottom: 34px;
}
.partners-text {
  max-width: 680px;
  margin: 0 auto;
  color: #333333;
  font-size: 18px;
  line-height: 1.8;
}

/* ========================================
   APPLICATION
======================================== */
.apply {
  background: transparent;
  text-align: center;
}
.apply p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 20px;
}
.apply .button {
  margin-top: 10px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  padding: 30px 7% 95px;
  color: #D8E1F5;
  background: #0A3382;
  font-size: 14px;
  text-align: center;
}
.site-footer p {
  margin: 0 0 8px;
}
.site-footer p:last-child {
  margin-bottom: 0;
}
.site-footer a {
  color: #FCDD09;
  text-decoration: underline;
}
.site-footer a:hover {
  color: #ffffff;
}

/* ========================================
   BOTTOM BAR (WhatsApp contact button)
======================================== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F47AF;
  color: #FFFCEC;
  padding: 14px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.bottom-bar .whatsapp-btn {
  background: #25D366;
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bottom-bar .whatsapp-btn:hover {
  background: #1da851;
}
@media (max-width: 700px) {
  .bottom-bar { padding: 12px 5%; }
  .bottom-bar .whatsapp-btn { padding: 8px 16px; font-size: 13px; }
}

/* ========================================
   FORM CONSENT / PRIVACY LINE
======================================== */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.form-consent a {
  color: #0F47AF;
  text-decoration: underline;
}
/* Honeypot field - hidden from real visitors, catches bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ========================================
   FIVE-DAY STEPS GRID
======================================== */
.steps-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

/* ========================================
   TEXT LINK (teacher section)
======================================== */
.text-link {
  display: inline-block;
  color: #FCDD09;
  margin-top: 18px;
  font-weight: 700;
  text-decoration: underline;
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 1000px) {
  .steps-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .steps-grid,
  .steps-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teacher {
    grid-template-columns: 1fr;
  }
  .teacher-image,
  .teacher-slideshow {
    min-height: 350px;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 78px;
  }
  .site-header {
    padding: 14px 5%;
  }
  .logo {
    max-width: 160px;
    font-size: 14px;
    line-height: 1.2;
  }
  .button-small {
    padding: 9px 12px;
    font-size: 12px;
  }
  section {
    padding: 70px 5%;
  }
  h1 {
    letter-spacing: -2px;
  }
  h2 {
    letter-spacing: -1px;
  }
  .course-grid,
  .steps-grid,
  .steps-five {
    grid-template-columns: 1fr;
  }
  .course-card {
    padding: 28px;
  }
  .bring-heading {
    margin-top: 44px;
  }
  .teacher {
    gap: 35px;
  }
  .teacher-image,
  .teacher-slideshow {
    min-height: 280px;
  }
  .partner-logo {
    width: 78px;
  }
  .partners-text {
    font-size: 16px;
  }
  .apply p:not(.eyebrow) {
    font-size: 18px;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .background-video {
    display: none;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
  .teacher-slideshow .slide {
    transition: none;
  }
  .palm-crown {
    animation: none;
  }
}