/* Northeast Educational Development Foundation - Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom CSS Variables */
:root {
    --primary-color: #2c5530;
    --secondary-color: #5a8a5c;
    --accent-color: #f39c12;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Navigation Styles */
.navbar {
    box-shadow: var(--shadow);
    background: white !important;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(90, 138, 92, 0.8)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .lead {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Page Headers */
.page-header {
    background: var(--light-bg);
    padding: 4rem 0 2rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Cards */
.card {
    border: none;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-header {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-donate {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 15px 40px;
}

.btn-donate:hover {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
}

/* Contact Form */
.form-control {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

/* Stats Section */
.stats {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Programs Grid */
.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.program-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Financials Table */
.table th {
    background: var(--primary-color);
    color: white;
    border: none;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p, .footer-section li {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons a {
    color: #bdc3c7;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mission Statement Highlight */
.mission-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.mission-highlight h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Impact Numbers */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.impact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Donation Progress Bar */
.progress {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
}