* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    padding: 30px 20px;
}

.header-institucional {
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid #39764a;
    padding: 15px 20px;
    margin-bottom: 45px;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    width: 180px;
    height: 65px;
    object-fit: contain;
    object-position: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: stretch;
}

.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333333;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    border-color: #39764a;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-content h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #245b36;
    font-weight: 600;
}

.card-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card img {
        height: 190px;
    }
}

@media (max-width: 500px) {

    body {
        padding: 20px 15px;
    }

    .header-institucional {
        padding: 12px 15px;
        margin-bottom: 30px;
    }

    .logo-container img {
        width: 140px;
        height: 55px;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card img {
        height: 210px;
    }

    .card-content h3 {
        font-size: 17px;
    }
}
