/* ==== ACTIVE FORMATION - Shared Styles ==== */

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Level 1 Shadow Utility */
.level-1-shadow {
    box-shadow: 0px 4px 20px rgba(13, 27, 53, 0.05);
}

/* Nav Active State */
.nav-active {
    border-bottom: 2px solid #C5A059;
    padding-bottom: 4px;
    font-weight: 700;
    color: #0D1B35;
}

/* Hero mask clip-path */
.hero-mask {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

/* Floating Label Input */
.floating-label-input:focus-within label,
.floating-label-input input:not(:placeholder-shown) + label,
.floating-label-input textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.85);
    color: #C5A059;
}

/* Filter Pill Transition */
.filter-pill {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Formation Card Hover */
.formation-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.formation-card:hover {
    box-shadow: 0px 10px 30px rgba(13, 27, 53, 0.08);
    border-color: #C5A059;
    transform: translateY(-4px);
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 27, 53, 0.97);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav a {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #C5A059;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Smooth page reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll reveal animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
