@import url(fonts.css);

body {
  margin: 0;
  padding: 0;
}

.container {
  width: 1170px;
  margin: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-family: 'Manrope-Medium';
  padding: 17px 0;
  background: white;
  z-index: 1000;
  box-sizing: border-box;
}

.header nav a{
  padding-right: 24px;
  text-decoration: none;
  color: #000000;
}

.header-button:hover {
  background-color: #3E32CE;
}
.header-button:hover img{
  background-color: #000000;
}

.header nav a:nth-last-child{
  padding-right: 0;
}

.header button {
  font-size: 16px;
  cursor: pointer;
  padding: 3px;
  padding-left: 13px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  color: #ffffff;
  border-radius: 106.07px;
}

.header button img {
  margin-left: 7px;
  padding: 12px;
  background-color: #3E32CE;
  border-radius: 50%;
}

#home {
  width: 100vw ;
  background-color: #000;
  background-image: url('../images/first-Gradient.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 130px;
}


.home-btn-wrapper {
  position: relative;
  display: inline-block;
}

.home-btn-blur {
  position: absolute;
  top: 0;
  left: 30px;
  width: 200px;
  height: 60px;
  border-radius: 66.46px;
  background: #3E32CE;
  filter: blur(24px);
  opacity: 0.7;
  z-index: 0;
  transform: scale(1.3); /* чтобы блюр выходил за границы кнопки */
}

.home-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border: none;
  border-radius: 66.46px;
  background-color: #3E32CE;
  padding: 22px 0;
  padding-left: 30px;
  font-family: "Inter-SemiBold";
  font-size: 25px;
  color: #ffffff;
  cursor: pointer;
}

.home-btn img {
  margin-bottom: 16px;
  padding-left: 16px;
  padding-right: 22px;
}

