/* ===========================================
   HELP TRUST FOR STUDENTS - ENHANCED THEME CSS
   Professional Light & Dark Mode with Modern UI
   =========================================== */

/* ============ CSS CUSTOM PROPERTIES ============ */
:root {
    /* Brand Colors */
    --brand-primary: #5ebdad;
    --brand-secondary: #00a86b;
    --brand-accent: #FF7B00;
    
    /* Menu Bar Color */
    --menu-bar-color: #5ebdad;
    --menu-bar-color-dark: #3d9687;
    
    /* Button Color */
    --button-color: #FF7B00;
    --button-color-light: #FF9933;
    --button-color-dark: #E56A00;
    
    /* Professional Color Palette - Educational Theme */
    --primary-blue: #5ebdad;
    --primary-blue-light: #4aa99a;
    --primary-blue-dark: #3d9687;
    
    --secondary-green: #059669;
    --secondary-green-light: #10b981;
    --secondary-green-dark: #047857;
    
    --accent-orange: #ea580c;
    --accent-gold: #d97706;
    --accent-purple: #7c3aed;
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #5ebdad 0%, #4aa99a 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    --gradient-accent: linear-gradient(135deg, #FF7B00 0%, #FF9933 100%);
    --gradient-warm: linear-gradient(135deg, #FF7B00 0%, #E56A00 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(5, 150, 105, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* 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;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-bangla: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
    --font-display: 'Poppins', var(--font-primary);
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
}

/* ============ DARK THEME (Default) ============ */
[data-theme="dark"],
.dark-theme,
body:not(.light-theme) {
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-card-hover: #2d3a4f;
    --bg-input: #1e293b;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-muted: #475569;
    --text-inverse: #0f172a;
    
    /* Border Colors */
    --border-primary: #334155;
    --border-secondary: #475569;
    --border-accent: rgba(37, 99, 235, 0.3);
    
    /* Component Colors */
    --nav-bg: rgba(15, 23, 42, 0.95);
    --nav-border: rgba(51, 65, 85, 0.5);
    --card-border: rgba(51, 65, 85, 0.5);
    --input-border: #475569;
    --input-focus: var(--primary-blue);
    
    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Special Dark Theme Effects */
    --glow-primary: rgba(0, 128, 128, 0.3);
    --glow-secondary: rgba(255, 123, 0, 0.2);
}

/* ============ LIGHT THEME ============ */
[data-theme="light"],
.light-theme {
    /* Background Colors */
    --bg-primary: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #e8edf3;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-input: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.98);
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #f8fafc;
    
    /* Border Colors */
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --border-accent: rgba(0, 128, 128, 0.2);
    
    /* Component Colors */
    --nav-bg: #5ebdad;
    --nav-border: #3d9687;
    --card-border: rgba(226, 232, 240, 0.8);
    --input-border: #cbd5e1;
    --input-focus: #5ebdad;
    
    /* Status Colors */
    --success: #16a34a;
    --warning: #d97706;
    --error: #dc2626;
    --info: #5ebdad;
    
    /* Light Theme Effects */
    --glow-primary: rgba(0, 128, 128, 0.15);
    --glow-secondary: rgba(255, 123, 0, 0.15);
    
    /* Shadows - lighter for light theme */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ============ THEME TRANSITION ============ */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
    transition: background-color 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* ============ FONT CLASSES ============ */
.bangla-font {
    font-family: var(--font-bangla) !important;
}

.english-font {
    font-family: var(--font-primary) !important;
}

body.bangla-font .nav-menu a,
body.bangla-font .btn,
body.bangla-font h1, body.bangla-font h2, body.bangla-font h3, body.bangla-font h4,
body.bangla-font p, body.bangla-font span, body.bangla-font li {
    font-family: var(--font-bangla) !important;
}

/* ============ BASE STYLES OVERRIDE ============ */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: var(--leading-normal);
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ============ NAVBAR ENHANCEMENTS ============ */
.navbar {
    background: #5ebdad !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #3d9687;
    box-shadow: 0 4px 20px rgba(0, 128, 128, 0.3);
}

.navbar .nav-menu a {
    color: #ffffff !important;
}

.navbar .nav-menu a:hover,
.navbar .nav-menu a.active {
    color: #FFD700 !important;
}

.navbar .menu-toggle .bar {
    background-color: var(--text-primary) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 55px;
    width: auto;
    background: var(--card-bg);
    padding: 5px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo span:first-child {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Logo Tagline */
.logo-tagline {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a::after {
    background: var(--gradient-primary);
}

/* Nav Controls (Theme & Language Switchers) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.theme-switcher,
.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.theme-switcher:hover,
.lang-switcher:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.lang-switcher {
    width: auto;
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Donate Button Enhancement */
.donate-btn {
    background: #FF7B00 !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4) !important;
    transition: all var(--transition-fast) !important;
}

.donate-btn:hover {
    background: #E56A00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.5) !important;
}

/* ============ HERO SECTION ENHANCEMENT ============ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.85) 0%, 
        rgba(37, 99, 235, 0.7) 50%,
        rgba(5, 150, 105, 0.6) 100%
    );
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.75) 0%, 
        rgba(37, 99, 235, 0.5) 50%,
        rgba(5, 150, 105, 0.4) 100%
    );
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.95),
                 0 0 30px rgba(0, 0, 0, 0.85),
                 1px 1px 5px rgba(0, 0, 0, 1);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary-blue-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ============ BUTTONS ENHANCEMENT ============ */
.btn {
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 14px 32px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #FF7B00 !important;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.3);
}

.btn-primary:hover {
    background: #E56A00 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 123, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #FF7B00;
    border: 2px solid #FF7B00;
}

.btn-secondary:hover {
    background: #FF7B00;
    color: white;
    transform: translateY(-3px);
}

/* ============ CARDS ENHANCEMENT ============ */
.impact-card,
.program-card,
.team-card,
.mission-card,
.vision-card,
.help-way-card,
.donation-card,
.notice-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.impact-card::before,
.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.impact-card:hover,
.program-card:hover,
.team-card:hover,
.mission-card:hover,
.vision-card:hover,
.help-way-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 40px var(--glow-primary);
    border-color: var(--primary-blue);
}

.impact-card:hover::before,
.program-card:hover::before {
    opacity: 1;
}

/* Impact Numbers */
.impact-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.impact-text {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.impact-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============ SECTION TITLES ============ */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ============ SECTIONS BACKGROUND ============ */
.impact-section,
.programs-section,
.notices-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.mission-vision,
.our-story-section,
.street-school-highlight,
.transparency-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 5rem 0;
}

.how-to-help-section,
.ambassadors-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
}

/* ============ FOOTER ENHANCEMENT ============ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 60px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* ============ FORM ELEMENTS ============ */
input, textarea, select {
    background: var(--bg-input);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px var(--glow-primary);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

/* ============ MODAL ENHANCEMENT ============ */
.modal {
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.modal-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-modal-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
}

.donation-modal-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

/* ============ OUR ORIGIN SECTION ============ */
.our-origin {
    background: var(--bg-primary) !important;
}

.our-origin h2 {
    color: var(--text-primary) !important;
}

.our-origin p,
.origin-content p {
    color: var(--text-secondary) !important;
}

.origin-highlight,
.about-origin-highlight {
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* ============ TEXT COLOR FIXES ============ */
/* Fix all text colors to be readable in both themes */

.lead,
.section-subtitle,
.bangla-subtitle,
.about-intro p,
.mission-card p,
.vision-card p,
.program-card li,
.notice-description,
.footer-col a {
    color: var(--text-secondary) !important;
}

.about-intro h2,
.mission-card h3,
.vision-card h3,
.program-card h3,
.notice-title {
    color: var(--text-primary) !important;
}

.impact-card:hover .impact-text,
.program-card:hover .program-card h3 {
    color: var(--primary-blue) !important;
}

/* ============ LOGO FIXES ============ */
.logo {
    flex-direction: column;
}

.logo span {
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* ============ PAGE HEADERS ============ */
.page-header {
    background-color: var(--bg-secondary);
}

.page-header-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(37, 99, 235, 0.7) 100%
    );
}

[data-theme="light"] .page-header-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.75) 0%, 
        rgba(37, 99, 235, 0.65) 100%
    );
}

.page-header h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(37, 99, 235, 0.5);
    -webkit-text-fill-color: #ffffff !important;
}

