:root {
  --bg-black: #181818;
  --btn-gradient: linear-gradient(
    129deg,
    #ddac17 0%,
    #fffa8a 49.88%,
    #ddac17 100%
  );
  --card-gradient: linear-gradient(95deg, #1f1f1f 0%, #2d2d2d 100%);
  --arrow-color: #b68b00;
  --main-font: "Montserrat", sans-serif;
  --second-text-color: #737373;
}
/* COMMON */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}

.scrollbar::-webkit-scrollbar{
  width: 0 !important;
  transition: all .3s ease;
}

.scrollbar.show::-webkit-scrollbar{
  width: 8px !important;
  background: rgba(0, 0, 0, 0.788);
}

.scrollbar.show::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background: var(--btn-gradient);
}





.blockFalse{
  background-color: white!important;
  z-index: 9999999;
  position: fixed;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  overflow: hidden;
}
.text_center{
  text-align: center;
}
.div_center{
  display: table;
  margin: 0 auto;
}
.blockFalse img{
  width: 300px;
}

.buttonNullSet{
  width: max-content;
  padding: 8px 20px;
  border: 1px solid #ecc440;
  border-radius: 0px;
  font-family: var(--main-font);
  background: #fafafa;
  text-decoration: none;
  color: black;
  margin-top: 14px;
  margin-bottom: 20px;
display: block;
}

.section-title {
  color: #000;
  font-family: var(--main-font);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.section-paragraph {
  color: #000;
  font-family: var(--main-font);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

/* COMMON END */

/* BOOTSTRAP FIXES */

.nav-link {
  color: #fff;
  font-family: var(--main-font);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-link:hover {
  color: #fffa8a;
}

.nav-link:focus{
  color: #fffa8a;
}

.accordion-item {
  border: none;
  border-top: 1px solid black !important;
  border-radius: 0 !important;
}

.accordion-button {
  padding: 25px 0;
}

.accordion-button:focus {
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: #000;
  background-color: transparent;
  box-shadow: none;
}
/* BS FIXES END */

.modal-form{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  row-gap: 30px;
}

.modal-form .form-label{
  margin-bottom: 16px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 126px;
  background: #181818;
  color: #fff;
  text-align: center;
  z-index: 99;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

#hero {
  position: relative;
  font-style: normal;
  font-family: var(--main-font);
  background-image: url("./assets/hero-bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 640px;
  margin-top: 120px;
}

#hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0.4;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1 {
  font-weight: 800;
  font-size: 26px;
}

#hero p {
  margin-top: 25px;
  font-size: 18px;
}

#hero button,.modal-btn {
  margin-top: 30px;
  padding: 16px 20px;
  border: 0;
  border-radius: 5px;
  background: var(--btn-gradient);
  line-height: 150%;
  text-transform: uppercase;
}

#o-nas,
#projects,
#products,
#work-flow,
#projects,
#faq,
.form-cover,
.form-img,
footer,
#services,
#staff {
  padding: 70px 0 50px 0;
}

#o-nas h1,
#products h1,
#form h1,
#services h1{
  margin-bottom: 40px;
}

#staff h1{
  margin-bottom: 70px;
}

#projects h1{
  margin-bottom: 60px;
}

#faq h1,#work-flow h1{
  margin-bottom: 50px;
}


#o-nas img {
  width: 70px;
  height: 70px;
}

#o-nas .container:last-of-type {
  margin-top: 80px;
}

#o-nas .advantage-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 30px;
}

#o-nas .advantage-card {
  padding: 30px;
  border-width: 2px;
  border-style: solid;
  border-image: var(--btn-gradient) 1;
}

#services,
#staff,
footer,
#projects {
  background: var(--bg-black);
}

.services-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 30px;
  row-gap: 30px;
  justify-content: center;
}

.services-card {
  border-radius: 0 0 5px 5px;
  transition: all .2s linear;
  cursor: pointer;
}

.services-card img{
    aspect-ratio:380/253
}

.services-card:hover{
  box-shadow: 0 0px 6px 2px gold;
}

.services-card-body {
  padding: 30px 16px;
}

.services-card-body button,
.swiper-body button {
  width: 100%;
  padding: 8px 20px;
  border: 1px solid #ecc440;
  font-family: var(--main-font);
  background: #fff;
}

.products-slider .swiper-slide{
  padding: 50px;
}

.swiper-body {
  box-shadow: 0px 0px 5px 0px rgba(143, 143, 143, 0.35);
  border-radius: 5px;
}

.swiper-body-content p {
  color: var(--second-text-color);
}

.swiper-body button {
  padding: 10px 20px;
}

.swiper-button-next::after {
  content: url("./assets/arr-right.svg") !important;
}
.swiper-button-prev::after {
  content: url("./assets/arr-left.svg") !important;
}

.staff-img-cover {
  width: 120px;
  height: 120px;
}

.swiper-staff-card p {
  color: #bdbdbd;
}

.swiper-pagination-bullet {
  background-color: #ececec !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(
    174deg,
    #ecc440 31.91%,
    #fffa8a 49.35%,
    #ddac17 68.09%
  ) !important;
}

