* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  margin: 0 !important;
  padding: 0;
}
body {
  background-color: #000;
}

/* //header */
#header-main {
  .desktop {
    margin-top: 20px;

    .header-apply {
      background-color: #54cc06;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 12px;
      /* font-size: 18px; */
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.3s;
    }

    .header-apply:hover {
      background-color: #fd7304;
      transition: 0.5s ease all;
    }

    .header-content {
      background: #161618;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30px 40px;
      border-radius: 16px;
    }

    .header-logo img {
      height: 50px;
      cursor: pointer;
    }

    .header-nav ul {
      list-style: none;
      display: flex;
      gap: 30px;
      margin: 0;
      padding: 0;
    }

    .header-nav a {
      text-decoration: none;
      font-size: 18px;
      font-weight: 200;
      color: white;
      transition: color 0.3s;
    }

    .header-nav a:hover {
      color: #fd7304;
    }
  }
  @media screen and (max-width: 768px) {
    .desktop {
      display: none;
    }
  }
}
#header-mobile {
  margin: 20px;
  .container {
    padding: 20px 20px;
    /* margin-top: 20px; */
    background: #141414;
    border-radius: 20px;
  }
  img {
    height: 37px;
  }
  i {
    color: white;
    font-size: 22px;
    padding: 8px;
    background-color: #1e1f21;
    border-radius: 12px;
    cursor: pointer;
  }
  .menu-icon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
  }
}
#mobile-menu {
  position: absolute;
  background: #161618;
  color: white;
  width: -webkit-fill-available;
  margin: 0 20px 20px 20px;
  border-radius: 20px 20px 12px 12px;
  z-index: 111111111;

  ul {
    list-style: none;
    padding: 0;

    li {
      text-align: center;
      margin: 24px 0;

      a {
        color: white;
        text-decoration: none;
        font-size: 18px;

        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}
@media screen and (min-width: 768px) {
  #header-mobile {
    display: none !important;
  }
}
.hidden {
  display: none;
}
.visible {
  display: block;
}
@keyframes slideAround {
  0% {
    top: -100px;
    left: -100px;
  }
  25% {
    top: -100px;
    left: calc(100% - 200px);
  }
  50% {
    top: calc(100% - 200px);
    left: calc(100% - 200px);
  }
  75% {
    top: calc(100% - 200px);
    left: -100px;
  }
  100% {
    top: -100px;
    left: -100px;
  }
}

#banner-slider {
  margin-top: 20px;
  .banner {
    padding: 30px 40px;
    background-color: #161618;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    .lightImg {
      position: absolute;
      /* width: 200px; */
      height: auto;
      animation: slideAround 10s infinite linear;
      opacity: 0.4 !important;

      /* z-index: -1; */
    }
    img {
      height: 400px;
    }
  }
  .card-desktop {
    z-index: 111111;
  }
  .banner-img {
    z-index: 1111111;
  }
  .banner-apply {
    background-color: #fd7304;
    color: white;
    border-radius: 12px;
    padding: 14px 28px;
    z-index: 111111;
    font-weight: 600;
    border: none;
  }

  .banner-apply-light {
    border: none;
    background-color: #54cc06;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 14px 28px;
    z-index: 111111;
    border: none;
  }

  .banner-apply:hover {
    background-color: #e96a02;
    transition: 0.5s ease all;
  }

  .banner-apply-light:hover {
    background-color: #4cb804;
    transition: 0.5s ease all;
  }

  h1 {
    font-weight: 500;
    color: white;
     width: 68%; 
    z-index: 1111111;
     line-height: inherit; 
  }

  @media only screen and (max-width: 600px) {
    .card-desktop {
      h1 {
        width: 100%;
      }
    }
    margin: 20px;
  }
  .my-presents {
    line-height: 1.6;
    margin: 20px 0 0 0;
    color: white;
  }
  .my-presents p {
    display: flex;
    align-items: center;
    margin: 10px 0;
  }
  .my-presents p i {
    color: #28a745;
    margin-right: 10px;
    font-size: 22px;
  }
  .button-apply {
    gap: 10px;
    margin-top: 50px;
    display: flex;
    align-items: center;
  }
  .button-two {
    display: flex;
    align-items: end;
    gap: 20px;
  }
  @media screen and (max-width: 768px) {
    .banner-img {
      display: none;
    }
    .banner {
      padding: 20px;
    }
    h1 {
      font-size: 36px;
      width: 100%;
    }
    .button-apply {
      justify-content: center;
      button {
        padding: 6px 16px;
        font-size: 16px;
      }
    }
  }
  @media (max-width: 767px) {
    .banner img {
      display: none;
    }
  }
}