[data-theme="light"] .page-header h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9),
                 0 0 30px rgba(37, 99, 235, 0.6),
                 1px 1px 4px rgba(0, 0, 0, 0.95);
    -webkit-text-fill-color: #ffffff !important;
}

.page-header p {
    color: #ffffff !important;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8),
                 0 0 10px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .page-header p {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9),
                 0 0 15px rgba(0, 0, 0, 0.7),
                 1px 1px 3px rgba(0, 0, 0, 1);
}

/* ============ HERO SECTION ============ */
.hero-overlay {
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.88) 0%, 
        rgba(0, 0, 0, 0.75) 50%,
        rgba(124, 58, 237, 0.4) 100%
    );
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.7) 0%, 
        rgba(37, 99, 235, 0.5) 100%
    );
}

.hero-title,
.hero-subtitle,
.hero-description,
.hero-description-bangla {
    color: #ffffff !important;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.95),
                 0 0 30px rgba(0, 0, 0, 0.85),
                 1px 1px 5px rgba(0, 0, 0, 1);
}

[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-description,
[data-theme="light"] .hero-description-bangla {
    color: #ffffff !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.95),
                 0 0 25px rgba(0, 0, 0, 0.8),
                 1px 1px 4px rgba(0, 0, 0, 1);
}

.hero-title-bangla {
    color: #ffffff !important;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.95),
                 0 0 30px rgba(0, 0, 0, 0.85),
                 1px 1px 5px rgba(0, 0, 0, 1);
}

[data-theme="light"] .hero-title-bangla {
    color: #ffffff !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.95),
                 1px 1px 4px rgba(0, 0, 0, 1);
}

/* ============ NOTICES ENHANCEMENT ============ */
.notice-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
}

.notice-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.notice-title {
    color: var(--text-primary);
}

.notice-date {
    color: var(--text-secondary);
}

