/* Design System & Global Styles */
:root {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(31, 41, 55, 0.8);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --primary-hover: #4f46e5;
    --accent: #14b8a6;
    --accent-glow: rgba(20, 184, 166, 0.3);
    --accent-hover: #0d9488;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glow-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
    
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    --container-max: 1200px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--accent);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.max-width-md {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections Global */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-headings);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-subtitle.light {
    color: var(--accent);
}

.section-desc {
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

/* Header & Glassmorphism Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-glass {
    background-color: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-glass.scrolled {
    background-color: rgba(9, 13, 22, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* Navigation Links */
#desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-panel.open {
    right: 0;
}

.mobile-nav-panel ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
}

.mobile-nav-link {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--text-main);
    padding-left: 0.5rem;
}

.mobile-btn-container {
    margin-top: 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 2rem);
    background-color: #05070c;
    overflow: hidden;
}

.hero-background-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(20, 184, 166, 0.05) 50%, rgba(5, 7, 12, 0) 100%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

#hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.visual-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
}

.visual-card-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.visual-card-content {
    position: relative;
    z-index: 1;
    padding: 1.75rem;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.visual-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.visual-header .dot.red { background-color: #ef4444; }
.visual-header .dot.yellow { background-color: #f59e0b; }
.visual-header .dot.green { background-color: #10b981; }

.visual-title {
    margin-left: 0.5rem;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.visual-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.visual-stat-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.visual-stat-row:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
}

.stat-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.stat-circle.accent {
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--accent);
}

.stat-circle.tech {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mission & Valeurs Section */
.about-section {
    background-color: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-shadow);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition-smooth);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    color: var(--accent);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
}

/* Programs Section (Interactive Tabs) */
.programs-section {
    background-color: var(--bg-primary);
}

.tabs-nav-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.tabs-nav {
    display: flex;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.35rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.panels-container {
    position: relative;
    min-height: 380px;
}

.tab-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(10px);
    display: none;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.panel-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.panel-info .lead {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.panel-info p {
    margin-bottom: 1.5rem;
}

.panel-icon-badge {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.panel-icon-badge.accent {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.panel-icon-badge.tech {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.panel-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.panel-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.panel-features-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.panel-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--accent);
    padding: 1.75rem;
    border-radius: 0 12px 12px 0;
}

.stat-card.accent {
    border-left-color: var(--primary);
}

.stat-card.tech {
    border-left-color: #8b5cf6;
}

.stat-card-value {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services & Boutique Section */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-shadow);
}

.service-box-visual {
    height: 200px;
    background-color: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Room schematic layout visualization */
.salle-schematic {
    width: 80%;
    height: 70%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(9, 13, 22, 0.4);
    position: relative;
}

.schematic-room {
    text-align: center;
    padding: 1rem;
}

.schematic-room .label {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.schematic-room .stage {
    background-color: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.75rem;
}

.chairs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chair {
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
    border-radius: 2px;
}

/* Boutique showcase visualization */
.boutique-showcase {
    display: flex;
    gap: 1.5rem;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    width: 100px;
    color: var(--text-muted);
}

.product-item.accent {
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--accent);
    background-color: rgba(20, 184, 166, 0.02);
}

.product-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.service-box-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-box-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-box-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-features li strong {
    color: var(--text-main);
}

.service-pricing {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent);
}

/* Dynamic Donation Slider Section */
.donation-section {
    background-color: #05070c;
    overflow: hidden;
}

.donation-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.donation-info {
    max-width: 600px;
}

.light-text {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Custom styled Range Slider */
.slider-wrapper {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.slider-header-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

/* Track styles */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition-fast);
}

input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px; /* Centers thumb on track in Chrome */
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
    transition: transform 0.1s ease;
}

input[type=range]:active::-webkit-slider-thumb {
    transform: scale(1.2);
}

/* Firefox track and thumb */
input[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

input[type=range]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

.slider-current-value {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    text-align: center;
    margin-top: 1.5rem;
}

/* Visualisation Display Card */
.donation-impact-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.donation-impact-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-shadow);
}

.card-glow-bg {
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.card-inner-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    text-align: center;
}

.impact-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.impact-level-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-headings);
}

.impact-text-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    min-height: 100px;
}

.impact-card-footer {
    display: flex;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info-panel p {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.info-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.info-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.contact-form-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: rgba(9, 13, 22, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background-color: rgba(9, 13, 22, 0.8);
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-main);
}

.form-group select:invalid {
    color: var(--text-muted);
}

/* Form Error States */
.form-group.has-error input, 
.form-group.has-error select, 
.form-group.has-error textarea {
    border-color: #ef4444;
}

.form-group.has-error input:focus, 
.form-group.has-error select:focus, 
.form-group.has-error textarea:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    display: none;
    margin-top: 0.25rem;
}

.form-group.has-error .error-msg {
    display: block;
}

/* Footer */
#main-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-legal p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-legal .copyright {
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-size: 0.8rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(20, 184, 166, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.toast-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.toast-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toast-title {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.toast-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Screen Readers Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    #hero-title {
        font-size: 3rem;
    }
    .hero-container {
        gap: 2.5rem;
    }
}

@media (max-width: 968px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* visual on top in mobile/tablet */
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .donation-info {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Navbar Hamburger Trigger */
    #desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    #header-btn-support {
        display: none; /* Show support button in drawer on small screens */
    }
    
    .tab-panel {
        padding: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    #hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 8px;
    }
    
    .tabs-nav {
        border-radius: 12px;
        width: 100%;
    }
}
