/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
.main-header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.8rem 1rem;
    border-bottom: 5px solid #e74c3c;
}

.main-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.main-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    max-width: 100%;
    margin-bottom: 2.5rem;
}

.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(44, 62, 80, 0.9);
    color: white;
    padding: 1.8rem;
    text-align: center;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 3rem 1.5rem;
    background: white;
}

.services h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    position: relative;
}

.services h3:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #e74c3c;
    margin: 1rem auto 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 1.8rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #e74c3c;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
}

/* Emergency Section */
.emergency {
    background-color: #e74c3c;
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
    margin: 2rem 0;
}

.emergency h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.emergency-features {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
    font-size: 1.1rem;
}

.emergency-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.emergency-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #e74c3c;
}

.cta-button:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
}

.emergency-btn:hover {
    background: #f1f1f1;
    color: #c0392b;
}

/* Benefits Section */
.benefits {
    padding: 3rem 1.5rem;
    background: #f8f9fa;
    text-align: center;
}

.benefits h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.benefit-card h4 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.main-footer p {
    margin-bottom: 0.5rem;
}

.footer-contact {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        position: relative;
        background: #2c3e50;
    }
    
    .service-grid, .benefit-grid {
        grid-template-columns: 1fr;
    }
}