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

:root {
    --color-navy: #082B5C;
    --color-emerald: #4F8A3C;
    --color-gold: #C79B3B;
    --color-light-gray: #F5F7FA;
    --color-dark-gray: #2C3440;
    --color-navy-light: #0d3d80;
    --color-gold-light: #dfb249;
    --font-outfit: 'Outfit', sans-serif;
}

html {
    font-size: 19px; /* Increased base size for elderly readability */
}
@media (max-w: 768px) {
    html {
        font-size: 16px; /* Slightly smaller for mobile layout scaling */
    }
}

body {
    font-family: var(--font-outfit);
    background-color: #e2e8f0; /* Darker background to highlight boxed layout */
    color: var(--color-dark-gray);
    overflow-x: hidden;
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-panel-dark {
    background: rgba(14, 27, 49, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradients */
.gradient-bg {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0d1e36 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, #a47b2c 100%);
}

.gradient-emerald {
    background: linear-gradient(135deg, var(--color-emerald) 0%, #3e6d2f 100%);
}

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

.animate-fade-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(8, 43, 92, 0.15);
}

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 15px rgba(199, 155, 59, 0.35);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-gray);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Premium Logo Shine Effect */
.logo-shine {
    position: relative;
    overflow: hidden;
}
.logo-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine-sweep 4s infinite ease-in-out;
}
@keyframes shine-sweep {
    0% { left: -70%; }
    15% { left: 120%; }
    100% { left: 120%; }
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
