/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero section */
.hero {
    text-align: center;
    background-color: #ecf0f1;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Services list */
.services ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
}

.services ul li {
    background-color: #3498db;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* Location cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.button {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #229954;
}

/* Articles */
.articles ul {
    list-style: none;
}

.articles ul li {
    margin-bottom: 0.5rem;
}

.articles ul li a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
}

.articles ul li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    nav ul li {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .services ul {
        grid-template-columns: 1fr;
    }
}


/* Additional styles for About and Contact pages */

/* Values and expertise grids */
.values-grid, .expertise-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value, .expertise {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.value h3, .expertise h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Contact page styles */
.contact-grid, .areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method, .area {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.contact-method h3, .area h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-method p, .area p {
    margin-bottom: 1rem;
}

/* Emergency services section */
.emergency-services {
    background-color: #fff5f5;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.emergency-info {
    margin: 2rem 0;
}

.emergency-info ul {
    list-style-type: disc;
    margin-left: 2rem;
}

.emergency-info ul li {
    margin-bottom: 0.5rem;
}

.emergency-cta {
    background-color: #e74c3c;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

.emergency-cta:hover {
    background-color: #c0392b;
}

/* Free estimate section */
.estimate-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.step h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

/* Location info sections */
.location-info, .company-story, .our-values, .our-expertise, .service-guarantee {
    margin-bottom: 3rem;
}

.location-info h3, .our-expertise h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
}

.location-info ul {
    list-style-type: disc;
    margin-left: 2rem;
}

.location-info ul li {
    margin-bottom: 0.5rem;
}

/* Benefits and guarantees */
.benefits, .guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit, .guarantee {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.benefit h3, .guarantee h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .values-grid, .expertise-areas, .contact-grid, .areas-grid, .estimate-process, .benefits, .guarantees {
        grid-template-columns: 1fr;
    }
    
    .emergency-cta {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

