/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #E6F0F2; /* Light teal background */
}

/* Navigation styles with dropdown */
nav {
    background-color: #ffffff;
    color: #1A4D4D;
    margin: 5px;
    border: 2px solid #1A4D4D;
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast; /* HD quality */
}

.nav-links {
    display: flex;
    list-style: none;
    position: relative;
    flex-wrap: nowrap; /* Prevent wrapping */
    align-items: center; /* Vertically center items */
    font-size: 0.9em; /* Adjust font size to fit */
    padding: 5px 10px; /* Reduce padding to save space */
}

.nav-links li {
    margin: 0 10px; /* Reduce margin for tighter fit */
    position: relative;
    white-space: nowrap; /* Prevent text wrapping within li */
}

.nav-links a {
    color: #1A4D4D;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 5px 10px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    padding: 10px;
    color: #1A4D4D;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #e6f0f2;
}

.donate-button {
    background-color: #23d331;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}


.donate-button:hover {
    background-color: #143737; /* Darker shade on hover */
}


/* Footer styles */
footer {
    background-color: #1A4D4D; /* Dark teal for footer */
    color: white;
    padding: 40px 20px;
    margin: 5px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 15px;
    cursor: pointer;
}

.footer-section p, .footer-section ul {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
    display: none; /* Hidden by default */
}

.footer-section ul li {
    margin-bottom: 5px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-section:hover ul {
    display: block; /* Show on hover */
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#map {
    height: 200px;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
}

/* About page styles */
.about-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.about-section {
    margin: 20px 0;
    padding: 30px;
    transition: transform 0.3s ease;
}

.about-section.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.about-section h1 {
    color: #1A4D4D;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

.about-section h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.about-section h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin: 10px 0;
}

.about-section p {
    color: #333;
    margin-bottom: 15px;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.who-we-are-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    min-height: 400px;
}

.who-we-are-image {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    image-rendering: -webkit-optimize-contrast;
}

.who-we-are-content p {
    font-style: italic;
    flex: 1;
}

.inspiring-story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.inspiring-story-item {
    display: flex;
    align-items: center;
    width: 100%;
}

.inspiring-story-item img {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    image-rendering: -webkit-optimize-contrast;
}

.inspiring-story-item p {
    flex: 1;
    margin: 0 20px;
}

.timeline {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
}

.timeline-item {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.timeline-item.active {
    display: flex;
}

.timeline-item img {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    image-rendering: -webkit-optimize-contrast;
    margin-bottom: 20px;
}

.timeline-item h3 {
    margin-bottom: 10px;
}

.timeline-item p {
    flex: 1;
    max-width: 600px;
}

.timeline-controls {
    text-align: center;
    margin-top: 20px;
}

.timeline-controls button {
    background-color: #1A4D4D;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.timeline-controls button:hover {
    background-color: #143737;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.financial-reports-content,
.funders-sponsors-content,
.partners-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
}

.financial-reports-content img,
.funders-sponsors-content img,
.partners-content img {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    image-rendering: -webkit-optimize-contrast;
}

.grateful-content {
    margin: 20px 0;
}

.problems-section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
}

.problems-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.problems-section h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.problems-section h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin: 10px 0;
}

.problems-section p {
    color: #333;
    margin-bottom: 15px;
}

.problems-section img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
}

.graph-container.card,
.graph-info.card,
.stories.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px 0;
}

.cry-for-help {
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 5px solid #1A4D4D;
    margin: 20px 0;
    position: relative;
}

.cry-for-help h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.cry-for-help p {
    color: #333;
    margin-bottom: 10px;
}

.cry-for-help .story-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cry-for-help .canvas-container {
    flex: 1;
    min-width: 300px;
}

.cry-for-help .graph-container {
    position: relative;
    text-align: center;
}

.cry-for-help .graph-info {
    margin-top: 10px;
    text-align: left;
}

.cry-for-help .graph-info ul {
    list-style: none;
    padding: 0;
}

.cry-for-help .graph-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.cry-for-help .graph-info ul li span.color-box {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    display: inline-block;
}

.cry-for-help .stories {
    flex: 1;
    min-width: 300px;
}

.cry-for-help .story-item {
    display: none;
}

.cry-for-help .story-item.active {
    display: block;
}

.cry-for-help .story-controls {
    text-align: center;
    margin-top: 10px;
}

.cry-for-help .story-controls button {
    background-color: #1A4D4D;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cry-for-help .story-controls button:hover {
    background-color: #143737;
}

.call-to-action {
    background-color: #1A4D4D;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.call-to-action:hover {
    background-color: #143737;
}

.partner-button,
.join-us a,
.what-we-do-button {
    display: inline-block;
    background-color: #1A4D4D;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

.partner-button:hover,
.join-us a:hover,
.what-we-do-button:hover {
    background-color: #143737;
}

.join-us {
    text-align: center;
    margin-top: 40px;
}

/* Blog and Stories styles */
.blog-stories-section h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.blog-stories-section .search-bar {
    width: 70%;
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    border: 2px solid #1A4D4D;
    border-radius: 5px;
    font-size: 1em;
}

.blog-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin: 20px 0;
}

