body {
    background-color: #f5f5f5; /* Light gray background */
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.emergency-card {
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

.emergency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;  /* Aligns the items vertically in the center */
    justify-content: center;  /* Centers the content horizontally */
    margin-bottom: 20px;
}

.card-header .icon {
    font-size: 3rem;
    margin-right: 10px; /* Reduced the space between the icon and text */
    color: #007bff;
}

.card-header h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #007bff;
    word-wrap: break-word; /* Allow department name to break in case it's too long */
    margin: 0; /* Remove the default margin on h4 to keep things in line */
}

.details {
    margin-bottom: 15px;
    text-align: left;
}

.details span {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.details p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    overflow-wrap: break-word;
}

/*.btn {*/
/*    background: linear-gradient(90deg, #007bff, #0056b3);*/
/*    color: white;*/
/*    padding: 15px 30px;*/
/*    border-radius: 8px;*/
/*    text-decoration: none;*/
/*    font-size: 1.2rem;*/
/*    transition: background-color 0.3s ease;*/
/*    border: none;*/
/*    display: inline-block;*/
/*    margin-top: 20px;*/
/*}*/

.btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-footer {
    font-size: 1rem;
    color: #888;
    margin-top: 20px;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-12 {
    flex: 1 1 100%;
    margin-bottom: 15px;
}

.col-md-6 {
    flex: 1 1 48%;
}

.col-lg-4 {
    flex: 1 1 30%;
}
