/* CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #1a3e72;
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #e63946;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.header-tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.header-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.badge {
    background-color: #e63946;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Emergency Bar */
.emergency-bar {
    background-color: #e63946;
    color: white;
    padding: 0.8rem 0;
}

.emergency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.emergency-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.emergency-cta {
    background-color: white;
    color: #e63946;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.emergency-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h2 {
    font-size: 2.2rem;
    color: #1a3e72;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e63946;
    font-weight: bold;
}

.cta-wrapper {
    margin-top: 2rem;
}

.primary-cta {
    display: inline-flex;
    flex-direction: column;
    background-color: #1a3e72;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-cta:hover {
    background-color: #142f57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-number {
    font-size: 1.4rem;
    font-weight: 700;
}

.hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #1a3e72;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-top: 4px solid #e63946;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a3e72;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1a3e72;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e63946;
    font-weight: bold;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background-color: #f1f5f9;
}

.testimonials h2 {
    text-align: center;
    color: #1a3e72;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: #e63946;
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial footer {
    font-weight: 600;
    color: #1a3e72;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-box {
    background-color: #1a3e72;
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-subtext {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.cta-button {
    display: inline-flex;
    flex-direction: column;
    background-color: #e63946;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.cta-button:hover {
    background-color: #d62c3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-main {
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #0f2a4d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-cta, .cta-button {
        width: 100%;
    }
}