/* Fonts */

@import url("https://fonts.googleapis.com/css2?family=Neuton&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap"); */

@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding, 50px);
}

body,
h1,
h2,
h3,
h4,
h5,
figure,
picture {
  margin: 0;
}

body {
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* Custom Properties */

:root {
  --clr-dark: 235 57% 24%;
  --clr-accent: 234 18% 69%;
  --clr-light: 220 20% 97%;
  --clr-grey: 225 6% 86%;
  --clr-yellow: 235, 36%, 70%;

  --fs-300: 1rem;
  --fs-400: 1.125rem;
  --fs-500: 1.75rem;
  --fs-700: 3.5rem;
}

/* Utility Classes */

/* Layout */
.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.grid {
  display: grid;
  gap: var(--gap, 1rem);
}

.container {
  padding-inline: 4em;
  margin-inline: auto;
  max-width: 80rem;
}

@media screen and (max-width: 560px) {
  .container {
    max-width: 100%;
    padding-inline: 0.5em;
  }
}

@media screen and (min-width: 1920px) {
  .container {
    max-width: 90rem;
  }
}

@media screen and (min-width: 2560px) {
  .container {
    max-width: 100rem;
  }
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-space, 1rem);
}

/* Background Colors */
.bg-dark {
  background-color: hsl(var(--clr-dark));
}
.bg-light {
  background-color: hsl(var(--clr-light));
}
.bg-accent {
  background-color: hsl(var(--clr-accent));
}
.bg-grey {
  background-color: hsl(var(--clr-grey));
}

.bg-yellow {
  background-color: hsl(var(--clr-yellow));
}

/* Typography */
.uppercase {
  text-transform: uppercase;
}

.ff-logo-serif {
  font-family: "Neuton", serif;
}
.ff-sans-serif-accent {
  font-family: "Raleway", sans-serif;
}
.ff-sans-serif {
  font-family: "Roboto", sans-serif;
}

.fs-300 {
  font-size: var(--fs-300);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-500 {
  font-size: var(--fs-500);
}
.fs-700 {
  line-height: 1.1;
  font-size: var(--fs-700);
}
.letter-spacing-2 {
  letter-spacing: 0.1em;
}

.text-dark {
  color: hsl(var(--clr-dark));
}
.text-accent {
  color: hsl(var(--clr-accent));
}
.text-light {
  color: hsl(var(--clr-light));
}
.text-grey {
  color: hsl(var(--clr-grey));
}
.text-yellow {
  color: hsl(var(--clr-yellow));
}

[hidden] {
  display: none;
}

/* Load Animation */

.loader-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: hsl(var(--clr-light));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loader {
  width: 40px;
  height: 40px;
  --c: no-repeat linear-gradient(#1a2060 0 0);
  background: var(--c), var(--c), var(--c), var(--c);
  background-size: 21px 21px;
  animation: l5 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}
@keyframes l5 {
  0% {
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  }
  33% {
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    width: 60px;
    height: 60px;
  }
  66% {
    background-position: 100% 0, 100% 100%, 0 100%, 0 0;
    width: 60px;
    height: 60px;
  }
  100% {
    background-position: 100% 0, 100% 100%, 0 100%, 0 0;
  }
}

/* Section's Name Style */

.section-name {
  padding-block-start: 3rem;
  padding-block-end: 0.5rem;
  position: relative;
  text-align: center;
}

.section-name h1 {
  font-size: 2.5rem;
  font-weight: bolder;
  color: hsl(var(--clr-dark));
  font-family: "Raleway", sans-serif;
}

.section-name h4 {
  position: absolute;
  top: 30%;
  font-size: 1em;
  color: hsl(var(--clr-accent));
}

@media screen and (max-width: 560px) {
  .section-name h1 {
    font-size: 2rem;
  }

  .section-name h4 {
    font-size: 1em;
  }
}

@media screen and (min-width: 570px) and (max-width: 900px) {
  .section-name h1 {
    font-size: 5vw;
  }

  .section-name h4 {
    font-size: 1em;
    top: 30%;
  }
}

/* Slider Button Style */

.slide-button {
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid hsl(var(--clr-dark));
  padding: 0.5em 1em;
  position: relative;
  margin-block: 1.25rem;
  font-weight: bolder;
  z-index: 1;
}

.slide-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.slide-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: hsl(var(--clr-yellow));
  transition: all 0.3s ease-in;
  z-index: -1;
}

.slide-button:hover::before {
  width: 100%;
}

/* First Page - Home*/

.main-page {
  flex-direction: column;
  align-items: center;
}

/* Slide Carousel */

.carousel {
  width: 100vw;
  height: 95vh;
  position: relative;
  margin-top: -10%;
}

.carousel > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
  transition-delay: 300ms;
}

.slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(50%);
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  background: none;
  border: none;
  font-size: 2rem;
  top: 50%;
  z-index: 9;
  transform: translateY(-50%);
  color: hsl(var(--clr-light));
  padding: 0 0.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

@media screen and (max-width: 560px) {
  .carousel-button {
    top: 70%;
  }
}

.carousel-button:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

.slide-text {
  position: absolute;
  inset: 0 0 0 0;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Navigation and Logo */

.primary-navigation {
  width: 100%;
  height: 6rem;
  align-content: center;
  justify-content: center;
  gap: 2em;
  padding-inline: 2em;
  z-index: 2000;
  position: sticky;
  top: 0;
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  background-color: rgba(0, 0, 0, 0.5);
}

.primary-navigation ul {
  list-style: none;
  align-items: center;
  justify-content: space-evenly;
  width: 60%;
  padding: 0;
  transition: all 300ms ease-in;
}

.mobile-menu-button {
  display: none;
}

.primary-navigation ul li a {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: clamp(0.8rem, 0.9vw, 1.2rem);
  font-weight: bold;
  cursor: pointer;
  position: relative;
  color: #fff;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: center;
  background: hsl(var(--clr-yellow));
  transition: transform 400ms linear;
}

.primary-navigation a:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  padding: 5px 10px;
  border: 2px solid hsl(var(--clr-yellow));
  border-radius: 10px;
  transform: scale(1.08);
  transition: transform 200ms ease, border 200ms ease;
}

.logo-section {
  width: 20%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.logo-section img {
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 0.5rem;
}

.logo-section h4 {
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 600;
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.4;
  color: #fff;
  font-family: "Raleway", sans-serif;
}

.mobile-menu {
  display: none;
}

.logo-section-scrolled {
  display: none;
}

.primary-navigation-scrolled {
  height: 4rem;
}

.navigation-list-scrolled {
  min-width: 100%;
}

/* First Page - Slogan */

.slide-text {
  gap: 0;
  justify-content: center;
  align-items: start;
  margin-left: 15%;
}

.slogan {
  font-family: "Raleway", sans-serif;
  /* margin: 0 auto; */
  font-size: 5.5vw;
  z-index: 2000;
  font-weight: 500;
  text-shadow: #000 2px 0 10px;
  padding-bottom: 2rem;
  text-align: left;
}

.slogan-small {
  width: 40%;
  text-align: left;
  line-height: 1;
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 2rem);
  text-shadow: #000 1px 0 10px;
  z-index: 3000;
}

.service-button {
  border: none;
  border-radius: 10px;
  padding: 0.8em 1.5em;
  cursor: pointer;
  color: hsl(var(--clr-dark));
  font-size: clamp(0.9rem, 0.8vw, 1.2rem);
  font-weight: bold;
  text-decoration: none;
  transition: transform 300ms ease-in, background 300ms ease-in;
}

.service-button:hover {
  background: hsl(var(--clr-light));
  color: hsl(var(--clr-dark));
  transform: scale(1.05);
}

@media screen and (max-width: 560px) {
  .logo-section {
    width: 50%;
  }

  .logo-section img {
    width: 50%;
  }

  .logo-section h4 {
    font-size: 2vw !important;
  }

  .slogan {
    font-size: 8vw;
  }

  .slogan-small {
    font-size: 4vw;
  }
}

@media screen and (max-width: 900px) {
  .primary-navigation {
    height: max-content;
    justify-content: space-around;
  }

  .primary-navigation ul {
    display: none;
  }

  .mobile-menu {
    display: flex;
    width: 40%;
    align-content: center;
    justify-content: flex-end;
    position: relative;
  }

  .dropdown-button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2em 2em;
  }

  .mobile-menu img {
    width: 2em;
  }

  .mobile-menu-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: hsl(var(--clr-light) / 0.8);
    backdrop-filter: blur(2px);
    visibility: hidden;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    transition: transform 150ms ease-in-out;
  }

  .mobile-menu-content[mobile-data-visible="true"] {
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-content ol {
    padding: 1em 1.5em;
    margin: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
  }

  .mobile-menu-content ol a {
    text-decoration: none;
    color: #000;
  }

  .primary-navigation a::after {
    display: none;
  }

  .logo-section-scrolled {
    display: flex;
  }

  .logo-section img {
    padding: 0.5em;
  }

  .logo-section h4 {
    font-size: 1.7vw;
  }
}

