/* General Styles */
:root {
    --primary-color: #0056b3; /* Muted Blue */
    --secondary-color: #28a745; /* Deep Green */
    --accent-color: #007bff; /* A brighter blue for CTAs */
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white: #fff;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 10px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    text-decoration: none;
}

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--text-color);
    font-weight: bold;
}

.btn-call-now {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
}

.btn-call-now:hover {
    background-color: #218838;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #555;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-cards .card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.service-cards .card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.why-choose-us h2 {
    color: var(--white);
}

.why-choose-us ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.why-choose-us ul li {
    background-color: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 18px;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 30px;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact form input[type="text"],
.contact form input[type="tel"],
.contact form input[type="email"],
.contact form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact form button {
    width: auto;
    align-self: center;
    cursor: pointer;
}

.contact-info p {
    margin: 5px 0;
}

/* Map Section */
.map {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.map iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

footer nav ul li a {
    color: var(--white);
    font-weight: normal;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 20px;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    header nav ul li {
        margin-left: 0;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .why-choose-us ul li {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 18px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}
