:root {
  --primary: #7c3aed;
  --secondary: #06b6d4;
  --bg: #0f172a;
  --white: #fff;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--white);
}

/* NAVBAR */
.navbar {
  padding: 1rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.btn-glow {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-glow:hover {
  background: var(--secondary);
}

/* HERO */


.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6); /* dark overlay for readability */
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  /* text-decoration: underline; */
  border: 3px solid black;
  border-radius: 10px;
  display: inline-block;
  padding: 9px;
  color:#ff0505;
  cursor: pointer;
}


.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: white;
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.hero-img {
  width: 300px;
  height: 300px;
  background-image: url('https://raisingchildren.net.au/__data/assets/image/0027/47862/self-esteem.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}

/* COUNTDOWN */
.countdown {
  text-align: center;
  padding: 3rem 0;
  background: #1e293b;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 1.5rem;
}

.timer div {
  background: #334155;
  padding: 1rem 2rem;
  border-radius: 15px;
}

/* BENEFITS */
.benefits {
  text-align: center;
  padding: 4rem 10%;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  width: 280px;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

/* TESTIMONIAL */
.testimonial-carousel {
  padding: 4rem 10%;
  background: #1e293b;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-carousel h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.5rem; /* Reduced gap between square cards */
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  width: 300px;
  height: 200px;
  background: #334155;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  color: white;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}


.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.testimonial-card span {
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-controls button {
  background: var(--primary);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.carousel-controls button:hover {
  background: var(--secondary);
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 85%;
  }
}



/* FAQ */
.faq {
  padding: 3rem 10%;
}

details {
  margin: 1rem 0;
  background: #1e293b;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
}

/* ENROLL */
.enroll {
  padding: 3rem 10%;
  text-align: center;
  background: var(--primary);
}

.enroll input {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: none;
  width: 300px;
  margin-right: 1rem;
  font-size: 1rem;
}
.enroll button{
  border: 2px solid rgb(246, 242, 242);
}
.hidden {
  display: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background: #1e293b;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 90%;
    height: auto;
  }
}

