* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  transition: 0.2s linear;
  scroll-behavior: smooth;
  border: none;
  outline: none;
  scroll-padding-top: 80px;
}
:root {
  /* ========================= FONTS =========================  */
  --fs14: 14px;

  --fs12: 12px;

  --fs108: 108px;

  --fs70: 70px;

  --fs79: 79px;

  --fs64: 64px;

  --fs48: 48px;

  --fs48: 64px;

  --fs36: 36px;

  --fs32: 32px;

  --fs28: 28px;

  --fs24: 24px;

  --fs20: 20px;

  --fs18: 18px;

  --fs16: 16px;

  --fs14: 14px;

  /* ========================= COLORS =========================  */
  --grey: #757575;

  --black: #171717;

  --second-black: #1e1e1e;

  --yellow: #ffcd37;

  --white: #ffffff;

  --purple: #e1d5e3;

  --first-green: #69f3c3;

  --pink: #ffa4a4;

  --light-pink: #ffc0c0;

  --violet: #7860ff;

  --second-green: #62ff00;

  --second-color: #313131;

  --third-color: #98adff;
}
body {
  font-family: "Poppins", sans-serif;
}
.active-scroll {
  overflow-y: hidden !important;
}
.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER ==================== */
header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 0;
  background-color: var(--white);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list {
  display: flex;
  align-items: center;
  gap: 25px;
}
.logo {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--black);
  font-size: var(--fs18);
  font-weight: 700;
}
.list-link {
  font-size: var(--fs14);
  color: var(--black);
  font-weight: 500;
}
.call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 21px;
  background-color: var(--black);
  border-radius: 20px;
  color: var(--white);
}
.call-btn:hover {
  background-color: rgb(255, 68, 0);
}

.burger {
  display: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 23px;
  height: 3px;
  background-color: var(--black);
  border-radius: 2px;
  margin: 5px 0;
}

.active_burger span {
  background-color: var(--black);
}
.active_burger span:nth-child(1) {
  transform: rotate(-45deg) translateY(6px);
}

.active_burger span:nth-child(3) {
  transform: rotate(45deg) translateY(-6px);
}

.active_burger span:nth-child(2) {
  display: none;
}
.hero-section {
  background-image: url("../img/bg.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-description {
  max-width: 960px;
  margin: 0 auto;
}
.hero-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.title-first-shape {
  font-size: clamp(var(--fs28), 10vw, var(--fs108));
  color: var(--black);
  position: relative;
  z-index: 1;
}
.title-first-shape::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.5em;
  height: 1.3em;
  background-color: var(--purple);
  border-top-right-radius: 100%;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  transform: rotateX(9.94deg);
  z-index: -1;
}
.title-shape {
  font-size: clamp(var(--fs28), 7vw, var(--fs70));
  padding: 5px 10px;
  border-radius: 32px;
  display: inline-block;
  text-align: center;
  margin: 0 5px;
}
.title-shape.one {
  width: 70%;
  background-color: var(--yellow);
}
.title-shape.two {
  color: var(--black);
}
.title-shape.three {
  background-color: var(--first-green);
}
.title-shape.four {
  background-color: var(--purple);
}
.title-shape.five {
  background-color: var(--pink);
}
.title-shape.one,
.title-shape.three,
.title-shape.five {
  color: var(--white);
}
.title-shape.three,
.title-shape.four,
.title-shape.five {
  width: auto;
}