@media screen and (min-width: 1920px) {
  .primary-navigation ul {
    gap: 1.5rem;
    margin-inline: 2rem;
  }

  .primary-navigation {
    height: 6rem;
    padding-inline: 2em;
  }

  .primary-navigation-scrolled {
    height: 4rem;
  }
}

@media screen and (min-width: 2560px) {
  .primary-navigation ul {
    gap: 2rem;
    margin-inline: 3rem;
  }

  .primary-navigation {
    height: 7rem;
    padding-inline: 3em;
  }

  .primary-navigation-scrolled {
    height: 5rem;
  }
}

/* Second Page - About Company */

.section-two {
  background: #fff;
}

.about-page {
  gap: 3rem;
  align-items: center;
  justify-content: space-around;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.about-text {
  width: 50%;
}

.about-list {
  list-style: circle;
  margin-inline: 0;
  padding-inline: 0;
}

.about-list li {
  color: hsl(var(--clr-dark));
  font-family: "Roboto", sans-serif;
}
/* .about-text-section {
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
} */

@media screen and (max-width: 560px) {
  .about-page {
    flex-wrap: wrap;
    gap: 0;
  }
}

.about-text-section h2 {
  margin-top: 2em;
}

.about-text-section p {
  font-size: var(--fs-300);
  line-height: 1.5;
  text-align: justify;
  margin-block: 0.5rem;
}

@media screen and (max-width: 560px) {
  .about-img-section img {
    margin-top: 0;
    padding-block: 1em;
  }
}

@media screen and (min-width: 560px) and (max-width: 900px) {
  .about-img-section img {
    width: 100%;
    margin-top: 8rem;
  }

  .about-text-section p {
    line-height: 1;
  }
}

@media screen and (min-width: 2560px) {
  .about-text-section p,
  .about-text-section h2 {
    font-size: 1.5em;
  }

  .about-img-section img {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
  .about-stats h1 {
    font-size: 2em;
  }

  .about-stats h5 {
    font-size: 0.6em;
  }
}

/* Third Page - Services */

.section-three {
  background: rgba(222, 223, 227, 0.8);
  padding-top: 1rem;
}

.section-three .section-name {
  padding-top: 4em;
}

.section-three .section-name h4 {
  top: 40%;
}

.services-page {
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
  justify-content: center;
  align-items: center;
  padding-bottom: 2rem;
}

.services-page h3 {
  font-weight: normal;
  text-align: center;
  margin-bottom: 1.5rem;
}

.services-buttons-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
}

.services-buttons-section button {
  cursor: pointer;
  border: 0;
  font-size: 1.15rem;
  font-weight: lighter;
  white-space: nowrap;
  transition: color 300ms;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: transparent;
  letter-spacing: 1px;
}

.services-buttons-section button i {
  font-size: 1.4em;
  pointer-events: none;
}

.services-buttons-section button:hover {
  color: hsl(var(--clr-yellow));
}

@media screen and (max-width: 50rem) {
  .services-buttons-section button {
    font-size: 1rem;
  }
}

.services-buttons-section button:focus {
  color: hsl(var(--clr-yellow));
}

.services-description-container {
  align-items: center;
  justify-content: space-between;
  height: max-content;
  width: 100%;
  height: 50vh;
  margin-top: 1rem;
  margin-bottom: 3rem;
  padding-block: 1rem;
  overflow: hidden;
  gap: 1em;
  background: transparent;
}

.img-container {
  width: 60%;
}

.img-container img {
  aspect-ratio: 1 / 1;
  object-fit: fill;
}

.services-description {
  width: 40%;
  height: 50vh;
  padding: 2em;
  margin-right: 1.2em;
  background: hsl(var(--clr-yellow));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.services-description p {
  text-align: justify;
  line-height: 1.3;
  width: 100%;
  flex-shrink: 1;
}

.services-description a {
  text-decoration: none;
}

.services-description i {
  padding-left: 0.5rem;
  font-size: 1em;
}

@media screen and (max-width: 560px) {
  .services-description-container {
    flex-wrap: wrap-reverse;
    width: 100%;
    height: max-content;
    margin-bottom: 0;
  }

  .services-description-container img {
    width: 100%;
  }

  .img-container {
    width: 100%;
  }

  .services-description {
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 450px) {
  .services-description {
    height: 40vh;
  }

  .services-description p {
    font-size: 0.7em;
  }
}

@media screen and (min-width: 570px) and (max-width: 820px) {
  .services-description-container {
    flex-wrap: wrap-reverse;
    width: 100%;
    margin-bottom: 0;
  }
  .services-description-container img {
    width: 100%;
  }
  .img-container {
    width: 100%;
  }

  .services-description {
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 900px) {
  .services-description-container {
    height: 100%;
  }

  .services-description,
  .img-container {
    height: 30vh;
  }
}

@media screen and (min-width: 2560px) {
  .services-page h3,
  .services-description p {
    font-size: 1.5em;
  }
}

.file-size {
  display: inline;
}

/* Fourth Page - Projects */

.section-four {
  background: #fff;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.projects-page {
  padding-top: 0;
}

#projects-section-name {
  text-align: center;
  margin: 0 auto;
}

.project-areas-list {
  padding-inline: 4em;
  max-width: 80rem;
  margin-inline: auto;
}

@media screen and (max-width: 560px) {
  #projects-section-name,
  .project-areas-list {
    max-width: 100%;
    padding-inline: 0.5em;
  }
}

@media screen and (min-width: 1920px) {
  #projects-section-name,
  .project-areas-list {
    max-width: 90rem;
  }
}

@media screen and (min-width: 2560px) {
  #projects-section-name,
  .project-areas-list {
    max-width: 100rem;
  }
}

.project-areas-list {
  list-style: none;
  align-items: center;
  justify-content: space-around;
  margin-top: 3rem;
  cursor: pointer;
  padding: 0;
}

.project-areas-list a {
  position: relative;
  font-size: 1.2rem;
  text-align: center;
}

@media screen and (max-width: 560px) {
  .project-areas-list {
    flex-direction: column;
  }

  .project-areas-list a {
    font-size: 1rem;
  }
}

@media screen and (min-width: 570px) and (max-width: 820px) {
  .project-areas-list {
    padding-inline: 3rem;
  }
}

.project-areas-list a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 2px;
  width: 0;
  background: hsl(var(--clr-yellow));
  transition: width 300ms linear;
}

.project-areas-list a:hover {
  color: hsl(var(--clr-yellow));
}

.project-areas-list a:hover::after {
  width: 100%;
}

.project-areas-list a:active,
.project-areas-list a:focus:active {
  color: hsl(var(--clr-yellow));
}

.project-areas-list a:focus {
  color: hsl(var(--clr-yellow));
}

.swiper-nav-btn {
  cursor: pointer;
}

.swiper-nav-btn::after,
.swiper-nav-btn::before {
  font-size: 0.9em;
  color: hsl(var(--clr-yellow));
}

.projects-container {
  width: 100%;
  height: 100%;
  margin: 3em 0;
}

.projects-slide-container {
  margin: 0 30px;
  overflow: hidden;
}

@media screen and (min-width: 2560px) {
  .projects-slide-container {
    margin: 0 auto;
    width: 90%;
  }
}

.project-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

#single-project-card {
  max-width: 50%;
  margin: 0 auto;
  height: 100%;
}

.project-card h2 {
  padding-bottom: 1rem;
  font-weight: lighter;
  line-height: 1.2;
  font-size: 1.3em;
  text-align: center;
}

.card-content-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

.project-description {
  width: 45%;
  padding-inline-start: 2rem;
}

.project-description p {
  font-size: clamp(0.9em, 1vw, 1.3rem);
  line-height: 1.3;
  text-align: left;
  font-weight: normal;
}

.projects-img-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
  width: 55%;
  position: relative;
}

