.bg-transparent {
  background-color: transparent !important;
}

.catalog__hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

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

.catalog__hero-decoration {
  position: absolute;
  top: 0;
  left: 85%;
  width: 20%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.catalog__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: rgba(0, 109, 103, 0.85);
  z-index: 3;
}

.catalog__hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 15%;
  color: #fff;
}

.catalog__hero-text {
  max-width: 600px;
  position: relative;
}

.catalog__hero-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(121, 195, 102, 0.35) 0%,
    rgba(121, 195, 102, 0.3) 25%,
    rgba(121, 195, 102, 0.25) 35%,
    rgba(121, 195, 102, 0.2) 45%,
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}

.catalog__hero h1 {
  font-family: "Gilroy", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.catalog__hero-subtitle {
  font-family: "Hattinant", sans-serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog__hero-subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: rgba(065, 173, 073, 1);
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: highlightIn 0.8s ease forwards 0.4s;
}

@keyframes highlightIn {
  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

.catalog__hero-subtitle.visible::before {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.catalog__videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 0 15rem 0;
  background-image: url("../../public/images/about/video-backgroud.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  gap: 1rem;
}

.catalog__videos-content {
  max-width: 1400px;
  margin: 0 auto;
}

.catalog__videos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.catalog__videos-title {
  font-family: "Gilroy", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.catalog__videos-highlight {
  font-family: "Hattinant", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.catalog__videos-highlight::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #2ecc40;
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: highlightIn 0.8s ease forwards 0.4s;
}

.catalog__videos-highlight.visible::before {
  transform: translateY(-50%) scaleX(1);
}

.catalog__videos-desc {
  font-family: "Gilroy", sans-serif;
  font-size: 1.1rem;
  color: #222;
  text-align: left;
  width: 90%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .catalog__hero {
    height: 60vh;
  }

  .catalog__hero-decoration {
    width: 100%;
    opacity: 0.5;
  }

  .catalog__hero-overlay {
    width: 100%;
  }

  .catalog__hero-content {
    padding: 0 1rem;
    text-align: center;
  }

  .catalog__hero-text {
    max-width: 100%;
  }

  .catalog__hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
  }

  .catalog__hero-subtitle {
    font-size: 2rem;
  }
}

.catalog__videos-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 4rem;
}

.carousel-container {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-item {
  position: relative;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 242, 000, 1);
  color: #000;
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.carousel-prev {
  left: 2%;
}

.carousel-next {
  right: 2%;
}

.carousel-prev i,
.carousel-next i {
  font-size: 2rem;
  font-weight: 600;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-bullets {
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.carousel-bullet {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-bullet:hover {
  border-color: rgba(0, 0, 0, 0.6);
}

.carousel-bullet.active {
  background-color: #000;
  border-color: #000;
  transform: scale(1.2);
}

@media (max-width: 1200px) {
  .catalog__videos-carousel {
    height: 450px;
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  .catalog__videos-carousel {
    height: 400px;
    padding: 0 2rem;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .slide-item {
    display: none;
    width: 100%;
    height: 100%;
  }

  .slide-item:first-child {
    display: block;
  }

  .carousel-prev,
  .carousel-next {
    width: 3rem;
    height: 3rem;
  }

  .carousel-bullets {
    bottom: -2rem;
  }
}

.catalog__videos-carousel .slide-item {
  position: relative;
  overflow: hidden;
}

.catalog__videos-carousel .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog__videos-carousel .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.catalog__videos-carousel .play-btn:hover {
  border: 5px solid #ffd700;
  color: #ffd700;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}
.video-modal.active {
  display: flex;
}
.video-modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}
.video-modal-close {
  position: absolute;
  top: 0%;
  right: 5%;
  color: #fafafa;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.video-modal-close:hover {
  color: #ffd700;
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}
.video-modal video {
  border-radius: 12px;
  background: #000;
  max-width: 90vw;
  max-height: 80vh;
}
@media (max-width: 900px) {
  .video-modal video {
    width: 100vw;
    height: auto;
  }
  .video-modal-content {
    width: 100vw;
  }
}

.catalog__courses {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: rgb(252, 175, 38);
}

.catalog__courses::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(../../public/images/decoration/solutions-decoration.png);
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.catalog__courses-content {
  max-width: 1400px;
  margin: 0 auto;
}

.catalog__courses-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.catalog__courses-title {
  font-family: "Gilroy", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.catalog__courses-highlight {
  font-family: "Hattinant", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.catalog__courses-highlight.visible {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog__courses-highlight::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #fff200;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
}

.catalog__courses-highlight.visible::before {
  animation: highlightIn 0.8s ease forwards 0.4s;
}

@keyframes highlightIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

.courses-carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 6rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.courses-carousel-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 9;
}

.courses-carousel-slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.courses-carousel-slide.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.course-card {
  background: #111;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  padding: 0;
}

.course-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 2;
}

.course-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 3;
}

.course-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #fff200;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.5rem 0.7rem 0.7rem 0.9rem;
  min-width: 60px;
  min-height: 60px;
  font-family: "Gilroy", Arial, sans-serif;
  border-radius: 0 0 0 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%);
}

.course-card-badge span {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin-top: -0.2rem;
  letter-spacing: -2px;
}

.course-card-badge {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.course-card-content {
  padding: 0 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #111;
  position: relative;
  z-index: 3;
}

.course-card-title {
  font-family: "Gilroy", sans-serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
  margin-top: -1.5rem;
  margin-bottom: 0.5rem;
}

.course-card-title strong {
  font-weight: 900;
  color: #fff;
}

.course-card-desc {
  font-size: 0.9rem;
  color: #eaeaea;
  margin-bottom: 1.2rem;
  height: 200px;
}

.course-card-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.course-card-details li {
  font-size: 0.85rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-card-details li i {
  color: rgb(252, 175, 38);
}

.courses-carousel-prev,
.courses-carousel-next {
  background: #fff200;
  color: #111;
  border: none;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 1rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 3;
}

.courses-carousel-prev:hover,
.courses-carousel-next:hover {
  background: #111;
  color: #fff200;
  transform: scale(1.1);
}

.courses-carousel-bullets {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
}

.courses-carousel-bullets .carousel-bullet {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid #111;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, transform 0.2s;
}

.courses-carousel-bullets .carousel-bullet.active {
  background: #111;
  border-color: #111;
  transform: scale(1.2);
}

@media (max-width: 1200px) {
  .courses-carousel-slide {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 900px;
  }
}
@media (max-width: 700px) {
  .courses-carousel-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 1.2rem;
    min-height: unset;
  }
  .courses-carousel {
    flex-direction: column;
    padding: 1rem 0 3.5rem 0;
  }
  .courses-carousel-bullets {
    position: static;
    margin-top: 1.5rem;
  }
}

.course-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.course-card-link .course-card {
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.course-card-link:hover .course-card,
.course-card-link:focus .course-card {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
