/* Theme */
:root {
  --bg: #ffffff; /* light base */
  --primary-100: #b1fff9; /* teal */
  --primary-300: #55d3c8; /* teal */
  --primary: #0d9488; /* teal */
  --primary-700: #0f766e; /* darker teal */
  --primary-900: #014f56; /* darkest teal */
  --accent: #f97316; /* orange */
  --accent-300: #ffb179; /* orange */
  --text: #0f172a; /* near-black text */
  --muted: #475569; /* slate */
  --card: #ffffff; /* light card (default) */
  --border: #e2e8f0; /* light border */
}
/* Keep UA components and site colors in light mode */
html {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
  text-transform: uppercase;
}
.btn:hover {
  transform: translateY(-1px);
}
.attention {
  animation: bounceY 0.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes bounceY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #fff;
  /* box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25); */
}

s {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

/* Inline orange highlight with white text */
.badge-accent {
  background-color: var(--accent);
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  display: inline-block;
}

.section-title-container {
  display: flex;
  justify-content: center;
}

/* Section title badge style */
.title-badge {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  margin: 0 auto; /* center the heading container */
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  padding: 3rem 0 2rem;
}
.hero-top {
  text-align: center;
}
.hero h1 {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 2.2rem;
  margin: 0 0 2rem;
  background-color: var(--accent);
  color: #fff;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.tagline {
  color: var(--muted);
  margin: 0.2rem 0;
}
.hero .tagline {
  color: var(--bg);
}

.hero-highlight {
  font-size: 1.5em;
  color: var(--bg);
  /* background: linear-gradient(135deg, var(--primary-300), var(--primary)); */
  background-color: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.hero-cta {
  text-align: center;
  margin-top: 1rem;
}
.cta-subtext {
  margin-top: 0.5rem;
  font-size: 1.2em;
  color: var(--bg);
  font-weight: 600;
  text-decoration: underline;
}

.card {
  background: #111827; /* dark box */
  color: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.video-wrap {
  padding: 0.75rem;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.video-caption {
  text-align: center;
  color: var(--muted);
  margin: 0.5rem 0 0.2rem;
}

.schedule {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.time {
  text-align: center;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 0.6rem 0;
}
.time span {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.time small {
  color: var(--muted);
}
.schedule-content h4 {
  margin: 0 0 0.5rem;
}
.schedule-content p {
  color: inherit;
  margin: 0 0 1rem;
}

#scheduleText {
  font-size: 1.2em;
  font-weight: 600;
  color: rgb(0, 255, 0);
}

.hurry-text {
  font-size: 1.1em;
  font-weight: 500;
  text-align: center;
  text-decoration: underline;
  color: rgb(255, 52, 52) !important;
  animation: blink 1s steps(1, start) infinite;
  will-change: opacity;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Strong bounce for specific call-to-action below hurry-text */
.bounce {
  animation: bounceYStrong 0.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes bounceYStrong {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hurry-text,
  .bounce {
    animation: none !important;
  }
}

/* Sections */
.section {
  padding: 3rem 0;
}
.section:not(.alt):nth-of-type(odd) {
  background: #f8fafc; /* slate-50 */
}
.section:not(.alt):nth-of-type(even) {
  background: #fff7ed; /* orange-50 */
}
.section.alt {
  background: #f9fafb;
}

/* Dedicated vibrant background for coach section */
.gradient-background {
  background: radial-gradient(
    circle at center,
    var(--primary-100) 0%,
    var(--primary) 100%
  ) !important;
}

.bg-primary {
  background-color: var(--primary);
}

.coach-section .section-title {
  text-decoration: none;
  margin-bottom: 0;
}

.section-smalltitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin-bottom: 0rem;
  margin-top: -1rem;
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
}
.learn-media img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.learn-content h2,
.coach-content h2,
.gallery h2 {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.checklist li {
  margin: 0;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
  padding: 0.9rem 1rem 0.9rem 3rem;
  line-height: 1.4;
}

.highlight-text {
  background-color: var(--accent-300);
  padding: 0.2rem 0.4rem;
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #dcfce7; /* green-100 */
  color: #16a34a; /* green-600 */
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #bbf7d0; /* green-200 */
}

.coach-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.coach-media img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.gallery-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-grid img,
.testimonial img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.testimonial {
  padding: 0 0 0;
}
.testimonial p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  padding: 0 0.75rem;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Subtle reveal and float animations */
.section .container {
  animation: fadeInUp 0.8s ease both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.coach-media img,
.learn-media img {
  animation: gentleFloat 6s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--text);
}
.copyright {
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .learn-grid,
  .coach-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
.section-title {
  text-align: center;
  font-size: 2.4rem;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  margin: 0 0 1rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  width: 100%;
  max-width: 560px;
  background: #111827; /* gray-900 */
  color: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.75rem;
  border: 2px solid #22d3ee; /* cyan-400 */
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.2), 0 30px 80px rgba(0, 0, 0, 0.5);
  position: relative;
}
.modal-title {
  text-align: center;
  color: #facc15; /* amber-400 */
  font-size: 1.6rem;
  margin: 0.25rem 0 0.25rem;
  text-transform: uppercase;
}
.modal-subtitle {
  text-align: center;
  color: #e5e7eb;
  margin: 0 0 1rem;
}
.modal-close {
  position: absolute;
  right: 10px;
  top: 6px;
  background: transparent;
  color: #e5e7eb;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}
.modal-form .field {
  margin-bottom: 0.75rem;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff; /* white fields */
  color: var(--text);
}
.modal-form ::placeholder {
  color: var(--muted);
}
.field-flag {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 0.5rem;
}
.isd-select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}
.modal-note {
  text-align: center;
  color: #e5e7eb;
  margin-top: 0.75rem;
}
.form-status {
  text-align: center;
  font-size: 0.9rem;
  color: #e5e7eb;
  margin: 0.4rem 0;
  min-height: 1.2rem;
}
.btn-submit {
  width: 100%;
}

@media (max-width: 480px) {
  .modal {
    padding: 1rem;
  }
}

/* Thank You page */
.ty-body {
  /* Solid background to avoid light/dark banding */
  background: var(--primary-900);
}
.ty-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem;
  text-align: center;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}
.ty-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.5rem 0 0.75rem;
}
.ty-wa-line {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 0 0.75rem;
  background: #25d366; /* WhatsApp green */
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}
.ty-whatsapp {
  color: var(--primary);
}
.wa-icon {
  margin-right: 0.35rem;
}
.ty-wa-line .ty-whatsapp,
.ty-wa-line .wa-icon {
  color: #ffffff;
}
.btn-orange {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #ffffff;
}
.ty-video {
  margin: 1rem auto;
  background: #111827;
}
.ty-video-inner {
  border: 6px solid var(--accent); /* orange solid frame */
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-width: 720px;
  margin: 0 auto; /* center inner frame */
}
.ty-cta {
  margin: 1rem auto;
}
.ty-social {
  margin: 1.25rem auto 3rem;
}
.ty-social h3 {
  color: #e5e7eb;
  font-weight: 600;
}
.social-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.social-btn.fb {
  background: #1877f2;
}
.social-btn.yt {
  background: #ff0000;
}
.social-btn.ig {
  background: #e4405f;
}
.helpline-bar {
  background: var(--accent);
  color: #111827;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 0 auto 1rem;
  max-width: 980px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .ty-hero h1 {
    font-size: 2rem;
  }
  .ty-wa-line {
    font-size: 1rem;
  }
  .ty-container,
  .ty-hero,
  .ty-cta,
  .ty-social,
  .helpline-bar {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .ty-video,
  .ty-video-inner {
    margin-left: auto;
    margin-right: auto;
  }
  .ty-video-inner iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    display: block;
  }
  .social-buttons {
    justify-content: center;
  }
}

/* Mobile-friendly tweaks */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .tagline {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
    max-width: 420px;
  }
  .countdown .time span {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
  .hero .tagline {
    font-size: 1.25rem;
  }

  .hero-highlight {
    font-size: 1rem;
  }
  .countdown {
    grid-template-columns: repeat(4, 1fr);
  }
  .schedule-content h2 {
    text-align: center;
    font-size: 1.6rem;
  }
  .schedule-content h3 {
    text-align: center;
    font-size: 1rem;
  }
}
