/* Emergency Service Page Styles */
.emergency-service-page {
    font-family: 'Kanit', sans-serif;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.emergency-badge i {
    margin-right: 8px;
    color: #ffc107;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #f8f9fa;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e9ecef;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-emergency {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-emergency:hover {
    background: #e0a800;
    border-color: #d39e00;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-outline-light:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
}

.response-time {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffc107;
}

.response-time i {
    margin-right: 8px;
    animation: tick 1s infinite;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.placeholder-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.placeholder-content i {
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: flash 2s infinite;
}

.placeholder-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border-left: 4px solid #dc3545;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.emergency-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.emergency-tag i {
    margin-right: 4px;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-category {
    margin-bottom: 4rem;
}

.pricing-category h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.pricing-category h3 i {
    margin-right: 1rem;
    color: #dc3545;
}

.pricing-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card:hover {
    background: white;
    border-color: #dc3545;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 53, 69, 0.1);
}

.pricing-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 1rem;
}

.pricing-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.location-card .response-time {
    margin-top: 1rem;
    padding: 8px 12px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
}

.location-card .response-time i {
    margin-right: 4px;
}

.service-card.pricing-card {
    border-left: none;
    border-top: 4px solid #dc3545;
}

.pricing-note {
    margin-top: 3rem;
}

.pricing-note .alert {
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 4px solid #2196f3;
}

.pricing-note h5 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.pricing-note ul {
    margin: 0;
    padding-left: 1.5rem;
}

.pricing-note li {
    margin-bottom: 0.5rem;
    color: #424242;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #28a745;
}

.feature-card:hover {
    background: #f8f9fa;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.emergency-contact {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.emergency-contact:hover {
    background: rgba(255, 193, 7, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f8f9fa;
}

.contact-info a,
.contact-info span {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #ffc107;
    text-decoration: underline;
}

.emergency-phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffc107 !important;
}

.contact-info small {
    display: block;
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes tick {
    0%, 50% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .services-section,
    .pricing-section,
    .features-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .pricing-category h3 {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card,
    .pricing-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .pricing-category {
        margin-bottom: 2rem;
    }
}