:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --accent-blue: #60a5fa;
    --dark-blue: #1e40af;
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 76px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

.section-title {
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-blue);
}

/* Navigation */
.menu-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-blue) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-graphic i {
    font-size: 15rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.1);
}

/* Mission Section */
.mission-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.stat-number {
    font-size: 2rem;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.mission-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Project Cards */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15) !important;
}

.card-icon {
    background: var(--light-blue);
    border-radius: 15px 15px 0 0;
}

.card-icon i {
    font-size: 3rem;
    color: var(--primary-blue);
}

/* Resource Cards */
.resource-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.resource-card:hover {
    background: var(--light-blue);
    transform: translateY(-5px);
}

.resource-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

/* News Cards */
.news-card {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.news-card:hover {
    transform: translateY(-5px);
}

.card-img-placeholder {
    height: 200px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}

.card-img-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
}

/* Contact Form */
.contact-form .form-control {
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control:focus {
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.2);
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

.btn-outline-light:hover {
    color: var(--primary-blue);
}

/* Footer */
footer {
    background: var(--primary-blue) !important;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-blue) !important;
}

/* Markdown Body Styles */
.markdown-body {
    line-height: 1.7;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.markdown-body p {
    margin-bottom: 1rem;
}

.markdown-body a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-blue);
    border: 1px solid #e5e7eb;
}

.pagination .page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-graphic i {
        font-size: 8rem;
    }

    body {
        padding-top: 70px;
    }
}