.faq_container {
    width: 100vw;
    background-color: rgb(232, 225, 219);
    transition: background-color 0.5s ease;
}

.inner_faq_container {
    padding: 50px;
    transition: padding 0.5s ease;
}

.inner_faq_container p {
    color: rgb(27, 25, 26);
    text-align: left;
    font-size: 19px;
    transition: all 0.3s ease;
}

.inner_faq_container .faq_colored {
    padding: 10px;
    border-radius: 15px;
    width: auto;
    text-align: center;
    background-color: rgb(23, 93, 131);
    transition: all 0.3s ease;
}

.inner_faq_container .faq_colored:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.inner_faq_container img {
    height: 200px;
    border-radius: 15px;
    transition: all 0.5s ease;
    align-self: center;
}

.inner_faq_container .faq_biggest {
    font-size: 25px;
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

.container_1 {
    gap: 30px;
    display: flex;
    justify-content: space-between;
    /* height: 25vw; */
    margin-bottom: 50px;
    transition: all 0.5s ease;
}

/* Анимация появления элементов */
.faq_container {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.inner_faq_container > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.inner_faq_container .faq_biggest {
    animation-delay: 0.2s;
}

.container_1 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 780px) {
    .container_1 {
        flex-direction: column;
        height: auto;
        transition: all 0.5s ease;
    }

    .container_1.reversed {
        flex-direction: column-reverse;
        transition: all 0.5s ease;
    }

    .inner_faq_container img {
        width: 300px;
        height: 400px;
        align-self: center;
        transition: all 0.5s ease;
    }

    /* Плавное появление в мобильной версии */
    .inner_faq_container img {
        opacity: 0;
        animation: fadeIn 0.8s ease 0.3s forwards;
    }
}
