/* General Styling */
:root {
    --primary-color: #2a4a7f;
    --secondary-color: #5a7bbd;
    --accent-color: #f0a500;
    --text-color: #333;
    --light-bg: #f4f7f6;
    --dark-bg: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to right, var(--light-bg), #e0e5e9); /* Subtle gradient background */
}

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

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

a:hover {
    text-decoration: underline;
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header and Navigation */
header {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

header h1 {
    color: #fff;
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    margin-top: 5px;
}

nav {
    background-color: var(--primary-color);
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Hero Section */
#hero {
    /* TODO: Replace with a relevant background image */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), var(--primary-color); /* Fallback background */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

#hero h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e09500;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5rem;
}

/* Testimonials */
#testimonials {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
}

#testimonials h2 {
    color: #fff;
}

/* Contact Form */
#contact form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

#contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#contact textarea {
    resize: vertical;
    min-height: 100px;
}

#contact input[type="submit"] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

#contact input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    #hero h2 {
        font-size: 2.2rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

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