﻿/* =============================
   SPLASH SCREEN (Full Screen)
================================ */
#splash-screen {
    position: fixed;
    inset: 0;
    background: var(--bs-body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .6s ease, visibility .6s ease;
}

    #splash-screen.hide {
        opacity: 0;
        visibility: hidden;
    }

/* Logo Animation */
.splash-logo {
    width: 110px;
    animation: splashPop 1.2s ease-out forwards;
}

@keyframes splashPop {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loader Circle */
.loader-circle {
    margin-top: 18px;
    width: 36px;
    height: 36px;
    border: 4px solid rgba(0, 174, 239, .3);
    border-top-color: var(--amr-primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.reveal-section {
    opacity: 0;
    transform: translateY(35px);
    transition: all .7s ease;
}

    .reveal-section.visible {
        opacity: 1;
        transform: translateY(0);
    }


.hero-photo {
    animation: pulseIn 0.9s ease-out 1.4s both;
}

@keyframes pulseIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
