/* ========================================
   ENHANCED GLOBAL CSS - WSC UNIFIED DESIGN
   All Common Components Centralized
   ======================================== */

:root {
    --bs-primary: #7B2869;
    --bs-secondary: #C5A572;
    
    /* Primary Color Palette */
    --color-primary: #7B2869;
    --color-secondary: #C5A572;
    --color-accent: #E91E63;
    --color-background: #FFFBF7;
    
    /* Shades & Tints */
    --color-primary-light: #A8567D;
    --color-primary-dark: #5A1E4D;
    --color-secondary-light: #D9C49A;
    --color-secondary-dark: #9B8159;
    --color-accent-light: #F48FB1;
    --color-accent-dark: #C2185B;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #2C2C2C;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #EEEEEE;
    --color-gray-300: #E0E0E0;
    --color-gray-400: #BDBDBD;
    --color-gray-500: #9E9E9E;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(123, 40, 105, 0.08);
    --shadow-md: 0 3px 8px rgba(123, 40, 105, 0.12);
    --shadow-lg: 0 8px 20px rgba(123, 40, 105, 0.15);
    --shadow-xl: 0 15px 35px rgba(123, 40, 105, 0.18);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ========================================
   GLOBAL RESETS & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    background: var(--color-background);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-5xl); }
h2 { font-size: var(--font-4xl); }
h3 { font-size: var(--font-3xl); }
h4 { font-size: var(--font-2xl); }
h5 { font-size: var(--font-xl); }
h6 { font-size: var(--font-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-700);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Focus Visible */
*:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

button:focus:not(:focus-visible) {
    outline: none;
}

/* Container */
.container-fluid {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}


/* ========================================
   PAGE HEADER - UNIFIED
   ======================================== */

.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 120px 0 70px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(197, 165, 114, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}


/* ========================================
   BREADCRUMB - TWO VARIANTS
   ======================================== */

/* Variant 1: Transparent (Default) */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item {
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--color-white);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    padding: 0 8px;
}

/* Variant 2: White Background */
.breadcrumb-white {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    margin-bottom: 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.breadcrumb-white .breadcrumb-item a {
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumb-white .breadcrumb-item a:hover {
    color: var(--color-primary-dark);
    background: rgba(123, 40, 105, 0.1);
}

.breadcrumb-white .breadcrumb-item.active {
    color: var(--color-gray-700);
}


/* ========================================
   STATISTICS SECTION - UNIFIED
   ======================================== */

.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0 var(--spacing-lg) 60px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    border-left: 4px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 40, 105, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(123, 40, 105, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin: 8px 0 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ========================================
   SECTION COMMON STYLES - UNIFIED
   ======================================== */

.section-padding {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-secondary);
    line-height: 1.2;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin-bottom: 25px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ========================================
   MEDIA GRID/CARDS - UNIFIED
   ======================================== */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.media-item {
    position: relative;
}

.media-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    background: var(--color-white);
}

.media-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

/* Image Card */
.image-card {
    aspect-ratio: 4/3;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover img {
    transform: scale(1.15);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(123, 40, 105, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-overlay i {
    color: var(--color-white);
    font-size: 3rem;
}

.media-card:hover .media-overlay {
    opacity: 1;
}

/* PDF Card */
.pdf-card {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.pdf-icon {
    font-size: 5rem;
    color: #E74C3C;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.pdf-card:hover .pdf-icon {
    transform: scale(1.15);
}

.pdf-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gray-700);
    text-align: center;
}

/* Video Card */
.video-card {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #000000, #434343);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover::before {
    opacity: 1;
}

.video-icon {
    font-size: 5rem;
    color: var(--color-white);
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.video-card:hover .video-icon {
    transform: scale(1.3);
}

.video-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    position: relative;
    z-index: 2;
}


/* ========================================
   PROGRAM SECTION - UNIFIED
   ======================================== */

.program-section {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.program-section:hover {
    box-shadow: var(--shadow-lg);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--color-gray-100);
}

.program-info {
    flex: 1;
}

.program-title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
}

.program-title i {
    color: var(--color-accent);
    margin-right: 12px;
}

.program-count {
    font-size: 1rem;
    color: var(--color-gray-600);
    margin: 0;
    font-weight: 600;
}


/* ========================================
   EMPTY STATE - UNIFIED
   ======================================== */

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.empty-state i {
    font-size: 5rem;
    color: var(--color-gray-300);
    margin-bottom: 24px;
}

.empty-state h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    margin: 0;
}


/* ========================================
   MODAL STYLES - UNIFIED
   ======================================== */

.modal-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 20px 24px;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-title i {
    color: var(--color-secondary);
}

.modal-body {
    padding: 24px;
}

.btn-close {
    filter: brightness(0) invert(1);
}


/* ========================================
   CTA SECTION - UNIFIED
   ======================================== */

.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 80px 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--color-white);
    margin-bottom: 18px;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.7;
}


