/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

html {
    scroll-behavior: smooth; /* For smooth scrolling from nav links */
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden; /* Clear floats */
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

h1 { font-size: 2.8rem; color: #fff; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: #007bff; /* Primary Accent Color */
}

a:hover {
    color: #0056b3;
}

.py-1 { padding: 2rem 0; }
.py-2 { padding: 4rem 0; }
.bg-light { background-color: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.bg-dark { background-color: #33475c; color: #fff; } /* Dark Blue/Gray */
.bg-darker { background-color: #22303F; color: #ccc; } /* Even Darker for Footer */
.bg-dark h2, .bg-dark p, .bg-dark label { color: #fff; }
.bg-dark a { color: #61dafb; } /* Light blue for links on dark */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.lead {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff; /* Primary Accent Color */
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Navigation Bar */
#navbar {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

#navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}
#navbar .logo .logo-accent {
    color: #007bff; /* Primary Accent Color */
}

#navbar ul {
    list-style: none;
    display: flex;
}

#navbar ul li {
    margin-left: 20px;
}

#navbar ul li a {
    color: #333;
    font-weight: bold;
    padding: 5px;
}

#navbar ul li a:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(51, 71, 92, 0.8), rgba(51, 71, 92, 0.8)), url('hero-background.jpg') no-repeat center center/cover; /* Placeholder for hero background */
    color: #fff;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

#hero .sub-headline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem auto;
    color: #f4f4f4;
}

/* About Section */
#about .about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}
#about .about-text {
    flex: 2;
}
#about .about-image {
    flex: 1;
    text-align: center;
}
#about .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    color: #007bff; /* Primary Accent Color */
    margin-bottom: 1rem;
}

.service-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}
.service-item p.service-impact {
    font-size: 0.9rem;
    color: #555;
    margin-top: 1rem;
    font-style: italic;
}


/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-us-item {
    background: #f9f9f9; /* Slightly off-white */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.why-us-item i {
    font-size: 2rem;
    color: #007bff; /* Primary Accent Color */
    margin-bottom: 0.8rem;
}

.why-us-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
#contact-form {
    max-width: 700px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #556a80; /* Darker border for dark bg */
    border-radius: 5px;
    background-color: #44586d; /* Slightly lighter input bg for dark theme */
    color: #fff;
}
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}


.contact-direct {
    text-align: center;
    margin-top: 3rem;
}
.contact-direct p {
    margin-bottom: 0.5rem;
}
.contact-direct i {
    margin-right: 8px;
}


/* Footer */
#main-footer {
    text-align: center;
    padding: 2rem 0;
}
#main-footer p {
    margin-bottom: 0.5rem;
}


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

    #navbar .container {
        flex-direction: column;
    }
    #navbar .logo {
        margin-bottom: 0.5rem;
    }
    #navbar ul {
        padding-top: 0.5rem;
        justify-content: center; /* Center nav items on mobile */
    }
    #navbar ul li {
        margin: 0 10px;
    }

    #hero {
        height: auto;
        padding: 4rem 20px;
    }
    #hero h1 { margin-top: 2rem; } /* Add margin if navbar is tall */

    #about .about-content {
        flex-direction: column;
    }
    #about .about-image {
        margin-top: 2rem;
    }
    #about .about-image img {
        max-width: 250px; /* Control image size better on mobile */
    }

    .services-grid, .why-us-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
}

@media (max-width: 480px) {
    #navbar ul li a {
        font-size: 0.9rem;
    }
     #navbar ul li {
        margin: 0 7px;
    }
}
