* {
  font-family: "Raleway", sans-serif;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

:root {
  --white: #fff;
  --main: #4c52b2;
  --dark: #212121;
  --lightMain: rgba(76, 83, 178, 0.8);
}

.phone__fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video {
  width: 100%;
  height: 320px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
}
@media screen and (min-width: 768px) {
  .video {
    height: 400px;
  }
}
@media screen and (min-width: 1024px) {
  .video {
    width: 70%;
    height: 540px;
  }
}
.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--main);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

html,
body {
  overflow-x: hidden;
}

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 20px;
}
@media screen and (min-width: 1540px) {
  .container {
    padding: 0;
  }
}

/* Global */
img {
  max-width: 100%;
  max-height: 100%;
}
.full__image {
  overflow: hidden;
}
.full__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
a {
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
.btn {
  color: var(--white);
  background-color: var(--main);
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  position: relative;
  z-index: 0;
  border: 3px solid var(--main);
  overflow: hidden;
  display: inline-block;
}
.btn::before {
  content: "";
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  background-color: var(--white);
  transition: all 0.5s linear;
}
.btn:hover {
  color: var(--main);
  border-color: var(--main);
}
.btn:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}
.sections {
  padding: 40px 0;
}
@media screen and (min-width: 992px) {
  .sections {
    padding: 120px 0;
  }
}
.sections__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (min-width: 576px) {
  .sections__content {
    gap: 4rem;
  }
}
@media screen and (min-width: 992px) {
  .sections__content {
    gap: 8rem;
  }
}

/* title */
.title {
  position: relative;
  z-index: 0;
  color: var(--dark);
  text-transform: uppercase;
}
.title.white {
  color: var(--white);
}
.title__main {
  font-size: 1.5rem;
  font-weight: 900;
}
@media screen and (min-width: 576px) {
  .title__main {
    font-size: 3rem;
  }
}
.title__inner {
  position: absolute;
  display: none;
  font-size: 5rem;
  line-height: 10rem;
  font-weight: 900;
  letter-spacing: 0.5rem;
  opacity: 0.1;
  z-index: -1;
}
@media screen and (min-width: 576px) {
  .title__inner {
    top: -50%;
    display: block;
  }
}
@media screen and (min-width: 992px) {
  .title__inner {
    font-size: 10rem;
    top: 0;
  }
}
/* title */

