/* EMERGENCY CONTACTS SECTION */
#emergency-contacts {
    background-color: #f9f9f9;
    text-align: center;
    padding: 100px 10%;
}

#emergency-contacts .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 60px;
}

/* Grid layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* Contact Card */
.contact-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    width: 100%;
    max-width: 330px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Card Text Styles */
.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.contact-card .role {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.contact-card .phone,
.contact-card .email,
.contact-card .location {
    font-size: 0.95rem;
    color: #333;
    margin: 6px 0;
}

/* Icons spacing fix */
.contact-card p {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #emergency-contacts {
        padding: 80px 5%;
    }

    .contact-card {
        max-width: 100%;
        text-align: center;
    }

    .contact-card p {
        justify-content: center;
    }
}