.work-flow-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 35px;
}

.work-flow-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  border: 1px solid #b3b3b3;
  padding: 20px 10px;
  border-radius: 5px;
  min-height: 170px;
  width: 100%;
}

.work-flow-card::after {
  content: url('./assets/work-flow-type-3.svg');
  position: absolute;
  left: 50%;
  top: 100%;
  width: auto;
  height: auto;
}

.work-flow-card-cover:last-of-type .work-flow-card::after {
  content: '';
}

.work-flow-card span:first-of-type{
  display: block;
  height: 60px;
  width: 60px;
}

.top-gallery{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  column-gap: 20px;
  row-gap: 20px;

}

.top-gallery-img,.bottom-gallery-img img{
  width: 100%;
  border-radius: 5px;
  padding: 2px;
  height: auto;
}

.project-gallery img{
  transition: all .2s ease-in;
}


.project-gallery img:hover{
  box-shadow: 0 0px 5px 0.1px gold;
}

.top-gallery img{
  width: 100%;
  height: 100%;
}

.bottom-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  column-gap: 20px;
}

.bottom-gallery-img{
  width: 100%;
  min-height: 150px;
height: auto;
}

#projects button{
  border: 0;
  background: transparent;
  text-decoration: underline;
  color: #D5D5D5;
  text-underline-offset: 5px;
}

#projects button:hover{
  color: #fbf27e;
}

.form-cover{
  padding: 25px;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.form-cover button{
  border: 0;
  background: var(--btn-gradient);
  opacity: 0.6;
  border-radius: 5px;
  padding: 10px 20px;
  transition: all .3s ease-out;
}

.form-cover button:hover{
  opacity: 1;
}

#form{
  background-image: url("./assets/form-img.svg");
  background-position: 0%;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  padding: 70px 0 50px 0;
}

#form .container {
  position: relative;
  z-index: 2;
}

.form-control:focus{
  border-color: #fbf27e;
  animation: form-control 1s linear infinite;
}

.footer-cover {
  gap: 30px;
}

.footer-logo span {
  width: 115px;
  height: 140px;
}

.footer-logo img{
  width: 100%;
  height: 100%;
}

.gap-50{
  gap: 50px;
}



@media (min-width: 768px) {
  #o-nas .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-flow-grid {
    grid-template-rows: repeat(2, 1fr) 1fr; /* 2 rows, and 3rd row takes full height */
    grid-template-columns: repeat(3, 1fr);
    row-gap: 80px;
    column-gap: 30px;
  }

  .work-flow-card::after{
    border: 0;
    top: 49%;
    left: 100%;
    width: auto;
    height: auto;
  }

  .work-flow-card-cover:nth-child(1) .work-flow-card::after,
  .work-flow-card-cover:nth-child(2) .work-flow-card::after,
  .work-flow-card-cover:nth-child(4) .work-flow-card::after,
  .work-flow-card-cover:nth-child(5) .work-flow-card::after {
    content: url("./assets/work-flow-type-1.svg");
  }

  .work-flow-card-cover:nth-child(3) .work-flow-card::after,
  .work-flow-card-cover:nth-child(6) .work-flow-card::after,
  .work-flow-card-cover:nth-child(7) .work-flow-card::after{
    content: '';
    top: 50%;
    width: 500px;
    height: 1px;
    background: url('./assets/work-flow-type-2.svg') repeat;
  }

  .work-flow-card-cover:nth-child(4) .work-flow-card::before,
  .work-flow-card-cover:nth-child(7) .work-flow-card::before{
    position: absolute;
    right: 100%;
    content: '';
    top: 50%;
    width: 500px;
    height: 1px;
    background: url('./assets/work-flow-type-2.svg') repeat;
  }

  .work-flow-card-cover:last-of-type {
    grid-column: span 3;
  }
  .pt-10 {
    padding-top: 60px;
  }

  .pt-20 {
    padding-top: 120px;
  }

  .bottom-gallery{
    grid-template-columns: repeat(3,1fr);
  }

  .products-slider .swiper-slide{
    padding: 30px;
  }



}

@media (min-width:1024px) {

  .modal-form{
    grid-template-columns: repeat(2,1fr);
    column-gap: 20px;
  }
  .bottom-gallery{
    grid-template-columns: repeat(4,1fr);
  }

  .top-gallery{
    grid-template-columns: 1fr 1fr;
  }

  .products-slider .swiper-slide{
    padding: 10px;
  }
  #o-nas .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
  }
  
  .footer-cover{
    gap: 0;
  }
  .footer-logo span {
    width: 162px;
    height: 200px;
  }
}
@media (min-width: 1280px) {
  #o-nas .advantage-grid{
    grid-template-columns: repeat(4,1fr);
  }
}


@keyframes form-control {
  0%{
    box-shadow: 0 0px 1px 0.1px gold;;
  }
  25%{
    box-shadow: 0 0px 5px 1px gold;;
  }
  50%{
    box-shadow: 0 0px 10px 3px gold;;
  }
  100%{
    box-shadow: 0 0px 1px 0.1px gold;;
  }
  
}