
/* ANimation Two */

.flying-rocket {
    display: inline-block;
    animation: rocketFloat 4s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@keyframes rocketFloat {
    0% {
        transform: translate(0, 0) rotate(-3deg);
    }

    25% {
        transform: translate(8px, -12px) rotate(2deg);
    }

    50% {
        transform: translate(0, -20px) rotate(-2deg);
    }

    75% {
        transform: translate(-8px, -12px) rotate(2deg);
    }

    100% {
        transform: translate(0, 0) rotate(-3deg);
    }
}


.flying-rocket:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.08) rotate(-8deg);
}


/* ANimation Three */

.card-properties {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: cardFloat 5s ease-in-out infinite;
    will-change: transform;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


/* ANimation Four */

.left-card{
    position: relative;
    text-align: center;
}

.left-card img{
    position: relative;
    z-index: 2;
    animation: profileFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.15));
}

/* Soft animated glow behind the image */
.left-card::before{
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255,183,0,.22),
        rgba(255,183,0,0));
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes profileFloat{
    0%,100%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-10px);
    }
}

@keyframes pulseGlow{
    0%,100%{
        transform: translateX(-50%) scale(1);
        opacity:.5;
    }
    50%{
        transform: translateX(-50%) scale(1.15);
        opacity:.9;
    }
}


/* ANimation FIve */


.social-links{
    display:flex;
    align-items:center;
    gap:16px;
}

.social-links a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:55px;
    height:55px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:all .4s ease;
    animation:socialFloat 4s ease-in-out infinite;
}

.social-links img{
    transition:transform .4s ease;
}

.social-links a:hover{
    transform:translateY(-8px) scale(1.1);
    box-shadow:0 20px 35px rgba(0,0,0,.18);
}

.social-links a:hover img{
    transform:scale(1.15) rotate(8deg);
}

/* Different timing for each icon */
.social-links a:nth-child(1){ animation-delay:0s; }
.social-links a:nth-child(2){ animation-delay:.4s; }
.social-links a:nth-child(3){ animation-delay:.8s; }
.social-links a:nth-child(4){ animation-delay:1.2s; }
.social-links a:nth-child(5){ animation-delay:1.6s; }

@keyframes socialFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-6px);
    }
}


/* ANimation Six */


.heart{
    display:inline-block;
    color:#ff1744;
    font-size:1.2em;
    transform-origin:center;
    animation:heartbeat 1.3s ease-in-out infinite;
    filter:drop-shadow(0 0 8px rgba(255,23,68,.45));
}

@keyframes heartbeat{
    0%,100%{
        transform:scale(1);
    }
    15%{
        transform:scale(1.3);
    }
    30%{
        transform:scale(1);
    }
    45%{
        transform:scale(1.22);
    }
    60%{
        transform:scale(1);
    }
}


.auto-color-image-scale {
    filter: grayscale(100%);
    transform: scale(1);
    animation: premiumReveal 5s ease forwards;
}

@keyframes premiumReveal {
    0%,
    60% {
        filter: grayscale(100%);
        transform: scale(1);
    }

    100% {
        filter: grayscale(0%);
        transform: scale(1.03);
    }
}


.found-block-right-img-indo {
    filter: grayscale(100%);
    animation: grayscaleReveal 5s ease forwards;
    will-change: filter;
}

@keyframes grayscaleReveal {

    /* Stay grayscale */
    0%,
    60% {
        filter: grayscale(100%);
    }

    /* Smoothly transition to color */
    100% {
        filter: grayscale(0%);
    }
}



.school-arrow-btn a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-family: "Poetsen One", sans-serif;
    position: relative;
    z-index: 2;
}

.school-arrow-btn img {
    transition: transform .35s ease;
}

/* Shine Effect */
.school-arrow-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transform: skewX(-25deg);
    transition: .8s;
}

/* Hover */
.school-arrow-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,.22);
    filter: brightness(1.08);
}

.school-arrow-btn:hover::before {
    left: 160%;
}

.school-arrow-btn:hover img {
    transform: translateX(6px) rotate(-8deg);
}

/* Click */
.school-arrow-btn:active {
    transform: translateY(-1px) scale(.98);
}