/* 
  MEDICO LIFE SCIENCE - Design System
  ====================================
  Easily modify colors by changing the CSS variables below
*/

:root {
    /* Primary Colors */
    --primary: #fdf485;                /* Lemon Yellow */
    --primary-foreground: #000000;     /* Black for contrast */
    
    /* Secondary/Background Colors */
    --secondary: #ffffff;              /* White */
    --secondary-foreground: #4e4e4e;   /* Text color */
    
    /* Accent - Red */
    --accent: #710000;                 /* Red */
    --accent-foreground: #ffffff;      /* White */
    
    /* Green - Natural elements */
    --green: #6cdd51;                  /* Green */
    --green-foreground: #ffffff;
    
    /* Background */
    --background: #ffffff;
    --foreground: #4e4e4e;
    
    /* Light backgrounds */
    --light-bg: #f7f7fb;
    --frozen: #e4eaf1;
    --light-lemon: #fffeef;
    --sky-blue: #f1f5f9;
    
    /* Border */
    --border: #e6e6e6;
    --border-lemon: #eeecd3;
    
    /* Additional colors */
    --text-muted: #b6b6b6;
    --grey: #a7a7a7;
    --dark-grey: #363b3e;
    --brown: #433c30;
    --pink: #dd78a0;
    --yellow: #fbd12a;
    --peach: #ff6565;
    
    /* Spacing */
    --radius: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

/* Utility Classes */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* ======================================
   BUTTONS
   ====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn i { width: 1.25rem; height: 1.25rem; }
.btn-icon { width: 1rem; height: 1rem; transition: transform var(--transition-normal); }
.btn:hover .btn-icon { transform: translateX(4px); }

.btn-hero {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(253, 244, 133, 0.3);
}
.btn-hero:hover {
    background-color: #fcef5e;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(253, 244, 133, 0.4);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    border: 2px solid var(--border);
}
.btn-hero-outline:hover {
    background-color: var(--light-bg);
    border-color: var(--accent);
}

.btn-contact {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.625rem 1.25rem;
}
.btn-contact:hover {
    background-color: #4a0000;
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
    padding: 0.625rem 1.25rem;
}
.btn-ghost:hover { color: var(--accent); }

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.75rem 1.5rem;
}
.btn-accent:hover {
    background-color: #4a0000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background-color: var(--light-bg);
    border-color: var(--accent);
}

.btn-card {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    width: 100%;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--accent);
    padding: 1rem 2rem;
    font-size: 1rem;
}
.btn-secondary:hover {
    background-color: var(--light-bg);
}

.btn-full { width: 100%; }

/* ======================================
   KICKER / TAG
   ====================================== */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    background-color: rgba(92, 69, 191, 0.12);
    color: var(--accent);
}
.kicker-icon { width: 1rem; height: 1rem; }
.kicker-light {
    background-color: rgba(253, 244, 133, 0.2);
    color: var(--primary);
}
.kicker-testimonial {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--secondary);
}

/* ======================================
   HEADER
   ====================================== */
.header {
    position: fixed;
    top: 1rem;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    padding: 0.75rem 0;
    transition: all var(--transition-slow);
    
    /* 90% width with 5% margins on each side */
    width: 90vw;
    left: 5vw;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(92, 69, 191, 0.08);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-link:hover .logo-icon { transform: scale(1.05); }

.logo-icon {
    width: 8rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}
.logo-icon span {
    color: var(--accent-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
    display: none;
}
@media (min-width: 640px) { .logo-text { display: block; } }

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color var(--transition-normal);
}
.nav-link:hover { color: var(--accent); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-normal);
}
.active{
    color: var(--accent);
}
.nav-link:hover::after { width: 100%; }

.nav-icon { width: 1rem; height: 1rem; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header-actions .btn-contact { display: none; }
.header-actions .btn-ghost { display: none; }
@media (min-width: 640px) { .header-actions .btn-contact { display: flex; } }
@media (min-width: 1024px) { .header-actions .btn-ghost { display: flex; } }

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    transition: color var(--transition-normal);
}
.mobile-menu-btn:hover { color: var(--accent); }
.mobile-menu-btn i { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--secondary);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(92, 69, 191, 0.12);
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}
.mobile-menu.open { display: block; }

.mobile-nav { display: flex; flex-direction: column; gap: 0.5rem; }