.featured-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.featured-card img {
    max-width: 40%;
    height: auto;
    border-radius: 5px;
}

.featured-card .text-content {
    flex: 1;
    text-align: left;
}

.featured-card h3 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 10px;
}

.featured-card p {
    color: #333;
    margin-bottom: 15px;
}

.featured-card a {
    background-color: #1A4D4D;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.featured-card a:hover {
    background-color: #143737;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%;
    text-align: center;
}

.blog-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-card h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.blog-card p {
    color: #333;
    margin-bottom: 15px;
}

.blog-card a {
    background-color: #1A4D4D;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.blog-card a:hover {
    background-color: #143737;
}

/* Blog View Page styles (Full Page) */
.blog-view {
    width: 95%;
    margin: 20px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 80vh;
}

.blog-view h1 {
    color: #1A4D4D;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
}

.blog-view img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 5px;
}

.blog-view p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.blog-view ul {
    margin: 10px 0 15px 20px;
    color: #333;
}

.blog-view .comments-section {
    margin-top: 30px;
}

.blog-view .comments-section h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.blog-view .comments-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-view .comments-section input,
.blog-view .comments-section textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.blog-view .comments-section textarea {
    height: 100px;
    resize: vertical;
}

.blog-view .comments-section button {
    background-color: #1A4D4D;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: fit-content;
}

.blog-view .comments-section button:hover {
    background-color: #143737;
}

.blog-view .related-stories {
    margin-top: 30px;
}

