/* Growth & Blessings Page Specific Styles */
.lead {
    font-size: 1em;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.blessing-item {
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px var(--shadow-light);
    background-color: var(--text-light); /* Default for alternating sections */
}

.blessing-item:last-child {
    margin-bottom: 0;
}

.blessing-item.section-alt {
    background-color: var(--secondary-tan); /* Use tan for alternating sections */
}

.blessing-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 2.2em;
    position: relative;
    padding-bottom: 10px;
}

.blessing-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 5px;
}

.blessing-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.blessing-content.reverse-layout {
    flex-direction: row-reverse; /* Image on right, text on left */
}

.blessing-image {
    flex: 1;
    min-width: 300px; /* Ensure image doesn't get too small */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow-medium);
    transition: transform 0.3s ease;
}

.blessing-image:hover {
    transform: scale(1.02);
}

.blessing-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blessing-description {
    flex: 2;
    min-width: 300px; /* Ensure text block doesn't get too small */
}

.blessing-description p {
    margin-bottom: 1.2em;
    line-height: 1.8;
}

.testimony {
    font-style: italic;
    background-color: rgba(var(--primary-blue), 0.05); /* Light tint of primary blue */
    border-left: 5px solid var(--primary-blue);
    padding: 15px 20px;
    margin-top: 25px;
    border-radius: 5px;
    color: var(--primary-blue);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-light);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Fixed height for consistent grid */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(var(--primary-blue), 0.8); /* Dark blue overlay */
    color: var(--text-light);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* Collaboration Section */
.collaboration-section {
    padding: 80px 0;
}

.collaboration-partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.partner-logo {
    text-align: center;
    flex: 0 0 200px; /* Fixed width for logos */
}

.partner-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(80%); /* Make logos subtle */
    transition: filter 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

.partner-logo img:hover {
    filter: grayscale(0%); /* Color on hover */
    transform: translateY(-5px);
}

.partner-logo p {
    font-size: 0.9em;
    color: #666;
}


/* Responsive adjustments for Growth & Blessings page */
@media (max-width: 768px) {
    .blessing-content, .blessing-content.reverse-layout {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
    }

    .blessing-image, .blessing-description {
        min-width: unset; /* Remove min-width constraint */
        width: 100%;
    }

    .blessing-description .testimony {
        text-align: left; /* Keep testimony left-aligned */
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}