:root {
  --primary: #06a3da;
  --secondary: #f57e57;
  --light: #eef9ff;
  --dark: #091e3e;
}

body {
  font-family: "Jost", sans-serif;
  margin: 0;
  padding: 0;
}

.main-content {
  flex: 1;
}

h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
  font-size: 1.3rem !important;
}

h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}

/* bullet points */
h5 ul {
  list-style: none;
  margin: 1rem auto;
  max-width: 600px;
  padding-left: 0;
  line-height: 1.6;
}

h5 ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

h5 ul li::before {
  content: "😃";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

/* align */
h5.text-dark {
  position: relative;
  z-index: 1;
  text-align: justify;
  padding: 1rem;
}

/* container img */
/* h5.text-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.1;
}

.container-fluid:nth-of-type(1) .container h5.text-dark::before {
  background-image: url("/img/handprints-multicolor-border.jpg");
}

.container-fluid:nth-of-type(2) .container h5.text-dark::before {
  background-image: url("/img/hands-child-who-smeared-no-bg.png");
}

.container-fluid:nth-of-type(3) .container h5.text-dark::before {
  background-image: url("/img/mental-health-1.jpg");
} */

.btn {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn-primary,
.btn-secondary {
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.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;
}

#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;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.top-shape::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 100%;
  top: 0;
  left: -17px;
  background: var(--primary);
  transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  padding: 35px 15px;
  font-size: 18px;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 30, 62, 0.85);
  z-index: 1;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (min-width: 991.98px) {
  .banner {
    position: relative;
    margin-top: -90px;
    z-index: 1;
  }
}

.section-title h5::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 3px;
  right: -55px;
  bottom: 11px;
  background: var(--primary);
}

.section-title h5::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 3px;
  right: -75px;
  bottom: 11px;
  background: var(--secondary);
}

.twentytwenty-wrapper {
  height: 100%;
}

.hero-header {
  background:
    linear-gradient(rgba(9, 30, 62, 0.85), rgba(9, 30, 62, 0.85)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

/* .bg-appointment {
  background: linear-gradient(rgba(9, 30, 62, 0.85), rgba(9, 30, 62, 0.85)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.appointment-form {
  background: rgba(6, 163, 218, 0.7);
} */

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
  transition: 0.5s;
}

.service-item:hover img {
  transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
  position: absolute;
  content: "";
  top: 50%;
  bottom: 0;
  left: 15px;
  right: 15px;
  border-radius: 100px / 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
  opacity: 1;
}

.offer-text {
  background: rgba(6, 163, 218, 0.85);
}

.price-carousel .owl-nav {
  position: absolute;
  width: calc(100% + 45px);
  height: 45px;
  top: calc(50% - 22.5px);
  left: -22.5px;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
}

.price-carousel:hover .owl-nav {
  opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}

.bg-testimonial {
  background: url(../img/carousel-2.jpg) center center no-repeat;
  background-size: cover;
}

.testimonial-carousel {
  background: rgba(6, 163, 218, 0.85);
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: calc(100% + 46px);
  height: 46px;
  top: calc(50% - 23px);
  left: -23px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}

.testimonial-carousel .owl-item img {
  width: 120px;
  height: 120px;
}

.phone-link,
.email-link {
  color: white;
  text-decoration: none;
}

.phone-link:hover,
.email-link:hover {
  color: gray;
}

.center-email-sent {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tel-colours {
  color: black;
  text-decoration: none;
}
.tel-colours:hover {
  color: #06a3da;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  padding: 10px 20px;
  text-align: center;
  z-index: 999;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner-accept {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.cookie-banner-accept:hover {
  background-color: #0069d9;
}

iframe:focus {
  outline: none;
}

iframe[seamless] {
  display: flex;
}

.iframe-box {
  height: fit-content;
  vertical-align: middle;
  display: flex;
}

/* social */

.social-media {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99999;
}

.social-media:hover {
  font-size: 1.5rem;
}

.social-media a {
  font-size: 36px;
  color: white;
  transition: transform 0.3s;
}

.social-media a.facebook {
  color: #3b5998;
}

.social-media a.instagram {
  color: #e1306c;
}

.social-media a.twitter {
  color: black;
}

.social-media a.youtube {
  color: #ff0000;
}
.social-media a.email {
  color: orange;
}

.social-media a.phone {
  color: orange;
}

.social-media a:hover {
  transform: scale(1.5);
}

/* price styles */

.price-info {
  margin-top: 15px;
  border-radius: 4px;
}

.price-info p {
  margin: 0;
  padding: 5px;
  color: grey;
}

.container {
  max-width: 1000px;
}

/* home child & cloud 2 col */
.kid-slide-up {
  animation: slideUp 1.2s ease-out forwards;
}

.kid-slide-up img {
  transform: scale(1.05);
  position: relative;
  right: -20px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.cloud-bubble {
  background-color: #eef9ff;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  animation: slideInRight 1.2s ease-out forwards;
  margin: 3rem 0;
  padding: 2rem;
  padding-right: 5rem;
  color: #333;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 1000px;
  width: 100%;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.cloud-bubble p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 767.98px) {
  #o-nas .kid-slide-up img {
    display: none;
  }

  #o-nas::after {
    content: "";
    display: block;
    background: url("/img/handprints-multicolor-border.jpg") no-repeat;
    background-size: cover;
    width: 100vw;
    height: 300px;
    transform-origin: top left;
    animation: slideInLeft 1.5s ease-out forwards;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.dropdown-menu .dropdown-item:hover {
  background-color: #06a3da;
  color: white;
}

@media (max-width: 768px) {
  .icon-bar {
    bottom: 10px;
    left: 30px;
    transform: translateX(-50%);
  }
}

/* AR dev logo */
.dev a {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  text-decoration: none;
}

.dev img {
  max-width: 55px;
  height: auto;
}

.dev-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.dev-text .name {
  font-weight: 600;
  text-align: left;
  color: #fff;
  text-transform: uppercase;
}

.dev-text .role {
  font-size: 0.8em;
  opacity: 0.8;
  text-align: left;
  color: #fff;
  letter-spacing: 2px;
}
