/* ============================================
   أرشيف الحراك الشعبي الجزائري
   Algerian Hirak Archive - Enhanced Islamic Design
   ============================================ */

/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@400;600;700&family=Scheherazade+New:wght@400;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Islamic Algerian Color Palette */
    --primary-green: #0d5e3a;
    --light-green: #1a5f23;
    --accent-gold: #d4af37;
    --light-gold: #ffd54f;
    --warning-yellow: #ffc107;
    
    /* Neutrals */
    --off-white: #f8f9fa;
    --sand: #e8dcc8;
    --white: #ffffff;
    --dark-gray: #2c2c2c;
    --text-gray: #333;
    --light-gray: #e0e0e0;
    
    /* Typography */
    --font-arabic-body: 'Cairo', sans-serif;
    --font-arabic-elegant: 'Amiri', serif;
    --font-arabic-display: 'Scheherazade New', serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    
    /* Borders */
    --border-radius: 12px;
    --border-radius-sm: 6px;
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-arabic-body);
    background-color: var(--off-white);
    color: var(--text-gray);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== DISCLAIMER BANNER ========== */
.disclaimer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-bottom: 3px solid var(--warning-yellow);
    padding: var(--spacing-sm) 0;
    text-align: center;
    font-weight: 600;
    color: #856404;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.disclaimer i {
    margin-left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== HEADER ========== */
header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    padding: var(--spacing-md) 0;
    box-shadow: 0 4px 20px rgba(13, 94, 58, 0.3);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.05) 35px, rgba(255,255,255,0.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
    pointer-events: none;
}

header::after {
    content: '✦';
    position: absolute;
    top: 10px;
    right: 5%;
    font-size: 1.5rem;
    color: var(--accent-gold);
    opacity: 0.3;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.logo {
    font-family: var(--font-arabic-elegant);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.logo span {
    color: var(--light-gold);
    font-weight: 700;
}

/* Navigation */
nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
    position: relative;
}

nav li {
    margin: 0 2px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    font-size: 0.95rem;
    position: relative;
}

nav a:hover,
nav a.active-page {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d2e 100%);
    position: relative;
    padding: 60px 0 70px;
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(13, 94, 58, 0.3);
    overflow: hidden;
}

/* Visible Islamic geometric pattern - 8-pointed stars */
.hero::before {
    content: '✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    bottom: -20px;
    color: var(--accent-gold);
    opacity: 0.06;
    font-size: 3rem;
    line-height: 4rem;
    word-spacing: 2rem;
    pointer-events: none;
    overflow: hidden;
    white-space: normal;
    text-align: center;
    transform: rotate(-5deg);
}

/* Additional geometric diamond pattern */
.hero::after {
    content: '◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇';
    position: absolute;
    top: 0;
    left: -50px;
    right: -50px;
    bottom: 0;
    color: rgba(255, 255, 255, 0.05);
    opacity: 0.4;
    font-size: 2rem;
    line-height: 3rem;
    word-spacing: 3rem;
    pointer-events: none;
    white-space: normal;
    text-align: center;
    transform: rotate(5deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl);
}

