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

body {
    font-size: 18px;
    font-family: system-ui, "Arial", sans-serif;
    color: #222;
    line-height: 1.6;
}

h1 {
    font-weight: 600;
}


/* NAVBAR */
.navbar {
    font-size: large;
    font-weight: 600;
    transition: color 0.3s, font-weight 0.3s; 
    margin: 0;
    padding: 0;
}

.navbar {
    font-size: large;
    font-weight: 600;
    transition: color 0.3s, font-weight 0.3s; 
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-link:hover {
    color: #2D3B92;
}

.btn-donate {  
    font-size: large;
    background-color: #2D3B92; 
    color: white; 
    border: 1px solid #2D3B92;
    font-weight: bolder;
    padding: 10px 25px; 
    border-radius: 30px; 
    box-sizing: border-box; 
}

.btn-donate:hover { 
    font-size: large;
    background-color: white;
    color: #2D3B92;
    border: 1px solid #2D3B92;
    padding: 10px 25px;
    border-radius: 30px;
}

/* NAVBAR END*/


/* Hero Section */
.hero {
    background: url('../images/project1.webp') center center/cover no-repeat;
    color: white;
    text-align: center;
    padding-top: 200px;
    padding-bottom: 190px;
    position: relative;
    margin-top: 90px;
}

/* Dark overlay to improve text visibility */
.hero::before {
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1; 
}

.text-overlay {
    position: relative; 
    z-index: 2; 
    color: white;
    max-width: 650px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 20px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Layout */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2D3B92;
    margin-bottom: 40px;
}

.card1 {
    border: 6px solid #4B8534;
}
.card2 {
    border: 6px solid #2D3B92;
}
.card3 {
    border: 6px solid goldenrod;
}
.card4 {
    border: 6px solid #555;
}
.card5 {
    border: 6px solid #c07c0e;
}
.card6 {
    border: 6px solid brown;
}


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

.program {
    background-color: #fff;
    margin-bottom: 50px;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.program:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.program .icon {
    font-size: 60px;
    color: #2D3B92;
    margin-bottom: 20px;
}

.program h2 {
    font-size: 28px;
    color: #2D3B92;
    margin-bottom: 20px;
    font-weight: 600;
}

.program p {
    font-size: 18px;
    color: #222;
    line-height: 1.7;
}

/* Projects Section */
.projects {
    background-color: #F09C11;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}

.projects ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 30px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
}

.projects ul li {
    margin-bottom: 15px;
}

/* Projects Section */
.projects {
    text-align: center;
    padding: 50px 20px;
    background-color: #f7f7f7;
}

.section-title {
    font-size: 36px;
    color: #2D3B92;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
}

.accordion {
    width: 80%;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    background-color: #F09C11;
    color: white;
    font-size: 20px;
    padding: 18px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header h3 {
    font-size: 20px;
    margin: 0;
}

.accordion-header:hover {
    background-color: #2D3B92;
}

.accordion-content {
    display: none;
    padding: 15px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.card p {
    color: #4D4D4D;
    font-size: 16px;
    line-height: 1.5;
}

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

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-header {
    background-color: #2D3B92;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* accordion */
.accordion {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-item {
    background-color: #ffffff;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.accordion-title {
    padding: 20px;
    background-color: #4B8534;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.accordion-title:hover {
    background-color: rgb(235, 233, 233);
    color: #222;
    transform: translateY(-2px);
}

.accordion-title h2 {
    margin: 0;
    padding-right: 15px;
    transition: opacity 0.3s ease;
    font-size: 22px;
}

.accordion-title .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-title.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 25px;
    display: none;
    animation: fadeIn 0.5s forwards;
}

.accordion-content img {
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center;
    width: 600px; 
    height: 400px;
}

.accordion-content p {
    font-size: 18px;
    color: #4D4D4D;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-item.active {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    .hero {
        height: 70vh;
        padding-top: 180px;
    }

    .hero::before {
        background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) -70%, rgba(0, 0, 0, 0) 100%);
    }

    .hero h1 {
        font-size: 2rem;
        font-weight: bold;
    }
    .hero p {
        font-size: 1.1rem; 
        /* color: #f2e3ca; */
        max-width: 90%;
    }

    .card1 {
        border: 3px solid #4B8534;
    }
    .card2 {
        border: 3px solid #2D3B92;
    }
    .card3 {
        border: 3px solid goldenrod;
    }
    .card4 {
        border: 3px solid #555;
    }
    .card5 {
        border: 3px solid #c07c0e;
    }
    .card6 {
        border: 3px solid brown;
    }

    

    .accordion {
        width: 100%;
    }

    .accordion-title h2 {
        font-size: 18px;
    }

    .accordion-title .arrow {
        font-size: 16px;
    }
    .accordion-title {
        display: flex;
        justify-content: center;
        align-items: center
    }

    .programs {
        padding-bottom: 10px;
    }

    .program {
        padding: 20px 20px;
    }


}

/* Center the donate button on small screens */
@media (max-width: 991.98px) {
    .center-donate {
      display: flex;
      justify-content: center; /* Horizontally center */
      margin-top: 10px; /* Optional: Add spacing */
      width: 100%; /* Take full width */
      margin-bottom: 10px;
    }
  }
  