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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

/* Bootstrap Navbar Overrides */
.navbar-dark .navbar-nav .nav-link {
    color: #333 !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #1e3a8a !important;
}

.navbar-dark .navbar-toggler {
    border-color: #333;
}

.navbar-brand span {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo h2 {
    margin: 0;
    color: #1e3a8a;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #1e3a8a;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #1e3a8a;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.hero-media {
    flex: 1;
}

.hero-media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.btn-primary {
    background: #fff;
    color: #1e3a8a;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Featured Cards */
.featured-cards {
    padding: 80px 0;
    background: #f8f9fa;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-category {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.card h3 {
    margin-top: 0.5rem;
    color: #1e3a8a;
    font-size: 1.3rem;
}

/* Media Text Section */
.media-text-section {
    padding: 80px 0;
    background: #e8f5e8;
}

.media-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.media-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

.media-text-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.media-text-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Priorities Section */
.priorities-section {
    padding: 80px 0;
    background: #fff5e6;
}

.priorities-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.priorities-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.priority-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.priority-card:hover {
    transform: translateY(-3px);
}

.priority-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.priority-card h3 {
    padding: 1.5rem;
    color: #1e3a8a;
    font-size: 1.2rem;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.news-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* History Section */
.history-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://picsum.photos/1200/600?random=17') center/cover;
    color: white;
    text-align: center;
}

.history-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.history-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: #fff;
    color: #1e3a8a;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #3b82f6;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

/* Story Page Styles */
.story-hero {
    padding: 150px 0 80px;
    background: #f8f9fa;
    text-align: center;
}

.story-hero h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.story-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.story-hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin-top: 2rem;
}

.story-content {
    padding: 80px 0;
}

.story-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-text h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-text blockquote {
    background: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid #1e3a8a;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
}

.story-text cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: #1e3a8a;
}

.story-sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.sidebar-section ul li:before {
    content: "•";
    color: #1e3a8a;
    position: absolute;
    left: 0;
}

.sidebar-section a {
    color: #333;
    text-decoration: none;
}

.sidebar-section a:hover {
    color: #1e3a8a;
}

/* Responsive */
@media (max-width: 768px) {
    .story-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-hero h1 {
        font-size: 2.5rem;
    }
}

/* History Page Styles */
.history-hero {
    padding: 150px 0 80px;
    background: #f8f9fa;
    text-align: center;
}

.history-hero h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.history-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
}

.history-hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin-top: 2rem;
}

.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1e3a8a;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    background: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 45%;
    margin-top: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.milestones-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.milestone-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.milestone-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.milestone-card h3 {
    color: #1e3a8a;
    margin: 1rem 0;
    padding: 0 1rem;
}

.milestone-card p {
    padding: 0 1rem 1.5rem;
}

.legacy-section {
    padding: 80px 0;
}

.legacy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.legacy-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legacy-image img {
    width: 100%;
    border-radius: 10px;
}

.founders-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.founders-section blockquote {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    font-size: 1.3rem;
    font-style: italic;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.founders-section cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: #1e3a8a;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .legacy-content {
        grid-template-columns: 1fr;
    }
    
    .history-hero h1 {
        font-size: 2.5rem;
    }
}

/* General Page Styles */
.page-hero {
    padding: 150px 0 80px;
    background: #f8f9fa;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.mission-content, .contact-content, .grants-content, .team-content {
    padding: 80px 0;
}

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

.value-item, .grant-type, .team-member {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.contact-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .contact-content .container {
        grid-template-columns: 1fr;
    }
}
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .media-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}