.home-btn:hover {
  background-color: #5F53EA;
}
.home-btn:active {
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}
.first-block {
  padding-top: 151px;
  padding-bottom: 151px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.first-block span {
  display: block;
  width: 630px;
  font-size: 80px;
  font-family: "Oswald-Light";
}

.first-block p{
  width: 689px;
  font-size: 22px;
  font-family: "Manrope-Regular";
}

.block {
  margin-right: 43px;
  border: 1px solid black;
  width: 380px;
  height: 380px;
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 25px;
  padding-bottom: 13px;
  display: flex;
  flex-direction: column;
  height: 400px;
}
.block span {
  font-family: "Oswald-Regular";
  font-size: 20px;
}

.thirdBlock {
  background-image: url('../images/contacts-Gradient.png');
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.contacts-secondBlock.thirdBlock:hover span,
.contacts-secondBlock.thirdBlock:hover p {
  color: #D3AAFF;
}

.block .description_block {
  display: flex;
  flex-direction: column;
}
.block .description_block .description_text {
  font-size: 22px;
  font-family: "Manrope-Regular";
}
.block .description_block .number {
  height: 144px;
  font-family: "Oswald-Regular";
  font-size: 144px;
  display: flex;
  align-items: center;
}

.first-block-row {
  display: flex;
  justify-content: space-between;
}

.about_us {
  margin-bottom: 140px;
}

.about_us-block {
  width: 721px;
}
.about_us-title {
  padding-left: 62px;
  display: block;
  padding-bottom: 32px;
  font-family: "Oswald-Medium";
  font-size: 70px;
}
.about_us-description {
  text-indent: 62px;
  font-family: "Manrope-Regular";
  font-size: 24px;
  margin: 0;
}

.wrapper {
  display: flex;
}

.blue {
  color: #682DD8;
}

.blocks {
  margin-left: 198px;
  display: flex;
}


.blocks .block:first-of-type{
  color: #ffffff;
  width: 380px;
  margin-right: 0;
  padding-bottom: 14px;
  border: none;
  background-image: url("../images/Gradient.png");
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blocks .block:nth-of-type(2) .description_block{
  padding-left: 45px;
}

#services{
  display: flex;
  margin-bottom: 140px;
}

.services-block {
  width: 646px;
  margin-right: 68px;
}
.services-block p{
  font-family: "Manrope-Regular";
  font-size: 24px;
}

.services-h1 {
  display: block;
  font-family: "Oswald-Medium";
  font-size: 70px;
  padding-bottom: 28px;
}

.services-count {
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 100px;
  font-size: 32px;
  padding: 0 32px;
  border: 2px solid black;
}

.services-h2 {
  font-size: 32px;
}

.services-firstBlock {
  padding-top: 25px; 
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  margin-bottom: 25px;
}

.services-secondBlock {
  border-bottom: 1px solid black;
}

.text {
  height: 385px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000;
  background-image: url("../images/Group.png");
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stages_of_work-firstLine {
  width: 542px;
}

.stages_of_work-firstLine div{
  margin-right: 43px;
}

.stages_of_work-description-head {
  font-family: "Oswald-Medium";
  font-size: 70px;
  text-transform: uppercase;
}
.stages_of_work-description-body {
  font-family: "Manrope-Regular";
  font-size: 24px;
  margin-top: 52px;
  margin-bottom: 40px;
}

.stages_of_work-description-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Inter-SemiBold";
  font-size: 25px;
  display: block;
  width: 542px;
  height: 70px;
  border-radius: 100px;
  color: #ffffff;
  background-color: #000000;
  cursor: pointer;
  border: none;
}

.stages_of_work-description-button:hover {
  background-color: #3E32CE;
}

.stages_of_work {
  margin-bottom: 140px;
}

.stages_of_work-block {
  width: 583px;
  height: 380px;
  border: 2px solid black;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 13px;
  padding-bottom: 13px;
}

.stages_of_work-block p{
  text-transform: uppercase;
  font-family: "Manrope-Medium";
  width: 513px;
  font-size: 32px;
  margin: 0;
}

.stages_of_work-block span{
  text-align: end;
  display: block;
  font-family: "Oswald-Regular";
  font-size: 144px;
  margin-top: 75px;
}

.second {
  background-color: #000000;
  background-image: url('../images/stages_of_work-Gradient.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contacts {
  text-transform: uppercase;
  margin-bottom: 140px;
}
.contacts-name {
  text-align: center;
  font-family: "Oswald-Medium";
  font-size: 70px; 
}

.contacts-firstBlock {
  font-family: "Manrope-Medium";
  font-size: 32px;
  border-bottom: 2px solid black;
  padding: 40px;
}

.contacts-container {
  display: flex;
  height: 380px;
}

.contacts-secondBlock {
  text-align: center;
  padding-right: 88px;
  padding-left: 88px;
  padding-top: 123px;
  padding-bottom: 162px;
  width: 583px;
  font-family: "Oswald-Regular";
}
.contacts-container .contacts-secondBlock:nth-of-type(2) {
  color: #ffffff;
  background-image: url('../images/contacts-desctop-Gradient.png');
  background-color: #000000; 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
}
.contacts-container .contacts-secondBlock:nth-of-type(2){
  cursor: pointer;
}

.contacts-secondBlock span{
  font-size: 20px;
  padding-bottom: 10px;
}

.contacts-secondBlock p{
  margin: 0;
  font-size: 40px;
}

.footer {
  font-family: "Manrope-Medium";
  background-image: url("../images/footer-Gradient.png");
  background-color: #000000; 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  padding: 93px 0;
}

.footer nav a{
  font-size: 16px;
  padding-right: 36px;
  text-decoration: none;
  color: #ffffff;
}
.footer nav a:last-child{
  padding-right: 0;
}
.footer-description{
  display: flex;
  flex-direction: column;
}
.footer .container span {
  padding-left: 156px;
  padding-bottom: 5px;
  color: #ffffff;
  font-size: 16px;
  display: block;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}

.mobile-menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
  bottom: 0;
}

/* Mobile Menu Button Animation */
.mobile-menu-btn.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-100%);
}

.mobile-menu-btn.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.mobile-menu {
  font-family: 'Manrope-Medium';
  position: fixed !important;
  top: 76px;
  left: 0;
  width: 100%;
  height: 280px;
  background-color: #fff;
  z-index: 9999;
  display: none; 
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  transform: translateY(-20px); 
  opacity: 0;
  pointer-events: none; 
}

.mobile-menu.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.mobile-menu nav a {
  font-size: 24px;
  text-decoration: none;
  color: #000;
}

.mobile-menu button {
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  padding: 3px;
  padding-left: 13px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  color: #ffffff;
  border-radius: 106.07px;
}

.mobile-menu button img {
  margin-left: 7px;
  padding: 12px;
  background-color: #3E32CE;
  border-radius: 50%;
}

@media screen and (min-width: 1201px) {
  .mobile-menu-btn,
  .mobile-menu {
    display: none !important;
  }
}

.mobile {
  display: none;
}