.notice-description-box {
    background: var(--bg-tertiary);
    border-left-color: var(--primary-blue);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-dark);
}

/* ============ SELECTION ============ */
::selection {
    background: var(--primary-blue);
    color: white;
}

/* ============ RESPONSIVE ADJUSTMENTS ============ */
@media (max-width: 768px) {
    .nav-controls {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .theme-switcher,
    .lang-switcher {
        width: 36px;
        height: 36px;
    }
    
    .lang-switcher {
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .impact-number {
        font-size: 2.5rem;
    }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .card {
        border-width: 2px;
    }
}

/* ============ PRINT STYLES ============ */
@media print {
    .navbar,
    .theme-switcher,
    .lang-switcher,
    .footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ============ MOBILE NAVIGATION STYLES ============ */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #5ebdad !important;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-top: none;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
        font-size: 1.1rem;
        color: #ffffff !important;
        text-shadow: none;
    }
    
    [data-theme="light"] .nav-menu {
        background: #5ebdad !important;
    }
    
    [data-theme="light"] .nav-menu a {
        color: #ffffff !important;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    [data-theme="light"] .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-controls {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    [data-theme="light"] .nav-controls {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    .donate-btn {
        margin: 0.5rem 2rem !important;
    }
}

/* ============ ADDITIONAL LIGHT THEME OVERRIDES ============ */
[data-theme="light"] .navbar {
    background: #5ebdad !important;
    box-shadow: 0 4px 20px rgba(0, 128, 128, 0.3);
}

[data-theme="light"] .nav-menu a {
    color: #ffffff !important;
}

@media (max-width: 992px) {
    [data-theme="light"] .nav-menu a {
        color: #ffffff !important;
        text-shadow: none;
    }
}

[data-theme="light"] .logo span:first-child {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-content {
    text-shadow: none;
}

[data-theme="light"] .hero-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

[data-theme="light"] .impact-card,
[data-theme="light"] .program-card,
[data-theme="light"] .team-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .footer {
    background: var(--bg-secondary);
}

[data-theme="light"] .modal-content {
    background: var(--bg-card);
}

/* ============ ANIMATION KEYFRAMES ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ============ SKELETON LOADING ============ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-card) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* ============ TOAST NOTIFICATIONS ============ */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    animation: fadeInUp 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.info {
    border-left: 4px solid var(--info);
}

/* ============ SCROLL TO TOP BUTTON ============ */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #FF7B00;
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    background: #E56A00;
    box-shadow: 0 8px 25px rgba(255, 123, 0, 0.5);
}

/* ============ VISIBILITY ENHANCEMENTS ============ */
/* Improved text contrast for better readability */
body {
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Enhanced text visibility in light mode */
[data-theme="light"] .text-primary,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #1a1a1a !important;
}

[data-theme="light"] .text-secondary,
[data-theme="light"] p,
[data-theme="light"] .lead,
[data-theme="light"] .section-subtitle {
    color: #333333 !important;
}

/* Enhanced card visibility with borders */
[data-theme="light"] .impact-card,
[data-theme="light"] .program-card,
[data-theme="light"] .team-card,
[data-theme="light"] .mission-card,
[data-theme="light"] .vision-card,
[data-theme="light"] .notice-card,
[data-theme="light"] .donation-card {
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Better link visibility */
a {
    color: #5ebdad;
}

a:hover {
    color: #3d9687;
}

/* Enhanced section title visibility */
.section-title {
    font-weight: 700 !important;
}

[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #5ebdad 0%, #3d9687 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Impact numbers more visible */
.impact-number {
    font-weight: 800 !important;
}

[data-theme="light"] .impact-number {
    background: linear-gradient(135deg, #FF7B00 0%, #E56A00 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Button text more visible */
.btn {
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

/* Footer link visibility */
.footer-col a {
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: #FF7B00;
}

/* ============ MOBILE MENU FINAL FIX ============ */
/* This section MUST be at the end to override all other styles */
@media screen and (max-width: 992px) {
    /* Force mobile menu background to teal for ALL themes */
    .nav-menu,
    html .nav-menu,
    body .nav-menu,
    .light-theme .nav-menu,
    .dark-theme .nav-menu,
    [data-theme="light"] .nav-menu,
    [data-theme="dark"] .nav-menu,
    html[data-theme="light"] .nav-menu,
    html[data-theme="dark"] .nav-menu {
        background: #5ebdad !important;
        background-color: #5ebdad !important;
    }
    
    /* Force mobile menu text to white for ALL themes */
    .nav-menu a,
    .nav-menu li a,
    html .nav-menu a,
    body .nav-menu a,
    .light-theme .nav-menu a,
    .dark-theme .nav-menu a,
    [data-theme="light"] .nav-menu a,
    [data-theme="dark"] .nav-menu a,
    html[data-theme="light"] .nav-menu a,
    html[data-theme="dark"] .nav-menu a {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    /* Hover state */
    .nav-menu a:hover,
    [data-theme="light"] .nav-menu a:hover,
    [data-theme="dark"] .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #FFD700 !important;
        -webkit-text-fill-color: #FFD700 !important;
    }
}



