@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

button, body {
    font-family: "Merriweather", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p{
    font-size: 14px;
    line-height: 26px;
}
.container {
    width: 1140px;
    margin: auto;
}

header {
    width: 100%;
    background-color: rgba(0,0 , 0, 0.3);
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 10px 0; 
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: 0px; 
    margin-left: 30px;
}

header .logo img {
    height: 70px; 
    width: auto;  
}

header nav {
    display: flex; 
    justify-content: center; 
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center; 
    border-radius: 15px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    display: inline-block;
    height: 75px;
    line-height: 75px;
    padding: 0 20px; 
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: white;
    position: relative; 
    white-space: nowrap;
    transition: transform 0.3s ease, text-decoration 0.3s ease, color 0.3s ease; 
}

header nav ul li a:hover {
    transform: scale(1.1); 
    color: green; 
}

.resources-banner {
    background: url('https://media.istockphoto.com/id/537311780/photo/unity-of-indian-children-asia.jpg?s=612x612&w=0&k=20&c=MaI8mTFkStJHG4ZyKXNbynkdSCObejk73qutdW7vS7k=')no-repeat center center/cover;
    height: 600px;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.resources-banner-content {
    max-width: 800px;
    margin: auto;
}

.resources-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    margin-top: 150px;
   
}

.resources-banner p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    color: #f1f1f1;
   
}
/* Simple Blog Section Styling */
.blog-section {
    background-color: #f9f9f9;
    padding: 100px 20px;
    text-align: center;
}

.blog-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-section h2 {
    font-size: 2.5rem;
    color: #34495e;
    margin-bottom: 20px;
}

.blog-section p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.blog-link {
    display: inline-block;
}

.blog-button {
    font-size: 1.2rem;
    color: white;
    background-color: #27ae60;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-button:hover {
    background-color: #2ecc71;
    transform: translateY(-5px);
}

.blog-button:focus {
    outline: none;
}

.annual-report {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
    color: #333;
}

.annual-report h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.annual-report p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.timeline-item {
    background-color: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.year {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 12px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: #27ae60;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d7e39;
}


.media-dealings {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
    color: #333;
}

.media-dealings h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.media-dealings p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.media-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.media-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-item img {
    width: 120px; 
    height: auto;
    margin-bottom: 20px; 
}

.media-item span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 10px;
}

.media-item a {
    text-decoration: none;
    color: inherit;
}

.stories {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
    color: #333;
}

.stories h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.stories p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.stories-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.story-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-content {
    padding: 20px;
    text-align: left;
}

.story-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.story-card p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.story-card a {
    text-decoration: none;
    color: #27ae60;
    font-weight: bold;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card:hover a {
    color: #2ecc71;
}


/* Footer Section Styling */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 1;
    margin: 10px;
}

.footer-logo img {
    width: 180px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #27ae60;
    margin-top: 10px;
}

.footer-links {
    flex: 1;
    margin: 10px;
    min-width: 250px;
    color: #27ae60;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin: 10px 0;
}

.footer-links ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: #27ae60;
}

/* Contact Section */
.footer-contact {
    flex: 1;
    margin: 10px;
    min-width: 250px;
}

.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.footer-contact ul {
    list-style-type: none;
    padding: 0;
}

.footer-contact ul li {
    margin: 10px 0;
    color: #ecf0f1;
    font-size: 1rem;
}

.footer-contact ul li span {
    font-weight: bold;
    color: #bdc3c7;
}

/* Newsletter Section */
.footer-newsletter {
    flex: 1;
    margin: 10px;
    min-width: 250px;
    text-align: left;
    margin-bottom: 20px;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
}

.footer-newsletter input {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.footer-newsletter button {
    padding: 12px;
    background-color: #27ae60;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #2ecc71;
}

.footer-bottom {
    background-color: #34495e;
    padding: 15px 0;
}

.footer-bottom p {
    font-size: 1rem;
    color: #bdc3c7;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }

    header nav ul li a {
        font-size: 14px;
        padding: 0 15px;
    }

    .resources-banner h1 {
        font-size: 2rem;
    }

    .resources-banner p {
        font-size: 1rem;
    }

    .blog-section h2, .annual-report h2, .media-dealings h2, .stories h2 {
        font-size: 2rem;
    }

    .blog-section p, .annual-report p, .media-dealings p, .stories p {
        font-size: 1rem;
    }

    .story-card img {
        height: 150px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px 0;
    }

    header .logo {
        margin: 0 0 10px 0;
    }

    header nav ul {
        flex-direction: row; /* Ensure horizontal layout on larger screens */
        justify-content: center; /* Center items */
        align-items: center;
        width: auto;
    }

    header nav ul li {
        margin-bottom: 0 15px;
    }
    header nav ul li a {
        font-size: 16px; /* Restore font size for larger screens */
        padding: 0 20px; /* Adjust padding */
    }

    .resources-banner {
        height: 400px;
        padding: 50px 10px;
    }

    .resources-banner h1 {
        font-size: 1.8rem;
    }

    .resources-banner p {
        font-size: 0.9rem;
    }

    .blog-section, .annual-report, .media-dealings, .stories {
        padding: 50px 10px;
    }

    .media-links {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .stories-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo, .footer-links, .footer-contact, .footer-newsletter {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    header nav ul li a {
        font-size: 12px;
        padding: 0 10px;
    }

    .resources-banner h1 {
        font-size: 1.5rem;
    }

    .resources-banner p {
        font-size: 0.8rem;
    }

    .blog-button {
        font-size: 1rem;
        padding: 10px 30px;
    }

    .story-card img {
        height: 120px;
    }

    .footer-newsletter input, .footer-newsletter button {
        font-size: 0.9rem;
        padding: 10px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}