* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0e0e11;
  color: #fff;
  font-family: "Poppins", sans-serif;
  position: relative;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: black;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 1s ease forwards;
}
.logo img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}
.logo p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #6c63ff;
}

/* HIDE CHECKBOX */
#menu-toggle {
  display: none;
}

/* HAMBURGER ICON */
.menu-icon {
  position: absolute;
  right: 20px; /*Pinned to right edge */
  top: 22px; /*Align vertically */
  display: flex;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.menu-icon span {
  height: 4px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

/* NAV MENU — default hidden (mobile) */
nav ul {
  list-style: none;
  margin: 0;
  padding: 15px;
  position: absolute;
  top: 60px;
  right: 0;
  width: 200px;
  background: #1b1b3b;
  border-radius: 10px 0 0 10px;
  display: none;
  flex-direction: column;
}
nav ul li {
  text-align: right;
}
nav ul li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: 0.3s;
}
nav ul li a:hover {
  color: #6c63ff;
}

/* SHOW MENU WHEN CHECKED */
#menu-toggle:checked + .menu-icon + nav ul {
  display: flex;
}

/* HAMBURGER → X ANIMATION */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/*Home section*/

.home-first-half {
  padding-top: 5rem;
  background: #020024;
  background-image: linear-gradient(
    to bottom,
    rgb(1, 0, 10),
    rgb(10, 10, 49),
    rgb(6, 6, 36)
  );
  background-size: cover;
  text-align: center;
}

span {
  color: #6c63ff;
}

.intro {
  padding-top: 1rem;
  color: rgb(190, 194, 198);
}

.buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