.projects-img-gallery i {
  top: 88%;
  background: hsl(var(--clr-yellow));
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  position: absolute;
  transform: translateY(-50%);
  z-index: 1;
}

.projects-img-gallery i:first-child {
  left: -23px;
  display: none;
}

.projects-img-gallery i:last-child {
  right: -23px;
}

@media screen and (max-width: 900px) {
  .projects-img-gallery i {
    top: 90%;
  }
}

@media screen and (min-width: 1920px) {
  .projects-img-gallery i {
    top: 90%;
  }
}

@media screen and (min-width: 2560px) {
  .projects-img-gallery i {
    top: 90%;
  }
}

.small-images {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.small-images img {
  height: 80px;
  width: 100px;
  margin: 10px 0;
  cursor: pointer;
  opacity: 0.7;
}

.small-images img:hover {
  opacity: 1;
}

.one-image img {
  height: 40vh;
  width: auto;
  object-fit: fill;
}

@media screen and (min-width: 1920px) {
  .one-image img {
    height: 35vh;
  }
}

@media screen and (min-width: 2560px) {
  .one-image img {
    height: 28vh;
  }
}

@media screen and (max-width: 1024px) {
  .projects-gallery {
    padding-top: 2em;
    margin: 0;
    width: 100%;
  }

  .card-content-wrapper {
    flex-direction: column;
  }

  .project-description {
    width: 100%;
    padding-inline: 0.5rem;
    padding-block: 1rem;
    text-align: justify;
  }

  .projects-img-gallery {
    width: 100%;
  }

  .one-image img {
    width: 100%;
    object-fit: fill;
  }
}

@media screen and (max-width: 400px) {
  .project-card {
    height: 100%;
  }
}

@media screen and (min-width: 400px) and (max-width: 560px) {
  .project-card {
    height: 100vh !important;
  }
}

@media screen and (max-width: 900px) {
  #single-project-card {
    max-width: 100%;
  }
}

