/* Emergency Care Styles */
:root {
    --primary-color: #4299e1;
    --primary-dark: #2b6cb0;
    --emergency-red: #e53e3e;
    --emergency-red-dark: #c53030;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
}

/* Emergency Alert Bar */
.emergency-alert {
    background: var(--emergency-red);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 1000;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pulse-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.alert-text {
    font-size: 18px;
    font-weight: 500;
}

.alert-number {
    font-size: 24px;
    font-weight: 700;
}

/* Hero Section */
.emergency-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.emergency-btn {
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.location-btn {
    padding: 15px 30px;
    background: white;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
}

/* Services Section */
.emergency-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Process Timeline */
.emergency-process {
    padding: 80px 0;
    background: white;
}

.process-timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-point {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-left: 30px;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* Team Section */
.emergency-team {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.team-stats {
    display: flex;
    gap: 15px;
}

.team-stats span {
    font-size: 14px;
    color: var(--text-light);
}

.team-stats i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Emergency Contact Section */
.emergency-contact {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    background: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.contact-content {
    padding: 50px;
    flex: 1;
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-info {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
}

.contact-item .info {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    font-size: 14px;
    opacity: 0.9;
}

.contact-item strong {
    font-size: 20px;
}

.contact-image {
    flex: 1;
    height: 400px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emergency-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-cta:hover {
    background: var(--emergency-red-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Emergency Float Button */
.emergency-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 15px 30px;
    background: var(--emergency-red);
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.emergency-float-btn:hover {
    background: var(--emergency-red-dark);
    transform: translateY(-5px);
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .service-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-image {
        height: 300px;
    }

    .emergency-float-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 15px;
    }

    .stat-card h3 {
        font-size: 24px;
    }

    .contact-content {
        padding: 30px;
    }
}