@import url(colors.css);

@font-face {
  font-family: 'MyCustomFont';
  src: url('./../fonts/EuclidCircularA-Regular.woff') format('woff');
  src: url('./../fonts/EuclidCircularA-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('./../fonts/EuclidCircularA-Bold.woff') format('woff');
  src: url('./../fonts/EuclidCircularA-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('/fonts/EuclidCircularA-Medium.woff') format('woff');
  src: url('/fonts/EuclidCircularA-Medium.woff2') format('woff2');
  font-weight: 500;
  /* Medium */
  font-style: normal;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('/fonts/EuclidCircularA-SemiBold.woff') format('woff');
  src: url('/fonts/EuclidCircularA-SemiBold.woff2') format('woff2');
  font-weight: 600;
  /* SemiBold */
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;
  margin: auto;
  margin-top: 2px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.slider img,
.slider video {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  line-height: 35px;
  font-size: 16px;
  text-align: center;
  z-index: 1;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 1024px) {
  .slider-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 300px;
    margin-top: 5%;
  }

  .prev,
  .next {
    padding: 8px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 200px;
  }

  .prev,
  .next {
    padding: 6px;
    font-size: 12px;
  }
}

.text-and-icons {
  background-image:
    url('{{ publicPath() }}assets/images/splash/icons/shape-1.png'),
    url('{{ publicPath() }}assets/images/splash/icons/shape-3.png'),
    url('{{ publicPath() }}assets/images/splash/icons/shape-2.png'),
    url('{{ publicPath() }}assets/images/splash/icons/shape-2.png'),
    url('{{ publicPath() }}assets/images/splash/icons/banner-bg-shape-1.png');
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: top left, top center, bottom right, top right, bottom center;
  background-size: 500px, 500px, 500px, 500px, 700px;
}

.services-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: var(--gradient-8);
  color: white;
  padding: 30px 20px;
  width: calc(25% - 20px);
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-left: 1px solid #f7f7f7;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05) translateY(-5px);
  background: black;
  color: white;
  border-radius: 20px;
  transition: all 0.3s ease;
  /* smooth animation */
}

.service-card img {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px;
  font-family: "Bai Jamjuree", sans-serif !important;
  font-weight: 500;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.service-card1 {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.service-card4 {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

@media (max-width: 1024px) {
  .service-card {
    width: calc(50% - 20px);
  }

  .service-card1 {
    border-bottom-left-radius: 0px;
  }

  .service-card3 {
    border-bottom-left-radius: 15px;
  }

  .service-card2 {
    border-bottom-left-radius: 0px;
    border-top-right-radius: 15px;
  }

  .service-card4 {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
  }
}

@media (max-width: 600px) {
  .service-card {
    width: 90%;
    gap: 10px;
    padding: 30px 10px;
    border-radius: 20px;
  }

  .services-section {
    gap: 10px;
  }
}

.why-choose h1 {
  text-align: center;
  font-size: 32px;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.why-choose h5 {
  text-align: center;
  font-family: "Bai Jamjuree", sans-serif !important;
  background: rgba(128, 0, 128, 0.377);
  color: purple;
  padding: 10px;
  border-radius: 20px;
}

.why-choose .whychooseheader {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.why-choose-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.why-choose-card {
  flex: 1 1 300px;
  max-width: 360px;
  background-image: url('{{ publicPath() }}assets/images/splash/icons/shape-3.png');
  background: linear-gradient(135deg, #25da9d, #15b9b1);
  color: white;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.why-choose-card.orange {
  background: linear-gradient(135deg, #fb923c, #ee8e20);
}

.why-choose-card.blue {
  background: linear-gradient(135deg, #78aef0, #3b82f6);
}

.why-choose-card h4 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.8;
}

.why-choose-card h2 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: bold;
}

.why-choose-card p {
  font-size: 16px;
  line-height: 1.5;
  margin: 15px 0 20px;
}

.why-choose-card img {
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
}

.why-choose-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-choose-tag {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .why-choose-card h2 {
    font-size: 22px;
  }

  .why-choose-card p {
    font-size: 14px;
  }

  .why-choose-card {
    padding: 25px 20px;
  }
}

.player-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 0px 20px 30px 20px;
}

.player-sidebar {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 20px;
}

.player-sidebar .player-item span {
  margin-left: 20px;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 0px;
  display: block;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.player-sidebar .player-item {
  position: relative;
  background: white;
  margin: 8px 0px;
  border-left: 5px solid transparent;
  cursor: pointer;
  border-radius: 10px;
  background-color: #e7e6e6;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.player-sidebar .player-item.active {
  border-left-color: #3b82f6;
}

.player-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(59, 130, 246, 0.2);
  z-index: 0;
  border-radius: 10px;
}

.player-item.active::before {
  animation: fillBar 5s linear forwards;
}

@keyframes fillBar {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.player-sidebar .player-item span {
  position: relative;
  z-index: 1;
}

.player-main-display {
  flex: 2;
  padding: 20px;
  text-align: center;
}

.player-main-display img {
  max-width: 70%;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.player-sidebar p {
  font-family: "Bai Jamjuree", sans-serif !important;
  text-align: center;
  font-weight: bold;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 10px;
  border-radius: 10px;
}

.player-sidebar h1 {
  color: #000;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.player-offers ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.player-offers ul li i {
  color: green;
  font-size: 20px;
}

.player-offers ul li span {
  color: #000000;
  font-size: 17px;
  font-weight: bold;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.player-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5%;
}

.player-heading .player-heading-p {
  background: #f3e8ff;
  color: #a855f7;
  font-family: "Bai Jamjuree", sans-serif !important;
  padding: 10px;
  padding-left: 2%;
  padding-right: 2%;
  font-weight: bold;
  border-radius: 10px;
}

.player-heading h1 {
  font-family: "Bai Jamjuree", sans-serif !important;
  color: #333131;
  text-align: center;
}

.player-heading h1 span {
  font-family: "Bai Jamjuree", sans-serif !important;
  background: linear-gradient(to right, rgb(236, 77, 228), #7e57c2);
  /* You can change the second color */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.player-heading-p-text {
  font-size: 17px;
  color: #5a5858;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.player-item.active {
  color: #007BFF;
  font-weight: bold;
}

.media {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .player-section {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .player-section {
    flex-direction: column;
    padding: 10px 10px;
  }

  .player-sidebar,
  .player-main-display {
    max-width: 100%;
  }

  .player-main-display img {
    max-width: 90%;
  }

  .player-offers ul {
    flex-direction: column;
  }
}

/* <--------------------------------------Cards player-----------------------------------> */
.scrolling-card {
  position: relative;
  overflow-x: auto;
  display: flex;
  scroll-behavior: smooth;
}

/* Create blur effect at left and right using pseudo-elements */
.scrolling-card::before,
.scrolling-card::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
  padding-left: 15%;
  padding-right: 15%;
}

.scrolling-card::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.scrolling-card::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}


.scrolling-card-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5%;
}

.scrolling-card-heading p {
  background: rgba(21, 95, 231, 0.219);
  color: rgb(39, 39, 243);
  font-family: "Bai Jamjuree", sans-serif !important;
  padding: 10px;
  padding-left: 2%;
  padding-right: 2%;
  border-radius: 20px;
}

.scrolling-card-heading h1 {
  width: 72%;
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.scrolling-card-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 100%;
  overflow: hidden;
}

.scrolling-card-row-wrapper {
  overflow: hidden;
  width: 100%;
}

.scrolling-card-row {
  display: flex;
  width: fit-content;
  gap: 20px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.scrolling-card-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 80px;
  width: 120px;
  text-align: center;
  transition: transform 0.3s;
  background: white;
}

.scrolling-card-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

.scrolling-card-card h3 {
  margin: 5px 0;
  font-size: 16px;
  color: #333;
}

.scrolling-card-card p {
  font-size: 12px;
  color: #666;
}

/* Animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

.scroll-left {
  animation: scroll-left 30s linear infinite;
}

.scroll-right {
  animation: scroll-right 30s linear infinite;
}

@media (max-width: 768px) {
  .scrolling-card-heading h1 {
    font-size: 25px;
  }
}

/* <----------------------------------------Tab Container-----------------------------------------> */
.course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}

.course-tab {
  background: #f1f1f8;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #555;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-tab.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.course-tab:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.course-tab span {
  background: #fff;
  color: #4d4df7;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 50px;
}

.course-card-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 20px;
  max-width: 1366px;
  margin: auto;
}

.course-cards {
  display: none;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.course-cards.active-category {
  display: flex;
}

.course-card-section {

  width: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
}



.course-tab-card-img {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.course-card-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.course-card-section:hover img {
  transform: scale(1.05);
  transition: all 0.3s ease;
}


.course-card {
 border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card h3 {
  font-size: 16px;
  font-family: "Bai Jamjuree", sans-serif !important;
}
.course-card p {
  font-size: 14px;
  font-family: "Bai Jamjuree", sans-serif !important;
}
.course-card .content {
  padding: 10px;
}

.course-card-footer {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 12px;
  text-align: center;
  font-family: "Bai Jamjuree", sans-serif !important;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-top: 1px solid #ccc;
}


.course-section h1 {
  text-align: center;
  font-family: "Bai Jamjuree", sans-serif !important;
  font-weight: 600;
  padding-top: 5%;
  font-size: 35px;
}

.course-tab-img {
  height: 400;
  width: 100%;
}

/* <---------------------------------- Services Section -------------------------------> */
.services {
  padding: 80px 20px;
  background: linear-gradient(to right, #fdfbfb, #ebedee);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.servicesheader {
  text-align: center;
  margin-bottom: 60px;
}

.servicesheader h5 {
  display: inline-block;
  background: #e0c3fc;
  color: #6a0dad;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.servicesheader h1 {
  margin-top: 10px;
  font-size: 36px;
  color: #2c3e50;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.new-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}

.new-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  transform: rotate(45deg);
  z-index: 0;
  opacity: 0.05;
  transition: all 0.4s ease;
}

.new-card:hover::before {
  opacity: 0.2;
}

.new-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-icon {
  background: linear-gradient(135deg, #d9a7c7, #fffcdc);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #2c3e50;
}

.card-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.new-card-button {
  margin-top: 20px;
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
}

.new-card-button:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Responsive */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .new-card {
    width: 90%;
  }
}



/* <---------------------------------------Gallery------------------------------------> */
.cta-wrapper {
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  background-color: #f2f2f2;
}

.cta-card {
  display: flex;
  /* flex-wrap: wrap; */
  background-color: #1c2d41;
  color: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  justify-content: space-evenly;
}

.cta-block {
  flex: 1 1 500px;
  padding: 20px;
}

.cta-icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: #ff3c3c;
}

.cta-subheading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cta-heading {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.cta-btn.red {
  background-color: #ff3c3c;
  color: white;
  border: none;
}

.cta-btn.red:hover {
  background-color: #e62b2b;
}

.cta-btn.outlined {
  border: 1px solid white;
  color: white;
  background: transparent;
}

.cta-btn.outlined:hover {
  background-color: white;
  color: #1c2d41;
}

@media (max-width: 768px) {
  .cta-card {
    flex-direction: column;
    height: 500px
  }

  .cta-block {
    text-align: center;
    padding: 10px 0;
    /* Reduced vertical spacing */
    margin-bottom: 10px;
    /* Optional: Add a little space between blocks */
  }

  .cta-heading {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .cta-btn {
    font-size: 13px;
    padding: 8px 18px;
  }
}

/* <--------------------------------------Testimonials-----------------------------------> */
.testimonials-card-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 10px;
}

.testimonials-card-heading p {
  color: blue;
  background: rgba(70, 70, 240, 0.192);
  font-size: 15px;
  padding: 10px;
  border-radius: 20px;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.testimonials-card-heading h1 {
  font-size: 32px;
  margin: 10px 0;
  color: #222;
  font-family: "Bai Jamjuree", sans-serif !important;
}

.testimonials-card {
  overflow: hidden;
  padding: 20px 0 50px;
}

.testimonials-card-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.scroll-row {
  display: flex;
  width: fit-content;
  animation: scroll-left 25s linear infinite;
}

.scroll-row.reverse {
  animation: scroll-right 25s linear infinite;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 360px;
  margin-right: 20px;
  background: linear-gradient(135deg, #476bf0, #8e52ee);
  padding: 20px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.testimonial-card.light {
  background: #fff;
  color: #333;
}

.testimonial-card .stars {
  color: gold;
  margin-bottom: 10px;
  text-align: center;
  font-size: 25px;
}

.testimonial-card .text {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: "Bai Jamjuree", sans-serif !important;
  text-align: center;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 5%;
}

.testimonial-card .author img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ccc;
}

.testimonial-card .author span {
  font-weight: bold;
  font-size: 14px;
  font-family: "Bai Jamjuree", sans-serif !important;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

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

  .scroll-row {
    animation-duration: 40s;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 180px;
  }
}