#stats-section {
  .container {
    padding: 0 !important;
  }
  .row {
    margin: 0 !important;
    padding: 0 !important;
  }

  margin-top: 20px;

  .stat-item {
    background-color: #161618;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    p {
      color: #767f8d;
      margin: 0;
    }
    .title {
      color: white;
      font-size: 26px;
      font-weight: 700;
    }
  }
  .stat-item:hover {
    transition: 0.3s ease all;
    background-color: #27292b;
  }

  @media screen and (max-width: 768px) {
    .title {
      font-size: 22px !important;
      font-weight: 600 !important;
    }
    margin: 20px;
  }
}

#our-offer {
  margin: 40px 0;
  .row {
    padding: 0 !important;
  }
  h3,
  h1 {
    color: #eceff3;
    font-size: 36px;
    line-height: 48px;
    margin: 0;
  }

  h4 {
    color: #eceff3;
    font-size: 18px;
    line-height: 28px;
  }

  .offer-card {
    background: #161618;
    border-radius: 20px;
    padding: 20px;
  }
  .offer-card:hover {
    transition: 0.3s ease;
    background-color: #27292b;
    i {
      transition: 0.6s ease;
      background-color: #fd7304;
      /* padding: 20px; */
      border-radius: 50%;
    }
  }
  i {
    color: white;
    padding: 16px 20px;
    font-size: 20px;
  }

  .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  img {
    height: 150px;
  }
  @media screen and (max-width: 768px) {
    h3,
    h1 {
      font-size: 24px;
      line-height: 36px;
    }

    margin: 40px 20px;
    .container {
      padding: 0 !important;
    }
    .row {
      padding-right: calc(var(--bs-gutter-x) * 0.5);
      padding-left: calc(var(--bs-gutter-x) * 0.5);
    }
  }
}

#footer {
  color: #fff;
  margin: 20px 0 0 0;
  .row {
    padding: 20px;
  }
  .footer-logo-img {
    max-width: 150px;
  }

  .row {
    background-color: #141414;
    border-radius: 20px;
  }

  .footer-social {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
  }

  /* Социальные иконки */
  .footer-social li {
    display: inline-block;
    text-align: center;
    margin: 0px 4px;
    padding: 4px 12px;
    /* background-color: #161618; */
    /* border-radius: 50%; */
  }
  .footer-social li:hover {
    transition: 0.3s ease all;
    display: inline-block;
    text-align: center;
    margin: 0px 4px;
    padding: 4px 12px;
    background-color: #fd7304;
    border-radius: 50%;
  }

  .footer-social a {
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s;
  }

  .footer-communication-info {
    /* padding: 20px 60px; */
    background-color: #1e1f21;
    border-radius: 20px;
  }
  .footer-communication-info a {
    text-decoration: none;
    color: #767f8d;
    gap: 12px;
    padding: 20px 40px;
    border-radius: 20px;
    p {
      margin: 0 !important;
      font-size: 18px;
      color: #eceff3;
      font-weight: 600;
    }
    i {
      font-size: 20px;
      color: white;
    }
  }

  /* Адаптивный дизайн */
  @media (max-width: 768px) {
    .footer .row {
      text-align: center;
    }

    .footer-social {
      margin-top: 20px;
    }
  }
  .footer-communication-info a:hover {
    transition: 0.3s ease all;
    background-color: #27292b;
  }

  @media screen and (max-width: 768px) {
    .footer-communication-info a {
      text-align: center;
    }
    .footer-communication-info a p {
      font-size: 16px !important;
      line-height: 24px;
    }
    .footer-logo {
      display: flex;
      justify-content: center;
    }
    .footer-social {
      display: flex;
      justify-content: center;
    }
    margin: 0 20px 20px 20px;
    padding: 0;
  }
}

