.double-02 {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    width: 50%;
}

.double-02 p{
    font-size: 20px;
}

.info-center{
    display: flex;
    justify-content: flex-start;
    width: 90%;
    margin-top: 5vh;
    flex-direction: column;
    margin-bottom: 10vh;
}

.info-and-line{
    display: flex;
    flex-direction: row;
}

.info-description{
    font-size: 20px;
    margin-top: 8vh;
    width: 40%;
}

.info-line {
    height: 18vh;
    width: 12px;
    background: #f1c40f;
    margin-top: 8vh;
}

.etap-grid-card-05 {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 20px 20px 2px rgb(0 0 0 / 13%);
    width: 400px;
    height: 400px;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
}

.etap-grid-card-05:hover {
    transform: scale(1.03);
}

.etap-grid-card-05:hover::before {
    width: 100%;
}

/* Чтобы текст оставался поверх заполнения */
.etap-grid-card-05 > * {
    position: relative;
    z-index: 2;
}

.etap-grid-card-05::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}

.info-sotrudnichestvo-card{
    display: flex;
    flex-direction: row;
    gap: 2vh;
    width: 80%;
    cursor: pointer;
}

.info-sotrudnichestvo-card:hover {
    transform: scale(1.03);
}

.text-and-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text-and-description p{
    text-align: left;
}

.info-line-02 {
    height: 15vh;
    min-width: 10px;
    background: #f1c40f;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5vh;
    margin-top: 5vh;
    justify-content: center;
    margin-bottom: 7vh;
    justify-items: center;
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .double-02 {
        width: 100%;
        align-items: baseline;
    }

  .double-02 p {
    font-size: 16px;
  }

  .info-center {
    width: 100%;
    margin-top: 3vh;
    margin-bottom: 5vh;
  }

    .info-description {
        width: 100%;
        font-size: 14px;
        margin-top: 4vh;
        margin-left: 1vh;
    }

  .info-line {
    width: 8px;
    margin-top: 4vh;
  }

  .etap-grid-card-05 {
    height: auto;
    padding: 15px;
  }

  .info-sotrudnichestvo-card {
    width: 100%;
    gap: 3vh;
  }

  .text-and-description p {
    text-align: left;
  }

  .info-line-02 {
    width: 6px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 3vh;
    margin-top: 3vh;
    margin-bottom: 5vh;
  }
}

/* Планшеты (от 768px до 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .double-02 {
    width: 80%;
  }

  .double-02 p {
    font-size: 18px;
  }

  .info-center {
    width: 95%;
  }

  .info-and-line {
    flex-direction: row;
  }

  .info-description {
    width: 60%;
    font-size: 18px;
    margin-top: 6vh;
  }

  .info-line {
    height: 12vh;
    width: 10px;
    margin-top: 6vh;
  }

.etap-grid-card-05 {
        height: 350px;
        width: 100%;
    }

  .info-sotrudnichestvo-card {
    flex-direction: row;
    width: 90%;
    gap: 2vh;
  }

  .info-line-02 {
    height: 12vh;
    width: 8px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4vh;
    margin-top: 4vh;
    margin-bottom: 6vh;
  }
}