/* Определение переменных цветов */
:root {
  --BG-color: #0a0a0a;
  --BG-blur: #191919;
  --White: #ffffff;
  --Gray-100: #e7e7e7;
  --Gray-700: #545454;
  --Accent-1: #cbfd00;
  --Accent-2: #8cb500;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .mobile{
    width: 300px;
  }
  .description-inst{
    width: 300px;
  }
  .payment-solutions-list{
    width: 300px;
    padding: 0 20px;
  }

  .pen-card{
    padding-bottom: 150px;
  }

  /* Меню */
  .menu {
    z-index: 1000;
    top: 0;
    width: 100%;
  }

  /* Логотип */
  .menu .logo {
    position: relative;
    z-index: 1001;
    margin: 0;
  }

  /* Кнопка "Get a Demo" */
  .btn-demo {
    position: static;
     /* Изменено с -40% на -50% для центрирования */
     /* Фиксированная ширина для равномерной обводки */
    padding: 12px 12px; /* Обновляем padding, чтобы кнопка выглядела аккуратно */
    text-align: center; /* Центрируем текст внутри кнопки */
    border: 2px solid var(--White);
    border-radius: 15px;
    font-size: 18px;
    color: var(--White);
    background-color: transparent;
    box-sizing: border-box;
    z-index: 1001;
  }

  /* Кнопка меню */
  .mobile-menu {
    position: relative;
    font-size: 18px;
    z-index: 998;
    display: block;
    color: white;
    margin: 0;
  }

  /* По умолчанию скрываем кнопку закрытия */
  .close-button {
    display: none;
  }

  /* Показ кнопки закрытия при открытом меню */
  .menu-panel.active + .close-button {
    display: block;
    position: relative;
    z-index: 1001;
    width: 0;
    right: 35px;
  }

  /* Стили изображения крестика */
  .close-button img {
    position: relative;
    margin-top: 0px;
    margin-right: 16px;
    width: 24px;
    height: 24px;
  }

  /* Мобильное меню */
  .menu-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--BG-blur);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    overflow-y: auto;
  }

  .menu ul {
    display: none; /* По умолчанию скрываем меню */
    margin-top: 100px;
  }

  .menu ul.active {
    display: block; /* Показываем меню при активации */
  }

  /* Активное состояние меню */
  .menu-panel.active {
    display: flex;
  }

  /* Пункты меню в мобильной версии */
  .menu-item {
    font-size: 24px;
    margin: 40px 0px; /* Уменьшено до 40px, чтобы избежать переполнения */
    color: var(--White);
    text-decoration: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Затемнение фона */
  .overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--BG-blur);
    z-index: 998;
  }

  /* First Frame */

  .main-text {
    position: relative;
    margin-left: 12px;
    margin-top: 212px;
    font-size: 96px;
  }

  .description {
    position: relative;
    margin: 0px 0px;
    width: 100%;
    padding: 0 18px;
  }
  .start-btn {
    position: relative;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    text-transform: capitalize;
    z-index: 10;
  }
  .bg-image {
    position: relative;
    width: 600px;
    height: 812px;
    margin-top: -800px;
    margin-left: 180px;
    overflow: hidden;
  }

  .scrolling-content {
    display: relative;
    align-items: center;
    justify-content: flex-start; /* Начало выравнивания, чтобы элементы шли подряд */
    margin-top: 0px;
    z-index: 10;
  }

  /* crm*/
  .crm {
    position: relative;
    margin-left: 0px;
  }

  .content-crm {
    position: relative;
    margin-top: 100px;
    padding: 12px;
  }
  .list {
    position: relative;
    margin-top: 30px;
    width: 343px;
  }

  .crm::after {
    display: none;
  }
  .img-carousel {
    position: relative;
    left: 0px;
  }
  .img-1 {
    position: relatives;
    margin: 0px;
    width: 400px;
    margin-left: 12px;
  }
  .img-2 {
    display: none;
  }

  /*Trading platform */
  .content-trading {
    position: relative;
    margin-top: 120px;
    padding: 12px;
  }

  .img-carousel-mobile {
    position: relative;
    margin-top: 40px;
    padding: 12px;
  }

  .img-2-mob {
    display: none;
  }

  /* Mobile*/
  .content-mobile {
    position: relative;
    padding: 12px;
    margin-top: 100px;
    margin-left: 0px;
    width: 460px;
  }
  .list {
    position: relative;
    margin-top: 80px;
    max-width: 100%;
  }
  
  
  .img-3-mob,
  .img-4-mob {
    margin: 0; /* Remove individual margins */
    position: relative;
    display: none;
  }
 

  .img-1-mob {
    position: relative;
    margin: 0px;
    margin-left: -785px;
    margin-top: 100px;
  }
  
  /* General Styles for the Section */
  .content-infrastructure {
    margin-top: 300px;
    padding: 0px;
    margin-left: 0;
    position: relative;
    color: #e7e7e7;
    font-family: "Poppins", sans-serif;
    width: 430px;
    padding: 45px;
    height: 562px;
    
  }

  .list-inst {
    position: relative;
    width: 300px;
  }

  .loualt {
    position: relative;
    top: 700px;
    margin-left: 80px;
    width: 296px;
    height: 300px;
  }
  /* Pen-Testing Section (Mobile) */

  .content-pen-testing {
    padding: 12px;
    color: #e7e7e7;
    font-family: "Poppins", sans-serif;
    width: 430px;
    margin-top: 73px;
  }

  .pen-testing-title {
    position: relative;
    color: #cbfd00;
    font-size: 32px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 38.4px;
    margin-bottom: 20px;
    text-align: left;
    
  }

  .pen-testing-description {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    line-height: 25.6px;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: left;
    margin: 0px;
    width: 330px;
  }

  .pen-testing-cards {
    margin-top: 100px;
    display: flex;
    flex-direction: column; /* Вертикальное расположение карточек */
    justify-content: center;
    align-items: center;
    gap: 24px; /* Отступы между карточками */
    width: 330px;
    max-width: 100%;
  }

  .pen-card {
    position: relative;
    width: fit-content; /* Задаём фиксированную ширину карточки */
    max-width: 100%;
    /* margin-left: 24px; */ /* Уменьшаем padding */
    border-radius: 20px;
    border: 1px solid #545454;
    background-color: #111;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    box-sizing: border-box; /* Включаем отступы в расчёт размеров */
  }

  .card-icon-1,
  .card-icon-2,
  .card-icon-3 {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .card-content h4 {
    font-size: 24px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 28.8px;
    margin-bottom: 10px;
  }

  .card-content p {
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    line-height: 25.6px;
  }

  /* Payent Solution*/

  .content-payment-solutions {
    position: relative;
    margin-top: -220px;
    padding: 12px;
    color: #e7e7e7;
    font-family: "Poppins", sans-serif;
  }

  .world-img {
    position: relative;
    padding: 20px;
    margin-left: 0px;
    top: 600px;
    width: 430px;
    height: 306px;
  }

  /*Affiliate Networking*/

  .content-net{
    display: none;
  }
  .content-mobile-net {
    display: none;
    position: relative;
    padding: 12px;
    color: #e7e7e7;
    font-family: "Poppins", sans-serif;
    margin: 0px;
 left: -700px;
    width: 430px;
    
  }

  .title-net {
    display: none;
    width: 343px;
    height: 38px;
    position: relative;
    color: #cbfd00;
    font-size: 48px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
   
  }

  .description-net {
    display: none;
    position: relative;
    margin-top: 260px;
    left: 0px;
    width: 343px;
    height: 130px;
  }

  .atom-img {
    display: none;
    position: relative;
    top: 900px;

    left: 40px;
    width: 343px;
    height: 323px;
  }

  /* Web Design Section (Mobile) */

  .web-design-container {
    padding: 20px; /* Уменьшаем отступы */
    margin-top: 375px;
    color: #e7e7e7;
    font-family: "Poppins", sans-serif;
  }

  .web-design-heading {
    color: #cbfd00;
    font-size: 32px; /* Уменьшаем размер заголовка */
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 38.4px;
    margin-bottom: 20px;
    text-align: left;
  }

  .web-design-text {
    font-size: 16px;
        font-weight: 400;
        line-height: 25.6px;
        margin-bottom: 50px;
        margin-top: 54px;
        margin-left: 0;
        width: 100%;
        text-align: left;
        left: 0;
  }

  .web-design-card-group {
    display: flex;
    flex-direction: column; /* Вертикальное расположение карточек */
    gap: 24px; /* Отступы между карточками */
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .web-design-card-item {
    position: relative;
    width: 100%; /* Сделайте карточки на 100% ширины */
    max-width: 343px; /* Ограничьте максимальную ширину */
    padding: 24px; /* Уменьшенные отступы */
    border-radius: 8px;
    border: 1px solid #545454;
    background-color: #111;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    box-sizing: border-box; /* Включаем отступы в расчёт размеров */
  }

  .web-card-number {
    font-size: 52px;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    line-height: 72.8px;
    color: #e7e7e7;
  }

  .web-card-content .web-card-title {
    color: #8cb500;
    font-size: 24px; /* Уменьшенный размер для мобильных */
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 28.8px;
    margin-bottom: 10px;
    text-align: center; /* Центрируем заголовки */
  }

  .web-card-content .web-card-description {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    line-height: 25.6px;
    color: #e7e7e7;
    text-align: center; /* Центрируем текст */
  }

  .footer-container{
    position: relative;
    margin: 0;
    text-align: left;
  }
  .foter-logo{
    position: relative;
    margin: 0;
  }

  .footer-links{
    display: flex;
    justify-content: space-between;
  }

  .footer-column a{
    position: relative;
    text-align: left ;
    color: var(--White);
    text-decoration: none;
  }
  
 
  
}

