/* Home Page Styles */

.splide__arrow {
  width: 48px !important;
  height: 48px !important;
  background: none !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.splide__arrow svg {
  width: 24px !important;
  height: 24px !important;
  fill: white !important;
}

/* Hero Section */

.hero-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section .hero-content {
  margin-top: 3rem;
}

.hero-section .hero-content {
  width: 50%;
}

.hero-section .hero-slider {
  position: relative;
  top: 0;
  height: 154px;
  overflow: hidden;
}

.hero-section .hero-slider .text {
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  white-space: nowrap;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-family: sans-serif;
}

.hero-section .hero-slider .text span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #fff;
  padding: 0 35px;
}

.hero-section .hero-content .hero-description {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 500;
  margin-bottom: 5rem;
}

.hero-section .hero-content .hero-cta {
  background: linear-gradient(
    to left,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: 50px;
  border: none;
  outline: none;
  cursor: pointer;
}

.hero-section .hero-content .hero-cta:hover {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
}

/* Hero Section */

/* Banner Section */

.banner-section {
  position: relative;
  width: 100%;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 15%;
}

.banner-section .banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-section .banner-content h2 {
  width: 70%;
  font-size: 2.5rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.banner-section .banner-content hr {
  width: 15%;
  height: 2px;
  background-color: #fff;
  margin: 4rem auto;
}

.banner-section .banner-content p {
  width: 90%;
  font-size: 2.5rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

/* Banner Section */

/* Partners Section */

.partners {
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 15%;
}

.partners h2 {
  color: #fff;
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 5rem;
}

#partners-slide {
  width: 100%;
}

#partners-slide .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

#partners-slide .splide__slide img {
  max-height: 80px;
  max-width: 50%;
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#partners-slide .splide__slide img:hover {
  filter: grayscale(0%);
}

/* Partners Section */

.achievements {
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 15%;
}

.achievements-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}

.achievements-container {
  perspective: 1000px;
}

.achievements-card {
  width: 20rem;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
  margin: 10px;
}

.achievements-card:hover {
  transform: rotateY(180deg);
}

.achievements-card .front,
.achievements-card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  color: white;
}

.achievements-card .front {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -2px 0 rgba(255, 255, 255, 0.05);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.achievements-card .back {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(180deg);
  font-size: 5rem;
  font-weight: 900;
  text-align: center;
}

/* Course Section */

#courses-container {
  position: relative;
  width: 100%;
  height: 70vh;
  padding: 2rem 15%;
  display: flex;
  align-items: center;
}

.course-card {
  width: 70%;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.course-card .course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.course-card .course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 40px;
  justify-content: space-between;
  color: white;
  transition: all ease 0.6s;
}

.course-card .course-title {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  margin-top: 1rem;
  transition: all ease 0.6s;
}

.course-card .course-overlay button {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 2rem;
  outline: none;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: all ease 0.6s;
}

.course-card .course-info {
  position: absolute;
  width: 90%;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  opacity: 0.8;
}

/* Add styles for active and inactive slides */
.splide__slide {
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: scale(0.9);
  opacity: 0.5;
}