/* Clients Section */

.clients {
  height: max-content;
  background: hsl(var(--clr-dark));
  display: flex;

  align-items: center;
  justify-content: center;
  /* padding-inline: 3em; */
}

.about-stats-clients {
  gap: 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding-top: 4.5rem;
  padding-bottom: 4.5rem;

  width: 100%;
}

.clients-text h5 {
  font-size: clamp(0.9em, 1vw, 1.3rem);
  font-weight: normal;
}

.about-stats-clients h1 {
  /* text-align: left; */
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 2.5em;
  color: hsl(var(--clr-light));
}

.clients-img-gallery {
  display: flex;
  flex: 1;
  gap: 2rem;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.clients-img-gallery img {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  width: 15%;
  /* margin-block-end: 1rem; */
  transition: transform 250ms ease-in-out;
  justify-self: center;
}

.clients-img-gallery img:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 560px) {
  .about-stats-clients {
    flex-direction: column;
  }

  .clients-img-gallery {
    width: 100%;
    column-gap: 0.5rem;
  }

  .clients-img-gallery img {
    width: 25%;
  }

  .about-stats-clients h2 {
    font-size: 1.3em;
  }

  .clients-text {
    width: 100%;
  }
}

@media screen and (max-height: 700px) {
  .about-stats-clients {
    height: max-content;
  }
}

@media screen and (min-width: 570px) and (max-width: 820px) {
  .about-stats-clients {
    gap: 2rem;
  }

  .clients-img-gallery {
    column-gap: 0.2rem;
  }

  .clients-img-gallery img {
    width: 25%;
  }
}

@media screen and (min-width: 570px) and (max-width: 1024px) {
  .about-stats-clients {
    flex-direction: column;
  }

  .clients-text {
    width: 80%;
    text-align: justify;
  }

  .clients-img-gallery img {
    width: 25%;
  }
}

@media screen and (min-width: 1100px) {
  .clients-img-gallery img {
    width: 150px;
  }

  .about-stats-clients {
    gap: 4rem;
  }
}

/* Our Team */

.section-five {
  background: hsl(var(--clr-light));
  padding-top: 2rem;
  padding-bottom: 5em;
}

.team-container {
  max-width: 1120px;
  width: 100%;
  height: 100%;
  padding: 40px 0;
}

.team-slide-container {
  margin: 0 30px;
  overflow: hidden;
  width: 100%;
}

.team-section-text {
  text-align: center;
  width: 80%;
  line-height: 1.5;
  padding-bottom: 3rem;
  padding-top: 2rem;
  margin: 0 auto;
}

@media screen and (min-width: 2560px) {
  .section-seven p {
    font-size: 1.5em;
  }
}

