/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #eef2ff;
    background-image:
        radial-gradient(circle at 12% 14%, rgba(59, 130, 246, 0.10), transparent 38%),
        radial-gradient(circle at 86% 18%, rgba(139, 92, 246, 0.10), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7ff 100%);
    overflow-x: hidden;
}

section {
    position: relative;
}

/* Adds depth to glass cards after reducing white surfaces */
[class*="bg-white/75"] {
    box-shadow: 0 12px 38px -20px rgba(30, 64, 175, 0.28);
}

/* Flip Cards for Early Screening Section */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.flip-card-front {
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Navbar active state styling */
.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Animated numbers layout fixed padding */
.counter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}
