.section-title {
    font-family: var(--heading-cursive);
    font-size: 3rem;
    color: #004c4c; /* Deep Teal */
    line-height: 1.8;
    max-width: 800px;
    margin: 1rem auto;
    /*padding: 1rem;*/
    text-align: center;
}

.about-section {
    font-family: var(--content-font, 'Segoe UI', sans-serif);
    color: #333;
    line-height: 1.6;
    padding-top: 1rem;
}

.about-content {
    max-width: 90%;
}

.mun-quote {
    background-color: #f1f1f1;
    border-left: 5px solid #007f7f;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 6px;
    position: relative;
    color: #444;
    margin: 1rem 0;
}

    .mun-quote footer {
        text-align: right;
        font-size: 1rem;
        font-style: normal;
        margin-top: 0.8rem;
        color: #666;
    }

.about-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

        @media screen and (max-width: 768px) {
            .section-title {
                margin: 0;
            }

            .about-section {
                padding-top: 1rem !important;
                padding-bottom: 0 !important;
            }

            .about-content {
                max-width: 100%;
                padding: 0 !important;
            }

            .styled-quote {
                margin: 0 !important;
            }

            .about-text {
                font-size: 0.75rem !important;
                font-weight: 200 !important;
            }
        }


.styled-quote {
    position: relative;
    background: #f4f4f4;
    /*padding: 60px 40px 40px;*/
    margin: 3rem auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Yellowtail', cursive;
    color: #333;
    overflow: hidden;
}

    .styled-quote::before {
        content: "\f10d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 120px;
        color: rgba(0, 0, 0, 0.05);
        position: absolute;
        top: -50px;
        left: 10px;
        z-index: 0;
        pointer-events: none;
    }

    .styled-quote p {
        position: relative;
        z-index: 1;
        font-size: 2rem;
        line-height: 1.5;
        margin: 1rem 0 1rem 0;
    }

    .styled-quote footer {
        position: relative;
        z-index: 1;
        font-size: 1rem;
        color: #777;
        font-style: italic;
    }

        @media screen and (max-width: 768px) {
            .styled-quote p {
                font-size: 1rem;
                line-height: 1;
            }
        }
/* Container for all cards */
.members-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
}

/* Individual card */
.member-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

    .member-card:hover {
        transform: translateY(-6px);
    }

/* Image as background for flexibility */
/*.member-photo {
    width: 100%;*/
    /*padding-top: 100%;*/
    /*background-size: cover;
    background-position: center;
    border-bottom: 3px solid #007f7f;
}*/

/* Info section */
.member-info {
    padding: 1rem 0.5rem;
}

/*.member-name {
    margin: 0;
    font-size: 1rem;
    color: #2f2f91;
    font-weight: 600;
}*/

/*.member-role {
    font-size: 0.9rem;
    color: #666;
    margin: 0.2rem 0 0;
}*/



.executive-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center;
}
        @media screen and (max-width: 768px) {
            .executive-img {
                width: 120px;
                height: 120px;
            }
        }

@media screen and (max-width: 768px) {
    .members {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        font-size: 1.8rem !important;
    }

    .committee-group .d-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .committee-group .member-block {
        width: 45%;
        margin: 10px 5px;
    }

        .committee-group .member-block:nth-child(3) {
            margin-left: auto;
            margin-right: auto;
        }

    .member-photo {
        max-height: 150px;
    }

    .member-block {
        height: 250px;
    }

    .member-photo {
        height: 130px;
    }
}


.team-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 240px;
    margin: auto;
    transition: transform 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-6px);
    }

.team-header {
    height: 6rem;
    background: linear-gradient(135deg,rgba(42, 181, 181, 1) 30%, rgba(149, 36, 201, 1) 100%);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    position:relative;
}

    .team-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 10px;
        width: 100%;
        background-color: #ddd; 
    }

.team-img-wrap {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 160px;
    height: 160px;
    background: white;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

    .team-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.team-info {
    /*margin-top: 70px;*/
    padding: 5rem 1rem 0.5rem;
    background: white;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

    .team-info .name {
        font-weight: 700;
        color: #007f7f;
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .team-info .role {
        font-size: 0.9rem;
        color: #444;
    }

.between-text {
    font-size: 1.1rem;
    font-family: var(--title-cinzel);
    color: #007f7f;
    margin: 3rem 0 0.2rem;
    font-size: x-large;
    font-weight: 600;
}

.between-desc {
    margin-top: 0;
    font-size: 0.95rem;
    color: #666;
}

.row-wrapper {
    width: 80%;
    max-width: 1200px;
}





.committee-group {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.committee-title {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--primary-teal);
}

.member-block {
    width: 146px;
    margin: 20px;
    text-align: center;
}

.member-role {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #666;
    margin: 0;
}

.separator {
    height: 10px;
    width: 100%;
    margin: 6px 0;
}

.member-name {
    font-weight: bold;
    color: #2f2f91;
    font-size: 0.7rem;
    margin: 0;
}

.member-photo {
    width: 100%;
    max-height: 200px;
    margin-top: 10px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #007f7f;
}

.committee-logo img {
    height: 80px;
}

.member-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 240px;
}

.member-photo {
    height: 150px;
    width: auto;
    object-fit: cover;
    margin-top: 10px;
    border-radius: 8px;
    border-bottom: 3px solid #007f7f;
}

.member-name,
.member-role {
    min-height: 1.2em;
}