.team-card {
  align-items: center;
  background: hsl(var(--clr-accent) / 0.7);
  color: hsl(var(--clr-dark));
  border-radius: 10px;
  padding: 1em 2em;
  gap: 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: transform 300ms ease-in, background 300ms ease-in,
    color 300ms linear;
}

.swiperNav-btn {
  background: hsl(var(--clr-yellow));
  border-radius: 50%;
  height: 40px !important;
  width: 40px !important;
}

.swiperNav-btn::before,
.swiperNav-btn::after {
  font-size: 1.2rem !important;
  font-weight: bolder;
  color: hsl(var(--clr-dark));
}

.team-card-content {
  padding: 1rem 0;
}

.team-card-image {
  position: relative;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid hsl(var(--clr-dark) / 0.4);
  margin: auto;
}

.team-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover {
  transform: scale(1.02);
  background: hsl(var(--clr-grey));
  color: hsl(var(--clr-dark));
}

.team-card-text {
  text-align: center;
  padding-top: 0;
  margin-top: 0;
  white-space: normal;
}

.team-card-text h3 {
  font-family: "Oswald", sans-serif;
  font-weight: bolder;
  font-size: 1.25em;
  width: 100%;
  margin-bottom: 0;
  text-align: center;
  padding-top: 0.5em;
  position: relative;
  line-height: 1.1;
}

.team-card-text h3::after {
  content: "";
  height: 2px;
  width: 150px;
  background: hsl(var(--clr-yellow));
  position: absolute;
  inset: 110% 0 0 0;
  margin: 0 auto;
}

.team-card-text p {
  font-family: "Lato", sans-serif;
  font-size: 0.9em;
  line-height: 1.3;
  width: 100%;
}

@media screen and (max-width: 560px) {
  .team-image-gallery {
    padding-block-end: 2rem;
  }
}

/* Section Six - Why Choose Us */

.section-six {
  width: 100%;
}

.left-section {
  width: 50%;
  background: url("images/Снимок экрана 2022-12-23 в 18.32.46.png") bottom
    center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.points-box-wrapper {
  background: hsl(var(--clr-dark) / 0.8);
  padding: 5em 4em;
  border-radius: 10px;
}

.points-box-wrapper ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2em;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  text-align: justify;
}

#points-span {
  color: hsl(var(--clr-yellow));
  margin-inline-end: 0.5rem;
}

.points-box-wrapper li {
  font-size: 1.5em;
  font-weight: regular;
}

.right-section {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 3rem;
}

.points-text-wrapper {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.points-text-wrapper p {
  font-weight: bolder;
  font-size: 1em;
  text-align: justify;
  line-height: 1.2;
}

@media screen and (max-width: 560px) {
  .section-six {
    flex-wrap: wrap-reverse;
  }

  .left-section {
    width: 100%;
  }

  .points-box-wrapper li {
    font-size: 1em;
  }

  .right-section {
    width: 100%;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .points-text-wrapper p {
    margin: 0.5rem;
  }
}

@media screen and (min-width: 1920px) {
  .rigth-section {
    gap: 2rem;
  }

  .points-text-wrapper p {
    font-size: 1.2em;
  }

  .points-box-wrapper li {
    font-size: 1.5em;
  }

  .points-text-wrapper h3 {
    font-size: 1.5em;
  }
}

@media screen and (min-width: 2560px) {
  .rigth-section {
    gap: 2rem;
  }

  .points-text-wrapper p {
    font-size: 1.5em;
  }

  .points-box-wrapper li {
    font-size: 1.8em;
  }

  .points-text-wrapper h3 {
    font-size: 2em;
  }
}

/* Page Seven - Contacts */

.section-seven {
  background: hsl(var(--clr-light));
  padding-top: 2rem;
}

.contacts-top {
  width: 100%;
  gap: 4em;
  justify-content: space-evenly;
  align-items: flex-start;
  padding-top: 1em;
  padding-bottom: 3em;
  margin-block-start: 2rem;
}

.map p {
  margin-top: 2rem;
}

/* Contact Form */

.form-wrapper {
  width: 50%;
  height: 60%;
}

@media screen and (max-width: 560px) {
  .contacts-top {
    flex-wrap: wrap;
  }
  .form-wrapper {
    width: 100%;
  }
}

b {
  display: block;
  text-align: left;
  margin: 0 0 20px;
  font-size: 1.15em;
}

.form {
  backdrop-filter: blur(10px);
  border-radius: 10px;

  display: grid;
  grid-template-rows: repeat(2, 6em) 1fr 3em;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: center;
}

.form-message {
  grid-area: 3 / 1 / 3 / 3;
}

.form-button {
  grid-area: 4 / 1 / 4 / 3;
  align-self: center;
  justify-self: start;
  padding-block-start: 20px;
}

.form-control {
  position: relative;
}

.form-control label {
  color: hsl(var(--clr-dark));
  display: block;
  margin-bottom: 5px;
  font-family: "Lato", sans-serif;
  font-size: 0.952em;
  font-weight: bolder;
}

.form-control input,
.form-control textarea {
  border: none;
  border-bottom: 2px solid hsl(var(--clr-dark));
  display: block;
  width: 100%;
  padding-block: 10px;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  background: transparent;
}

.form-control input:focus,
.form-control textarea:focus {
  outline: 0;
  border-color: hsl(var(--clr-yellow));
}

.form-control.error input {
  border-color: rgb(168, 14, 14);
}

.form-control small {
  color: rgb(168, 14, 14);
  position: absolute;
  bottom: -5%;
  left: 0;
  visibility: hidden;
}

.form-control.error small {
  visibility: visible;
}

.form button {
  cursor: pointer;
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-accent));
  display: block;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px;
  width: 30%;
  border-radius: 10px;
  transition: transform 300ms ease-in, background-color 300ms ease-in;
}