button {
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

button.enroll {
  background: linear-gradient(90deg, #5e39b4, #3638ab);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

button.enroll:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

button.courses {
  background: rgba(255, 255, 255, 0.05); /* translucent background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-color: #49494b;
}

button.courses:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
  border-color: #fff;
}

.records {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 50px;
  justify-items: center;
  justify-content: space-evenly;
  padding-bottom: 20px;
}

.records img {
  justify-items: center;
  filter: brightness(0) saturate(100%) invert(43%) sepia(58%) saturate(4319%)
    hue-rotate(227deg) brightness(100%) contrast(106%);
  height: 30px;
  width: 30px;
  margin-bottom: 5px;
}

.number {
  margin-top: 0px;
  padding-top: 0px;
}

/*Second- half */

.home-second-half p.title {
  font-size: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-style: normal;
  font-weight: bold;
}

.home-second-half p.intro {
  font-size: 1rem;
  text-align: center;
  color: rgb(190, 194, 198);
}

.grid-strike {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 10px;
}

.grid-strike p {
  color: rgb(190, 194, 198);
  text-align: justify;
  padding-left: 10px;
  padding-right: 10px;
}
.grid-strike-1,
.grid-strike-2,
.grid-strike-3,
.grid-strike-4 {
  background: #000003; /* translucent background */
  border: 1px solid #252530;
  backdrop-filter: blur(6px);
  border-color: #22236f;
  padding: 5px;
  text-align: center;
  transition: 1s ease-out, transform 1s ease-out;
}

.grid-strike-1:hover,
.grid-strike-2:hover,
.grid-strike-3:hover,
.grid-strike-4:hover {
  background: #22236f;
  transform: scale(1.05);
  border-color: #fff;
}

.grid-strike h3 {
  padding-bottom: 10px;
}

.grid-strike img {
  justify-items: center;
  filter: brightness(0) saturate(100%) invert(43%) sepia(58%) saturate(4319%)
    hue-rotate(227deg) brightness(100%) contrast(106%);
  height: 30px;
  width: 30px;
  margin-bottom: 5px;
}

/*Tutorial section*/
#tutorial {
  padding-top: 3rem;
  text-align: center;
  background-color: black;
  background-size: cover;
}

#tutorial .title {
  font-style: normal;
  font-weight: bold;
  font-size: 35px;
  text-align: center;
  color: white;
}

#tutorial .intro {
  padding-left: 30px;
  padding-right: 30px;
}
.marquee-body {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.container {
  border: 1px solid #3d3e72;
  background-color: #01021f;
  font-size: 25px;
  color: white;
  width: 90%;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  position: relative; /* needed for animation */
}

.marquee-dis {
  display: inline-block; /* ✅ allows smooth scroll */
  padding-left: 100%; /* ✅ start off screen */
  animation-name: moving;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes moving {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.grid-tutorial {
  padding-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  place-items: center;
}

.grid-tutorial-1,
.grid-tutorial-2,
.grid-tutorial-3,
.grid-tutorial-4 {
  border: 1px solid #3d3e72;
  background-color: #01021f;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  transition-property: all;
  transition-duration: 1s;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-tutorial-1 img,
.grid-tutorial-2 img,
.grid-tutorial-3 img,
.grid-tutorial-4 img {
  height: 100px;
  width: 100%;
  object-fit: cover;
}

.grid-tutorial-1 p.heading,
.grid-tutorial-2 p.heading,
.grid-tutorial-3 p.heading,
.grid-tutorial-4 p.heading {
  margin-top: 5px;
  text-align: center;
  padding-bottom: 5px;
  font-size: 2em;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
}

.grid-tutorial-1 p.information,
.grid-tutorial-2 p.information,
.grid-tutorial-3 p.information,
.grid-tutorial-4 p.information {
  padding: 15px;
  text-align: justify;
  color: rgb(190, 194, 198);
}

.grid-tutorial-1:hover,
.grid-tutorial-2:hover,
.grid-tutorial-3:hover,
.grid-tutorial-4:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.grid-price {
  display: flex;
  justify-content: space-between; /* pushes left and right sides apart */
  align-items: center;
  width: 100%; /* ensures it takes full space */
}

.curr-price {
  font-weight: bold;
  font-size: 25px;
  padding-left: 30px; /* remove negative margin */
  padding-bottom: 10px;
}

.curr-price-free {
  font-weight: bold;
  font-size: 27px;
  text-align: center;
  padding-left: 40%;
  padding-bottom: 10px;
}
.group {
  display: flex;
  align-items: center;
  gap: 8px; /* space between discount and MRP */
}

.discount {
  color: rgb(224, 228, 232);
  font-size: 14px;
}

.MRP {
  text-decoration: line-through;
  color: gray;
  font-size: 14px;
  padding-right: 20px;
}

.view-more {
  font-size: 30px;
  padding-top: 20px;
  padding-bottom: 40px;
}

.view-more-button {
  background: linear-gradient(90deg, #5e39b4, #3638ab);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.view-more-button:hover {
  transform: scale(1.05);
}

/*About section*/
#about {
  margin-top: 50px;
}
#about h2 {
  font-size: 2rem;
  text-align: center;
  padding-bottom: 10px;
}
.grid-Instructor .sirimg {
  height: 180px;
  width: 200px;
  border-radius: 50%;
  margin-top: 20px;
}

.Instructors-Info {
  display: flex;
  margin-left: 10px;
}

.Instructor-1,
.Instructor-2 {
  margin-top: 10px;
}
.Instructors-Info h3 {
  font-size: 25px;
  margin-top: 1.6rem;
  font-family: "Times New Roman", Times, serif;
}

.Instructors-Info .position {
  color: #6366f1;
  margin-top: 10px;
}

.Instructors-Info .post {
  margin-top: 10px;
}

.Instructor-1-title,
.Instructor-2-title {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}

.grid-Instructor .paragraph {
  padding: 20px;
  text-align: justify;
  color: rgb(190, 194, 198);
}

.buttons {
  margin-left: 35px;
  margin-right: 35px;
}

button.specality {
  background: linear-gradient(90deg, #5e39b4, #3638ab);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
  cursor: auto;
  height: 3.2rem;
  font-size: 11px;
  font-weight: 600;
}

.Instructors-Info .social {
  display: flex;
  margin-top: 10px;
  gap: 5px;
}

.Instructors-Info .social .image {
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(4069%)
    hue-rotate(188deg) brightness(99%) contrast(95%);
  transition: filter 0.3s ease;
  height: 20px;
  width: 20px;
  border-radius: 10%;
}
.Instructors-Info .social image:hover {
  filter: brightness(0) saturate(100%) invert(53%) sepia(26%) saturate(1857%)
    hue-rotate(206deg) brightness(102%) contrast(94%);
}

/*Student success stories*/
.Students-success-stories h2.title {
  font-size: 40px !important;
  font-family: "Times New Roman", Times, serif;
  margin-top: 3rem;
}

.Students-success-stories .intro {
  color: rgb(190, 194, 198);
  text-align: center;
  font-size: 15px;
}

.student-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.student-list .name {
  font-weight: 600;
  font-size: 20px;
}
.messages {
  font-style: italic;
  color: rgb(190, 194, 198);
  margin-top: 5px;
}

.ratings {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.ratings p {
  font-style: italic;
  color: rgb(190, 194, 198);
}
.ratings img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(80%) saturate(910%)
    hue-rotate(357deg) brightness(100%) contrast(96%);
  height: 13px;
  width: 13px;
}

.student-list-1,
.student-list-2,
.student-list-3,
.student-list-4 {
  background: #000003; /* translucent background */
  border: 1px solid #252530;
  backdrop-filter: blur(6px);
  border-color: #22236f;
  padding: 10px;
  margin-left: 10%;
  margin-right: 10%;
  width: 80%;
  transition: 1s ease-out, transform 1s ease-out;
}

.student-list-1:hover,
.student-list-2:hover,
.student-list-3:hover,
.student-list-4:hover {
  transform: scale(1.05);
  border-color: #fff;
}

/*Contact section*/
#contact h1 {
  margin-top: 40px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.3rem;
}

.contact-form,
.contact-details {
  border: 2px solid #1f1f34;
  margin: 15px;
  padding: 10px;
  box-shadow: 5px 10px 18px #1f1f34;
  margin-top: 30px;
}

/*contact form*/

.contact-form h2,
.contact-details h2 {
  color: white;
  font-size: bold;
  text-align: center;
  font-size: 25px;
  padding: 10px;
}
label {
  font-size: 15px;
}

input,
textarea {
  background-color: #161617;
  color: white;
  border: 1px solid #403e43;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:hover {
  border-color: #22236f;
}

input:focus,
textarea:focus {
  border-color: #6c63ff; /* purple border */
  box-shadow: 0 0 5px #5049cb; /* optional glowing effect */
}

.contact-form button {
  display: block; /* make it a block element */
  margin: 20px auto; /* auto left/right margins */
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #5e39b4, #3638ab);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

/*contact detail*/
.email,
.location,
.response-time,
.office-hours {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contact-details img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(58%) saturate(4319%)
    hue-rotate(227deg) brightness(100%) contrast(106%);
  height: 20px;
  width: 20px;
}

.email a {
  text-decoration: none;
  color: white;
}

/*Footer*/

hr {
  width: 80%;
  margin-left: 10%;
  border: none;
  margin-top: 5rem;
  height: 5px;
  background-color: #0a0b4a;
  background-image: linear-gradient(
    to right,
    rgb(15, 15, 64),
    rgb(43, 43, 107),
    rgb(15, 15, 64)
  );
}

.footer {
  background-color: rgb(18, 18, 18);
  margin-top: 40px;
  text-align: center;
  margin: 10px;
  padding: 10px;
}

.aim,
.Quick-links,
.Courses,
.stay-connected {
  margin-bottom: 20px;
}

.footer .logos {
  color: #6c63ff;
  font-size: 25px;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
}
.footer .titles {
  font-size: 20px;
  font-weight: bold;
  color: #6c63ff;
}
.footer a {
  text-decoration: none;
  color: white;
}

.footer .para {
  color: rgb(190, 194, 198);
  display: block;
  display: block;
  margin-bottom: 2px;
}
.one-line {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.Quick-links img,
.Courses img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(58%) saturate(4319%)
    hue-rotate(227deg) brightness(100%) contrast(106%);
  height: 20px;
  width: 20px;
}

.stay-connected img {
  margin-top: 5px;
  filter: brightness(0) saturate(100%) invert(89%) sepia(6%) saturate(182%)
    hue-rotate(169deg) brightness(88%) contrast(87%);
  transition: filter 0.3s ease;
  height: 20px;
  width: 20px;
}

.stay-connected img:hover {
  filter: brightness(0) saturate(100%) invert(39%) sepia(46%) saturate(2448%)
    hue-rotate(207deg) brightness(95%) contrast(90%);
}

.copyright {
  font-size: 15px;

  color: #a19cf9;
}

/*header se distance create  karne ke liye */
#home,
#tutorial,
#about,
#contact {
  scroll-margin-top: 80px;
}

/*COURSES FOLDER*/
.nav-GenAi,
.nav-DSA,
.nav-HLD,
.nav-WebDev {
  display: flex;
  gap: 5px;
  padding: 30px 10px;
}
.nav-home-GenAi:hover,
.nav-course-GenAi:hover,
.nav-home-DSA:hover,
.nav-course-DSA:hover,
.nav-home-HLD:hover,
.nav-course-HLD:hover,
.nav-home-WebDev:hover,
.nav-course-WebDev:hover {
  color: blue;
}
.nav-GenAi a,
.nav-HLD a,
.nav-DSA a,
.nav-WebDev a {
  color: aliceblue;
  text-decoration: none;
}

.own-content {
  cursor: default;
}

/*Image Info*/

.Image-Info-1 {
  width: 350px;
  display: block;
  margin: auto;
}

.Image-Info-2 {
  color: rgb(190, 194, 198);
  text-align: center;
  text-align: justify;
  padding: 15px;
}

.Two-Button {
  display: flex;
  justify-content: center;
  gap: 20px;
}

button.Lectures,
button.Level {
  background: rgba(62, 54, 85, 0.05); /* translucent background */
  backdrop-filter: blur(6px);
  border-color: #15151e;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
  cursor: auto;
  height: 2.5rem;
  font-size: 15px;
  text-align: center;
  padding-bottom: 20px;
  font-weight: 300;
}

.course-name {
  font-size: 40px;
  text-align: center;
  margin: 10px;
  color: #e8e7f6;
  font-family: "Times New Roman", Times, serif;
}

/*Course content*/
.Info-GenAi .course-content {
  padding-left: 10px;
  margin-top: 50px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.list-content {
  border: 1px solid #5859a0;
  box-shadow: 2px 2px blur #676871;
  padding: 10px 20px;
  margin: 10px;
}

.course-title {
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}

li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 16px;
}

li span.time,
li .course-meta {
  color: rgb(190, 194, 198);
  font-size: 14px;
  white-space: nowrap;
}

.Course-summary {
  background: rgba(62, 54, 85, 0.05); /* translucent background */
  backdrop-filter: blur(6px);
  border-color: #15151e;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
  padding: 10px 20px;
  margin: 30px;
  font-size: 20px;
  font-family: "Times New Roman", Times, serif;
}

.list-course-summay {
  color: rgb(190, 194, 198);
  margin-left: 10px;
}

.buy,
.buyButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.buy {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}
.buyButton {
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #5e39b4, #3638ab);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.buy .buyButton:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.price {
  margin-top: 10px;
  font-size: 20px;
}
/*HLD COURSE CONTENT */
.sub-course {
  color: rgb(190, 194, 198);
  font-size: 13px;
}

.hld-hr {
  margin: 15px;
}

/*course file*/

.title-courses {
  margin-top: 3rem;
  text-align: center;
  padding: 5px;
  font-size: 40px;
  font-family: "Times New Roman", Times, serif;
}

.intro-courses {
  color: rgb(190, 194, 198);
  text-align: center;
  margin: 10px;
}
.free-course a,
.paid-course a,
.grid-tutorial a {
  text-decoration: none;
  color: white;
}

.paid-course-name,
.free-course-name {
  text-align: center;
  font-size: 38px;
  margin-top: 50px;
  margin-bottom: 20px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

/*--------------Responsive---------*/

/*---Tablet---*/
@media screen and (min-width: 600px) {
  html,
  body {
    width: 100%;
    position: relative;
  }

  /* Show nav horizontally */
  nav ul {
    position: static;
    display: flex;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
    gap: 25px;
  }

  nav ul li {
    text-align: left;
  }

  /* Hide hamburger */
  .menu-icon {
    display: none;
  }

  .grid-tutorial,
  .student-list,
  .grid-strike {
    grid-template-columns: 1fr 1fr;
  }
  .Image-Info-1 {
    width: 60%;
    height: 200px;
  }

  label,
  textarea {
    margin-left: 20%;
  }

  /*---Instructor---*/
  .Instructors-Info {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* --- Tablet styles AND UP --- */
@media screen and (min-width: 900px) {
  label,
  textarea {
    margin-left: 3%;
  }
  html,
  body {
    width: 100%;
    position: relative;
  }

  /* Show nav horizontally */
  nav ul {
    position: static;
    display: flex;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
    gap: 25px;
  }

  nav ul li {
    text-align: left;
  }

  /* Hide hamburger */
  .menu-icon {
    display: none;
  }

  .grid-strike {
    grid-template-columns: 1fr 1fr 1fr 1fr; /* Become 2 columns */
  }

  .grid-tutorial,
  .student-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .grid-contact {
    display: flex;
  }

  .grid-Instructor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .grid-Instructor .sirimg {
    height: 200px;
    width: 220px;
    border-radius: 50%;
    display: block;
    margin-left: 80px;
  }

  .Instructor-1-title,
  .Instructor-2-title {
    margin-left: 10px;
    margin-top: 40px;
  }

  /*footer*/
  hr {
    width: 80%;
    margin-left: 10%;
  }
  .footer-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-left: 10%;
    margin-right: 10%;
  }

  .aim {
    width: 250px;
  }

  .para,
  #a-footer {
    display: block;
    margin-bottom: 5px;
  }

  .copyright {
    margin-top: 30px;
  }

  .home-second-half .intro {
    margin-bottom: 10px;
  }
  /*COURSE FOLDER */
  .DSA,
  .HLD,
  .Free-WebDev,
  .GenAi,
  .Paid-WebDev {
    position: relative;
    display: block; /* remove flex behavior */
    width: 100%;
  }

  /* Wrap main course and summary side by side manually */
  .group-sticky {
    display: inline-block;
    width: 70%;
    vertical-align: top;
  }

  .Course-summary {
    display: inline-block;
    width: 20%;
    vertical-align: top;
    margin-left: 20px;
    position: sticky;
    top: 100px; /* adjust according to header height */
    padding: 10px;
    height: fit-content;
  }

  .Image-Info-1 {
    width: 95%;
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .grid-tutorial {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
  }

  .contact-form,
  .contact-details {
    width: 700px;
  }

  .grid-Instructor .paragraph {
    width: 500px;
    margin-left: 80px;
  }

  label,
  textarea {
    margin-left: 20%;
  }
}

/* Initial state for all elements */
.home-first-half h1,
.home-first-half .intro,
.home-first-half .buttons,
.home-first-half .records {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

/* Fade-in animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation with sequence */
.home-first-half h1 {
  animation: fadeInUp 1s ease forwards;
}

.home-first-half .intro,
.home-first-half .buttons {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s; /* after h1 */
}

.home-first-half .records {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2s; /* after intro & buttons */
}

/* Initial state */
.title-courses,
.intro-courses {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

/* Fade-in animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation with sequence */
.title-courses {
  animation: fadeInUp 1s ease forwards;
}

.intro-courses {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.8s; /* appears shortly after h1 */
}
