@import url("https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=DM+Serif+Text:ital@0;1&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

html,
body {
  font-family: "Caudex", serif;
  height: 100%;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 110px 100px;
  max-width: 100vw;
}

@media (max-width: 1000px) {
  section {
    padding: 100px 50px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 125px 30px;
  }
}

/* HEADER SEACTION  */

.navigation {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease-in-out;
  padding: 20px 7%;
  max-width: 100%;
}

.logo img {
  max-width: 250px;
}

nav {
  display: flex;
}

nav ul {
  display: flex;
}

.nav-links li {
  margin-right: 25px;
  font-weight: 500;
}

.nav-links a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
}

#menu-icon {
  font-size: 1.875rem;
  color: #fff;
  margin-left: 10px;
  z-index: 10001;
  cursor: pointer;
  display: none;
}

@media screen and (max-width: 800px) {
  /* HEADER SECTION TABLET */

  #menu-icon {
    display: initial;
  }

  .nav-links {
    position: absolute;
    top: -1000px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #545454;
    transition: all 0.5s ease;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem;
    margin: 1rem;
    color: #f1f1f1;
    font-weight: 500;
    border-left: 3px solid #f1f1f1;
  }

  .nav-links.open {
    top: 0;
  }
}

@media screen and (max-width: 430px) {
  .nav-icons i {
    font-size: 1rem;
  }

  .logo img {
    max-width: 150px;
  }
}

/* BOX SECTION */

.box {
  position: relative;
  justify-content: center;
  min-height: 100vh;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
}

.box video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.box h1 {
  margin-bottom: 15px;
  font-size: 65px;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.box a.boxBtn {
  padding: 15px 35px;
  background: transparent;
  border-radius: 50px;
  color: #fff;
  text-transform: uppercase;
  border: 3px solid #fff;
  transition: all 0.5s;
}

.box a.boxBtn:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 800px) {
  .box h1 {
    font-size: 32px;
  }

  .box a.boxBtn {
    padding: 7px 30px;
    border: 2px solid #fff;
  }
}

@media (max-width: 470px) {
  .box h1 {
    font-size: 26px;
  }

  .box a.boxBtn {
    padding: 7px 30px;
    border: 2px solid #fff;
  }
}

/* ABOUT SECTION  */

.about {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section {
  background: url(/images/about.jpg) no-repeat left;
  background-size: 55%;
  background-color: #f1f1f1;
  overflow: hidden;
  padding: 3% 0;
}

.inner-container {
  width: 55%;
  float: right;
  background-color: #fdfdfd;
  padding: 80px;
}

.inner-container h1 {
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 900;
}

.text {
  font-size: 13px;
  color: #545454;
  line-height: 20px;
  text-align: justify;
  margin-bottom: 40px;
}

.skills {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
}

.about a {
  color: inherit;
}

@media screen and (max-width: 1200px) {
  .about-section {
    padding: 0;
  }
  .inner-container {
    padding: 80px;
  }
}

@media screen and (max-width: 1000px) {
  .about-section {
    background-size: 100%;
    padding: 40px 40px;
  }
  .inner-container {
    width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .about-section {
    padding: 0;
  }
  .inner-container {
    padding: 60px;
  }
}

/* VIDEO SECTION */

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(49vw, 1fr));
  grid-template-rows: 1fr 1fr;
  width: 100%;
  flex: 1;
  gap: 1px;
}

.video-container .video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container .video video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  outline: none;
  cursor: pointer; /* changed from pointer */
  display: block;
  overflow-x: hidden;
  filter: grayscale(0.5);
  transition: filter 0.5s ease-in-out;
}

.video-container .video video:hover {
  filter: grayscale(0);
}

@media screen and (max-width: 1000px) {
  .video-container {
    grid-template-columns: repeat(auto-fill, minmax(100vw, 1fr));
  }
}

/* SWIPER  */

.swiper-container h3 {
  font-size: 30px;
}

.swiper-container {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdfdfd;
}
.testimonial {
  position: relative;
  max-width: 1000px;
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
}
.testimonial .slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 30px;
  height: 100%;
  width: 100%;
}
.slide p {
  text-align: center;
  padding: 0 100px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.5rem;
}
.slide .quote-icon {
  font-size: 60px;
  color: #545454;
}
.slide .details {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.details .name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}
.details .data {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}
.swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.8);
}
.swiper-pagination-bullet-active {
  background-color: #545454 !important;
}
@media screen and (max-width: 768px) {
  .swiper-container h3 {
    font-size: 26px;
  }
  .slide p {
    padding: 0 20px;
  }
  .slide .quote-icon {
    font-size: 40px;
  }
}

/* FOOTER SECTION */

.footer {
  width: 100%;
  background: #f1f1f1;
  text-align: center;
  padding: 30px 10%;
  bottom: 0;
  height: auto;
}

.footer-contact {
  text-align: left;
}

.footer img {
  max-width: 300px;
}

.footer p {
  font-size: 13px;
  color: #545454;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
}

.footer h2 {
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
}

.footer button {
  padding: 7px 15px;
  background: transparent;
  border-radius: 50px;
  color: #000;
  text-transform: uppercase;
  border: 1px solid #000;
  transition: all 0.5s;
  cursor: pointer;
  font-family: "Caudex", serif;
}

.footer button:hover {
  background: #000;
  color: #f1f1f1;
}

.footer a {
  color: inherit;
}

.policy {
  display: flex;
  justify-content: center;
  font-size: 12px;
  background: #f1f1f1;
}

.policy a {
  margin: 15px 30px;
  color: #545454 !important;
}

.policy a:hover {
  color: #000 !important;
  transition: all 0.4s ease;
}

.copyright {
  background: #545454;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #f1f1f1;
  padding: 3px 0;
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 20px 5%;
  }
  .footer img {
    max-width: 200px;
  }

  .footer p {
    font-size: 12px;
    line-height: 20px;
  }

  .footer h2 {
    font-size: 16px;
  }

  .footer button {
    padding: 6px 12px;
  }

  .policy {
    font-size: 10px;
  }

  .policy a {
    margin: 10px 15px;
  }

  .copyright {
    font-size: 10px;
    padding: 3px 0;
  }
}
