* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: #f2f3ed;
  /* background-color: #e5e1da; */
}

h1 {
  font-size: 2.5em;
  font-family: "Poppins";
  padding-bottom: 20px;
}

h2 {
  font-size: 2rem;
}

p {
  line-height: 1.7;
}
/* -----custom scrollbar----- */
/* For WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
  width: 15px; /* width of the scrollbar */
}
::-webkit-scrollbar-track {
  background: #f0ebeb; /* color of the track (the area behind the scrollbar) */
}
::-webkit-scrollbar-thumb {
  background: #176b87; /* color of the thumb (the draggable part of the scrollbar) */
  border-radius: 4px;
  border: 1px solid #f0ebeb;
}
::-webkit-scrollbar-thumb:hover {
  background: #2092b8; /* color of the thumb on hover */
}
/* -----custom scrollbar----- */
/* ---------navbar-------------- */
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

nav a:hover:not(.action_btn) {
  color: #176b87;
}

header {
  width: 100%;
  position: fixed;
  padding: 0 2rem;
  background-color: #fff;
  z-index: 99;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
  width: 100%;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.logo img {
  height: 60px;
}

.navbar .links {
  display: flex;
  gap: 2rem;
}

.links a {
  position: relative;
}
.hover-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -10px;
  left: 0;
  background-color: #176b87;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
  transform: scaleX(0);
}

.hover-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.navbar .toggle_btn {
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.action_btn {
  background-color: #e7ca71;
  color: #000000;
  padding: 0.8rem 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
  /* font-weight: bold; */
  cursor: pointer;
  transition: scale 0.2 ease;
}
.action_btn:hover {
  scale: 1.05;
}
.action_btn:active {
  scale: 0.95;
}

/* ----more services main navbar----- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  white-space: nowrap;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 200%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: max-height 0.5s ease-in-out;
}

.dropdown:hover .dropdown-menu {
  max-height: 500px;
}

.dropdown-menu li {
  white-space: nowrap;
  padding: 15px;
}
/* ----more services main navbar----- */
.dropdown_menu hr {
  margin: 0 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.more-services hr {
  margin: 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
/* ---dropdown menu---- */
.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 95px;
  max-height: 0;
  width: 300px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out;
}

.dropdown_menu.open {
  max-height: 100vh;
}

.dropdown_menu li {
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown_menu a:not(.action_btn):hover {
  color: #176b87;
}

.dropdown_menu .action_btn {
  width: 100%;
  display: flex;
  justify-content: center;
}
/* ----more services sto responsive nav----- */
.dropdown_menu input {
  display: none;
}

.more-services {
  font-size: 0.9rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.more-services li {
  padding: 0.7rem 2rem;
}
.dropdown_menu input:checked ~ .more-services {
  max-height: 100vh;
}
.dropdown_menu input:checked ~ label i::before {
  content: "\f068";
}

.dropdown_menu label i {
  font-size: 14px;
  padding-right: 1rem;
}
/* ----more services sto responsive nav----- */
/* ----------responsive navbar----------- */
@media (max-width: 992px) {
  .navbar .links,
  .navbar .action_btn {
    display: none;
  }

  .navbar .toggle_btn {
    display: block;
  }

  .dropdown_menu {
    display: block;
  }
}
@media (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
  .navbar .logo a {
    font-size: 1rem;
  }
}
/* ----------responsive navbar----------- */
/* ---------navbar-------------- */
@media screen and (max-width: 1000px) {
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1rem;
  }
  p {
    font-size: 0.9rem;
  }
}

/* -----------about------------ */
section#about {
  /* background-color: #176b87; */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 90px;
}
.about-container {
  padding: 5vw;
}
.about-flex {
  border: 3px solid #176b87;
  padding: 4vw;
  display: flex;
  gap: 1vw;
}
.about-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1vw;
  color: #176b87;
}

.about-info li {
  line-height: 1.7;
}
.about-info .fa-circle {
  color: #e7ca71;
  margin-right: 0.7rem;
}
.about-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img {
  object-fit: cover;
  width: 100%;
  max-width: 550px;
  height: auto;
  padding: 0.5rem;
  border: 5px solid #176b87;
}

#about .moto {
  color: #e7ca71;
  font-weight: 800;
  font-size: 1.5rem;
}
@media screen and (max-width: 1000px) {
  .about-flex {
    flex-direction: column-reverse;
  }
}
/* -----------about------------ */

