@import url(normalize.css);
@import url(fonts.css);
@import url(variables.css);
@import url(typograpy.css);
@import url(btn.css);

.h2-m {
  font-size: clamp(48px, 5vw, 60px);
}

body {
  overflow-x: hidden;
}

button {
  cursor: pointer;
}

.d-f {
  display: flex;
}

.xs {
  display: none;
}

.content {
  max-width: 1216px;
  margin: auto;
}

.main {
  overflow: hidden;
  position: relative;
  padding: 100px 16px 0;

  background-color: #F5F8FF;
  z-index: 1;
}

.main::after,
.main::before {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background-repeat: no-repeat;
  z-index: -1;
}

.main::before {
  top: -23%;
  right: -29%;
  left: auto;
  background-position: center;
  background-image: url(../img/top.png);

}

.main::after {
  bottom: 0;
  background-image: url(../img/bottom.png);
  background-position: bottom center;
}

@media (min-width:1921px) {
  .main::after {
    background-size: 100%;
  }
}

.header {
  position: absolute;
  width: 100%;
  z-index: 2;
}

.header__content {
  padding: 16px;
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: center;
}

.header .logo-wrap {
  top: 34px;
  position: absolute;
}

.nav__wrap {
  padding: 22px 46px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  outline: 1px solid #FFFFFF;
  background-color: #FFFFFF99;
  border-radius: 20px;
  backdrop-filter: blur(24px)
}

.nav__item {
  font-family: 'Mulish';
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
  text-decoration: none;
}

.nav__item.active {
  font-weight: 700;
  color: var(--DarkBlue);
}

.hero__title {
  max-width: 952px;
  text-align: center;
  margin-bottom: 36px;
}

.hero__content {
  padding: 88px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero__content .btn {
  width: 210px;
}

.our-projects {
  position: relative;
  z-index: 1;
}

.our-projects::after {
  pointer-events: none;
  position: absolute;
  top: 17%;
  left: 0;
  content: '';
  width: 100%;
  height: 75%;
  background-image: url(../img/spark.png);
  background-color: #F5F8FF;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: color-burn;
  transform: rotate(180deg);
  z-index: -1;
}

.our-projects__content {
  position: relative;
  max-width: 100%;
  padding: 68px 0 64px;
}

.our-projects__title {
  text-align: center;
}

.our-projects__subtitle {
  text-align: center;
  margin: 16px 0;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
}


.contact__content {
  padding: 120px 0;
}

.contact__title,
.contact__subtitle {
  text-align: center;
  margin-bottom: 16px;
}

.contact__subtitle {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
}

.form__wrap {
  padding-top: 32px;
  max-width: 696px;
  margin: auto;
}

.form__contorl {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form__input_name {
  padding: 0px 8px 10px;
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  line-height: 21.6px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--DarkBlue);
}

.input {
  width: 100%;
  height: 68px;
  padding: 0 32px;
  border: none;
  outline: 1px solid var(--GraySeparator);
  border-radius: 10px;
  font-family: Inter;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Black);
  background-color: transparent;
}

.textarea {
  padding: 24px 32px;
  resize: none;
  min-height: 222px;
}

.form__contorl .btn {
  margin-top: 8px;
  height: 60px;
}

.contact {
  position: relative;
  z-index: 1;
}

.contact::after {
  pointer-events: none;
  position: absolute;
  top: 25px;
  right: 47px;
  content: '';
  width: 50%;
  height: 30%;
  z-index: -1;
  background-image: url(../img/spring-2.png);
  background-blend-mode: color-burn;
  background-repeat: no-repeat;
  background-position: right top;
  background-color: #F5F8FF;
  z-index: -1;
}

@media (min-width:1921px) {
  .contact::after {
    right: 25%;
  }
}

.footer {
  padding-bottom: 120px;
}

.footer .logo-wrap {
  position: relative;
  margin-bottom: 38px;
  max-width: 223px;
  width: 100%;
}

.footer .logo-img {
  width: 100%;
}

