/* =====================================================
   CARD 4 - MOBILE APP DEVELOPMENT
===================================================== */


/* Hero Animation */

.card4-hero-content {
    opacity: 0;
    transform: translateX(-50px);
    animation: card4HeroLeft 0.9s ease forwards;
}


.card4-hero-image {
    opacity: 0;
    transform: translateX(50px);
    animation: card4HeroRight 0.9s ease 0.2s forwards;
}


@keyframes card4HeroLeft {

    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes card4HeroRight {

    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* Scroll Animation */

.scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}


/* Detail Cards */

.detail-card {
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.7);
    padding: 1.5rem;
    backdrop-filter: blur(18px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}


.detail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 103, 214, 0.7);
    box-shadow: 0 0 30px rgba(0, 103, 214, 0.12);
}


.detail-card h3 {
    margin-top: 1.25rem;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
}


.detail-card p {
    margin-top: 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.75;
}


/* Icon */

.icon-box {
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0067D6, #22d3ee);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 103, 214, 0.18);
}


/* Tablet */

@media (max-width: 1023px) {

    .card4-hero-content {
        transform: translateY(35px);
        animation-name: card4HeroMobile;
    }

    .card4-hero-image {
        transform: translateY(35px);
        animation-name: card4HeroMobile;
    }

}


@keyframes card4HeroMobile {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Mobile */

@media (max-width: 767px) {

    .card4-hero-image {
        display: none;
    }

    .detail-card {
        padding: 1.25rem;
    }

}