/* ==== VARIABLES & RESET ==== */
:root {
    --primary: #009640;
    --primary-light: #00c853;
    --primary-dark: #007a33;
    --secondary: #009fe3;
    --secondary-dark: #0077b6;
    --tertiary: #ec4700; /* Nouvelle couleur ec4700 ajoutée à la charte */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 16px;
}

/* ==== DARK THEME (default) ==== */
[data-theme="dark"] {
    --bg-dark: #0a0f1a;
    --bg-darker: #060b14;
    --bg-section: #0d1424;
    --text-main: #f0f4f8;
    --text-muted: #8899a8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.07);
    --shadow-glow-green: 0 0 40px rgba(0, 150, 64, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(0, 159, 227, 0.15);
    --card-hover-bg: rgba(255, 255, 255, 0.05);
}

/* ==== LIGHT THEME ==== */
[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-darker: #f5f7fa;
    --bg-section: #f0f2f5;
    --text-main: #1a2332;
    --text-muted: #5a6a7a;
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-glow-green: 0 4px 20px rgba(0, 150, 64, 0.1);
    --shadow-glow-blue: 0 4px 20px rgba(0, 159, 227, 0.1);
    --card-hover-bg: rgba(0, 150, 64, 0.04);
}

/* ==== THEME TOGGLE ==== */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-green);
}

[data-theme="dark"] .theme-toggle .fa-moon { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: inline-block; }
[data-theme="light"] .theme-toggle .fa-sun { display: none; }
[data-theme="light"] .theme-toggle .fa-moon { display: inline-block; }

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; height: auto; }

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

.nav-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

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

.accent-blue {
    background: linear-gradient(135deg, var(--secondary), #40c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-orange {
    background: linear-gradient(135deg, var(--tertiary), #ff7a33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 7rem 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1.5rem auto 0 auto;
    border-radius: 2px;
}

/* ==== COMPONENTS ==== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 150, 64, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 150, 64, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 159, 227, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 159, 227, 0.5);
}

.btn-orange {
    background: linear-gradient(135deg, var(--tertiary), #ff6b1a);
    color: #fff;
    box-shadow: 0 4px 20px rgba(236, 71, 0, 0.3);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 71, 0, 0.5);
}

.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 1.15rem;
}

.btn-white {
    background: #fff;
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

/* ==== NAVIGATION ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 150, 64, 0.3));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==== HERO ==== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/photos/forum/IMG_0447.jpg');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.35);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 26, 0.6) 0%,
        rgba(10, 15, 26, 0.4) 40%,
        rgba(10, 15, 26, 0.7) 70%,
        var(--bg-dark) 100%
    );
}

.hero-bg-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(0deg, var(--bg-dark), transparent);
}

.hero-content {
    max-width: 850px;
    z-index: 10;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.badge-orange {
    background: rgba(236, 71, 0, 0.15) !important;
    border-color: rgba(236, 71, 0, 0.3) !important;
    color: var(--tertiary) !important;
}

[data-theme="light"] .badge-orange {
    background: rgba(236, 71, 0, 0.1) !important;
    border-color: rgba(236, 71, 0, 0.25) !important;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

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

/* ==== GLASS CARDS ==== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 150, 64, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-green);
}

/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(0, 150, 64, 0.08);
    border: 1px solid rgba(0, 150, 64, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.glass-card:hover .icon-circle {
    background: rgba(0, 150, 64, 0.15);
    box-shadow: 0 0 30px rgba(0, 150, 64, 0.2);
}

/* Section backgrounds */
.bg-dark { background-color: var(--bg-section); }
.bg-darker { background-color: var(--bg-darker); }

/* Feature List */
.feature-list { margin-top: 2rem; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}
.feature-list i { color: var(--primary-light); font-size: 1.1rem; }

/* ==== HOMEPAGE: ABOUT SECTION ==== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-visual:hover img {
    transform: scale(1.05);
}

.about-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 150, 64, 0.2), rgba(0, 159, 227, 0.15));
    pointer-events: none;
}

.about-visual-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 150, 64, 0.3);
    border-radius: var(--radius);
    pointer-events: none;
}

/* Vision Block */
.vision-block {
    max-width: 800px;
    margin: 5rem auto 0 auto;
    padding: 3rem;
    border-left: 4px solid var(--secondary);
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.06), transparent);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.vision-block .vision-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vision-block .vision-text {
    font-size: 1.35rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
}

/* ==== STATS SECTION ==== */
.stats-bar {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 150, 64, 0.08), rgba(0, 159, 227, 0.08));
    border-top: 1px solid rgba(0, 150, 64, 0.15);
    border-bottom: 1px solid rgba(0, 159, 227, 0.15);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ==== OBJECTIVES SECTION ==== */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.objective-card {
    text-align: left;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

.objective-card:nth-child(1) { border-left-color: var(--primary); }
.objective-card:nth-child(2) { border-left-color: var(--secondary); }
.objective-card:nth-child(3) { border-left-color: var(--primary-light); }
.objective-card:nth-child(4) { border-left-color: var(--secondary); }
.objective-card:nth-child(5) { border-left-color: var(--primary); }
.objective-card:nth-child(6) { border-left-color: #40c4ff; }

.objective-card .obj-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    opacity: 0.06;
    line-height: 1;
}

.objective-card .icon-circle {
    margin: 0 0 1.5rem 0;
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
}

.objective-card h3 {
    color: var(--text-main);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.objective-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==== ACTIVITIES SECTION ==== */
.activities-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.activity-item {
    text-align: left;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.activity-item .icon-circle {
    margin: 0;
    flex-shrink: 0;
    color: var(--secondary);
    background: rgba(0, 159, 227, 0.08);
    border-color: rgba(0, 159, 227, 0.25);
}

.activity-item:hover .icon-circle {
    background: rgba(0, 159, 227, 0.15);
    box-shadow: 0 0 30px rgba(0, 159, 227, 0.2);
}

.activity-item .activity-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.activity-item .activity-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==== TEAM SECTION ==== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.team-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    border: 3px solid rgba(0, 150, 64, 0.4);
    box-shadow: 0 0 30px rgba(0, 150, 64, 0.15);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--primary-light);
    box-shadow: 0 0 40px rgba(0, 150, 64, 0.3);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar {
    background: rgba(0, 150, 64, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--glass-border);
}

.placeholder-avatar i {
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.team-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.team-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==== FORUM HIGHLIGHT BANNER ==== */
.forum-banner {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.forum-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.forum-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) saturate(0.8);
}

.forum-banner-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 150, 64, 0.15),
        rgba(0, 159, 227, 0.1),
        rgba(10, 15, 26, 0.8)
    );
}