.form button:hover {
  background-color: #fff;
  transform: scale(1.05);
}

.adress-wrapper {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding-block: 1.8em;
  font-size: 0.9em;
}

.contact-box {
  color: hsl(var(--clr-dark));
  font-family: "Lato", sans-serif;
  margin-block: 0.5em;
}

.contact-box .icon {
  padding-inline: 1.5em;
  font-size: 1.3em;
}

.contact-box .contact-text {
  padding-inline-end: 2em;
  line-height: 1.5;
  font-size: 1.08em;
}

.contact-text p {
  margin-block: 0;
}

.adress {
  height: 60%;
  width: 50%;
  border-right: 2px solid hsl(var(--clr-accent));
}

.map {
  width: 100%;
}

@media screen and (max-width: 560px) {
  .adress {
    width: 100%;
  }

  .map iframe {
    width: 100%;
  }
}

@media screen and (min-width: 570px) and (max-width: 820px) {
  .form-wrapper {
    width: 100%;
  }

  .adress {
    width: 50%;
  }

  .map iframe {
    width: 100%;
  }
}

.contact-box:nth-child(1) {
  margin-bottom: 0.8em;
}

/* Footer */

.row {
  flex-wrap: wrap;
  justify-content: space-between;
}

@media screen and (max-width: 560px) {
  .row {
    justify-content: center;
    padding-top: 1rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 1rem;
  min-width: 10vw;
  margin-block-start: 1.5rem;
}

.footer-col-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 100px;

  object-fit: contain;
  padding-top: 2rem;
}

.footer-logo img {
  height: 100%;
  border-radius: 50%;
}

.footer-col-img p {
  font-family: "Raleway", sans-serif;
  font-size: 1.2rem;
  max-width: 200px;
  text-align: justify;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 1.5em;
}

.footer-col h4 {
  margin-block-end: 1.5em;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.2pc;
}

.footer-col {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-family: "Roboto", sans-serif;
}

.footer-col ul {
  list-style: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.footer-col li > a {
  text-decoration: none;
  color: hsl(var(--clr-dark));
  font-weight: lighter;
  font-size: 1em;
  transition: color 200ms linear;
}

.footer-col li > a:hover {
  color: hsl(var(--clr-light));
}

.footer-col .contact-box {
  margin-block: 0.3rem;
}

.footer-contacts .contact-text {
  padding: 0;
  margin: 0.1em;
}

.footer-contacts .contact-text h5 {
  font-family: "Lato", sans-serif;
  font-size: 0.9em;
}

.footer-contacts .contact-text p {
  font-weight: lighter;
  font-size: 0.8em;
}

.footer-contacts .icon {
  padding-inline: 0.2em;
}

.social-links {
  display: flex;
  gap: 1em;
}

.social-links a {
  color: hsl(var(--clr-dark));
  font-size: 1.5em;
  transition: color 200ms linear;
}

.social-links a:hover {
  color: hsl(var(--clr-light));
}
