﻿/********** Custom CSS ************/
h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}

.btn {
  font-family: "Yekan";
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.btn-icon {
  width: 77px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 11;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Yekan";
  padding: 30px 15px;
  font-size: 18px;
  font-weight: 500;
  color: #120F2D;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #2878EB;
}

.owl-carousel {
  direction: ltr;
  text-align: left;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
  }
}
.jumbotron {
  background: linear-gradient(rgba(40, 120, 235, 0.5), rgba(40, 120, 235, 0.5)), url(../img/home/teacher-kid.jpg), no-repeat center center;
  background-size: cover;
  background-position: center;
}

.jumbotron.page-header {
  background: linear-gradient(rgba(40, 120, 235, 0.9), rgba(40, 120, 235, 0.9)), url(../img/page-header.jpg), no-repeat center center;
  background-size: cover;
}

.overlay-top::before,
.overlay-bottom::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 85px;
  left: 0;
  z-index: 1;
}

.overlay-top::before {
  top: 0;
  background: url(../img/overlay-top.png) top center no-repeat;
  background-size: contain;
}

.overlay-bottom::after {
  bottom: 0;
  background: url(../img/overlay-bottom.png) bottom center no-repeat;
  background-size: contain;
}

.bg-image {
  background: linear-gradient(rgba(40, 120, 235, 0.05), rgba(40, 120, 235, 0.05)), url(../img/bg-image.jpg);
  background-attachment: fixed;
}

.section-title h6::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  border-top: 2px dashed #F14D5D;
}

.courses-item img {
  position: relative;
  margin-top: 40px;
  transition: 0.5s;
}

.courses-list-item img {
  position: relative;
  transition: 0.5s;
}

.courses-item .courses-text,
.courses-list-item .courses-text {
  position: absolute;
  width: 100%;
  height: calc(100% + 86px);
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(18, 15, 45, 0), #120f2d);
  transition: 0.5s;
  z-index: 1;
}

.courses-list-item .courses-text {
  height: 100%;
}

.courses-item:hover img {
  margin-top: 0px;
}

.courses-list-item:hover img {
  transform: scale(1.2);
}

.courses-item:hover .courses-text {
  height: calc(100% + 40px);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #2878EB;
  font-size: 22px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
  background: #F14D5D;
}

.testimonial-carousel .owl-item img {
  width: 80px;
  height: 80px;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 120px;
  height: 60px;
  top: 0;
  right: 0;
  display: flex;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #2878EB;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: #F14D5D;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
  background: #2878EB;
}

.mismarry-packages {
  padding: 20px 20px 24px;
  border: 2px solid #9694FF;
  -webkit-box-shadow: 3px 3px 0 2px #9694FF;
  box-shadow: 3px 3px 0 2px #9694FF;
  border-radius: 36px;
}

.mismarry-packages .missmarry-title {
  color: #6D46FC;
}

.mismarry-packages .missmarry-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 22px;
  border-radius: 30px;
}

.mismarry-packages .missmarry-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
}

.mismarry-packages .missmarry-tag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  font-size: 12px;
  line-height: 24px;
  border-radius: 5px;
  color: #4221B8;
  background-color: rgba(194, 193, 255, 0.7);
}

.missmarry-proposal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px;
  border-radius: 30px;
  background-color: #6D46FC;
  color: #fff;
}

.missmarry-proposal .missmarry-text {
  position: relative;
  margin: 0;
  padding-left: 56px;
  padding-right: 16px;
  font-size: 20px;
  line-height: 27px;
  font-weight: 800;
}

.missmarry-proposal .missmarry-text:hover {
  color: #fff;
}

.missmarry-btn {
  position: relative;
  padding: 0 24px;
  height: 52px;
  border-radius: 26px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #4221B8;
}

.missmarry-btn:hover::before {
  opacity: 0;
  color: #4221B8;
}

.missmarry-btn:hover {
  color: #ffffff;
  background-color: #210A74;
}

.missmarry-btn::before {
  border-radius: 26px;
  background-color: #FFE606;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.missmarry-btn::after {
  background-color: #4221B8;
  content: "";
  position: absolute;
  bottom: 0;
  width: 120%;
  padding-bottom: 120%;
  left: 50%;
  border-radius: 50%;
  -webkit-transform: translateZ(0) translate(-50%, 50%) scale(0);
  transform: translateZ(0) translate(-50%, 50%) scale(0);
  -webkit-transition: color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.missmarry-btn .btn-text {
  position: relative;
  text-align: center;
  z-index: 1;
  border-radius: 26px;
  font-size: 16px;
  line-height: 50px;
  font-weight: 400;
}

.missmarry-pricing-pill {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto 32px;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid #4221B8;
  justify-content: center;
}

.missmarry-pricing {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}

.missmarry-pricing-block {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 269px;
  min-width: 269px;
  padding: 32px;
  border-radius: 30px;
  background-color: #E1F3FE;
}

.missmarry-pricing-block-discount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  top: 30px;
  left: 32px;
  height: 36px;
  padding: 0 10px;
  background-color: #79FD7F;
  border-radius: 10px;
  color: #210A74;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
}

/*.missmarry-pricing-block-discount-sign {
    font-size: 14px;
    margin-top: -6px;
}
*/
.missmarry-pricing-block-counter {
  margin-bottom: 13px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
}

.missmarry-pricing-block-list {
  margin-bottom: 26px;
  list-style-type: none;
  padding-right: 0rem;
}

.missmarry-pricing-block-list-item {
  position: relative;
  padding-right: 36px;
}

.missmarry-pricing-block-list-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background-image: url(https://cdn.novakidschool.com/landing/static/images/rebranding/icons/tick_green.svg);
  background-size: cover;
}

/* Courses */
div.courses h2 {
  text-align: center;
}
div.courses .image-wrapper {
  position: relative;
  width: 250px;
  height: 400px;
}
div.courses .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem; /* rounded corners */
}
div.courses .overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  /* background: rgba(0, 0, 0, 0.5); */
  color: white;
  text-align: center;
  padding: 0.6rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
div.courses .overlay-text h3 {
  font-family: Tahoma, sans-serif;
}
div.courses .content-column {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
div.courses .image-text-side {
  color: black;
}
@media (max-width: 768px) {
  div.courses .content-column {
    flex-direction: column;
    align-items: center;
  }
  div.courses .image-text-side {
    max-width: 100%;
  }
}