/* -------services------ */
.katigoria {
  width: 100%;
  color: #052639;
}

.flex-container {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3vh auto;
  gap: 2rem;
}

.flex-container .info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2vw;
  padding: 1rem;
}

@media screen and (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
  .flex-container.reverse {
    flex-direction: column-reverse;
  }
}
/* -------services------ */

/* -----faq------ */
#faq {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  gap: 2vw;
  color: #052639;
}
.wrapper {
  /* max-width: 600px; */
  padding: 0 20px;
}

.wrapper .parent-tab {
  margin-bottom: 8px;
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
}

.wrapper .parent-tab label {
  background: #176b87;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 3px;
  position: relative;
  z-index: 50;
}

.wrapper label span {
  color: #f0ebeb;
}
.wrapper label .icon {
  font-size: 15px;
  color: #f0ebeb;
  display: block;
  background: #176b87;
  border-radius: 50%;
}
.parent-tab input:checked ~ label .icon i::before {
  content: "\f068";
}

.wrapper .parent-tab .content {
  max-height: 0px;
  overflow: hidden;
  /* transition: all 0.4s ease; */
}
.parent-tab input:checked ~ .content {
  max-height: 100vh;
}

.wrapper .parent-tab .content p {
  padding: 15px 20px;
  font-size: 17px;
}
.wrapper input {
  display: none;
}
/* -----faq------ */
/* -----------contact------------ */
#contact {
  min-height: calc(100vh - 90px);
}
.contact-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5vw auto;
  width: 95%;
}
.contact-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  color: #052639;
}

.contact-info i {
  color: #176b87;
}

@media screen and (max-width: 1000px) {
  .contact-flex {
    flex-direction: column;
  }
}
/* -----------contact------------ */
/* ------footer------- */
footer {
  background-color: #176b87;
  color: #f0ebeb;
  width: 100%;
  height: auto;
  padding-top: 1rem;
  margin: auto;
  font-size: 0.94rem;
}

#footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 3rem;
}
.footer-links {
  text-align: center;
}
footer h4 {
  margin-top: 0.5rem;
}
footer a {
  color: #f0ebeb;
}
footer a:hover:not(.action_btn){
  color: #e7ca71;
}
footer li {
  margin: 0.7rem 0;
}
footer #btn {
  margin-top: 1rem;
}

#footer-yoltlabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#yoltlabs a:hover {
  color: #e7ca71;
}
@media screen and (max-width: 900px) {
  #footer-flex {
    flex-direction: column;
  }
  #footer-yoltlabs {
    flex-direction: column;
  }
  footer div {
    margin-top: 1.5rem;
  }
}
/* ------footer------- */

/* ---back to top--- */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: transparent;
  color: #052639;
  cursor: pointer;
}
/* ---back to top--- */

/* -------classes for animation--------- */
.slide-in-bottom-navbar {
  -webkit-animation: slide-in-bottom-navbar 1s
    cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-bottom-navbar 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.slide-in-bottom {
  -webkit-animation: slide-in-bottom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-bottom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.swing-in-top-fwd {
  -webkit-animation: swing-in-top-fwd 2.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation: swing-in-top-fwd 2.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@-webkit-keyframes slide-in-bottom-navbar {
  0% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    height: 120px;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    height: 90px;
    opacity: 1;
  }
}
@keyframes slide-in-bottom-navbar {
  0% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    height: 120px;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    height: 90px;
    opacity: 1;
  }
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}
@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}

/* -----image comparison slider before/after-------- */
.image-comparison {
  /* max-width: 700px; */
  aspect-ratio: 3/2;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
}

.image-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-comparison .images-container {
  position: relative;
  display: flex;
}

.image-comparison .images-container .before-image {
  position: absolute;
  top: 0;
  width: 50%;
}

.image-comparison .slider {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.image-comparison .slider-line {
  position: absolute;
  height: 100%;
  width: 4px;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}

.image-comparison .slider-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  color: #fff;
  transform: translate(-50%, -50%) rotateZ(90deg);
}
/* -----image comparison slider before/after-------- */