/* ========================================
   CUSTOM BUTTONS - WSC
   ======================================== */

.btn-wsc-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    border: none;
    padding: 16px 36px;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(123, 40, 105, 0.3);
}

.btn-wsc-primary:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(123, 40, 105, 0.4);
}

.btn-wsc-outline {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    background: transparent;
    padding: 16px 36px;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    text-decoration: none;
}

.btn-wsc-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(123, 40, 105, 0.3);
}

.btn-wsc-outline-primary {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    background: transparent;
    padding: 14px 34px;
    font-weight: 700;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-wsc-outline-primary:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(123, 40, 105, 0.35);
}

.btn-wsc-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 16px 36px;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(197, 165, 114, 0.3);
}

.btn-wsc-secondary:hover {
    background: var(--color-secondary-dark);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(197, 165, 114, 0.4);
}

/* Button Icon Animation */
.btn-wsc-primary svg,
.btn-wsc-outline svg,
.btn-wsc-outline-primary svg,
.btn-wsc-secondary svg {
    transition: transform var(--transition-base);
}

.btn-wsc-primary:hover svg,
.btn-wsc-outline:hover svg,
.btn-wsc-outline-primary:hover svg,
.btn-wsc-secondary:hover svg {
    transform: translateX(6px);
}

/* Button Sizes */
.btn-wsc-lg {
    padding: 18px 45px;
    font-size: 1.15rem;
}

.btn-wsc-sm {
    padding: 12px 28px;
    font-size: 0.95rem;
}


/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

[data-scroll] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
[data-scroll]:nth-child(1) { transition-delay: 0.1s; }
[data-scroll]:nth-child(2) { transition-delay: 0.2s; }
[data-scroll]:nth-child(3) { transition-delay: 0.3s; }
[data-scroll]:nth-child(4) { transition-delay: 0.4s; }
[data-scroll]:nth-child(5) { transition-delay: 0.5s; }
[data-scroll]:nth-child(6) { transition-delay: 0.6s; }


/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */

@media (max-width: 768px) {
    :root {
        --font-5xl: 2rem;
        --font-4xl: 1.75rem;
        --font-3xl: 1.5rem;
        --font-2xl: 1.25rem;
    }
    
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}


/* ========================================
   UNIFIED RESPONSIVE BREAKPOINTS
   ======================================== */

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .stats-section {
        margin-top: -40px;
        padding-bottom: 40px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .program-section {
        padding: 24px 20px;
    }
    
    .program-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
    
    .program-title {
        font-size: 1.5rem;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile (320px - 575px) */
@media (max-width: 576px) {
    .page-header {
        padding: 90px 0 50px;
    }
    
    .program-title {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ========================================
   PRINT STYLES - UNIFIED
   ======================================== */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    img {
        page-break-inside: avoid;
    }
    
    h2, h3 {
        page-break-after: avoid;
    }
    
    .page-header,
    .stats-section {
        display: none !important;
    }
    
    .program-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}


/* ========================================
   ACCESSIBILITY - UNIFIED
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.media-card:focus-within {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .media-card,
    .stat-card,
    .program-section {
        border: 2px solid currentColor;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* ========================================
   LOADING ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.image-card img,
.gallery-image {
    animation: fadeIn 0.5s ease;
}