/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Header */
.main-header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

.main-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    max-width: 100%;
    margin-bottom: 2rem;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 4px solid #e74c3c;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.hero-content h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #fff;
}

.hero-content p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #ecf0f1;
}

/* Services Section */
.services {
    padding: 2rem 5%;
    background: white;
}

.services h3 {
    text-align: center;
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #ecf0f1;
    padding: 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card h4 {
    color: #e74c3c;
    margin-top: 0;
    font-size: 1.3rem;
}

.service-card p {
    color: #7f8c8d;
}

/* Emergency Section */
.emergency {
    background-color: #e74c3c;
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 2rem;
}

.emergency h2 {
    margin-top: 0;
    font-size: 1.6rem;
}

.emergency p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
}

.emergency-btn:hover {
    background: #f1f1f1;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.main-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 1.4rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content {
        position: static;
        background: #2c3e50;
    }
}