/* Resetting default styles and setting box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section with Overlay */
.hero {
    position: relative; /* Add position relative for overlay positioning */
    background-image: url('bg.webp'); /* Replace with your hosted image path */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Ensure content stays within the hero section */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1;
}

.hero .container {
    position: relative; /* Ensure content stays above overlay */
    max-width: 800px;
    padding: 20px;
    z-index: 2; /* Ensure text is above the overlay */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1em;
}

.cta-button {
    background-color: #ff4757;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff6b81;
}

/* About Section */
.about {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.about .container {
    max-width: 800px;
}

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

.services .container {
    max-width: 1000px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}

.service-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 30%;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1rem;
}

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

.contact .container {
    max-width: 800px;
}

.contact a.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Global Styles */
.container {
    max-width: 1200px; /* Wider max-width for desktop view */
    margin: 0 auto; /* Center content horizontally */
    padding: 0 20px; /* Padding for mobile responsiveness */
    text-align: center; /* Center align text */
}

/* Additional Media Query for Extra Large Screens */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px; /* Increase padding for larger screens */
    }
}