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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333333;
    background-color: #F4F4F4;
    line-height: 1.6;
    padding: 0 20px; /* Add horizontal padding */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Global Styles */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

/* Header */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #b1d4cd; /* Exact color from the logo */
    color: #FFFFFF;
    padding: 20px 0;
}

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

.logo {
    height: 80px;
    width: auto;
    margin-right: 15px;
}

.site-title {
    font-size: 28px;
    color: #FFFFFF;
    margin: 0; /* Ensure no extra margin */
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #FFFFFF;
    margin-left: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #FF6600; /* Accent Color */
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 150px 20px;
    margin-top: 0; /* Remove margin-top */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Remove padding-top */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    color: #FFFFFF;
}

/* Call-to-Action Button */
.cta-button {
    background-color: #FF6600; /* Accent Color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 20px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #E65C00; /* Slightly darker accent color */
}

/* Services Section */
.services {
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #b1d4cd; /* Match the header color */
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the items */
}

.service-item {
    width: calc(33.333% - 40px); /* Three items per row with margin */
    margin: 20px;
    padding: 20px;
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    text-align: left;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #FF6600; /* Accent Color */
}

.service-item p {
    font-size: 16px;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
}

/* Footer */
.footer {
    background-color: #b1d4cd; /* Matches header and logo color */
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: center; /* Center align items */
        padding: 10px 0;
    }

    nav {
        padding: 10px 0;
    }

    nav a {
        margin: 5px 0; /* Adjust margins for better spacing */
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 20px;
    }

    .service-items {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 100%;
        max-width: 400px;
    }
}