/* 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;
    color: #333;
}

/* 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;
    z-index: 1000;
}

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

.nav-links {
    display: flex;
    list-style: none;
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 0.9em;
    padding: 5px 10px;
}

.nav-links li {
    margin: 0 10px;
    position: relative;
    white-space: nowrap;
}

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

.nav-links a:hover {
    color: #143737;
    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;
}

/* Footer styles */
footer {
    background-color: #1A4D4D;
    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;
    transition: color 0.3s ease;
}

.footer-section h3:hover {
    color: #e6f0f2;
}

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

.footer-section ul {
    list-style: none;
    padding-left: 0;
    display: none;
}

.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;
    transition: color 0.3s ease;
}

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

.footer-section:hover ul {
    display: block;
}

.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;
}

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

.future-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;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.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.full-width-card {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

.project-card.full-width-card .card-content {
    flex: 2;
    padding: 20px;
    min-width: 0;
}

.project-card.full-width-card .map-container,
.project-card.full-width-card .image-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-card.full-width-card .map-container #construction-map,
.project-card.full-width-card .image-container img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.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;
    position: relative;
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
}

.icon {
    margin-right: 10px;
    font-size: 1.5em;
    color: #1A4D4D;
}

.icon i {
    vertical-align: middle;
}

.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 h2 {
    color: #1A4D4D;
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.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;
}

.full-page-partnership {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.full-page-partnership:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.full-page-partnership .card-content {
    flex: 2;
    padding: 20px;
    min-width: 0;
}

.full-page-partnership .image-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-page-partnership .image-container img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.full-page-donation {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0f2 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.full-page-donation:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.full-page-donation .image-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-page-donation .card-content {
    flex: 2;
    padding: 20px;
    min-width: 0;
}

.full-page-donation .image-container img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

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

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 10px 0;
        border: 2px solid #1A4D4D;
        border-top: none;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a {
        padding: 10px;
    }

    .project-title {
        padding: 20px 30px;
        max-width: 100%;
        font-size: 1.2em;
        min-height: 200px;
    }

    .project-card.full-width-card {
        flex-direction: column;
    }

    .project-card.full-width-card .card-content,
    .project-card.full-width-card .map-container,
    .project-card.full-width-card .image-container {
        flex: 100%;
        min-width: 100%;
    }

    .project-card.full-width-card .map-container #construction-map,
    .project-card.full-width-card .image-container img {
        height: 150px;
    }

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

    .project-details img {
        float: none;
        margin-left: 0;
        margin-top: 10px;
    }

    .full-page-partnership,
    .full-page-donation {
        flex-direction: column;
    }

    .full-page-partnership .card-content,
    .full-page-partnership .image-container,
    .full-page-donation .image-container,
    .full-page-donation .card-content {
        flex: 100%;
        min-width: 100%;
    }

    .full-page-partnership .image-container img,
    .full-page-donation .image-container img {
        height: 150px;
    }

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

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

    .testimonial-prev {
        left: 0;
    }

    .testimonial-next {
        right: 0;
    }

    .footer-section {
        flex-direction: column;
        text-align: center;
    }

    #map {
        height: 150px;
    }
}

    /* 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;
      }
    }
  