/* ===== MODERN THEME FOR LEXCONNECT - CLEAN & ACCESSIBLE ===== */
:root {
    /* Primary Colors - Professional Legal Theme */
    --primary-color: #0a2540;       /* Deep Navy - Trust, Authority */
    --primary-light: #1e3a5f;
    --primary-dark: #051428;
    
    --secondary-color: #d4af37;     /* Gold - Prestige, Excellence */
    --secondary-light: #e6c158;
    --secondary-dark: #b8941f;
    
    --accent-color: #0066cc;        /* Blue - Professionalism */
    --accent-light: #3385d6;
    --accent-dark: #004d99;
    
    /* Success Colors */
    --success-color: #10b981;
    --success-light: #34d399;
    --success-dark: #059669;
    
    /* Warning Colors */
    --warning-color: #f59e0b;
    --warning-light: #fbbf24;
    --warning-dark: #d97706;
    
    /* Danger Colors */
    --danger-color: #ef4444;
    --danger-light: #f87171;
    --danger-dark: #dc2626;
    
    /* Neutral Colors - Better contrast */
    --dark-color: #1e293b;
    --gray-900: #334155;
    --gray-800: #475569;
    --gray-700: #64748b;
    --gray-600: #94a3b8;
    --gray-500: #cbd5e1;
    --gray-400: #e2e8f0;
    --gray-300: #f1f5f9;
    --gray-200: #f8fafc;
    --light-color: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0a2540;
    --bg-light: #ffffff;
    
    /* Shadows - Clean and subtle */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
}

.section-header-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray-700);
    line-height: 1.7;
}

.text-white h1, 
.text-white h2, 
.text-white h3, 
.text-white h4, 
.text-white h5, 
.text-white h6,
.text-white p,
.text-white .lead {
    color: white;
}

.text-white h2::after {
    background: var(--secondary-color);
}

/* ===== BUTTONS ===== */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-color);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-400);
}

.card-header {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-300);
    padding: 1.25rem 1.5rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    border: none;
    border-top: 4px solid var(--secondary-color);
}

.feature-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.feature-card .card-icon.student {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.feature-card .card-icon.advocate {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.feature-card .card-icon.activities {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-card ul {
    text-align: left;
    padding-left: 1rem;
}

.feature-card li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-primary);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Hero Image */
.hero-image-container {
    position: relative;
}

.hero-main-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
}

.floating-icon {
    position: absolute;
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.floating-icon-1 {
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
}

.floating-icon-2 {
    bottom: 40px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--dark-color);
}

.floating-icon i {
    font-size: 1.5rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-300);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 2rem;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--gray-400);
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-sidebar {
    background: var(--primary-color);
    color: white;
    min-height: 100vh;
    padding: 2rem 0;
    position: sticky;
    top: 0;
}

.user-profile-card {
    text-align: center;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.sidebar-menu {
    list-style: none;
    padding: 0 1rem;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-menu a.active {
    background: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 600;
}

.dashboard-main {
    padding: 2rem;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-300);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-400);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.primary {
    background: var(--primary-color);
}

.stat-icon.success {
    background: var(--success-color);
}

.stat-icon.warning {
    background: var(--warning-color);
}

.stat-icon.info {
    background: var(--accent-color);
}

.stat-content h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
}

.stat-content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: block;
}

.form-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== LOGIN & REGISTER PAGES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-primary);
}

.auth-left {
    padding: 3rem;
    background: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left .logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-features {
    margin-top: 2rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.auth-right {
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--primary-color);
}

.auth-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== PROFILE PAGE ===== */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 auto 1.5rem;
}

.profile-info-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-300);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        z-index: 1001;
        width: 280px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    .sidebar-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1002;
        background: var(--primary-color);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        box-shadow: var(--shadow-md);
    }
    
    .auth-left {
        padding: 2rem;
    }
    
    .auth-right {
        padding: 2rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }

.bg-primary { background: var(--primary-color) !important; }
.bg-secondary { background: var(--secondary-color) !important; }
.bg-success { background: var(--success-color) !important; }
.bg-warning { background: var(--warning-color) !important; }
.bg-danger { background: var(--danger-color) !important; }

.bg-light { background: var(--bg-secondary) !important; }
.bg-white { background: var(--bg-primary) !important; }

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    /* Fix container padding */
    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Fix navbar spacing */
    .navbar {
        padding: 0.75rem 0;
    }
    
    /* Fix hero section */
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    /* Fix cards */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    /* Fix buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Fix forms */
    .form-control, .form-select {
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    /* Fix images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix spacing */
    .mb-4, .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .py-5, .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Fix footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-links a {
        margin-bottom: 0.5rem;
    }
    
    /* Fix animations on mobile for performance */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 576px) {
    /* Extra small screen fixes */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Stack buttons vertically */
    .btn-group, .d-flex .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn + .btn {
        margin-left: 0;
    }
    
    /* Fix input groups */
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group > .form-control {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .input-group > .btn {
        width: 100%;
    }
    
    /* Fix dropdowns */
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Fix for fixed navbar spacing */
body {
    padding-top: 72px;
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }
}

/* Fix for iOS viewport height */
:root {
    --vh: 1vh;
}

.vh-100 {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

/* Prevent text overflow */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Touch-friendly elements */
.btn, .nav-link, .form-control, .form-select {
    min-height: 44px; /* Apple recommended minimum touch target */
}

/* Fix for hover states on touch devices */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Loading animation */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}