/* ==========================================================================
   EMERGENCY CARE SERVICE PAGE STYLES
   ========================================================================== */

/* Header adjustments */
.emergency-header {
}

/* Custom Background for Warning Signs Section */
.emergency-warnings-section {
    background: linear-gradient(135deg, #8b0000 0%, #3a0000 100%);
}

/* Text overrides to replace inline style="line-height: 1.7; font-size: 0.95rem;" */
.emergency-intro-text {
    line-height: 1.7 !important;
    font-size: 0.95rem !important;
}

/* For list text adjustments */
.emergency-list-text {
    font-size: 0.85rem !important;
}

/* For small texts in team and surgery cards */
.emergency-card-desc {
    line-height: 1.6 !important;
    font-size: 0.85rem !important;
}

.emergency-card-subtext {
    font-size: 0.8rem !important;
}

/* Icon Box sizes */
.emergency-icon-box {
    width: 36px !important;
    height: 36px !important;
}

/* Badge size override */
.emergency-badge-warning {
    font-size: 0.8rem !important;
}

/* Custom Micro-animations */
.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.hover-shadow {
    transition: all 0.3s ease-in-out;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

/* FAQ styling overrides with Dark Background */
.faq-card {
    transition: all 0.3s ease;
    background-color: #1f2937 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.faq-card:hover {
    border-color: rgba(220, 53, 69, 0.4) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.faq-card .accordion-button {
    background-color: #1f2937 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.faq-card .accordion-button:not(.collapsed) {
    background-color: #860000 !important; /* Dark brand red when open */
    color: #ffffff !important;
}

.faq-card .accordion-button::after {
    filter: brightness(0) invert(1); /* White arrow */
}

.faq-card .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-card .accordion-collapse {
    background-color: #111827 !important; /* Slightly darker background for the open body */
}

.faq-card .accordion-body,
.faq-card .accordion-body.bg-light,
.faq-card .accordion-body.text-muted {
    background-color: #111827 !important;
    color: #e5e7eb !important;
}