#banner-information {
  /* padding: 40px 0; */
  margin: 20px 0;
  .banner {
    padding: 30px 40px;
    background: #161618;
    border-radius: 20px;
  }
  .banner-title {
    color: #fd7304;
    font-family: serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
  }
  .banner-sub-title {
    color: #eceff3;
  }
  p {
    color: #767f8d;
    font-family: Visby CF;
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
    margin-bottom: 20px;
  }
  img {
    height: 220px;
  }
  @media screen and (max-width: 768px) {
    .banner-img {
      display: none;
    }
    .banner-sub-title {
      display: none;
    }
    margin: 20px;
  }
}

#blog-carousel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;

  .blog-slide {
    height: 100%;
  }

  .blog-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
  }

  .blog-date {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
  }
  .blog-text {
    border-radius: 16px;
    height: 332px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    padding: 36px 44px;
    border-radius: 24px;
    background: #161618;
    align-self: stretch;
  }
  .blog-img {
    height: 100%;
    img {
      height: auto;
      width: 100%;
      border-radius: 16px;
    }
  }
  .blog-button {
    display: inline-block;
    background-color: #54cc06;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .blog-button a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .blog-button i {
    margin-left: 8px; /* Отступ между текстом и иконкой */
    transition: transform 0.3s ease;
  }

  .blog-button:hover {
    background-color: #48af03;
    transform: translateY(-3px); /* Поднимет кнопку при наведении */
  }

  .blog-button:hover i {
    transform: translateX(5px); /* Иконка будет двигаться вправо */
  }

  .blog-button:active {
    transform: translateY(1px); /* При клике кнопка слегка опустится */
  }

  .blog-button a:hover {
    color: white; /* Цвет текста при наведении */
  }
  .blog-title {
    font-size: 28px;
    font-weight: bold;
    color: #eceff3 !important;
    margin-bottom: 15px;
  }

  .blog-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
  }

  /* Swiper.js стили */
  .swiper-container {
    width: 100%;
    height: 100%;
  }

  /* Адаптивность */
  @media (max-width: 768px) {
    h3 {
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
      white-space: normal;
    }
    .blog-content {
      flex-direction: column;
      text-align: center;
    }

    .blog-info {
      max-width: 100%;
    }

    .blog-image {
      max-width: 100%;
      margin-top: 20px;
    }
    .blog-slide {
      padding: 0 20px;
    }
    .blog-title {
      font-size: 22px;
    }
    .blog-text {
      height: 100%;
      border-radius: 16px 16px 0 0;
      padding: 20px;
    }
    .blog-img {
      img {
        border-radius: 0 0 16px 16px;
        max-height: 301px;
        width: 100%;
      }
    }
    .blog-button {
      display: none;
    }
    .container {
      padding: 0 !important;
    }
  }
}

#portfolio {
  margin-top: 40px;
  h2,h3 {
    color: #eceff3;
  }
  h1 {
    color: #eceff3;
  }
  h6 {
    color: #eceff3;
    margin-bottom: 15px;
  }
  span {
    color: #767f8d;
  }
  .card-item {
    background: #161618;
    border-radius: 20px;
    padding: 20px 10px;
  }
  .card-img {
    opacity: 0.5;
  }
  img {
    border-radius: 12px;
    min-height: 200px;
    width: 100%;
  }
  .card-item:hover {
    transition: 0.3s ease;
    background-color: #27292b;
    .card-img {
      transition: 0.3s ease;
      opacity: 1;
    }
  }
  @media screen and (max-width: 768px) {
    .card-item {
      margin: 20px 0;
      padding: 20px;
    }
    margin: 40px 20px 0px 20px;
    .container {
      padding: 0 !important;
    }
  }
}

#blog {
  margin: 20px;
  .bg-container {
    background-color: #141414;
    border-radius: 20px;
  }
  .custom-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
  }
  .code-visby-body2-medium {
    color: white;
  }

  h1 {
    margin-top: 40px;
    color: #eceff3;
  }
  @media screen and (max-width: 768px) {
    h1 {
      margin-top: 20px;
    }
  }
  .smallTitle {
    color: white;
    font-size: 20px;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }
  .blog-desc-main {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }

  .card {
    background-color: #141414;
    border-radius: 20px;
    margin: 10px 0;
    img {
      border-radius: 20px 20px 0 0;
    }

    text-decoration: none;
    list-style: none;
  }
  .card-text {
    padding: 20px;
  }
  @media screen and (max-width: 768px) {
    .smallTitle {
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
      white-space: normal;
    }
    .blog-desc-main {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      white-space: normal;
      margin: 0;
    }
  }
  .blog-content {
    color: white;
    h1,
    h2,
    h3,
    h3,
    h5,
    h6,
    span,
    p {
      color: whitesmoke !important;
    }
  }
  a{
    text-decoration: none;
    color: darkorange !important;
  }
}