/* Mobile styles */
@media screen and (max-width: 1200px) {
  .mobile {
    display: block;
  }
  .desktop {
    display: none !important;
  }

  .header {
    display: flex; 
    width: 100%; 
    justify-content: space-between; 
    padding-right: 40px;
  }
  .header button {
    background-color: #ffffff;
  }
  .header.container {
    width: 100%;
  }

  .container {
    width: 343px;
    box-sizing: border-box;
  }

  .desktop-nav,
  .desktop-btn {
    display: none;
  }

  #home {
    color: #ffffff;
    background-image: url('../images/firstblock-mobile-gradient.png');
    background-color: #000000; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    text-align: center;
    height: 750px;
    margin-bottom: 100px;
  }

  .mobile-home-span{
    font-family: "Oswald-Light";
    display: block;
    font-size: 44px;
    padding-bottom: 24px;
  }
  .mobile-home-p {
    font-family: "Manrope-Regular";
    font-size: 16px;
    padding-bottom: 30px;
  }

  .about_us-mobile-blocks {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .block {
    margin-left: 2px;
    width: 335px;
    height: 320px;
    margin-right: 0;
  }

  .block:nth-of-type(2) {
    background-image: url("../images/Gradient.png");
    background-color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
  }

  .about_us {
    margin-bottom: 98px;
  }
  .about_us-block {
    width: 343px;
    text-align: center;
    padding-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
  }
  .about_us-title {
    display: block;
    padding-bottom: 32px;
    padding-left: 0;

    font-family: "Oswald-Medium";
    font-size: 40px;
  }
  .about_us-description {
    text-indent: 0;
    font-size: 16px;
    margin: 0;
  }

  .services-block p{
    font-family: "Manrope-Regular";
    font-size: 16px;
  }

  .services-h1 {
    font-size: 40px;
    padding-bottom: 0;
  }

  .services-count {
    margin-right: 12px;
    height: 24px;
    border-radius: 100px;
    font-size: 20px;
    padding: 0 32px;
    border: 2px solid black;
  }

  .services-block {
    width: 343px;
  }

  .services-h2 {
    font-size: 20px;
  }

  .services-firstBlock {
    padding-top: 25px; 
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin-bottom: 25px;
  }

  .services-secondBlock {
    border-bottom: 1px solid black;
  }

  .text {
    height: 300px;
  }

  .stages_of_work {
    margin-bottom: 100px;
  }
  .stages_of_work-firstLine div{
    margin-right: 0;
  }

  .stages_of_work-description-head {
    font-size: 40px;
  }

  .stages_of_work-description-body {
    font-size: 16x;
    margin: 24px 0;
  }

  .stages_of_work-description-button {
    font-size: 25px;
    width: 343px;
    height: 70px;
  }

  .stages_of_work {
    margin-bottom: 140px;
  }

  .stages_of_work-block {
    width: 343px;
    height: 320px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 13px;
    padding-bottom: 13px;
  }

  .stages_of_work-block p{
    text-transform: uppercase;
    font-family: "Manrope-Medium";
    width: 279px;
    font-size: 20px;
    margin: 0;
  }

  .stages_of_work-block span{
    text-align: end;
    display: block;
    font-family: "Oswald-Regular";
    font-size: 144px;
    margin-top: 71px;
  }

  .contacts {
    margin-bottom: 100px;
  }

  .contacts-title {
    font-family: "Oswald-Medium";
    font-size: 40px; 
    margin-bottom: 40px;
  }

  .contacts-firstBlock {
    font-family: "Manrope-Medium";
    font-size: 20px;
    /* border: 2px solid black; */
    padding: 20px;
  }


  .contacts-secondBlock {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 125px 0;
    width: 379px;
    font-family: "Oswald-Regular";
  }
  .contacts-container .contacts-secondBlock:nth-of-type(2) {
    padding: 125px 0;
  }

  .contacts-secondBlock span{
    /* font-size: 20px; */
    padding-bottom: 10px;
  }

  .contacts-secondBlock p{
    margin: 0;
    font-size: 40px;
  }

  .footer {
    font-family: "Manrope-Medium";
    background-image: url("../images/mobilefooter-Gradient.png");
    background-color: #000000; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    /* padding: 93px 0; */
  }

  .footer nav a{
    text-align: center;
    display: flex;
    padding-bottom: 10px;
    padding-right: 0;
    flex-direction: column;
    text-decoration: none;
    color: #ffffff;
  }
  .footer-description{
    margin-top: 24px;
    display: flex;
    flex-direction: column;
  }
  .footer .container span {
    text-align: center;
    padding-left: 0;
    padding-bottom: 5px;
    color: #ffffff;
    font-size: 16px;
    display: block;
  }

}

