@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Merriweather:wght@400;700&family=Montserrat:wght@400;700&family=Open+Sans:wght@400;700&family=Oswald:wght@400;700&family=Playfair+Display:wght@400;700&family=Poppins:wght@400;700&family=Raleway:wght@400;700&family=Roboto:wght@400;700&display=swap");
.sec-title {
  margin-bottom: 60px;
  text-align: center;
}
.sec-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.sec-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--bs-primary);
  border-radius: 2px;
  margin: 10px auto 0;
}
.sec-title .subtitle {
  font-size: 1.1rem;
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
}

.popular-section {
  padding-bottom: 40px;
  padding-top: 50px;
  position: relative;
  display: block;
}
.popular-section .owl-courses-content .top-courses-item .top-courses-inner {
  position: relative;
}
.popular-section .owl-courses-content .top-courses-item .top-courses-inner img {
  max-width: 190px;
  transform-style: preserve-3d;
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  transition: 0.3s all;
}
.popular-section .owl-courses-content .top-courses-item .top-courses-inner .content-back {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #191c32;
  border-radius: 5px;
  transition: 0.5s all;
  transform: translateX(100%);
  text-align: center;
  padding: 20px;
}
.popular-section .owl-courses-content .top-courses-item .top-courses-inner .content-back .course-title a,
.popular-section .owl-courses-content .top-courses-item .top-courses-inner .content-back .video-description {
  color: #ffffff;
}
.popular-section .owl-courses-content .top-courses-item .top-courses-inner:hover .content-back {
  transform: none;
}
