/********** Template CSS **********/
:root {
  --primary: #cb3d5e;
  --light: #ffe1e8;
  --dark: #0f172b;
}

body {
  font-family: "Montserrat", "Heebo", sans-serif;
  color: #666565;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

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

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

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

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

#about {
  scroll-margin-top: 90px;
}

#whywe,
#blog,
#reviews,
#tips,
#contact {
  scroll-margin-top: 80px;
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 43, 0.7);
  z-index: 1;
}

.carousel-caption .conteiner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

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

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-no {
    display: none !important;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  left: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  right: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
  display: none;
}

.about__descr {
  padding-bottom: 20px;
}

.about__descr ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.about__descr li {
  margin-bottom: 1rem;
}

.topics {
  display: grid;
  gap: 24px;
}

.topic_item img,
.topic__img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 4px;
}

.topic__name {
  color: var(--primary);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.card {
  background: #fff;
  border: 0;
  height: 100%;
}

/*** Testimonial ***/
.testimonial {
  background: transparent;
}

.testimonial-carousel {
  padding-left: 65px;
  padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
  padding: 30px;
  background: #ffffff;
  min-height: 260px;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 40px;
  top: calc(50% - 20px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--primary);
  background: #ffffff;
}

.news__content {
  color: #666565;
}

.form-control {
  border-radius: 2px;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
  border-color: var(--primary);
}

iframe.position-relative {
  min-height: 350px;
}

/*** Footer ***/
.footer {
  position: relative;
  margin-top: -110px;
  padding-top: 180px;
}

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

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

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

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

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
  color: var(--primary);
}

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

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.page__content h1,
.page__content h2,
.page__content h3 {
  margin-top: 1.5rem;
}

/*** Cookie banner ***/
.cookie-wrapper {
  position: fixed;
  bottom: 30px;
  right: 20px;
  max-width: 360px;
  width: calc(100% - 40px);
  background: #ffffff;
  padding: 25px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 43, 0.18);
  z-index: 10000;
  display: none;
}

.cookie-wrapper.show {
  display: block;
}

.cookie-wrapper.hidden {
  display: none !important;
}

.cookie-wrapper h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.cookie-wrapper .data p {
  font-size: 14px;
  margin-bottom: 16px;
}

.cookie-wrapper .buttons {
  display: flex;
  gap: 10px;
}

.cookie-button {
  flex: 1;
  border: 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-button:last-child {
  background: var(--dark);
}