.services {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb, #d4bfff, #a1c4fd);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  margin: 67px 0 80px 0;
  padding: 40px 20px;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.main-title {
  font-size: clamp(var(--fs32), 7vw, var(--fs64));
  color: var(--black);
  text-align: center;
  margin-bottom: 80px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
  align-items: center;
  text-align: center;
  gap: 25px;
}
.service-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  height: 324px;
  background: linear-gradient(135deg, #fceabb, #f8b500);
  border-radius: 30px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #171717;
}

.service-card:hover, .about-us:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card:nth-child(1) {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.service-card:nth-child(2) {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}

.service-card:nth-child(3) {
  background: linear-gradient(135deg, #fad0c4, #ffd1ff);
}

.service-card:nth-child(4) {
  background: linear-gradient(135deg, #cfd9df, #e2ebf0);
}
.service-card:nth-child(5) {
  background: linear-gradient(135deg, #a8edea, #fed6e3);
}
.service-card:nth-child(6) {
  background: linear-gradient(135deg, #fddb92, #d1fdff);
}
.service-title {
  font-size: clamp(var(--fs20), 7vw, var(--fs36));
  line-height: clamp(var(--fs20), 7vw, var(--fs36));
  color: var(--second-black);
  margin-bottom: 25px;
}
.service-text {
  font-size: var(--fs16);
  color: var(--second-black);
  max-width: 390px;
}

.about-us {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 75px 60px;
  border-radius: 26px;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  position: relative;
}
.about-us-title {
  font-size: clamp(var(--fs24), 6vw, var(--fs32));
  color: var(--second-black);
}
.about-us-text {
  color: var(--second-black);

  font-size: clamp(var(--fs16), 5vw, var(--fs20));
  max-width: 634px;
  font-weight: 400;
  margin-bottom: 65px;
}

.about-us-img {
  position: absolute;
  bottom: -30px;
  right: 0;
}
.about-us-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.about-us-list-item {
  color: var(--second-black);
  position: relative;
  font-size: var(--fs18);
  padding-left: 24px;
  font-weight: bold;
}
.about-us-list-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--second-green);
  border-radius: 50%;
  border: 4px solid var(--third-color);
}
.swiper {
  width: 100%;
  height: auto;
}

.commnet-slide {
  width: 500px;
  background-color: #b3c2ff;
  height: 400px;
  border-radius: 20px;
  padding: 20px;
}
.comment-title {
  font-size: var(--fs32);
  color: var(--black);
  text-align: center;
}
.comment-section {
  padding: 100px 0;
}
.pagination {
  position: relative;
  margin-top: 50px;
}
.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background-color: var(--third-color);
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}
section {
  margin-bottom: 50px;
}
.swiper-pagination-bullet-active {
  background-color: var(--third-color);
  opacity: 1;
}

.fon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  opacity: 0.5;
}

.portfolio {
  position: relative;
  background-image: url("../img/bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  padding: 100px 0;
}
.portfolio .main-title {
  color: var(--white);
}
.portfolio-slide {
  width: 550px;
  height: 500px;
}

.portfolio-slide > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 25px;
  object-fit: cover;
}
.portfolio-slide > .show-btn {
  display: none;
}
.swiper-slide-active .show-btn,
.swiper-slide-duplicate-active .show-btn {
  display: flex;
}
.show-btn {
  display: flex;
  align-items: center;
  gap: 27px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--yellow);
  padding: 16px;
  font-size: var(--fs24);
  color: var(--white);
  font-weight: bold;
  border-radius: 20px;
  border: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
/* ======================== FAQ ======================== */

details > * {
  padding: 20px;
}
summary {
  font-size: clamp(var(--fs16), 3vw, var(--fs24));
  font-weight: 800;
  color: var(--main-color);
  cursor: pointer;
  position: relative;
  border-top: 1px solid #eee;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
p {
  font-size: clamp(var(--fs16), 3vw, var(--fs20));
  color: var(--main-color);
  font-weight: 500;
}
.toggleBtn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs36);
  border: none;
  background-color: transparent;
  border-radius: 50%;
  color: #949494;
  cursor: pointer;
}
.toggleBtn:hover {
  background-color: #eee;
}
details::details-content {
  overflow: hidden;
  height: 0;
  transition: height 0.3s, content-visibility 600ms allow-discrete;
  transition-behavior: allow-discreate;
  interpolate-size: allow-keywords;
}

details[open]::details-content {
  height: auto;
}
.contact-form {
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  width: 500px;
  height: auto;
  background-color: #313131;
  padding: 30px 20px;
  border-radius: 20px;
}
.contact-title {
  font-size: clamp(var(--fs20), 7vw, var(--fs36));
  color: var(--white);
}
input {
  width: 100%;
  background-color: var(--white);
  padding: 20px 30px;
  border-radius: 50px;
  font-size: clamp(var(--fs16), 10vw, var(--fs18));
  font-family: "Poppins", sans-serif;
}
input::placeholder {
  font-size: clamp(var(--fs14), 5vw, var(--fs18));
}
.contact-btn {
  width: 100%;
  background-color: var(--yellow);
  border-radius: 50px;
  padding: 20px 20px;
  font-size: clamp(var(--fs18), 5vw, var(--fs24));
  color: var(--black);
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}
.contact-info {
  max-width: 100%;
  width: 500px;
  height: 410px;
  padding: 30px 20px;
  border-radius: 20px;
  color: var(--white);
}
.contact-wrapper .service-card{
  align-items: initial;
  text-align: center;
}
.contact-info-title {
  font-size: clamp(var(--fs20), 3vw, var(--fs36));
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.contact-info-link {
  display: flex;
  gap: 10px;
  color: var(--white);
  align-items: center;
}
.contact-info-item > img {
  width: 30px;
  height: 30px;
}
.socila-media {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-btn {
  width: 50px;
  height: 50px;
  background-color: var(--yellow);
  border-radius: 50%;
  text-align: center;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-wrapper:not(.is-active) * {
  pointer-events: none;
}
footer {
  background-color: var(--second-black);
  padding: 60px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand > .logo {
  color: var(--white);
}
.footer-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-btn img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-btn:hover img {
  transform: scale(1.2);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

@media (max-width: 1100px) {
  .about-us {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
    padding: 30px;
  }
  .about-us-text {
    margin-bottom: 25px;
  }
  .about-us-img {
    position: inherit;
  }
  .about-us-title {
    margin-bottom: 10px;
  }
}
@media (max-width: 970px) {
  .list {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 76px;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s linear ease-in;
    z-index: 4;
    gap: 18px;
    border-radius: 0 0 25px 25px;
    padding: 0 40px;
    background-color: var(--black);
  }
  .list-link {
    color: var(--white);
  }
  .active_navbar {
    max-height: 500px;
    padding: 30px 20px 43px;
  }
  .burger {
    display: block;
  }
  .call-btn {
    border-radius: 10px;
    padding: 10px;
    display: inherit;
    gap: initial;
  }
  .call-btn > span {
    display: none;
  }
  .mobile-list {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .hero-title {
    gap: 5px;
  }
  .service-cards {
    margin-top: 50px;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 15px;
  }
  .about-us-img > img {
    width: 100%;
  }
  .show-btn > img {
    width: 30px;
    height: 30px;
  }
  .show-btn {
    font-size: var(--fs18);
    gap: 10px;
  }
  .contact-wrapper {
    flex-direction: column;
  }
}
@media (max-width: 400px) {
  .logo {
    font-size: var(--fs16);
  }
  .container {
    padding: 0 12px;
  }
  .title-shape.one {
    width: auto;
  }
  .title-shape.five {
    font-size: var(--fs24);
  }
  .title-first-shape::before {
    display: none;
  }
  .about-us {
    padding: 15px;
  }
  .about-us-list-item {
    font-size: var(--fs16);
    text-align: left;
  }
  .services {
    padding: 20px 8px;
  }
  .show-btn {
    font-size: var(--fs16);
  }
}