.forum-banner-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
}

.forum-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.forum-banner p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 650px;
    margin: 0 auto 1rem auto;
    line-height: 1.7;
}

.forum-banner-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.forum-banner-meta .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.forum-banner-meta .meta-tag i {
    color: var(--primary-light);
}

/* ==== CONTACT SECTION ==== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details .detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-details .detail-item i {
    width: 45px;
    height: 45px;
    background: rgba(0, 150, 64, 0.08);
    border: 1px solid rgba(0, 150, 64, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details .detail-item span {
    color: var(--text-muted);
    font-size: 1rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 64, 0.3);
}

.tag {
    font-weight: 600;
    color: var(--primary-light);
}

/* Contact Form */
.contact-form-card {
    border: 1px solid rgba(0, 150, 64, 0.2);
    border-radius: var(--radius);
    padding: 3rem;
    background: rgba(0, 150, 64, 0.03);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 150, 64, 0.15);
    background: rgba(0, 150, 64, 0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Map Container */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 150, 64, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin-top: 2rem;
}

/* ==== FOOTER ==== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-light); }

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact i {
    width: 25px;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: underline;
}
.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ==== ANIMATION CLASSES ==== */
.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { aspect-ratio: 16/9; }
    .objectives-grid { grid-template-columns: repeat(2, 1fr); }
    .activities-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, #nav-cta { display: none; }
    .hamburger { display: block; }
    .section { padding: 4rem 0; }
    .objectives-grid { grid-template-columns: 1fr; }
    .activities-row { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2.2rem; }
    .forum-banner-content { padding: 5rem 0; }
    .forum-banner h2 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-subtitle { font-size: 1rem; }
    .activity-item { flex-direction: column; }
    .activity-item .icon-circle { margin: 0 auto; }
    .activity-item { text-align: center; }
    .activity-item .activity-text { text-align: center; }
    .objective-card { text-align: center; }
    .objective-card .icon-circle { margin: 0 auto 1.5rem auto; }
    .scroll-indicator { display: none; }
    .vision-block { padding: 2rem; }
    .vision-block .vision-text { font-size: 1.1rem; }
}

