/* ============================================================
   TOMORROW COLLEGE — SHARED STYLESHEET
   Design lives here. Content pages just link to this file.
   To change the look of ALL pages at once, edit here.
   ============================================================ */

/* ─── CSS Variables ───────────────────────────────────────── */
:root {
  --pink:       #D90368;
  --orange:     #FF6700;
  --navy:       #2B2D42;
  --grey-mid:   #5C6378;
  --grey-light: #8D99AE;
  --silver:     #BDC6D1;
  --alice:      #EDF2F4;
  --blue:       #1A8CFF;
  --mint:       #76E0A6;
  --yellow:     #FFC500;
  --white:      #FFFFFF;
  --grad: linear-gradient(135deg, var(--pink) 0%, var(--orange) 100%);
  --max-width: 1100px;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Announcement Bar ────────────────────────────────────── */
.announce-bar {
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.announce-bar span { opacity: 0.9; }
.announce-bar strong { font-family: 'Poppins', sans-serif; }
.btn-announce {
  background: var(--pink);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-announce:hover { background: #b8025a; transform: translateY(-1px); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,197,0,0.45); }

.btn-pink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pink);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 4px 16px rgba(217,3,104,0.3);
}
.btn-pink:hover { background: #b8025a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(217,3,104,0.4); }

/* ─── Accent Line ─────────────────────────────────────────── */
.accent-line {
  width: 60px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
  margin: 0 auto 32px;
}

/* ─── Hero Section ────────────────────────────────────────── */
.hero {
  background: var(--grad);
  padding: 72px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* Override hero to use inner wrapper */
.hero {
  display: block;
  background: var(--grad);
  padding: 72px 48px 80px;
}
.hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-text p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* ─── Split Section ───────────────────────────────────────── */
.section-split {
  padding: 96px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.photo-wrap { position: relative; }
.photo-wrap img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}
.photo-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--pink);
  border-radius: 8px;
  z-index: -1;
}
.section-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--grey-mid);
  margin-bottom: 24px;
}
.section-copy p {
  color: var(--grey-mid);
  font-size: 16px;
  margin-bottom: 16px;
}
.section-copy .btn-pink { margin-top: 12px; }

/* ─── Pull Quote ──────────────────────────────────────────── */
.pull-quote {
  background: var(--navy);
  padding: 80px 48px;
  text-align: center;
}
.pull-quote-inner {
  max-width: 780px;
  margin: 0 auto;
}
.pull-quote h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.35;
}
.pull-quote h2 em { font-style: normal; color: var(--pink); }
.pull-quote p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ─── Challenge Section ───────────────────────────────────── */
.challenge-section {
  background: var(--alice);
  padding: 96px 48px;
}
.challenge-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.challenge-inner h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.challenge-inner .subtitle {
  color: var(--grey-mid);
  font-size: 17px;
  margin-bottom: 48px;
}
.days-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.days-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 15px;
  color: var(--navy);
  transition: transform 0.15s, box-shadow 0.15s;
}
.days-list li:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.day-badge {
  background: var(--grad);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.bonus-box {
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  text-align: left;
  font-size: 15px;
  color: var(--grey-mid);
  font-style: italic;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.bonus-box strong { font-style: normal; color: var(--orange); font-family: 'Poppins', sans-serif; }

/* ─── About Section ───────────────────────────────────────── */
.about-section {
  background: var(--grad);
  padding: 96px 48px;
}
.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.about-copy p {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  margin-bottom: 16px;
}
.about-copy .signature {
  font-family: 'Shadows Into Light', cursive;
  font-size: 2rem;
  color: var(--white);
  margin-top: 8px;
  display: block;
}
.about-photo img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ─── CTA / Form Section ──────────────────────────────────── */
.form-section {
  background: var(--white);
  padding: 96px 48px;
  text-align: center;
}
.form-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.form-section > p {
  color: var(--grey-mid);
  font-size: 17px;
  margin-bottom: 32px;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
}
footer a { color: var(--pink); }

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43,45,66,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.modal-overlay.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--white);
  border-radius: 12px;
  max-width: 580px;
  width: 100%;
  padding: 48px 40px 40px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: slideUp 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--grey-mid);
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--navy); }