.mobile-nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: var(--foreground);
    font-weight: 600;
    transition: all var(--transition-normal);
}
.mobile-nav-link:hover {
    background-color: var(--light-bg);
    color: var(--accent);
}

.mobile-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* Hero Section */
        .hero-research {
            min-height: 60vh;
            padding-top: 8rem;
            padding-bottom: 4rem;
            background: linear-gradient(135deg, var(--accent) 0%, #4a0000 100%);
            position: relative;
            overflow: hidden;
        }

        .hero-research::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            opacity: 0.5;
        }

        .hero-research-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-research h1 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 1rem;
        }

        .hero-research p {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
        }

        .breadcrumb a { color: var(--primary); }
        .breadcrumb a:hover { text-decoration: underline; }


/* Research Document Section */
.research-document {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Document Filters */
.document-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 9999px;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Document Stats */
.document-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    width: 3rem;
    height: 3rem;
    color: var(--accent);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Document Grid */
.document-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
    opacity: 1; 
    visibility: visible;
}

/* Make sure document grid has proper layout */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    min-height: 300px; /* Ensure grid has height even when empty */
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(113, 0, 0, 0.15);
    border-color: var(--accent);
}

.document-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #4a0000 100%);
    color: white;
    position: relative;
}

.document-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.document-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.document-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.document-body {
    padding: 1.5rem;
}

.document-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.document-preview {
    height: 200px;
    background: var(--light-bg);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.document-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.document-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(113, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.document-card:hover .document-preview-overlay {
    opacity: 1;
}

.preview-btn {
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    cursor: pointer;
}

.document-actions {
    display: flex;
    gap: 0.75rem;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem;
}

.loading-icon {
    width: 3rem;
    height: 3rem;
    color: var(--accent);
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem;
}

.no-results i {
    width: 4rem;
    height: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: white;
    color: var(--foreground);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Document Modal */
.document-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.document-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    inset: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #4a0000 100%);
    color: white;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.modal-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.pdf-viewer {
    flex: 1;
    padding: 1rem;
    background: var(--light-bg);
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

.document-details {
    width: 350px;
    padding: 2rem;
    overflow-y: auto;
    border-left: 1px solid var(--border);
}

.details-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-item i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-weight: 600;
    color: var(--foreground);
}

.document-summary {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.document-summary h4 {
    margin-bottom: 0.75rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modal-body {
        flex-direction: column;
    }
    
    .document-details {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border);
    }
    
    .pdf-viewer {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .document-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .document-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        inset: 0.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: 3rem;
    border-radius: 2rem 2rem 0 0;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(78, 78, 78, 0.95);
    border-radius: 2rem 2rem 0 0;
}

.footer-content { position: relative; z-index: 10; }

.footer-grid {
    display: grid;
    gap: 3rem;
    padding: 4rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-info { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo { display: flex; align-items: center; gap: 0.5rem; }

.footer-logo-icon {
    width: 15rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon span { color: var(--accent-foreground); font-weight: 700; font-size: 1.25rem; }

.footer-logo-text { font-weight: 700; font-size: 1.25rem; color: var(--secondary); }

.footer-description { color: rgba(255, 255, 255, 0.7); line-height: 1.7; }

.social-links { display: flex; gap: 0.75rem; }

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: all var(--transition-normal);
}
.social-link:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}
.social-link i { width: 1.25rem; height: 1.25rem; }

.footer-nav {}

.footer-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}
.footer-links a:hover { color: var(--primary); }
.footer-links a:hover::before { width: 1rem; }

.footer-contact {}

.contact-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-primary { color: var(--secondary); font-weight: 600; }
.contact-secondary { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.copyright {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}
.copyright span {
    display: block;
    margin-top: 0.25rem;
}
@media (min-width: 640px) {
    .copyright span {
        display: inline;
        margin-top: 0;
        margin-left: 0.5rem;
    }
}
/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--accent-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 5px 20px rgba(113, 0, 0, 0.3);
    z-index: 1000;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: #4a0000;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(113, 0, 0, 0.4);
}

.scroll-top i {
    width: 1.5rem;
    height: 1.5rem;
}
/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }

/* Reveal animation (used with IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================
   SCROLLBAR
   ====================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb {
    background: rgba(92, 69, 191, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(92, 69, 191, 0.5); }