@import url("https://fonts.googleapis.com/css2?family=Allura&family=Antic+Didone&family=Catamaran:wght@100;200;300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
  --allura: "Allura", cursive;
  --antic-didone: "Antic Didone", serif;
  --catamaran: "Catamaran", sans-serif;
  --trebuchet: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  /* padding-top: 15vh; */
  width: 100%;
}

/* font */
.allura {
  font-family: var(--allura);
  font-size: 2.37rem;
  font-weight: 500;
  font-style: normal;
  line-height: 34px;
  letter-spacing: 2.4px;
}

.antic {
  font-family: var(--antic-didone);
  font-size: 2.37rem;
  font-weight: 600;
  line-height: 53px;
  letter-spacing: 7.5px;
}

/* Header */
#header {
  width: 100%;
  height: 15vh;
}

header {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding-left: 1.5%;
  padding-right: 5%;
}

/* slideshow */

.slideshow {
  padding: 0 1%;
  width: 100%;
  height: 80vh;
}
.carousel {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.carousel .slides {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(0);
  display: flex;
  width: 100%;
  height: 100%;
  transition: 1s ease-in-out all;
}
.controls .swiper-button-next,
.controls .swiper-button-prev {
  color: white;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.5rem !important;
}
.carousel .slides .slide {
  min-width: 100%;
  height: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* welcome section */

.welcome {
  margin: 15vh 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
h2 {
  margin-bottom: 3vh;
}

.divider {
  display: flex;
  align-items: center;
  height: 10vh;
  width: 20%;
}

.line {
  flex: 1;
  height: 1px;
  margin: 0 10px;
  background-color: rgba(122, 122, 122, 0.249);
}
.camera-logo::before {
  content: "\f083";
}

.camera-logo {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome p {
  margin-top: 3vh;
  margin-bottom: 6vh;
  padding: 0 3rem;
  color: #5f5f5f;
  font-family: var(--catamaran);
  font-size: 16px;
  font-weight: 300;
  line-height: 31px;
  letter-spacing: 0.2px;
}

.welcome .img-text {
  padding: 0 15%;
}
.welcome .img-text img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.welcome .img-text h3 {
  padding: 1rem;
  color: #000000;
  font-family: var(--antic-didone);
  font-size: 21px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 2.9px;
}

/* services section */

.services {
  background-image: url("../images/bg1.jpg");
  background-position: center center;
  width: 100%;
  padding: 6% 9.5%;
  padding-bottom: 2%;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.services-wrap {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.services-wrap .service {
  width: 28%;
  display: flex;
  align-items: center;
  flex-direction: column;
  /* margin: 1% 1.8%; */
  margin-bottom: 1rem !important;
  margin-right: 1rem !important;
  background-color: #ffffff52;
  border-radius: 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease-out;
  padding-top: 3rem;
  opacity: 0;
  transform: translateY(70px);
}

.services-wrap .service:nth-child(even) {
  margin-right: 0;
  transition-delay: 0.5s;
  transform: translateY(100px);
}

/* remove delay for hover effect */
.services-wrap .service:hover {
  transition-delay: 0s;
}

.service img {
  width: 70%;
  height: auto;
  object-fit: cover;
}

.service h4 {
  padding: 2rem 0;
  color: #000000;
  font-family: var(--antic-didone);
  font-size: 1.56rem;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 34px;
  letter-spacing: 5px;
}

.service p {
  padding: 0 1.9rem;
  color: #5f5f5f;
  font-family: var(--catamaran);
  font-size: 1rem;
  font-weight: 200;
  font-style: normal;
  line-height: 28px;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service a {
  color: rgb(0, 98, 255);
  font-family: var(--catamaran);
  font-weight: 400;
  padding: 1rem 0;
}

/* about section */

.about {
  width: 100%;
  /* min-height: 50vh; */
}

.about .text-box {
  height: 25vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--antic-didone);
  font-size: 21px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 2.9px;
}

.about .about-flex {
  position: relative;
  display: table;
}

.about .text p {
  text-align: justify;
  font-family: var(--catamaran);
  font-size: 1rem;
  font-weight: 300;
}
.about .text button {
  background-color: #333;
  color: #ffffff;
  border: none;
  width: 100%;
  height: 2.5rem;
  border-radius: 3px;
  margin-top: 3rem;
  font-family: var(--catamaran);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
}
.about .text {
  background-color: #f5f5f5;
  color: #3a3a3a;
  display: table-cell;
  padding: 12% 5% 8% 5%;
  text-align: center;
}
.about-flex .img {
  background-color: #f5f5f5;
  width: 50%;
  height: 100%;
  display: table-cell;
  background: url("../images/owner.jpg");
  background-position: center center;
  background-size: cover;
}

.testimonials {
  margin-top: 10vh;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-direction: column;
}
/* Google Fonts - Poppins */

.container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonials h3 {
  color: #000000;
  font-family: var(--antic-didone);
  font-size: 1.31rem;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 2.9px;
  margin-bottom: 5vh;
}
.testimonial {
  position: relative;
  /* max-width: 900px; */
  width: 100%;
  padding: 25px 0;
  overflow: hidden;
}
.testimonial .image {
  width: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial .slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 10px;
  height: 100%;
  width: 100%;
}
.slide p {
  text-align: center;
  padding: 0 160px;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
}
.slide .quote-icon {
  font-size: 30px;
  color: #4070f4;
}
.slide .details {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.details .name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.details .job {
  font-size: 12px;
  font-weight: 400;
  color: #333;
}
/* swiper button css */
.nav-btn {
  cursor: pointer;
  height: 40px !important;
  width: 40px !important;
  border-radius: 50%;
  transform: translateY(30px);
  background-color: rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}
.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
.nav-btn::after,
.nav-btn::before {
  font-size: 16px !important;
  color: #000;
}
.swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.8);
}
.swiper-pagination-bullet-active {
  background-color: #4070f4;
}
.name {
  font-size: 20px !important;
  line-height: 22px !important;
  padding: 0 !important;
  margin: 8px 0 !important;
  font-weight: 600;
  font-family: var(--catamaran);
}
.container i {
  width: 30px;
  height: 35px;
  font-size: 30px;
  padding: 10px 0px;
}
.container em:before {
  content: "\201C";
  font-size: 4em;
  line-height: 0.1em;
  margin-left: 0.2em;
  vertical-align: -0.3em;
  color: #ccc;
}
.container em:after {
  content: "\201D";
  font-size: 4em;
  line-height: 0.1em;
  margin-left: 0em;
  vertical-align: -0.7em;
  color: #ccc;
}
footer {
  margin-top: 5vh;
  width: 100%;
  color: white;
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 0;
  }
  .slideshow {
    height: 25vh;
    padding: 0;
  }
  .controls {
    display: none !important;
  }

  .welcome {
    margin-bottom: 0;
    margin-top: 10vh;
  }
  .welcome h1,
  .services h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 2px;
    padding: 0 10px;
  }
  .welcome p {
    text-align: justify;
  }
  .divider {
    width: 70%;
  }
  .services-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .services-wrap .service {
    width: 100%;
    margin: 0;
    margin-bottom: 1rem;
  }
  .about .text-box br {
    display: none;
  }
  .about .text-box {
    padding: 3rem 2rem;
    height: max-content;
  }
  .about .about-flex {
    display: flex;
    flex-direction: column;
  }
  .about-flex .img {
    height: 50vh;
    width: 100%;
  }

  .testimonials h3 {
    text-align: center;
    margin-bottom: 0;
  }
  .slide p {
    padding: 0 20px;
  }
  .nav-btn {
    display: none !important;
  }
  .about .text p {
    font-size: 1rem;
  }

  .about .text button {
    width: 100%;
    height: 2.5rem;
    border-radius: 3px;
    margin-top: 1rem;
    font-family: var(--catamaran);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
  }
}