/* header */
header {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 10;
  width: 100%;
}
.header__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.header__content--logo {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.header__socials {
  display: none;
  gap: 0.9rem;
}
@media screen and (min-width: 1024px) {
  .header__socials {
    display: flex;
  }
}
.header__logo {
  width: 140px;
}
@media screen and (min-width: 576px) {
  .header__logo {
    width: 200px;
  }
}
.header__content--menu {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media screen and (min-width: 1024px) {
  .header__content--menu {
    display: flex;
  }
}
.header__content--menu a {
  color: var(--white);
  font-weight: 600;
}
.header__content--bars {
  background: transparent;
  border: none;
  cursor: pointer;
  display: block;
}
@media screen and (min-width: 1024px) {
  .header__content--bars {
    display: none;
  }
}

/* swiper */
.swiper__main {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.swiper__main .container {
  width: 100%;
}
.swiper__main::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: #000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.5;
}
.banner__content {
  padding: 120px 0;
  width: 100%;
}
@media screen and (min-width: 1024px) {
  .banner__content {
    padding-top: 160px;
    width: 50%;
  }
}
.banner__content--title {
  font-size: 2rem;
  font-weight: 900;
}
@media screen and (min-width: 992px) {
  .banner__content--title {
    font-size: 4.5rem;
  }
}
.banner__content--body {
  font-size: 1rem;
  padding: 1rem 0 2.5rem 0;
}
@media screen and (min-width: 576px) {
  .banner__content--body {
    font-size: 1.5rem;
  }
}
.banner__socials {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.3);
  padding: 1rem;
  border-radius: 1rem;
  width: 30%;
  margin-top: 2rem;
}
@media screen and (min-width: 576px) {
  .banner__socials {
    width: auto;
    flex-direction: column;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    position: absolute;
  }
}
/* swiper pagination */
.swiper-pagination-bullet {
  background-color: var(--white);
  width: 12px;
  height: 12px;
  opacity: 1;
  transition: all 0.3s linear;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 48px;
  border-radius: 16px;
  transition: all 0.3s linear;
}

/* swiper hover effects */
.swiper-slide .banner__content--title,
.swiper-slide .banner__content--body,
.swiper-slide .btn {
  opacity: 0;
  transform: translateY(-10px);
  transition: transform 0.3s linear, opacity 0.5s linear;
}
.swiper-slide .banner__content--title {
  transition-delay: 0.3s;
}
.swiper-slide .banner__content--body {
  transition-delay: 0.5s;
}
.swiper-slide .btn {
  transition-delay: 0.7s;
}
.swiper-slide.swiper-slide-active .banner__content--title,
.swiper-slide.swiper-slide-active .banner__content--body,
.swiper-slide.swiper-slide-active .btn {
  opacity: 1;
  transform: translate(0, 0);
}

/* about */
.about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--dark);
}
@media screen and (min-width: 992px) {
  .about__content {
    flex-direction: row;
    gap: 3rem;
  }
}
.about__content--text {
  flex: 1;
}
.about__content--title {
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
}
@media screen and (min-width: 576px) {
  .about__content--title {
    font-size: 2rem;
  }
}
.about__content--body,
.about__content--link {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 2rem 0 3rem 0;
}
.about__content--link {
  padding: 0;
}
.about__content--link a {
  font-size: 2rem;
  font-family: sans-serif;
  color: var(--main);
  font-weight: 900;
  padding: 0 0.5rem;
}
.about__content--images {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
}
@media screen and (min-width: 576px) {
  .about__content--images {
    gap: 1rem;
  }
}
.about__content--images .full__image {
  border-radius: 1rem;
}
.about__content--images .full__image:first-child {
  grid-area: 1 / 1 / 3 / 2;
}
.about__content--images .full__image:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}
.about__content--images .full__image:nth-child(3) {
  grid-area: 2 / 2 / 3 / 3;
}

/* sizes */
.sizes {
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}
.sizes::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #000;
  opacity: 0.4;
}
.sizes__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media screen and (min-width: 576px) {
  .sizes__content {
    gap: 3rem 0.5rem;
  }
}
.sizes__content--btn {
  flex: 0 0 100%;
  background: var(--lightMain);
  border: 2px solid transparent;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  transition: border 0.3s ease;
  cursor: pointer;
  min-height: 100px;
}
@media screen and (min-width: 576px) {
  .sizes__content--btn {
    font-size: 1.5rem;
    min-height: 200px;
    flex: 0 0 49%;
  }
}
@media screen and (min-width: 992px) {
  .sizes__content--btn {
    flex: 0 0 32%;
  }
}
.sizes__content--btn:hover {
  border-color: var(--white);
}

/* advantages */
.advantages__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.advantages__content--item {
  width: 100%;
  color: var(--dark);
}
@media screen and (min-width: 576px) {
  .advantages__content {
    justify-content: space-between;
    gap: 2rem;
  }
  .advantages__content--item {
    width: 280px;
  }
}
.advantages__content--item img {
  width: 60px;
}
@media screen and (min-width: 576px) {
  .advantages__content--item img {
    width: 100px;
  }
}
.advantages__content--title {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 0 0.5rem 0;
  text-transform: uppercase;
}
@media screen and (min-width: 576px) {
  .advantages__content--title {
    font-weight: 900;
  }
}
.advantages__content--body {
  font-size: 1rem;
  font-weight: 500;
}
.advantages__content--item:nth-child(2),
.advantages__content--item:nth-child(4) {
  padding-top: 0;
}
@media screen and (min-width: 576px) {
  .advantages__content--item:nth-child(2),
  .advantages__content--item:nth-child(4) {
    padding-top: 5rem;
  }
}