/* ─── Kit Form Resets inside modal ───────────────────────── */
.modal-box .formkit-form {
  border: none !important;
  max-width: 100% !important;
  background: transparent !important;
}
.modal-box .formkit-form [data-style="minimal"] { padding: 0 !important; }
.modal-box .formkit-header {
  margin-bottom: 8px !important;
}
.modal-box .formkit-header h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.modal-box .formkit-subheader {
  margin-bottom: 24px !important;
}
.modal-box .formkit-subheader p {
  font-size: 14px !important;
  color: var(--grey-mid) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
.modal-box .seva-fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.modal-box .formkit-field {
  margin: 0 !important;
}
.modal-box .formkit-input {
  border-radius: 8px !important;
  border: 1.5px solid var(--silver) !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  padding: 13px 16px !important;
  width: 100% !important;
  color: var(--navy) !important;
  background: var(--alice) !important;
  transition: border-color 0.15s !important;
}
.modal-box .formkit-input:focus {
  border-color: var(--pink) !important;
  background: var(--white) !important;
  outline: none !important;
}
.modal-box .formkit-input::placeholder {
  color: var(--grey-mid) !important;
  font-size: 15px !important;
}
.modal-box .formkit-checkboxes {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}
.modal-box .formkit-checkboxes label {
  font-size: 13px !important;
  color: var(--grey-mid) !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  padding-left: 0 !important;
}
.modal-box .formkit-submit {
  width: 100% !important;
  background-color: var(--pink) !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 4px !important;
  min-height: 52px !important;
  transition: background-color 0.15s, transform 0.1s !important;
}
.modal-box .formkit-submit > span,
.modal-box .formkit-submit span {
  padding: 14px 24px !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
}
.modal-box .formkit-submit:hover {
  background-color: #b8025a !important;
  transform: translateY(-1px) !important;
}
.modal-box [data-group="checkboxes"] [data-group="checkbox"] input[type="checkbox"]:checked + label::before {
  background: var(--pink) !important;
  border-color: var(--pink) !important;
}
.modal-box [data-group="checkboxes"] [data-group="checkbox"] input[type="checkbox"]:checked + label::after {
  content: "" !important;
  border-color: var(--white) !important;
}
.modal-box .formkit-guarantee {
  margin-top: 16px !important;
}
.modal-box .formkit-guarantee p {
  font-size: 12px !important;
  color: var(--grey-light) !important;
  text-align: center !important;
  line-height: 1.5 !important;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 56px 32px 64px; }
  .hero-inner { gap: 36px; }
  .section-split { padding: 64px 32px; gap: 40px; }
  .about-inner { gap: 40px; }
  .about-section { padding: 64px 32px; }
  .challenge-section { padding: 64px 32px; }
  .form-section { padding: 64px 32px; }
  .pull-quote { padding: 64px 32px; }
}

@media (max-width: 720px) {
  .hero { padding: 48px 20px 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-image img { max-width: 100%; aspect-ratio: 16/9; }
  .section-split {
    grid-template-columns: 1fr;
    padding: 56px 20px;
    gap: 32px;
  }
  .photo-wrap::before { display: none; }
  .photo-wrap img { aspect-ratio: 4/3; }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-section { padding: 56px 20px; }
  .about-photo { order: -1; }
  .about-photo img { aspect-ratio: 4/3; max-width: 100%; object-position: 50% 25%; }
  .challenge-section { padding: 56px 20px; }
  .form-section { padding: 56px 20px; }
  .pull-quote { padding: 56px 20px; }
  .modal-box { padding: 40px 20px 32px; }
  .days-list li { flex-direction: column; gap: 8px; }
  .announce-bar { font-size: 13px; gap: 12px; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-pink { width: 100%; justify-content: center; }
  .hero-text p { font-size: 15px; }
}