/* ==== LIGHT THEME OVERRIDES ==== */

[data-theme="light"] body {
    background-color: #ffffff;
    color: #1a2332;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5 {
    color: #1a2332;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links a { color: #1a2332; }
[data-theme="light"] .logo-text { color: #1a2332; }

[data-theme="light"] .hero { color: #fff; }
[data-theme="light"] .hero h1,
[data-theme="light"] .hero h2,
[data-theme="light"] .hero h3 { color: #fff; }
[data-theme="light"] .hero-subtitle { color: rgba(255,255,255,0.8); }
[data-theme="light"] .hero .badge {
    background: rgba(0, 150, 64, 0.2);
    border-color: rgba(0, 150, 64, 0.4);
}
[data-theme="light"] .hero-bg-overlay {
    background: linear-gradient(180deg,
        rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.6) 70%, #fff 100%);
}
[data-theme="light"] .hero-bg-accent {
    background: linear-gradient(0deg, #fff, transparent);
}

[data-theme="light"] .navbar:not(.scrolled) .nav-links a { color: #fff; }
[data-theme="light"] .navbar:not(.scrolled) .logo-text { color: #fff; }
[data-theme="light"] .navbar:not(.scrolled) .hamburger { color: #fff; }
[data-theme="light"] .navbar:not(.scrolled) .btn-outline {
    color: #fff; border-color: #fff;
}
[data-theme="light"] .navbar:not(.scrolled) .btn-outline:hover {
    background: #fff; color: var(--primary);
}

[data-theme="light"] .stats-bar {
    background: linear-gradient(135deg, rgba(0,150,64,0.04), rgba(0,159,227,0.04));
    border-color: rgba(0,0,0,0.06);
}

[data-theme="light"] .glass-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
}
[data-theme="light"] .glass-card:hover {
    border-color: rgba(0, 150, 64, 0.3);
    box-shadow: 0 8px 30px rgba(0, 150, 64, 0.08);
}

[data-theme="light"] .vision-block {
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.04), transparent);
}

[data-theme="light"] .about-visual-overlay {
    background: linear-gradient(135deg, rgba(0,150,64,0.08), rgba(0,159,227,0.05));
}

[data-theme="light"] .forum-banner { color: #fff; }
[data-theme="light"] .forum-banner h2,
[data-theme="light"] .forum-banner h3 { color: #fff; }
[data-theme="light"] .forum-banner p { color: rgba(255,255,255,0.8); }
[data-theme="light"] .forum-banner .badge {
    background: rgba(0, 150, 64, 0.2);
    border-color: rgba(0, 150, 64, 0.4);
    color: #00c853;
}

[data-theme="light"] .contact-form-card {
    background: #fff;
    border-color: rgba(0,150,64,0.15);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: #f5f7fa;
    border-color: rgba(0,0,0,0.1);
    color: #1a2332;
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 15px rgba(0,150,64,0.1);
}
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #9aa8b8;
}

[data-theme="light"] .social-links a {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
    color: #1a2332;
}

[data-theme="light"] .footer {
    background: #f5f7fa;
    border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0,0,0,0.06);
}

[data-theme="light"] .map-container {
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

[data-theme="light"] .icon-circle {
    background: rgba(0,150,64,0.06);
    border-color: rgba(0,150,64,0.15);
}

[data-theme="light"] .bg-dark { background-color: #f0f2f5; }
[data-theme="light"] .glow { display: none; }
[data-theme="light"] .hamburger { color: #1a2332; }

[data-theme="light"] .btn-white {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,150,64,0.3);
}
[data-theme="light"] .btn-white:hover {
    box-shadow: 0 8px 30px rgba(0,150,64,0.4);
}

[data-theme="light"] .scroll-indicator { color: rgba(255,255,255,0.6); }
