.heroSection {
  position: relative;
  background-image: url("https://ddrr17eur1111.cloudfront.net/wp-content/uploads/2020/02/07084228/AdobeStock_211424646-scaled.jpeg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.subTitle {
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.mainTitle {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.line {
  width: 500px;
  height: 1px;
  background-color: #fff;
  margin: 1rem auto;
}

.description {
  font-size: 18px !important;
  color: #ffffff;
  margin-top: 1rem;
}

.bottomText {
  background-color: #0a0a0a;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* .........................Cuorse */

.coursesSection {
  padding: 60px 0;
  background-color: #fff;
}

.courseCard {
  width: 90%;
  border: none;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cardImage {
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.cardTitle {
  font-weight: 600;
  margin-top: 15px;
  font-size: 1.2rem;
  color: #000;
  text-align: start;
}

.buttonsContainer {
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.btn {
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 2px 0;
  width: 80%;
  transition: all 0.2s ease;
}

.primary {
  background-color: #4040d1;
  color: #fff;
}

.primary:hover {
  background-color: #2e2ea8;
}

.lightblue {
  background-color: #7cc4ff;
  color: #fff;
}

.lightblue:hover {
  background-color: #7cc4ff;
}

.green {
  background-color: #73c800;
  color: #fff;
}

.green:hover {
  background-color: #60b200;
}

/* Foooter Forum */

.signupSection {
  position: relative;
  background-image: url("https://ddrr17eur1111.cloudfront.net/wp-content/uploads/2019/04/05090505/AdobeStock_14878221.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.topBar {
  background-color: #000;
  color: #fff;
  padding: 10px 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: absolute;
  z-index: 9999999;
  width: 100%;
}

.formContainer {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.input {
  border: none;
  border-radius: 3px;
  padding: 10px 15px;
  width: 100%;
  max-width: 100%;
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #7cc4ff;
}

.submitButton {
  background-color: #7cc4ff;
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 40px;
  border-radius: 3px;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.submitButton:hover {
  background-color: #7cc4ff;
}
.descriptionParagraph {
  font-family: Roboto, Sans-serif;
}

.divider {
  height: 2px;
  width: 100%;
  color: #ffffff;
  margin: 20px 0;
}

/* ...................................Course Info.................................. */

.heroSection {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.backgroundImage {
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
  z-index: 2;
}

.contentWrapper {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
}

.subHeading {
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.mainHeading {
  font-size: 64px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.underline {
  /* width: 140px; */
  height: 2px;
  background-color: #fff;
  margin: 10px auto 20px auto;
}

.description {
  font-size: 18px;
  opacity: 0.9;
}

/* ........................Parallax Section........................ */
.parallaxSection {
  position: relative;
  background-image: url("https://ddrr17eur1111.cloudfront.net/wp-content/uploads/2020/02/07084228/AdobeStock_211424646-scaled.jpeg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 15%, 100% 0, 100% 84%, 0 100%);
}

.parallaxOverlay {
  background-color: #000000;
  opacity: 0.6;
  clip-path: polygon(0 15%, 100% 0, 100% 84%, 0 100%);
  width: 100%;
  min-height: 100vh;
  /* ❌ remove height: 100vh */
  padding: 80px 0; /* ✅ add padding instead */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
}

.parallaxTitle {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.parallaxText {
  font-size: 1.2rem;
  color: #eee;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* .......................................... */

/* ================================
   COURSE SYLLABUS SECTION
================================== */

.syllabusTitle {
  font-family: "Orbitron", sans-serif;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.syllabusUnderline {
  width: 100%;
  max-width: 200px;
  height: 2px;
  background: #fff;
  margin: 0 auto 40px;
}

.syllabusBox {
  border: 1px solid #ffffff;
  padding: 10px 10px;
  border-radius: 2px;
  background: transparent;
  transition: all 0.3s ease;
}

.dayTitle {
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #fff;
}

.syllabusList {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .syllabusTitle {
    font-size: 2rem;
  }
  .syllabusBox {
    padding: 20px;
  }
  .dayTitle {
    font-size: 1.2rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .heading {
    font-size: 1.8rem;
  }

  .subHeading {
    font-size: 1.3rem;
  }

  .paragraph {
    font-size: 1rem;
  }

  .parallaxTitle {
    font-size: 1.8rem;
  }
  .parallaxText {
    font-size: 1rem;
  }

  .title {
    font-size: 2rem;
  }

  .subHeading {
    font-size: 1.1rem;
  }

  .description {
    font-size: 1rem;
  }

  .description {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .parallaxSection {
    clip-path: none; /* ✅ remove clipping on mobile for safety */
  }
  .parallaxOverlay {
    clip-path: none; /* ✅ remove clipping on mobile for safety */
  }
}
