/*
Theme Name: A & NE Foundation Theme
Author: A & NE Foundation
Description: Custom, Elementor-enabled theme with embedded scroll animations.
Version: 1.0
*/

:root {
    --primary-color: #4a148c; 
    --secondary-color: #8e24aa; 
    --text-color: #424242;
    --bg-light: #f8f6fb; 
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-color); line-height: 1.7; background-color: var(--white); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); margin-bottom: 1rem; color: var(--primary-color); font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.bg-light { background-color: var(--bg-light); }
.section { padding: 6rem 0; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 0.8rem; }
.underline { height: 4px; width: 60px; background-color: var(--secondary-color); margin: 0 auto; border-radius: 2px; }
.btn { display: inline-block; background-color: var(--secondary-color); color: var(--white); padding: 0.8rem 2.5rem; border-radius: 30px; font-weight: 600; transition: var(--transition); box-shadow: 0 4px 15px rgba(142, 36, 170, 0.3); }
.btn:hover { background-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(74, 20, 140, 0.4); color: var(--white); }

/* Scroll Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Header & Navigation */
#header { background-color: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); position: fixed; width: 100%; top: 0; z-index: 1000; backdrop-filter: blur(5px); }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; }
.logo h1 { font-size: 1.5rem; margin: 0; color: var(--primary-color); letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-color); transition: var(--transition); }
.nav-links a:hover { color: var(--secondary-color); }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar { width: 25px; height: 3px; background-color: var(--primary-color); margin: 5px 0; transition: var(--transition); border-radius: 3px; }

/* Hero Section */
.hero { height: 100vh; background: linear-gradient(rgba(74, 20, 140, 0.85), rgba(74, 20, 140, 0.7)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover; display: flex; align-items: center; text-align: center; color: var(--white); padding-top: 80px; }
.hero-content h2 { font-size: 3.5rem; color: var(--white); margin-bottom: 1.5rem; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 800px; margin-left: auto; margin-right: auto; opacity: 0.9; }

/* About Section */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-bottom: 4rem; }
.about-card { background: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); border-top: 4px solid var(--secondary-color); transition: var(--transition); }
.about-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(74, 20, 140, 0.08); }
.core-values { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: var(--white); padding: 3.5rem; border-radius: 12px; box-shadow: 0 15px 30px rgba(74, 20, 140, 0.15); }
.core-values h3 { color: var(--white); text-align: center; margin-bottom: 2rem; font-size: 2rem; }
.values-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.values-list li { position: relative; padding-left: 1.5rem; font-size: 1.1rem; font-weight: 600; }
.values-list li::before { content: '✓'; color: #e0b2ff; font-size: 1.2rem; position: absolute; left: 0; top: 0; }

/* Objectives Section */
.objectives-list { max-width: 800px; margin: 0 auto; background: var(--white); padding: 3rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); }
.objectives-list p { margin-bottom: 2rem; font-size: 1.15rem; text-align: center; color: var(--primary-color); font-weight: 600; }
.objectives-list li { margin-bottom: 1.2rem; padding-left: 2rem; position: relative; }
.objectives-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background-color: var(--secondary-color); border-radius: 50%; }

/* Trustees Section */
.trustees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.trustee-card { background: var(--white); padding: 2rem 1.5rem; text-align: center; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04); transition: var(--transition); border: 1px solid rgba(74, 20, 140, 0.05); }
.trustee-card:hover { transform: translateY(-5px); border-color: var(--secondary-color); box-shadow: 0 12px 25px rgba(142, 36, 170, 0.1); }
.trustee-card h4 { margin-bottom: 0.5rem; font-size: 1.15rem; color: var(--primary-color); }
.trustee-card .role { color: var(--secondary-color); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Contact */
.contact-info { text-align: center; max-width: 500px; margin: 0 auto; background: var(--bg-light); padding: 3rem; border-radius: 12px; border-top: 4px solid var(--primary-color); }
.info-item h4 { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 1rem; }
footer { background: var(--primary-color); color: var(--white); text-align: center; padding: 2.5rem 0; }
footer p { opacity: 0.8; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white); text-align: center; padding: 1.5rem 0; box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero-content h2 { font-size: 2.2rem; }
    .section { padding: 4rem 0; }
}