body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #333;
    background-color: #fdfdfd;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden; 
}

/* Header */
header {
    background: #ffffff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

header .logo-container {
    display: flex;
    align-items: center;
}

header .logo-img {
    height: 45px; 
    margin-right: 12px;
}

header h1 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
}

header h1 a {
    color: #2c3e50; /* Darker, more professional blue/grey */
    text-decoration: none;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #007bff; 
}

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

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

header nav ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 500; /* Using Roboto's medium weight */
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding-bottom: 5px; /* Space for potential underline effect */
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Hero Section */
#hero {
    background: url('hero-background.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 7rem 1rem; /* Increased padding */
    position: relative;
    min-height: 70vh; /* Ensure it takes a good portion of the viewport */
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Slightly darker overlay */
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300; /* Lighter weight for tagline */
}

.cta-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 0.9rem 2rem; /* Slightly larger button */
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.4);
}

/* General Section Styling */
.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa; /* Lighter grey */
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

h3 { 
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    font-weight: 700;
}

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

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

#services .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#services .service-item img {
    width: 70px; 
    height: 70px;
    margin-bottom: 1.5rem;
    filter: grayscale(30%) opacity(0.8); /* Subtle effect for icons */
    transition: filter 0.3s ease;
}
#services .service-item:hover img {
    filter: grayscale(0%) opacity(1);
}


#services .service-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    color: #007bff;
}

#services .service-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* About Section */
#about .container {
    max-width: 850px; /* More focused content width */
}
#about p {
    text-align: left; /* More readable for longer paragraphs */
    margin: 0 auto 1.5rem auto;
    font-size: 1.05rem;
    color: #444;
}
#about strong {
    font-weight: 700;
    color: #0056b3;
}

/* Contact Section */
#contact .contact-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

#contact .contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

#contact .contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0.7;
}

#contact .contact-item h4 {
    font-size: 1.3rem;
    color: #007bff;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact .contact-item p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

#contact .contact-item p a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

#contact .contact-item p a:hover {
    text-decoration: underline;
    color: #007bff;
}

/* Footer */
footer {
    background: #2c3e50; /* Darker footer */
    color: #bdc3c7; /* Lighter text for contrast */
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}
footer a {
    color: #ecf0f1; /* Even lighter for links */
    text-decoration: none;
    font-weight: 500;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    #hero h2 {
        font-size: 2.8rem;
    }
    #hero p {
        font-size: 1.15rem;
    }
    h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center; /* Center logo and nav when stacked */
    }

    header .logo-container {
        margin-bottom: 15px;
    }

    header nav ul {
        text-align: center;
        margin-top: 10px;
    }

    header nav ul li {
        display: inline-block; /* Keep them inline for mobile if space allows, or block */
        margin: 0 10px;
    }
    header nav ul li a {
        font-size: 0.9rem;
    }

    #hero {
        padding: 5rem 1rem;
        min-height: 60vh;
    }
    #hero h2 {
        font-size: 2.2rem;
    }
    #hero p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    h3 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    #services .services-grid,
    #contact .contact-details {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    #services .service-item,
    #contact .contact-item {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    header .logo-img {
        height: 35px;
    }
    header nav ul li {
        margin: 0 8px;
    }
    header nav ul li a {
        font-size: 0.85rem;
    }

    #hero h2 {
        font-size: 1.8rem;
    }
    #hero p {
        font-size: 0.9rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .section-padding {
        padding: 3rem 0;
    }
}

