/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f7f6; /* Light background for overall site */
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background-color: #2c3e50; /* Dark blue for header */
    color: #ecf0f1; /* Light gray text */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

header h1 {
    margin: 0;
    font-size: 2em;
    color: #8e44ad; /* Purple accent for brand name */
}

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

header nav ul li {
    display: inline-block;
    margin-left: 25px;
}

header nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #3498db; /* Blue on hover */
}

/* Hero Section */
.hero {
    background-color: #3498db; /* Bright blue for hero */
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
    animation: fadeIn 1s ease-out;
}

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

.hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
}

/* General Section Styles */
section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

section:nth-of-type(even) {
    background-color: #e8f4f8; /* Light blue tint for alternating sections */
}

section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #8e44ad;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

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

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

.service-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #2ecc71; /* Green accent */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-top: 0;
}

.service-item p {
    font-size: 0.95em;
    color: #555;
}

/* Blog Article Section */
.blog-article {
    background-color: #ffffff;
}

.blog-article h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.2em;
    color: #2c3e50;
}

.blog-article h2::after {
    left: 0;
    transform: translateX(0);
}

.blog-article h3 {
    color: #34495e; /* Darker blue for subheadings */
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
}

.blog-article h4 {
    color: #34495e;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 10px;
}

.blog-article p {
    margin-bottom: 1em;
    text-align: justify;
}

.blog-article ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

.blog-article ul li {
    margin-bottom: 5px;
}

.blog-article a {
    color: #e74c3c; /* Red accent for links */
    text-decoration: none;
    font-weight: bold;
}

.blog-article a:hover {
    text-decoration: underline;
}

/* Contact Us Section */
.contact-us {
    background-color: #2c3e50; /* Dark blue */
    color: #ecf0f1;
    text-align: center;
}

.contact-us h2 {
    color: #ecf0f1;
}

.contact-us h2::after {
    background-color: #e74c3c; /* Red accent */
}

.contact-us p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    background-color: #34495e; /* Slightly lighter dark blue */
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

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

    section h2 {
        font-size: 2em;
    }

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

    .blog-article h2 {
        font-size: 1.8em;
    }

    .blog-article h3 {
        font-size: 1.5em;
    }

    .blog-article h4 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    header nav ul li {
        margin: 0 5px;
    }

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

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

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.8em;
    }

    .service-item {
        padding: 20px;
    }

    .blog-article h2 {
        font-size: 1.5em;
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