.footer__content {
  padding: 78px 70px;
  display: flex;
  justify-content: space-between;
  outline: 1px solid var(--GraySeparator);
  background: linear-gradient(121.9deg, #FFFFFF 0%, #F7F9FF 96.81%);
  border-radius: 40px;
}

.footer__col.left {
  max-width: 359px;
  width: 100%;
}

.footer__col.right {
  max-width: 486px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.footer__subtitle {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
}

.footer__copyright {
  margin-top: 91px;
  display: flex;
flex-direction: column;
  gap:5px;
}
.copyrigt-icon{
  max-width:24px ;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 52px;
}

.footer__link {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
  text-decoration: none;
}

.footer__contacts {
  margin-top: auto;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.footer__contact:last-child {
  margin: 0;
}

.footer__contact__text {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
}

.footer__contact_icon {
  height: 44px;
  width: 44px;
  padding: 10px;
  border-radius: 4px;
  background-color: var(--GrayBG);
}

.hd {
  display: none;
}

.footer__copyright.mobile {
  display: none;
}

.grid {
  padding-top: 64px;
  max-width: 1216px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px 32px;
}

.grid__item {
  max-width: 592px;
}

.grid__img_wrap {
  position: relative;
  padding: 25.16px;
  border-radius: 7.4px;
  background-color: #ffffff9e;
  cursor: pointer;
}

.grid__img_wrap::before {
  content: '';
  position: absolute;
  width: 99%;
  height: 99%;
  left: .5%;
  top: .5%;
  background: linear-gradient(121.9deg, #050505 0%, #1C1C1C 96.81%);
  mix-blend-mode: plus-lighter;
  border-radius: 7.4px;
  z-index: -1;
}

.grid__img {
  display: block;
  width: 100%;
}

.grid__item_title {
  margin-top: 24px;
  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--DarkBlue);
}

.grid__item_subtitle {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--GrayText);
}

@media (max-width:1100px) {
  .main::before {
    top: -15%;
    left: 0;
    background-position: top center;
    width: 100%;
    height: 100%;
  }

  .content {
    max-width: 1024px;
  }

  .hm {
    display: none;
  }

  .hd {
    display: block;
  }

  .header {
    position: sticky;
    top: 0;
  }

  .our-projects::after {
    display: none;
  }

  .mobile__nav {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    max-width: 340px;
    width: 100%;
    top: 7px;
    right: 16px;
    padding: 72px 16px 48px 24px;
    background-color: rgba(255, 255, 255, 0.6);
    outline: 1px solid #FFFFFF;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .mobile__nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .header__content.mobile {
    max-width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background-color: #F5F8FFB2;
    backdrop-filter: blur(14px)
  }

  .header__content.mobile .logo-wrap {
    position: relative;
    height: 32px;
    top: 0;
  }

  .menu__btn {
    height: 56px;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #FFFFFF99;
    outline: 1px solid var(--White)
  }

  .mobile__nav .nav__item {
    display: block;
  }

  .mobile__nav .nav__item {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--Black);
    margin-bottom: 32px;
  }

  .mobile__nav .nav__item:last-child {
    margin-bottom: 0;
  }

  .close {
    position: absolute;
    top: 16px;
    right: 16px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .grid__img_wrap {
    background-color: #fff;
  }
}

@media (max-width:1024px) {
  .footer__content {
    flex-direction: column;
    padding: 48px 32px;
  }

  .footer__contacts {
    margin-top: 32px;
  }

  .footer {
    padding-bottom: 64px;
  }

  .footer .logo-wrap {
    margin-bottom: 8px;
  }

  .footer__copyright {
    display: none;
  }

  .footer__copyright.mobile {
    margin-top: 32px;
    display: flex;
  }

  .footer__nav {
    margin-top: 32px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 16px;
  }

  .footer__link {
    color: var(--Black);
  }

}

@media (max-width:768px) {
  .our-projects__content {
    padding: 68px 0 0px;
  }

  .main::before {
    top: -10%;
  }

  .grid__img_wrap::before {
    display: none;
  }

  .grid {
    padding-top: 17px;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
  }

  .contact::after {
    display: none;
  }
}

@media (max-width:512px) {
  .xs {
    display: block;
  }

  .main {
    margin-top: -72px;
    padding-top: 94px;
  }

  .hero__content {
    padding: 0;
    align-items: start;
  }

  .main::before {
    background-size: 230%;
    top: -9%;
    background-position: top left;
  }

  .our-projects__title,
  .our-projects__subtitle,
  .clients__title,
  .contact__title,
  .contact__subtitle {
    text-align: left;
  }

  .our-projects::after {
    background-size: contain;
  }

  .our-projects__subtitle {
    margin: 16px 0 32px;
  }

  .contact__content {
    padding: 64px 0 16px;
  }

}

.contact::before {
  content: "";
  left: -16px;
  height: 1px;
  width: calc(100% + 32px);
  position: absolute;
  background-color: #D6DDED;
}
@media (max-width:768px) {
  .contact::before {
    display: none;
  }
}