/* Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Variables */

:root {
  /* Colors */
  --primary-clr: #30d2b9;
  --nav-clr: #212121;
  --gray-800: #383838;
  --text-clr: #333333;
  --gray-400: #797979;
  --gray-300: #999980;
  --light-gray: #c5c3c3;
  --very-light-gray: #ebebeb;
  --almost-white: #f7f8f9;
  --white: #ffffff;
  --transparent-bg: #000000cc;
  /* Font */
  --ff-body: 'Poppins', sans-serif;
  --fs-xs: 0.875rem;
  --fs-h1: 2.19rem;
  --fs-h2: 1.75rem;
  --fs-h3: 1.125rem;
  --fw-400: 400;
  --fw-600: 600;
  --fw-700: 700;
  /* Spacing */

  /* Transition */
  --transition: all 300ms ease-in-out;
}
.main-title {
  position: absolute;
  width: 1px;
  left: -10000px;
  overflow: hidden;
}
.top-header {
  display: none;
}
.desktop-menu {
  display: none;
}
.footer-nav {
  display: none;
}

h1,
h2,
h3 {
  font-weight: var(--fw-700);
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}

.flex {
  display: flex;
  align-items: center;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  color: var(--text-clr);
  line-height: 1.8;
  background-color: var(--white);
  min-height: 100dvh;
  overflow: auto;
}

/*==============================
PreLoader CSS 
=================================*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  transition: opacity 0.75s, visibility 0.75s;
  z-index: 1000;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader::after {
  content: '';
  width: 120px;
  height: 120px;
  border: 20px solid #ddd;
  border-top-color: var(--primary-clr);
  border-radius: 100%;
  animation: loading 0.75s infinite;
}
@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
/*==============================
PreLoader CSS End
=================================*/

.wrapper {
  min-height: 100dvh;
}
.header {
  position: sticky;
  width: 100%;
  top: 0;
  background-color: var(--nav-clr);
  z-index: 300;
}
.mobile-nav {
  justify-content: space-between;
  padding: 20px 25px;

  /* position: relative; */
}
.logo {
  width: 140px;
}

/* Hamburger */
.hamburger {
  cursor: pointer;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bar {
  width: 23px;
  height: 2px;
  background-color: var(--white);
  position: relative;
  transition: var(--transition);
}
.bar::after,
.bar::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--white);
}
.bar::after {
  bottom: 8px;
}
.bar::before {
  top: 8px;
}

.animate .bar {
  transform: rotate(45deg);
}
.animate .bar::after {
  display: none;
}
.animate .bar::before {
  transform: rotate(90deg) translateX(-8px);
}
/* Mobile navigation */
.mobile-menu {
  position: fixed;
  display: block;
  background-color: var(--transparent-bg);
  width: 100%;
  left: -3000px;
  top: 78px;
  height: 200vh;
  transition: var(--transition);
  overflow-y: scroll;
  z-index: 200;
}
.nav-items {
  display: block;
  width: 80%;
  background-color: var(--white);
  height: 1024px;
}
.nav-item {
  padding: 1rem 1.5rem;
  font-size: var(--fs-h3);
  font-weight: 600;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  cursor: pointer;
}
.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-clr);
  transition: var(--transition);
}
.nav-item a {
  position: relative;
  width: 100%;
}
.nav-item:hover.nav-item::before {
  width: 100%;
}
.nav-item:hover {
  color: var(--white);
}

/* ==============
      Hero
=================*/

.hero {
  position: relative;
  height: 328px;
  overflow: hidden;
}

.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/bg-slider.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  height: auto;
  width: 55%;
  max-width: 220px;
  transform: translateY(50px);
}

/* Main Content */
.main-content {
  margin-inline: auto;
  line-height: 25px;
  background-color: var(--almost-white);
}
.about {
  width: 80%;
  margin-inline: auto;
  margin-block: 3rem;
}
.about-image {
  display: none;
}
.about-content > * + * {
  margin-top: 25px;
}