.splide__slide.is-active-slide {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.course-card:hover .course-overlay {
  background: linear-gradient(to bottom right, #27a8e0ab, #934bf9ab);
}

.course-card:hover .course-overlay .course-title {
  top: 30%;
}

.course-card:hover .course-overlay button {
  opacity: 1;
  bottom: 40%;
}

.course-overlay button:hover {
  background-color: #fff;
  color: #000;
}

.courses-splide {
  margin-bottom: 2rem;
}
.courses-splide__track {
  overflow: visible;
}
.courses-splide__list {
  padding: 0;
  margin: 0;
}
.courses-splide__slide {
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: scale(0.9);
  opacity: 0.5;
}
.courses-splide__slide.is-active-course {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.partners-splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-splide__slide img {
  max-height: 80px;
  max-width: 50%;
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.partners-splide__slide img:hover {
  filter: grayscale(0%);
}

/* Testimonial Section */

.testimonials-section {
  width: 100%;
  height: 80vh;
  padding: 2rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-title {
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 4rem;
}

/* Splide Track Container */
.testimonial-splide {
  max-width: 100%;
  margin: 0 auto;
}

/* Slide Styling */
.testimonial-splide__slide {
  display: flex;
  justify-content: center;
  opacity: 0.5;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.testimonial-splide__list {
  width: calc(95% + 1%);
}

.testimonial-splide__slide.is-active-testimonial {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card {
  position: relative;
  background: linear-gradient(to bottom right, #a5eeff69, #6ebef45e, #468fd431);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 25px;
  border: 2px solid #98faff59;
  color: #fff;
  max-width: 500px;
  width: 100%;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/Texture.png");
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* fully visible */
  z-index: 0; /* behind content */
}

.testimonial-card > * {
  position: relative;
  z-index: 1; /* content above ::before */
}

.testimonial-text {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #fff;
}

.testimonial-divider {
  border: none;
  border-top: 2px solid #fff;
  margin: 2rem auto;
  width: 20%;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
}

.testimonial-role {
  font-size: 1.2rem;
  color: #fff;
  margin: 0.25rem 0;
}

.testimonial-stars {
  color: #fdd835;
  font-size: 1rem;
}

/* Testimonial Section */

/* Responsive Styles */

@media screen and (max-width: 1700px) {
  .hero-section .text-wrapper .text {
    font-size: 4rem;
  }

  .hero-section .hero-content {
    width: 80%;
  }

  .hero-section .hero-content .hero-description {
    font-size: 2rem;
  }

  .hero-section .hero-content .hero-cta {
    font-size: 1.5rem;
  }

  .banner-section .banner-content h2 {
    width: 80%;
    font-size: 2rem;
  }

  .banner-section .banner-content p {
    width: 90%;
    font-size: 2rem;
  }

  .partners-splide__slide img {
    max-height: 80px;
    max-width: 80%;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  #courses-container {
    position: relative;
    width: 100%;
    height: 70vh;
    padding: 2rem 5%;
    display: flex;
    align-items: center;
  }

  .course-card {
    width: 70%;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

  .achievements-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  .achievements-card {
    width: 15rem;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
    margin: 10px;
  }

  .achievements-card .front {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
  }

  .achievements-card .back {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(180deg);
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
  }

  .testimonials-section {
    width: 100%;
    height: 70vh;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 1300px) {
  .achievements-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .achievements-card {
    width: 12rem;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
    margin: 10px;
  }

  .achievements-card .front {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
  }

  .achievements-card .back {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(180deg);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
  }
}

@media screen and (max-height: 1020px) {
  .course-card .course-title {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
    margin-top: 1rem;
    transition: all ease 0.3s;
  }
}

@media screen and (max-width: 900px) {
  .hero-section {
    height: 70vh;
  }

  .hero-section .text-wrapper .text {
    font-size: 2rem;
    font-family: sans-serif;
  }

  .hero-section .hero-content {
    width: 90%;
  }

  .hero-section .hero-content .hero-description {
    font-size: 1.5rem;
  }

  .hero-section .hero-content .hero-cta {
    font-size: 1rem;
  }

  .banner-section {
    height: 50vh;
    padding: 2rem 5%;
  }

  .banner-section .banner-content h2 {
    width: 100%;
    font-size: 1.5rem;
  }

  .banner-section .banner-content p {
    width: 100%;
    font-size: 1.5rem;
  }

  .partners {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 10%;
  }

  .partners h2 {
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5rem;
    text-align: center;
  }

  .partners-splide__slide img {
    max-height: 80px;
    max-width: 80%;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  .achievements-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  #courses-container {
    position: relative;
    width: 100%;
    height: 70vh;
    padding: 2rem 5%;
    display: flex;
    align-items: center;
  }

  .testimonial-splide__list {
    width: 75%;
  }

  #courses-container {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .hero-section .slider .text span {
    padding: 0;
  }

  .hero-section .hero-content {
    width: 90%;
  }

  .hero-section .hero-content .hero-description {
    font-size: 1rem;
  }

  .hero-section .hero-content .hero-cta {
    font-size: 1rem;
    padding: 0.5rem 2rem;
  }

  .banner-section {
    height: 50vh;
    margin: 0;
    padding: 2rem 5%;
  }

  .banner-section .banner-content h2 {
    width: 100%;
    font-size: 1rem;
  }

  .banner-section .banner-content p {
    width: 100%;
    font-size: 1rem;
  }

  .partners {
    padding: 2rem 5%;
    height: 50vh;
  }

  .partners h2 {
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
  }

  .partners-splide__slide img {
    max-height: 80px;
    max-width: 50%;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  .achievements {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 5%;
  }

  .achievements-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .achievements-card {
    width: 10rem;
    height: 230px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
    margin: 10px;
  }

  .achievements-card .front {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
  }

  .achievements-card .back {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(180deg);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
  }

  .testimonials-section {
    width: 100%;
    padding: 2rem 1rem;
    height: 100vh;
  }

  .testimonial-title {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 4rem;
  }

  .testimonial-splide__list {
    width: 80%;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-divider {
    margin: 2rem auto;
  }

  .testimonial-profile {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .testimonial-avatar {
    width: 70px;
    height: 70px;
  }

  .testimonial-info {
    text-align: center;
  }

  .testimonial-name {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
  }

  .testimonial-role {
    font-size: 1rem;
    color: #fff;
    margin: 0.25rem 0;
  }

  .testimonial-stars {
    color: #fdd835;
    font-size: 1rem;
  }
}