#contact {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  h1 {
    display: none;
  }

  .map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) brightness(50%);
  }

  .contact-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
  }

  .info-box {
    background-color: #141414;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(45% - 40px);
    margin: 10px;
    min-width: 200px;
    width: 100%;
  }
  .info-box:hover {
    transition: 0.3s ease;
    background-color: #27292b;
  }

  .info-box h2 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #fff;
  }

  .info-box p {
    margin: 0;
    color: #ccc;
    a {
      color: white;
      text-decoration: none;
    }
  }

  .sosial-network {
    display: flex;
    justify-content: center;
    margin-top: 20px;

    padding: 0;
    li {
      margin: 0 10px;
      list-style: none;
      a {
        color: white;
        font-size: 1.5em;
      }
    }
  }

  /* Адаптивность для телефонов */
  @media (max-width: 768px) {
    .contact-info {
      flex-direction: column;
      align-items: center;
    }

    .info-box {
      flex: 1 1 100%;
      margin: 10px 0;
      min-width: unset;
    }

    .info-box h3 {
      font-size: 1em;
    }

    .info-box p {
      font-size: 0.9em;
    }
  }

  @media (max-width: 480px) {
    .info-box {
      padding: 15px;
    }

    .info-box h3 {
      font-size: 0.9em;
    }

    .info-box p {
      font-size: 0.8em;
    }
  }
}

#vacancy {
  margin: 20px 0;
  color: white;
  .container {
    padding: 0 !important;
  }
  .card {
    background-color: #141414;
    border-radius: 20px;
    margin: 20px 0 0 0;
  }
}

#reviews {
  margin: 40px 0;
  .container {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10rem;
  }
  .container__left {
    display: grid;
    text-align: center;
  }

  .container__left h3 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
  }

  .container__left p {
    color: #767f8d;
    margin-bottom: 1rem;
  }

  .container__left a {
    background-color: #fd7304;
    color: white;
    border-radius: 12px;
    padding: 14px 28px;
    z-index: 111111;
    font-weight: 600;
    border: none;
  }

  .container__left a:hover {
    background-color: #e96a02;
    transition: 0.5s ease all;
  }

  .container__right {
    display: grid;
    gap: 2rem;
  }

  .card {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background-color: #141414;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  .card img {
    max-width: 75px;
    border-radius: 100%;
  }

  .card__content {
    display: flex;
    gap: 1rem;
  }

  .card__content span i {
    font-size: 2rem;
    color: #767f8d;
  }

  .card__details p {
    font-style: italic;
    color: white;
    margin-bottom: 1rem;
  }

  .card__details h4 {
    text-align: right;
    color: #767f8d;
    font-size: 1rem;
    font-weight: 500;
  }

  @media (width < 1200px) {
    .container {
      gap: 3rem;
    }
  }

  @media (width < 900px) {
    .container {
      grid-template-columns: repeat(1, 1fr);
    }

    .container__right {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (width < 750px) {
    .container__right {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  @media screen and (max-width: 768px) {
    padding: 0 20px;
  }
}

#faq{

  .faq-section {
    padding: 50px 0;
 }
 .accordion-item{
  border:none;
 }

 .accordion-button {
    font-weight: bold;
    color: #333;
    border-radius: 16px;
 }

 .accordion-header {
      background-color: black;
 }

 .accordion-button:focus {
    box-shadow: none;
 }

 .accordion-body {
    font-size: 16px;
    line-height: 1.5;
    background-color: black;
    color: #767f8d;
 }
}

.more-btn{
  background-color: #fd7304;
  color: white;
  border-radius: 12px;
  padding: 14px 28px;

  font-weight: 600;
  border: none;
}