/* Ministries Hero */
.ministries-hero {
    padding: 150px 20px 80px;
    background-color: #1b3022;
    color: white;
    text-align: center;
}

/* Ministry Cards */
.ministry-grid-section {
    padding: 100px 20px;
    background-color: #ffffff;
}
.ministry-grid-section .container {
    max-width: 1200px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ministry-card {
    padding: 40px;
    background: #fcf9f2; /* Warm parchment */
    border-radius: 30px;
    border: 1px solid #e0eadd;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.ministry-card:hover {
    transform: translateY(-10px);
    border-color: #b39347; /* Logo Gold */
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.ministry-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

img.ministry-icon {
    width: 40%;
    height: auto;
}

/* Charity Section */
.charity-section {
    padding: 100px 20px;
    background-color: #2e4f2d; /* Your Forest Green */
    color: white;
}

.charity-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.charity-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* Very subtle transparency */
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
}

.charity-box:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
}

.charity-logo-container {
    flex-shrink: 0;
    width: 140px; /* Adjusted for the longer logo shape */
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charity-logo-placeholder {
    width: 80px;
    height: 80px;
    background: #b39347; /* Logo Gold */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 25px;
    flex-shrink: 0;
}

.charity-logo{
    width: 100%;
    height: auto;
    /* Softens the logo colors to match your dark forest green theme */
    filter: saturate(1.2) brightness(1.1);
}

.charity-info h3 {
    font-size: 1.4rem;
    color: #fcf9f2; /* Logo-inspired parchment white */
    margin-bottom: 8px;
}

.charity-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(252, 249, 242, 0.8); /* Slightly faded for hierarchy */
    margin: 0;
}

/* Responsive fix for mobile */
@media (max-width: 600px) {
    .charity-box {
        flex-direction: column;
        text-align: center;
    }
    .charity-logo-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    img.ministry-icon {
        width: 30%;
        height: auto;
    }
}