.btn {
  display: inline-block;
  background-color: var(--gray-800);
  color: var(--almost-white);
  font-weight: var(--fw-700);
  padding: 1rem 2.5rem;
  margin-top: 3rem;
  margin-inline: auto;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: var(--transition);
}
.btn:hover {
  background-color: var(--almost-white);
  color: var(--text-clr);
  border-color: var(--gray-800);
}
/* Testimonials */
.testimonials {
  width: 300px;
  margin-inline: auto;
}
.testimonials-wrapper {
  width: 100%;
  margin-inline: auto;
  max-width: 1032px;
  padding-block: 3rem;
}
.testimonials h2 {
  padding-left: 1rem;
}
.testimonial-name h3 {
  margin-bottom: 2rem;
}
.accent-bar {
  width: 40px;
  height: 4px;
  margin-top: 2rem;
  margin-left: 1rem;
  background-color: var(--primary-clr);
}
input[type='radio'] {
  display: none;
}
.slider {
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.slides {
  display: flex;
  width: 1800px;
  /* height: 100%; */
  padding-bottom: 1rem;
  transition: 0.5s;
}
.slide {
  width: 100%;
  height: 680px;
  margin-top: 6rem;
  margin-inline: 1rem;
  padding-inline: 2rem;
  padding-bottom: 3rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.37);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
  line-height: 1.2;
}
.slide:hover {
  background-color: var(--primary-clr);
  color: var(--white);
}
.slide img {
  width: 120px;
  transform: translateY(-50%);
  border-radius: 100%;
}
.navigation-manual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.manual-btn {
  width: 30px;
  height: 5px;
  background-color: gray;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.manual-btn:hover {
  background-color: var(--primary-clr);
}

/* Footer */
.footer {
  background-color: var(--nav-clr);
}
.footer-wrapper {
  flex-direction: column;
  padding-block: 2rem;
  gap: 1rem;
  width: 60%;
  margin-inline: auto;
  text-align: center;
}
.contact-footer-info {
  color: var(--gray-400);
}
.wpb_map_wraper {
  display: none;
}
/* Media */
@media (min-width: 550px) {
  .testimonials {
    width: 400px;
  }
  .slides {
    width: 2400px;
  }
  .slide {
    height: 500px;
  }
}
@media (min-width: 680px) {
  .hero {
    height: 50dvh;
  }
  .hero img {
    height: auto;
    width: 35%;
    max-width: 320px;
    transform: translateY(80px);
  }
  .main-content {
    padding-top: 3rem;
    line-height: 25px;
  }
  .testimonials {
    width: 600px;
  }
  .slides {
    width: 3600px;
  }
  .slide {
    line-height: 1.6;
  }
}
@media (min-width: 1024px) {
  /* Header */
  .header {
    display: none;
  }
  /* Top Header */
  .top-header {
    position: absolute;
    width: 60%;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .top-header .logo {
    width: 290px;
  }
  .phone {
    font-size: 1rem;
    font-weight: var(--fw-700);
    color: var(--primary-clr);
  }
  /* Desktop menu */
  .desktop-menu {
    position: absolute;
    display: block;
    width: 60%;
    left: 50%;
    top: 120px;
    transform: translateX(-50%);
    background-color: var(--primary-clr);
    font-size: 1rem;
    font-weight: var(--fw-700);
    color: var(--white);
    border-radius: 5px;
    z-index: 100;
    transition: var(--transition);
  }
  .desktop-nav-items {
    gap: 2rem;
    padding-left: 3rem;
  }
  .desktop-nav-item {
    padding-block: 2rem 1.9rem;
    position: relative;
  }
  .desktop-nav-item::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 4px;
    left: -10%;
    top: 95%;
    background-color: var(--white);
    transform: scaleX(0);
    transition: all 500ms ease-in-out;
  }
  .desktop-nav-item:hover.desktop-nav-item::after {
    transform: scaleX(1);
  }

  /* Hero */
  .hero {
    height: 90dvh;
  }
  .hero-content {
    height: 100vh;
  }
  .main-title {
    margin: 0;
    position: absolute;
    width: 60%;
    top: 350px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    color: var(--primary-clr);
  }
  .main-title h1 {
    width: 300px;
    word-wrap: break-word;
  }
  .main-title .accent-bar {
    margin: 0;
    background-color: black;
  }
  .hero img {
    max-width: 380px;
    transform: translateY(150px);
  }

  .about {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
    margin-inline: auto;
  }
  .about-image {
    display: block;
  }
  .about-image > img {
    height: 100%;
    object-fit: cover;
    border: 6cmpx solid var(--very-light-gray);
  }
  /* Testimonials */
  .testimonials {
    width: 1000px;
  }
  .slides {
    width: 6000px;
  }
  .slide {
    height: 370px;
  }

  /* Footer */
  .footer-wrapper {
    flex-direction: row;
    gap: 4rem;
    color: var(--gray-400);
    max-width: 1200px;
    text-align: left;
  }
  .footer .logo {
    display: none;
  }
  .footer-nav {
    display: block;
  }
  .footer-nav h3 {
    color: var(--white);
    margin: 0;
    pad: 0;
  }
  .footer-nav-item:hover {
    color: var(--primary-clr);
  }
  .footer .accent-bar {
    margin-block: 1rem 2rem;
    margin-left: 0;
    width: 19px;
  }
  .contact-footer-info p:last-of-type {
    color: var(--white);
    margin-top: 2rem;
  }
  .footer .wpb_map_wraper {
    display: block;
    margin-left: auto;
  }
}
@media (min-width: 1440px) {
  .hero-content {
    height: 100vh;
    width: 100vw;
  }
  .hero img {
    max-width: 430px;
    transform: translateY(220px);
  }
}

/* JS Classes */

.hidden {
  display: none;
}
.overflow {
  overflow: hidden;
}

.show-menu {
  left: 0;
}
.fixed-header {
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.781);
  z-index: 100;
  border-radius: 0 0 5px 5px;
  z-index: 200;
}
.fixed-header .desktop-nav-item {
  padding-block: 1rem;
}
.active-btn {
  background-color: var(--primary-clr);
}
