body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff8f8;
    color: #d4cece;
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

header #logo {
    height: 50px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8em;
}

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

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

header nav ul li a {
    color: #030000;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #0779e4;
}

/* Hero Section */
.hero {
    background: #0779e4; /* Fallback if image doesn't load or for styling */
    background-image: linear-gradient(to right, rgba(7, 121, 228, 0.9), rgba(0, 53, 102, 0.9)), url('hero_background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: #ff8c00;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e07b00;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #fff;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed to always display 3 columns */
    gap: 30px;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #0779e4;
}

.service-item p {
    font-size: 0.95em;
    color: #555;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #f4f4f9;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.about-section p {
    font-size: 1.1em;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #e9ecef;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.contact-section p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Prevents padding from affecting width */
    font-family: 'Roboto', sans-serif;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form button {
    width: auto;
    align-self: center;
}

#form-status {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 0; /* Remove any top margin */
}

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

.footer-info {
    margin-top: 15px;
    color: #ccc;
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.8em;
}

/* Responsive adjustments */
@media(max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

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

    header nav ul {
        margin-top: 10px;
    }
    
    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .container {
        width: 90%;
    }

    .service-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
}