/********** Jackeline Education Theme **********/
:root {
  --jm-primary: #06bbcc;
  --jm-primary-hover: #0596a3;
  --jm-light: #f0fbfc;
  --jm-dark: #181d38;
  --jm-body: #52565b;
  --jm-white: #ffffff;
  --jm-border: #eeeeee;
  --jm-overlay: rgba(24, 29, 56, .7);
  --jm-font-body: 'Heebo', sans-serif;
  --jm-font-heading: 'Nunito', sans-serif;
  --jm-section-y: 5rem;
  --jm-transition: .5s;
}

body {
  font-family: var(--jm-font-body);
  color: var(--jm-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--jm-font-heading);
  color: var(--jm-dark);
  font-weight: 700;
}

a {
  color: var(--jm-primary);
  text-decoration: none;
}

a:hover {
  color: var(--jm-primary-hover);
}

.text-primary {
  color: var(--jm-primary) !important;
}

.bg-primary {
  background-color: var(--jm-primary) !important;
}

.bg-light {
  background-color: var(--jm-light) !important;
}

.bg-dark {
  background-color: var(--jm-dark) !important;
}

.btn {
  font-family: var(--jm-font-heading);
  font-weight: 600;
  border-radius: 0;
  transition: var(--jm-transition);
}

.btn-primary {
  color: var(--jm-white);
  background-color: var(--jm-primary);
  border-color: var(--jm-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  color: var(--jm-white);
  background-color: var(--jm-primary-hover);
  border-color: var(--jm-primary-hover);
}

.btn-light {
  color: var(--jm-dark);
  background-color: var(--jm-light);
  border-color: var(--jm-light);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.jm-navbar .navbar-brand,
.jm-navbar a.btn {
  min-height: 75px;
}

.jm-navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--jm-dark);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.jm-navbar .navbar-nav .nav-link:hover,
.jm-navbar .navbar-nav .nav-link.active {
  color: var(--jm-primary);
}

.sticky-top {
  top: -100px;
  transition: var(--jm-transition);
}

.sticky-top.jm-stuck {
  top: 0;
}

.jm-hero-slide {
  position: relative;
  min-height: 520px;
}

.jm-hero-slide img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.jm-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: var(--jm-overlay);
}

.page-header {
  background:
    linear-gradient(var(--jm-overlay), var(--jm-overlay)),
    url("../img/carousel-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::before,
.section-title::after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--jm-primary);
  z-index: -1;
}

.section-title::before {
  width: calc(100% + 80px);
  top: 4px;
  left: -40px;
}

.section-title::after {
  width: calc(100% + 120px);
  bottom: 5px;
  left: -60px;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

.service-item {
  background: var(--jm-light);
  transition: var(--jm-transition);
}

.service-item:hover {
  margin-top: -10px;
  background: var(--jm-primary);
}

.service-item * {
  transition: var(--jm-transition);
}

.service-item:hover * {
  color: var(--jm-light) !important;
}

.category img,
.course-item img,
.team-item img {
  transition: var(--jm-transition);
}

.category a:hover img,
.course-item:hover img,
.team-item:hover img {
  transform: scale(1.1);
}

.course-item,
.team-item {
  background: var(--jm-light);
}

.testimonial-carousel::before,
.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  height: 100%;
  width: 0;
  z-index: 1;
}

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

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

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--jm-primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: var(--jm-white) !important;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jm-light);
  border: 1px solid var(--jm-white);
  border-radius: 35px;
}

.footer .btn.btn-social:hover {
  color: var(--jm-primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--jm-white);
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

@media (max-width: 991.98px) {
  .jm-navbar .navbar-nav {
    border-top: 1px solid var(--jm-border);
  }

  .jm-navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}
