.index-container {
    margin-top: 1rem;
}

.index-bottom {
    display: flex;
    gap: 2%;
}

.index-text {
    color: #575656;
}

.index-card {
    box-sizing: border-box;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1rem;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .row {
        display: block;
    }

    .col-md-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.index-main-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

.contact-box {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2.2rem 1.5rem;
    min-width: 260px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.contact-title {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.3rem;
}

.contact-img-large{
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid #1d3737;
}

.contact-info {
    text-align: center;
}

.contact-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1d3737;
}

.contact-email a {
    color: #3a6c6c;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.contact-qual {
    font-size: 0.98rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.contact-phone {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

    .contact-phone a {
        color: #3a6c6c;
        text-decoration: none;
    }

.contact-btn {
    background: #1d3737;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}

    .contact-btn:hover {
        background: #3a6c6c;
    }

@media (max-width: 900px) {
    .index-main-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-box {
        max-width: 100%;
        margin-top: 2rem;
    }
}