/* Global Styles */
:root {
    --primary-color: #2c3e50; /* Dark Blue/Grey */
    --secondary-color: #3498db; /* Bright Blue */
    --accent-color: #e67e22; /* Orange/Warm Yellow */
    --light-gray: #f4f4f4;
    --text-color: #333;
    --white-color: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

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

h1, h2, h3 {
    font-family: var(--font-primary);
    margin-bottom: 0.75em;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1em;
}

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

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background: var(--white-color);
    color: var(--primary-color);
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

header h1 a {
    color: var(--primary-color);
    font-weight: 700;
}
header h1 a:hover {
    color: var(--secondary-color);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

header nav ul li a:hover, header nav ul li a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Hero Section */
.hero {
    background: url('hero-background.png') no-repeat center center/cover;
    color: var(--white-color);
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero::before { /* Overlay for better text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5em;
    color: var(--white-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
    color: var(--light-gray);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #d35400; /* Darker accent */
    color: var(--white-color);
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    text-align: center;
}

.content-section h2 {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.content-section h2::after { /* Underline for section titles */
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 8px auto 0;
}

.alt-bg {
    background-color: var(--light-gray);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.service-item {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    /* Assuming icons will be simple and fit this styling */
    filter: invert(48%) sepia(61%) saturate(1012%) hue-rotate(170deg) brightness(92%) contrast(88%); /* to make icons --secondary-color like */
}

/* Contact Section */
#contact .cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; 
    text-align: left;
}

.contact-details {
    flex: 1;
    min-width: 300px;
    max-width: 500px; 
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: invert(33%) sepia(8%) saturate(1438%) hue-rotate(173deg) brightness(95%) contrast(89%); 
}

.contact-details a {
    font-weight: 500;
}

.contact-map {
    /* This class is no longer used for an element, but styles can be kept or removed. */
    /* For now, I'll comment them out as they are not actively styling anything.
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    */
}
/*
.contact-map img {
    display: block; 
    width:100%;
    height:100%;
    object-fit:cover;
}
*/

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header h1 {
        margin-bottom: 10px;
        text-align: center;
    }
    header nav ul {
        justify-content: center;
        padding-left: 0;
    }
    header nav ul li {
        margin: 0 10px;
    }

    .hero {
        height: 60vh;
    }
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }
    h1 { font-size: 2rem; }

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

    .contact-info-container {
        flex-direction: column;
        align-items: center; 
    }
    /*
    .contact-map {
        height: 300px; 
    }
    */
}

@media (max-width: 480px) {
    header nav ul li a {
        padding: 5px;
        font-size: 0.9rem;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}