/* General Body and Container Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #77aaff 3px solid;
}

header h1 {
    float: left;
    margin: 0;
    padding: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

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

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #77aaff;
    font-weight: bold;
}

/* Hero Section */
.hero {
    min-height: 400px;
    background: #555; /* Placeholder background color */
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #77aaff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #5588dd;
}

/* General Section Styles */
section {
    padding: 20px 0;
    margin-bottom: 20px;
    background: #fff;
    border-bottom: #ccc 1px solid;
}

section h2, section h3 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Introduction Section */
.introduction p {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Services Section */
.featured-services .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.featured-services .card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 30%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    border-radius: 8px;
}

.featured-services .card .service-card-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.featured-services .card h4 {
    color: #77aaff;
    margin-bottom: 10px;
}

/* Services Page Specific Styles */
.service-list .service-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-list .service-item h3 {
    color: #77aaff;
    margin-top: 0;
    text-align: left;
}

.service-list .service-item ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}

.service-list .service-item ul li {
    margin-bottom: 5px;
}

.call-to-action {
    text-align: center;
    padding: 30px;
    background: #e9e9e9;
    border-radius: 8px;
    margin-top: 30px;
}

.call-to-action p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* About Us Page Specific Styles */
.company-story, .our-values, .team-intro {
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.company-story h3, .our-values h3, .team-intro h3 {
    text-align: center;
    color: #77aaff;
    margin-bottom: 15px;
}

.our-values ul {
    list-style: none;
    padding: 0;
}

.our-values ul li {
    background: #eef;
    margin-bottom: 10px;
    padding: 10px;
    border-left: 5px solid #77aaff;
    border-radius: 4px;
}

.team-member {
    text-align: center;
    margin-bottom: 20px;
}

.team-member h4 {
    color: #555;
    margin-bottom: 5px;
}

/* Contact Page Specific Styles */
.contact-info ul {
    list-style: none;
    padding: 0;
    text-align: center;
    font-size: 1.1em;
}

.contact-info ul li {
    margin-bottom: 10px;
}

.contact-info a {
    color: #77aaff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-section .contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    cursor: pointer;
    border: none;
}

.form-note {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
}

.map-section {
    text-align: center;
}

.map-placeholder {
    margin-top: 20px;
    background: #eee;
    padding: 20px;
    border-radius: 8px;
}

.map-placeholder iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: 0;
    border-radius: 8px;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer ul {
    padding: 0;
    list-style: none;
    display: inline-block; /* For centering */
}

footer li {
    display: inline;
    padding: 0 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header h1, header nav {
        float: none;
        text-align: center;
    }

    header nav ul li {
        display: block;
        padding: 5px 0;
    }

    .hero h2 {
        font-size: 2em;
    }

    .featured-services .card {
        max-width: 100%;
    }

    .company-story, .our-values, .team-intro, .contact-form-section .contact-form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5em;
    }

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

    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}