/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #4B5320;
    color: white;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 0.5rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-avatar {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.logo-image {
    width: 20%; /* Makes the width 20% of its container */
    height: auto; /* Maintains aspect ratio */
    aspect-ratio: 2/3; /* Ensures it remains square */
    border-radius: 5px; /* Sets the corner radius to 5px */
    object-fit: cover; /* Ensures the image fills the space nicely */
    margin-right: 15px;
    transition: all 0.3s ease;
    max-width: 60px; /* Optional: prevents it from getting too large */
}

/* Update the scrolled state to maintain proportions */
.header-scrolled .logo-image {
    width: 15%; /* Slightly smaller when scrolled */
    max-width: 50px; /* Optional: prevents it from getting too large */
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.8;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/co.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 72px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Statistics Section */
.stats {
    padding: 4rem 2rem;
    background-color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
/* Stats Section Update Notice */
.stats-update {
    text-align: center;
    margin-top: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.stats-update i {
    margin-right: 5px;
    color: #e74c3c;
}

.stat-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    color: #555;
}

/* Programs Section */
.programs {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.program-content p {
    color: #666;
    margin-bottom: 1.5rem;
}
/* Success Stories Page Styles */
/* Add these styles to your CSS file */
        
        .success-stories {
            padding: 80px 0;
            background-color: #f9f9f9;
        }
        
        .stories-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .story-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .story-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .story-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        
        .story-content {
            padding: 25px;
        }
        
        .story-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            color: #666;
            font-size: 14px;
        }
        
        .story-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: #333;
        }
        
        .story-excerpt {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .read-story {
            display: inline-block;
            color: #2a7f62;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .read-story:hover {
            color: #1e5a46;
            text-decoration: underline;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title {
            font-size: 32px;
            color: #2a7f62;
            margin-bottom: 15px;
        }
        
        .section-subtitle {
            font-size: 18px;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
        
        @media (max-width: 768px) {
            .stories-container {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 28px;
            }
        }
		.pdf-button {
    background-color: #e74c3c; /* Red color */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pdf-button:hover {
    background-color: #c0392b; /* Darker red on hover */
}

.pdf-button i {
    font-size: 12px;
}

.success-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/stories/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
	padding-top: 140px;
}

.success-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-filters {
    background-color: #f5f5f5;
    padding: 30px 0;
    text-align: center;
}

.story-filters h3 {
    margin-bottom: 15px;
    color: #333;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #2c7be5;
    background: transparent;
    color: #2c7be5;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active, .filter-btn:hover {
    background: #2c7be5;
    color: white;
}

.success-stories-grid {
    padding: 60px 0;
}

.success-stories-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.program-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(44, 123, 229, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.story-meta i {
    margin-right: 5px;
    color: #2c7be5;
}

.story-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.pagination {
    padding: 30px 0;
    text-align: center;
}

.page-btn {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-btn.active, .page-btn:hover {
    background: #2c7be5;
    color: white;
    border-color: #2c7be5;
}

.page-btn.disabled {
    color: #aaa;
    pointer-events: none;
}

.share-your-story {
    background: #2c7be5;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.share-your-story h2 {
    margin-bottom: 15px;
}

.share-your-story p {
    max-width: 700px;
    margin: 0 auto 25px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #2c7be5;
}

@media (max-width: 768px) {
    .success-hero {
        padding: 80px 20px;
    }
    
    .success-hero h1 {
        font-size: 2rem;
    }
    
    .success-stories-grid .container {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
        margin-bottom: 10px;
    }
}
/* Share Story Page Styles */
.share-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/stories/share-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
	padding-top: 140px;
}

.share-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-guidelines {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guideline-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.guideline-card i {
    font-size: 2.5rem;
    color: #2c7be5;
    margin-bottom: 20px;
}

.guideline-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.story-form {
    padding: 60px 20px;
}

.story-form .container {
    max-width: 800px;
}

.story-form h2 {
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2c7be5;
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 10px;
}

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: #2c7be5;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.upload-label i {
    font-size: 2rem;
    color: #2c7be5;
    margin-bottom: 10px;
}

.upload-label span {
    color: #666;
}

#photo-upload {
    display: none;
}

.file-names {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.submit-btn {
    background: #2c7be5;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #1a68d1;
}

.story-examples {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.story-examples h2 {
    text-align: center;
    margin-bottom: 15px;
}

.story-examples p {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.example-stories {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.example-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 350px;
}

.example-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.example-content {
    padding: 25px;
}

.example-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.example-content p {
    margin-bottom: 15px;
    color: #666;
    text-align: left;
}

.read-more {
    color: #2c7be5;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .share-hero {
        padding: 80px 20px;
    }
    
    .share-hero h1 {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .example-stories {
        flex-direction: column;
        align-items: center;
    }
    
    .example-card {
        max-width: 100%;
    }
}
/* Latest Posts Section */
.latest-posts {
    padding: 4rem 2rem;
    background-color: white;
}

.posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.post-content {
    padding: 1.5rem;
}

.post-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.post-content p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

/* Partners Section */
.partners {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.partners-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.partner-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .partner-card {
        height: 100px;
        padding: 1rem;
    }
    
    .partner-card img {
        max-height: 60px;
    }
}

/* Footer */
footer {
    background-color: #4B5320;
    color: white;
    padding: 25px;
	margin: 0;
    text-align: center;
	margin-top: 2rem;
	margin-bottom: -99px;
	margin-left: -30px;
	margin-right: -30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
	flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-column p, .footer-column a {
    color: #bbb;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    background-color: #34495e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #3498db;
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: #2c3e50;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-card h3 {
        font-size: 2rem;
    }
	
}

/* News Archives Link Section */
.news-archives-link {
    padding: 40px 0;
    text-align: center;
    background-color: #f0f7f0;
}

.archive-btn {
    background-color: #2a6d3e;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.archive-btn:hover {
    background-color: #1e5a30;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}