.blog-view .related-stories h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.blog-view .related-stories .related-card {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.blog-view .related-stories .related-card a {
    color: #1A4D4D;
    text-decoration: none;
    font-weight: bold;
}

.blog-view .related-stories .related-card a:hover {
    text-decoration: underline;
}

/* Get Involved styles */
.get-involved-section h1 {
    color: #1A4D4D;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.get-involved-section .intro-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.get-involved-section .intro-card h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-align: center;
}

.get-involved-section .intro-card p {
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.get-involved-section .ways-to-help {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.get-involved-section .ways-to-help h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin: 10px 0;
    text-align: center;
    width: 100%;
}

.get-involved-section .way-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    position: relative;
    min-height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.get-involved-section .way-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.get-involved-section .way-card h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.get-involved-section .way-card p {
    color: #333;
    margin-bottom: 15px;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    max-width: 800px;
    width: 90%;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.popup.active {
    display: flex;
}

.popup .popup-image {
    width: 300px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.popup .popup-content {
    flex: 1;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #1A4D4D;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.popup .close-btn:hover {
    background-color: #143737;
}

.get-involved-section .belief-section {
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.get-involved-section .belief-section h3 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.get-involved-section .belief-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1A4D4D;
}

.get-involved-section .belief-section p {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.get-involved-section .belief-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.get-involved-section .belief-section li {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease;
}

.get-involved-section .belief-section li:hover {
    transform: translateY(-5px);
}

.get-involved-section .belief-section li::before {
    content: "✓";
    color: #1A4D4D;
    font-weight: bold;
    margin-right: 10px;
}

.get-involved-section .call-to-action {
    background-color: #1A4D4D;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.get-involved-section .call-to-action:hover {
    background-color: #143737;
}

.get-involved-section .contact-form {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.get-involved-section .contact-form h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.get-involved-section .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.get-involved-section .contact-form input,
.get-involved-section .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.get-involved-section .contact-form textarea {
    height: 100px;
    resize: vertical;
}

.get-involved-section .contact-form button {
    background-color: #1A4D4D;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: fit-content;
}

.get-involved-section .contact-form button:hover {
    background-color: #143737;
}

.get-involved-section .find-us {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.get-involved-section .find-us h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.get-involved-section .find-us p {
    color: #333;
    margin-bottom: 5px;
}

.get-involved-section .office-hours {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.get-involved-section .office-hours h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.get-involved-section .office-hours table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.get-involved-section .office-hours table td {
    padding: 5px;
    border: 1px solid #ccc;
    color: #333;
}

.get-involved-section .items-section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.get-involved-section .items-section h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.get-involved-section .items-section p {
    color: #333;
    margin-bottom: 15px;
}

.get-involved-section .items-section .item-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.get-involved-section .items-section .item-card-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #1A4D4D;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.get-involved-section .items-section .item-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.get-involved-section .items-section .item-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.get-involved-section .item-card button {
    background-color: #1A4D4D;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.get-involved-section .item-card button:hover {
    background-color: #143737;
}

/* Projects page styles */
.projects-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}


/* Projects page styles */
.projects-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.projects-section h1 {
    color: #1A4D4D;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.project-title {
    text-align: center;
    padding: 30px 60px; /* Increased padding for height/length */
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px; /* Increased max-width for length */
    font-size: 1.5em;
    color: #333;
}

.project-line {
    width: 2px;
    height: 50px;
    background-color: #1A4D4D;
    margin: 0 auto 20px auto;
    position: relative;
}

.project-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.project-card.large-card {
    width: 400px;
    min-height: 500px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card.large-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card.narrow-card {
    width: 300px;
    min-height: 400px;
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card.narrow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.section-title {
    color: #1A4D4D;
    font-size: 2.2em; /* Increased font-size for height */
    margin: 50px 0 20px 0; /* Increased margin for height */
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding: 10px 40px; /* Increased padding for length */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1A4D4D;
}

.project-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-card p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.project-card .call-to-action {
    background-color: #1A4D4D;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.project-card .call-to-action:hover {
    background-color: #143737;
}

.help-section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.help-section h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.help-section p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.help-section ol {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 15px auto;
    text-align: left;
}

.help-section ol li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.help-section ol li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: #1A4D4D;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 1em;
    font-weight: bold;
}

.help-section ol li:nth-child(1)::before {
    content: '1';
}

.help-section ol li:nth-child(2)::before {
    content: '2';
}

.help-section ol li:nth-child(3)::before {
    content: '3';
}


/* Past Projects section styles */
.past-projects-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.past-projects-section h1 {
    color: #1A4D4D;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.project-title {
    text-align: center;
    padding: 30px 60px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    font-size: 1.5em;
    color: #333;
}

.project-line {
    width: 2px;
    height: 50px;
    background-color: #1A4D4D;
    margin: 0 auto 20px auto;
    position: relative;
}

.donate-cta {
    text-align: center;
    margin: 20px 0;
}

.program-note {
    color: #666;
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
}

.project-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.project-card.large-card {
    width: 400px;
    min-height: 450px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card.large-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.section-title {
    color: #1A4D4D;
    font-size: 2.2em;
    margin: 50px 0 20px 0;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding: 10px 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1A4D4D;
}

.project-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-card p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.project-details {
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.project-details ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.project-details ul li {
    padding: 5px 15px;
    color: #1A4D4D;
    font-weight: bold;
}

.project-details img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    float: right;
    margin-left: 20px;
}

.call-to-action {
    background-color: #1A4D4D;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.call-to-action:hover {
    background-color: #143737;
}

.help-section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.help-section h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.help-section p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.help-section ol {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 15px auto;
    text-align: left;
}

.help-section ol li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.help-section ol li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: #1A4D4D;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 1em;
    font-weight: bold;
}

.help-section ol li:nth-child(1)::before {
    content: '1';
}

.help-section ol li:nth-child(2)::before {
    content: '2';
}

.help-section ol li:nth-child(3)::before {
    content: '3';
}

/* Testimonials styles */
.testimonials {
    position: relative;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev, .testimonial-next {
    background-color: #1A4D4D;
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.5em;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-card {
    width: 300px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 10px;
}

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

.testimonial-card h3 {
    color: #1A4D4D;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: #333;
    line-height: 1.6;
}

/* [Rest of the previous CSS remains unchanged] */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo img {
        height: 80px; /* Reduce logo size for mobile */
    }

    .nav-links {
        flex-wrap: wrap; /* Allow wrapping on mobile if needed */
        font-size: 0.8em; /* Further reduce font size */
        padding: 5px 5px; /* Reduce padding */
    }

    .nav-links li {
        margin: 0 5px; /* Reduce margin */
    }

    .nav-links a {
        padding: 5px 5px; /* Reduce padding */
    }

    .project-title {
        padding: 20px 30px; /* Reduce padding for mobile */
        max-width: 100%; /* Full width on mobile */
        font-size: 1.2em; /* Reduce font size */
    }

    .section-title {
        font-size: 1.8em; /* Reduce font size */
        margin: 30px 0 15px 0; /* Reduce margin */
        padding: 5px 20px; /* Reduce padding */
    }

    .project-group, .project-row {
        flex-direction: column;
        gap: 20px;
    }

    .project-card.large-card, .project-card.narrow-card {
        width: 100%;
        min-height: auto;
    }

    .hope-image {
        max-width: 100%;
        float: none;
        margin-left: 0;
        margin-top: 10px;
    }

    .project-content {
        flex-direction: column;
        align-items: center;
    }

    .project-content img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .testimonial-slider {
        padding: 0 20px;
    }

    .testimonial-card {
        width: 100%;
        margin: 0;
    }

    .testimonial-prev {
        left: 0;
    }

    .testimonial-next {
        right: 0;
    }
}

    /* Scroll to Top Button */
    .scroll-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #1A4D4D; /* Matches your site's dark teal */
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s, transform 0.3s;
      z-index: 1000; /* Ensures button stays above other content */
    }
    .scroll-to-top:hover {
      background-color: #143737; /* Darker shade on hover */
      transform: scale(1.1);
    }
    .scroll-to-top::before {
      content: '↑'; /* Up arrow */
    }

    /* Hide button on small screens if needed, or adjust size */
    @media (max-width: 768px) {
      .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
      }
    }