.hero-title {
    font-family: var(--font-arabic-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1.3;
    color: white;
}

.hero-title span {
    color: var(--accent-gold);
    display: block;
    font-size: 2.8rem;
    margin-top: var(--spacing-sm);
}

.hero-subtitle {
    font-family: var(--font-arabic-elegant);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    color: var(--sand);
    font-weight: 400;
    line-height: 1.6;
}

.hero-quote {
    font-family: var(--font-arabic-elegant);
    font-size: 1.8rem;
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
    max-width: 700px;
    color: var(--light-gold);
    font-weight: 700;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    background: rgba(212, 175, 55, 0.05);
}

/* Decorative star ornaments around quote */
.hero-quote::before {
    content: '✦ ✧ ✦';
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 1.2rem;
    color: var(--accent-gold);
    opacity: 0.8;
    letter-spacing: 1rem;
}

.hero-quote::after {
    content: '✦ ✧ ✦';
    position: absolute;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 1.2rem;
    color: var(--accent-gold);
    opacity: 0.8;
    letter-spacing: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: var(--spacing-xl);
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-cta .btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--accent-gold);
    color: white;
    padding: 12px 30px;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-cta .btn:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ========== MAIN CONTENT ========== */
main {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    min-height: 70vh;
}

.page-content {
    background: white;
    background-image: url('../assets/patterns/inner-page-pattern.svg');
    background-size: 200px 200px;
    background-repeat: repeat;
    background-position: center;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    margin-top: var(--spacing-md);
    position: relative;
    border-top: 4px solid var(--accent-gold);
}

/* Decorative corner ornaments */
.page-content::before {
    content: '✦';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

.page-content::after {
    content: '✦';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

/* Section Titles */
h1 {
    font-family: var(--font-arabic-elegant);
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-gray);
    font-size: 2.2rem;
    position: relative;
}

h1::after {
    content: '✦ ✧ ✦';
    position: absolute;
    bottom: -12px;
    right: 0;
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 0.5rem;
    background: white;
    padding: 0 10px;
}

h1::before {
    content: '✦';
    position: absolute;
    top: 5px;
    right: -5px;
    font-size: 1rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

h2 {
    font-family: var(--font-arabic-elegant);
    color: var(--light-green);
    margin: 25px 0 15px;
    font-size: 1.8rem;
    padding: 12px 20px;
    background: linear-gradient(90deg, 
        rgba(13, 94, 58, 0.03) 0%, 
        rgba(13, 94, 58, 0.01) 100%);
    border-right: 3px solid var(--accent-gold);
    position: relative;
}

h2::before {
    content: '✦';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 0.8rem;
    opacity: 0.4;
}

h3 {
    color: #388e3c;
    margin: var(--spacing-md) 0 var(--spacing-sm);
    font-size: 1.4rem;
}

p {
    margin-bottom: 16px;
    text-align: justify;
}

ul, ol {
    margin-right: 25px;
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: 10px;
}

/* ========== CARD SYSTEM ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: 25px;
}

.card {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Visible corner ornament with Islamic star */
.card::before {
    content: '✦';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.15;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at center, transparent 30%, var(--accent-gold) 30%, var(--accent-gold) 32%, transparent 32%),
        radial-gradient(circle at center, transparent 50%, var(--accent-gold) 50%, var(--accent-gold) 52%, transparent 52%);
    opacity: 0.05;
    border-radius: 0 10px 0 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--accent-gold);
}

.card:hover::before {
    opacity: 0.4;
    transform: rotate(45deg) scale(1.2);
    transition: all 0.3s ease;
}

.card h3 {
    font-family: var(--font-arabic-body);
    color: var(--primary-green);
}

.event-date {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: var(--primary-green);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px solid rgba(13, 94, 58, 0.2);
}

/* ========== STATISTICS ========== */
.stats {
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-top: 40px;
    border: 1px solid rgba(13, 94, 58, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.stats-grid div {
    background: white;
    padding: var(--spacing-md);
    border-radius: 10px;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.stats-grid div:hover {
    transform: scale(1.05);
}

.stats-grid span {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    box-shadow: 0 4px 10px rgba(13, 94, 58, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 94, 58, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
}

.btn i {
    margin-left: 8px;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

/* Islamic pattern overlay for footer - MATCHES NAVBAR SUBTLETY */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.05) 35px, rgba(255,255,255,0.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
    pointer-events: none;
    z-index: 0;
}

/* Gold decorative line on top of footer */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-gold) 50%, 
        transparent 100%);
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1; /* Above pattern */
}

.footer-links a {
    color: #b0e0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1; /* Above pattern */
}

.footer-links a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
    padding-top: var(--spacing-md);
    border-top: 1px solid #444;
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1; /* Above pattern */
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Mobile drawer (slides from right for RTL) */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--light-green) 100%);
    z-index: 1002;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-drawer nav {
    padding: 80px 20px 30px;
}

.mobile-nav-drawer nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.mobile-nav-drawer nav a {
    width: 100%;
    text-align: right;
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mobile-nav-drawer nav a i {
    margin-left: 12px;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet and Mobile (≤ 768px) */
@media (max-width: 768px) {
    /* Enable mobile navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-overlay,
    .mobile-nav-drawer {
        display: block;
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    /* Hide desktop navigation */
    header nav {
        display: none;
    }
    
    /* Disclaimer optimization */
    .disclaimer {
        padding: 10px 0;
        font-size: 0.85rem;
    }
    
    /* Header optimization */
    header {
        padding: 15px 0;
        position: relative;
    }
    
    .logo {
        font-size: 1.5rem;
        margin-bottom: 0;
        padding: 0 60px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 40px 0 45px;
        margin-top: 15px;
    }
    
    .hero-content {
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-title span {
        font-size: 1.6rem;
        margin-top: 8px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-quote {
        font-size: 1.2rem;
        padding: var(--spacing-sm) var(--spacing-md);
        margin: var(--spacing-md) auto;
    }
    
    .hero-quote::before,
    .hero-quote::after {
        font-size: 0.9rem;
        letter-spacing: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-top: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-cta {
        margin-top: var(--spacing-md);
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Reduce pattern visibility on mobile */
    .hero::before {
        opacity: 0.04;
        font-size: 2.5rem;
    }
    
    .hero::after {
        opacity: 0.3;
        font-size: 1.5rem;
    }
    
    /* Content optimization */
    .page-content {
        padding: var(--spacing-md);
        margin-top: 15px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stats-grid div {
        padding: 15px;
        font-size: 2rem;
    }
    
    /* Typography scaling */
    h1 {
        font-size: 1.8rem;
        padding-bottom: 12px;
    }
    
    h2 {
        font-size: 1.5rem;
        margin: 20px 0 12px;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Footer optimization */
    footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    .disclaimer {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .logo {
        font-size: 1.3rem;
        padding: 0 50px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.6rem;
        top: 15px;
        left: 15px;
    }
    
    .hero {
        padding: 30px 0 35px;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-title span {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-quote {
        font-size: 1.1rem;
        padding: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-cta .btn {
        padding: 11px 20px;
        font-size: 1rem;
    }
    
    .page-content {
        padding: var(--spacing-sm);
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .stats-grid div {
        font-size: 1.8rem;
        padding: 12px;
    }
    
    .mobile-nav-drawer {
        width: 85%;
    }
}

/* ========== SMOOTH ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    animation: fadeIn 0.6s ease-out;
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    border-color: var(--light-gold);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top i {
    animation: bounceUp 2s infinite;
}

@keyframes bounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile optimization for scroll to top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        left: 15px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

/* ========== ACCESSIBILITY ========== */
a:focus,
button:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

