/* Styles for Quem Somos Section */
.quem-somos-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.qs-container {
    max-width: 1140px;
    margin: 0 auto;
}

.qs-title {
    text-align: center;
    font-size: 36px;
    color: #1a5c38;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    font-family: "Montserrat", sans-serif;
}

.qs-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1fa263, #005a8d);
    margin: 10px auto 0;
    border-radius: 2px;
}

.qs-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    /* Center vertically relative to each other */
    margin-top: 50px;
}

.qs-text-col {
    flex: 1;
    min-width: 300px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.qs-text-col p {
    margin-bottom: 20px;
    text-align: justify;
}

.qs-text-col strong {
    color: #000;
    font-weight: 700;
}

.qs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.qs-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
}

.qs-list-item::before {
    content: '\25B6';
    /* Arrow */
    color: #005a8d;
    font-size: 12px;
}

.qs-card-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.qs-card {
    background: linear-gradient(135deg, #2e8b57 0%, #005a8d 100%);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 90, 141, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    /* Maintain a nice rectangle shape */
}

.qs-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.qs-card-icon svg {
    fill: #ffffff;
    width: 100%;
    height: 100%;
}

.qs-card-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
}

.qs-card-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.9;
}

.qs-card-text {
    font-size: 16px;
    line-height: 1.4;
    max-width: 80%;
    margin: 0 auto;
}

/* Styles for Direção & Municípios Sections */
.extra-section {
    padding: 40px 20px 60px;
    background-color: #ffffff !important;
    /* Light grey bg */
    font-family: 'Roboto', sans-serif;
}

.extra-title {
    text-align: center;
    font-size: 32px;
    color: #1a5c38;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    font-family: "Montserrat", sans-serif;
}

.extra-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1fa263, #005a8d);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Direção Cards */
.direction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.direction-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #1a5c38;
    transition: transform 0.3s ease;
}

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

.direction-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5c38 0%, #005a8d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
}

.direction-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.direction-name {
    font-size: 14px;
    /* Reduced specific size */
    font-weight: 800;
    color: #1a5c38;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.4;
}

.direction-role {
    font-size: 13px;
    color: #005a8d;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* Municipality Pills */
.municipality-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.municipality-card {
    background-color: #fff;
    border-radius: 8px;
    /* Slightly rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    font-size: 15px;
    min-width: 200px;
    justify-content: flex-start;
    /* Align text left of box */
}

.municipality-icon {
    color: #3498db;
    /* Specific blue */
    display: flex;
    align-items: center;
}

.municipality-icon svg {
    width: 20px;
    height: 20px;
    fill: #3498db;
}

/* Contact Section Styles */
.contact-container-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-bubble-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #1a5c38 0%, #005a8d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(26, 92, 56, 0.2);
}

.contact-bubble-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 18px;
    font-weight: 800;
    color: #1a5c38;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.contact-value {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .qs-content-wrapper {
        flex-direction: column;
    }

    .qs-list {
        grid-template-columns: 1fr;
    }

    .qs-card {
        aspect-ratio: auto;
        min-height: 300px;
    }

    /* Mobile specific for new sections */
    .municipality-grid {
        flex-direction: column;
        align-items: center;
    }

    .municipality-card {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-container-card {
        padding: 30px 20px;
    }
}

/* Mission, Vision, Values Section */
.mission-vision-values-section {
    padding: 80px 20px;
    background-color: #ffffff;
    font-family: "Roboto", sans-serif;
}

.mvv-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.mvv-title {
    color: #1a5c38;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
}

.mvv-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1fa263 0%, #005a8d 100%);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.mvv-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.mvv-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    text-align: center;
    border-top: 4px solid #5ab9ea;
    /* Light blue top border */
    position: relative;
    transition: transform 0.3s ease;
}

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

.mvv-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.mvv-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1fa263 0%, #005a8d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 90, 141, 0.3);
}

.mvv-icon svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    color: #ffffff;
}

.mvv-card h3 {
    color: #1a5c38;
    /* Dark green */
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mvv-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Tags/Pills for Values */
.mvv-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mvv-tag {
    background-color: #e0f2f1;
    /* Light teal/cyan */
    color: #004d40;
    /* Dark teal text */
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}