/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue, #132454), var(--primary-green, #00D084));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c183a;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader .heartbeat {
    font-size: 4rem;
    color: var(--primary-green, #00D084);
    animation: heartbeat 1.2s infinite ease-in-out;
}
@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-green, #00D084);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,208,132,0.4);
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}
#back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-blue, #132454);
    box-shadow: 0 6px 20px rgba(19,36,84,0.4);
}

/* Floating Pulse Animation */
@keyframes floatingPulse {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}
.hero-shape {
    animation: floatingPulse 4s ease-in-out infinite;
}

/* Glassmorphism card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* Fade-in animations removed for AOS */

/* Counter animation keyframes */
@keyframes countUpPop {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.counter-animate {
    animation: countUpPop 0.4s ease-out forwards;
}

/* Shimmer loading */
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeholderShimmer;
    animation-timing-function: linear;
}
@keyframes placeholderShimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

/* Hover lift */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, var(--primary-blue, #132454), var(--primary-green, #00D084));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Smooth page transitions */
html {
    scroll-behavior: smooth;
}
body {
    animation: fadeInPage 0.8s ease-in-out;
}
@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}
.ripple-circle {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}
@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Typewriter cursor */
.typewriter {
    border-right: 2px solid var(--primary-green, #00D084);
    white-space: nowrap;
    overflow: hidden;
    animation: typingBlink 1s step-end infinite;
}
@keyframes typingBlink {
    50% { border-color: transparent; }
}

/* Parallax */
.parallax-bg {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Glow effect */
.glow-effect {
    animation: glowing 2s infinite alternate;
}
@keyframes glowing {
    from { box-shadow: 0 0 5px var(--primary-green, #00D084), 0 0 10px var(--primary-green, #00D084); }
    to { box-shadow: 0 0 15px var(--primary-green, #00D084), 0 0 25px var(--primary-green, #00D084); }
}

/* Navbar Shadow */
.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}


