.reason_three_cont {
    width: 100vw;
    background-color: rgb(26, 24, 27);
    display: flex;
    justify-content: space-between;
    /* Entry animation */
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

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

.img_cont {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Image container animation */
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.reason_three_cont .img_cont img {
    width: 300px;
    height: 500px;
    border-radius: 0;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reason_three_cont p {
    text-align: left;
    font-size: 22px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.inner .first_p {
    margin-bottom: 50px;
}

.inner .colored_p {
    font-size: 30px;
    color: rgb(23, 93, 131);
    transition: color 0.3s ease;
}

.inner_container {
    padding: 50px;
    /* Content animation */
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.2s forwards;
}

.text_with_image {
    display: flex;
    gap: 10px;
    /* Icon + text animation */
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.text_with_image:nth-child(1) { animation-delay: 0.4s; }
.text_with_image:nth-child(2) { animation-delay: 0.6s; }

.text_with_image .bigger_p {
    font-size: 28px;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.inner ul li::marker {
    color: rgb(23, 93, 131);
    font-size: 30px;
    transition: color 0.3s ease;
}

.inner_text .text_with_image img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.reason_three_line {
    display: none;
}

/* Hover effects */
.reason_three_cont .img_cont img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.text_with_image:hover img {
    transform: rotate(5deg) scale(1.1);
}

.text_with_image:hover .bigger_p,
.reason_three_cont p:hover,
.inner .colored_p:hover {
    color: rgb(36, 151, 214);
}

.inner ul li:hover::marker {
    color: rgb(36, 151, 214);
}

/* Responsive transitions */
@media (max-width: 1037px) {
    .reason_three_cont {
        flex-direction: column;
        transition: flex-direction 0.5s ease;
    }

    .reason_three_cont .img_cont img {
        border-radius: 15px;
        margin-bottom: 20px;
        transition: border-radius 0.5s ease, margin 0.5s ease;
    }

    .reason_three_cont .img_cont {
        flex-direction: column;
        transition: flex-direction 0.5s ease;
    }

    .reason_three_line {
        color: rgb(232, 225, 219);
        display: block;
        font-size: 70px;
        font-weight: bold;
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.4s forwards;
    }
}
