body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f8fafd;
  margin: 0;
  color: #222;
}

.hero {
  background: linear-gradient(120deg, #00b894, #0984e3);
  color: #fff;
  padding: 4rem 2rem 3rem 2rem;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #00b894;
  padding: 1em 2em;
  margin-top: 1.5rem;
  border-radius: 100px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2em;
  transition: background 0.2s, color 0.2s;
}
.cta-button:hover {
  background: #00b894;
  color: #fff;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1rem;
}
.card {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  max-width: 320px;
}

.register {
  background: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.contact {
  background: #0984e3;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
.contact a { color: #fff; text-decoration: underline; }

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* ====== Proof Videos Responsive ====== */
.proof-videos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem auto 3rem auto;
  max-width: 1000px;
}
.proof-video {
  flex: 1 1 320px;
  max-width: 370px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(9,132,227,0.06);
  padding: 1.5rem 1rem 2.5rem 1rem;
  text-align: center;
  margin: 0 auto;
  min-width: 270px;
}
.proof-video h3 {
  margin-bottom: 1rem;
  font-size: 1.15em;
}
.proof-video iframe {
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  max-width: 100%;
  width: 315px;
  height: 560px;
}
.proof-video p {
  margin: 1.2rem 0 0 0;
  color: #444;
  font-size: 1.07em;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 900px) {
  .proof-videos {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .proof-video {
    max-width: 340px;
  }
}

/* ====== Video placeholder / player block for course lessons ====== */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto;
  background: #eafaf1;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.responsive-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: none; /* Hide unless src is set */
}
.video-wrap .no-video-text {
  color: #777;
  font-size: 1.1em;
  text-align: center;
  z-index: 1;
}
/* Instagram embed rounded corners (matches iframe style) */
.proof-video .instagram-media {
  border-radius: 20px !important;
  overflow: hidden;
  margin: 0 auto;
  width: 315px !important;
  max-width: 100% !important;
}

.video-wrap.has-video .responsive-video { display: block; }
.video-wrap.has-video .no-video-text { display: none; }

/* ====== Carousel Testimonials Section ====== */
.testimonials {
  background: #eafaf1;
  padding: 3rem 1rem;
  text-align: center;
}

.testimonial-block {
  margin: 2rem auto 2.3rem auto;
  max-width: 430px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 14px rgba(9,132,227,0.08);
  padding: 2.3rem 1.2rem;
  overflow: hidden;
}

.testimonial-block img[alt^="Student"] {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-carousel {
  max-width: 340px;
  max-height: 420px;
  margin: 0 auto;
  overflow: visible;
  background: #f9f9fc;
  border-radius: 1rem;
  padding-bottom: 32px;
  position: relative;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.testimonial-img {
  max-width: 340px;
  max-height: 410px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 0.6em auto;
  border-radius: 1rem;
  background: #f2f3f7;
  flex-shrink: 0;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(9,132,227,0.07);
}
.carousel-controls .dot {
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 4px;
  cursor: pointer;
  border: 2px solid #eafaf1;
  transition: background 0.16s;
}
.carousel-controls .dot:hover { background: #00b894; }

@media (max-width: 600px) {
  .testimonial-carousel, .testimonial-img {
    max-width: 98vw !important;
    max-height: 70vw;
  }
  .testimonial-block { padding: 1.1rem 0.5rem; }
}