/* gallery */
.gallery__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.5rem;
}
@media screen and (min-width: 576px) {
  .gallery__content {
    gap: 1rem;
  }
}
.gallery__content--item {
  border-radius: 1rem;
}
.gallery__content--item:nth-child(1) {
  grid-area: 1 / 1 / 2 / 2;
}
.gallery__content--item:nth-child(2) {
  grid-area: 1 / 2 / 3 / 3;
}
.gallery__content--item:nth-child(3) {
  grid-area: 1 / 3 / 2 / 4;
}
.gallery__content--item:nth-child(4) {
  grid-area: 2 / 1 / 4 / 2;
}
.gallery__content--item:nth-child(5) {
  grid-area: 3 / 2 / 5 / 3;
}
.gallery__content--item:nth-child(6) {
  grid-area: 2 / 3 / 5 / 4;
}
.gallery__content--item:nth-child(7) {
  grid-area: 4 / 1 / 5 / 2;
}

/* partners */
.partners__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.partners__content img {
  width: 120px;
  opacity: 0.3;
  transition: opacity 0.3s linear;
}
@media screen and (min-width: 576px) {
  .partners__content {
    justify-content: space-between;
  }
  .partners__content img {
    width: 200px;
  }
}
.partners__content img:hover {
  opacity: 1;
}

/* sertificates */
.sertificates__content--images {
  flex: 1;
  width: 100%;
}
@media screen and (min-width: 992px) {
  .sertificates__content--images {
    width: 50%;
  }
}
.sertificate {
  width: 100%;
}
.sertificate img {
  width: 100%;
  height: 100%;
}
.swiper-button-prev,
.swiper-button-next {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: var(--white);
  background-color: var(--main);
  display: none;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem;
}
@media screen and (min-width: 576px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }
}

/* maps */
.maps__iframe {
  height: 240px;
  position: relative;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .maps__iframe {
    height: 500px;
  }
}

/* footer */
.footer__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__content--form {
  width: 98%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media screen and (min-width: 992px) {
  .footer__content {
    flex-direction: row;
    gap: 10rem;
  }
  .footer__content--form {
    width: 30%;
  }
}
input {
  width: 100%;
  padding: 1rem 0 1rem 10px;
}
input:focus,
textarea:focus {
  outline-color: var(--main);
}
textarea {
  width: 100%;
  padding: 1rem 0 1rem 10px;
  resize: none;
  height: 140px;
}
.footer__content--items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
.footer__content--item {
  display: flex;
  gap: 1rem;
}
.footer__content--item .footer__svg {
  width: 40px;
  text-align: center;
}
.footer__content--item p {
  color: var(--dark);
  opacity: 0.5;
  font-weight: 600;
}
.footer__content--item a {
  color: var(--main);
  font-weight: 700;
  font-size: 1.2rem;
}
@media screen and (min-width: 992px) {
  .footer__content--item a {
    font-size: 1.5rem;
  }
}
.footer__socials {
  display: flex;
  gap: 1rem;
}

/* offcanvas */
.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--white);
  z-index: 100;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.offcanvas.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.offcanvas__header {
  display: flex;
  justify-content: space-between;
}
.offcanvas button {
  border: none;
  background: none;
}
.offcanvas ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.offcanvas a {
  color: #212121;
  font-weight: 600;
}
.offcanvas__socials {
  display: flex;
  gap: 1rem;
}

/* modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 101;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: scroll;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
}

@media screen and (min-height: 520px) {
  .modal {
    align-items: center;
  }
}
.modal__header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0;
}
.modal button {
  background: none;
  border: none;
  cursor: pointer;
}
.modal__box {
  width: 100%;
  height: 500px;
  background-color: var(--white);
  padding: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  transform: scale(0);
  transition: transform 0.3s ease;
}
.modal.active .modal__box {
  transform: scale(1);
}
@media screen and (min-width: 992px) {
  .modal__box {
    width: 900px;
  }
}
.modal table {
  width: 800px;
}
.modal__table {
  width: 100%;
  height: 90%;
  overflow: scroll;
}
@media screen and (min-width: 992px) {
  .modal__table {
    width: 100%;
  }
  .modal table {
    width: 100%;
  }
}
.modal table tr th {
  background-color: var(--main);
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
}
.modal table tr td {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: sans-serif;
}
.modal table tr:nth-child(odd) {
  background-color: #ededed;
}

/* hover effects */
.link__hover {
  position: relative;
  z-index: 0;
}
.link__hover::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--white);
  right: 0;
  bottom: 0;
  position: absolute;
  transition: all 0.3s linear;
}
.link__hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}
.full__image:hover img {
  transform: scale(1.2, 1.2) rotate(5deg);
}
