/* =====================================================================
   BPLP MOSTAGANEM - PROFESSIONAL DESIGN SYSTEM
   المكتبة الرئيسية للمطالعة العمومية - مستغانم
   Version: 2.0 - Production Ready
   ===================================================================== */

/* Google Fonts - Arabic Optimized Typography */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&display=swap');

/* =====================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ===================================================================== */
:root {
    /* Primary Palette - Institutional Authority */
    --primary: #1A3C5E;
    --primary-dark: #122b44;
    --primary-light: #2a5a8a;

    /* Secondary Palette - Cultural Prestige */
    --secondary: #C5A065;
    --secondary-dark: #a8864d;
    --secondary-light: #e6cba3;

    /* Neutral Tones */
    --dark: #1f2933;
    --text: #4a5568;
    --text-light: #718096;
    --light: #F8F9FA;
    --light-alt: #edf2f7;
    --white: #ffffff;

    /* Semantic Colors */
    --success: #38a169;
    --warning: #dd6b20;
    --error: #e53e3e;

    /* Shadows - Layered Depth */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(197, 160, 101, 0.3);

    /* Typography */
    --font-heading: 'Amiri', serif;
    --font-body: 'Cairo', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header Height */
    --header-height: 90px;
}

/* =====================================================================
   2. BASE RESET & GLOBAL STYLES
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: var(--space-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================================
   3. UTILITY CLASSES
   ===================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.text-center {
    text-align: center;
}

.text-secondary {
    color: var(--secondary);
}

.bg-light {
    background-color: var(--light);
}

.bg-primary {
    background-color: var(--primary);
}

/* =====================================================================
   4. SCROLL PROGRESS INDICATOR
   ===================================================================== */
#scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    z-index: 9999;
    transition: width 0.1s;
}

/* =====================================================================
   5. HEADER & NAVIGATION
   ===================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.ministry-logo,
.bplp-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.bplp-logo {
    border-right: 2px solid var(--secondary);
    padding-right: var(--space-lg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    padding: 0 var(--space-lg);
    /* Border moved to BPLP logo */
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================================
   6. BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* =====================================================================
   7. HERO SECTION
   ===================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 60, 94, 0.30) 0%,
            rgba(18, 43, 68, 0.30) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(197, 160, 101, 0.15);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    margin-bottom: var(--space-xl);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-3xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: float 3s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* =====================================================================
   8. SECTIONS LAYOUT
   ===================================================================== */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.text-content .lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--secondary);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Image Placeholder */
.image-content {
    position: relative;
}

.img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    background: var(--secondary);
    opacity: 0.1;
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--light-alt) 0%, var(--light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
}

/* =====================================================================
   9. SERVICES SECTION - Premium Cards
   ===================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--secondary);
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 160, 101, 0.2);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--light) 0%, var(--light-alt) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--secondary-dark);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* =====================================================================
   9.5 DIGITAL TRANSFORMATION SECTION
   ===================================================================== */
.dark-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.tech-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: var(--secondary);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.tech-card h3 {
    color: var(--secondary-light);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.tech-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

.tech-banner {
    background: rgba(197, 160, 101, 0.15);
    border: 1px solid var(--secondary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.tech-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.tech-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
}

/* =====================================================================
   10. EVENTS SECTION
   ===================================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.event-date {
    flex-shrink: 0;
    width: 100px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    text-align: center;
}

.event-date .day {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.event-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-xs);
    color: var(--secondary-light);
}

.event-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.event-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.event-location {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* =====================================================================
   11. GALLERY SECTION
   ===================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img,
.img-placeholder-gallery {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-placeholder-gallery {
    background: linear-gradient(135deg, var(--light-alt) 0%, #ddd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
}

.gallery-item:hover img,
.gallery-item:hover .img-placeholder-gallery {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 60, 94, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* =====================================================================
   12. FAQ SECTION
   ===================================================================== */
.small-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--space-xl);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-alt);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark);
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary);
    transition: transform var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
}

.faq-answer p {
    padding: 0 var(--space-xl);
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: var(--space-lg) 0;
}

/* =====================================================================
   13. FOOTER
   ===================================================================== */
.footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--secondary) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3xl);
    padding: var(--space-4xl) var(--space-xl) var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-md);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(-5px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.85);
    direction: ltr;
}

.footer-bottom {
    padding: var(--space-xl);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.15);
}

/* =====================================================================
   14. RESPONSIVE DESIGN
   ===================================================================== */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .image-content {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .navbar {
        padding: 0 var(--space-lg);
    }

    .logo-text {
        display: none;
    }

    .ministry-logo {
        height: 50px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        padding: var(--space-3xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg);
        gap: var(--space-xl);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: var(--space-3xl) var(--space-lg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .services-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        width: 100%;
        flex-direction: row;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }
}

/* =====================================================================
   15. ANIMATIONS & EFFECTS
   ===================================================================== */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle hover lift for interactive elements */
.card-hover {
    transition: transform var(--transition), box-shadow var(--transition);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Gold accent on hover */
.gold-accent:hover {
    box-shadow: var(--shadow-gold);
}