/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    /* color: #2c3e50; */
    color: #0C2126;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

p.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 1.1em;
    /* color: #555; */
}

a {
    color: #0C2126;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #4D5352;
    color: #fff;
    border:  2px solid #4D5352;
}

.btn-primary:hover {
    background-color: #3498db;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
}

.btn-secondary {
    background-color: #fefefe;
    color: #0C2126;
    border: 2px solid #0C2126;
    padding: 8px 15px;
    font-size: 0.9em;
}

.btn-secondary:hover {
    background-color: #ecf0f1;
    text-decoration: none;
}

/* Header */
header {
    background-color: #ffffff; /* Changed to White */
    color: #333; /* Changed to dark for contrast with white background */
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Lighter shadow for white background */
}

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

/* Logo Styling (Adjusted for Image) */
/* .header-logo {
    height: 35px; /* Adjust this value to control the logo size */
/*    width: auto;
    vertical-align: middle;
} */

.header-logo {
    height: 60px;
    width: 200px;
    vertical-align: middle;
}

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

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

nav ul li a {
    /*color: #333; */ /* Changed to dark for contrast with white background */
    font-weight: 400;
    font-size: 1.1em;
}

nav ul li a:hover {
    color: #3498db;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('bg.jpg') no-repeat center center/cover; /* Replace with a relevant background image */
    color: #fff;
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    min-height: 500px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.hero .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #fefefe;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fefefe;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item .icon {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 15px;
    display: block;
}

.service-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #0C2126;
}

.service-item p {
    font-size: 1em;
    /* color: #555; */
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.service-item ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    /* color: #666; */
}

.service-item ul li::before {
    content: '✔';
    color: #27ae60;
    position: absolute;
    left: 0;
    top: 0;
}


/* About Us Section */
.about {
    padding: 80px 0;
    background-color: #ecf0f1;
    text-align: center;
}

.about p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    /* color: #444; */
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #0C2126;
    color: #fff;
    text-align: center;
}

.contact h2 {
    color: #fff;
}

.contact p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #0C2126;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fefefe;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #555;
    border-radius: 4px;
    /* background-color: #4a627a; */
    /* color: #fff; */
    font-size: 1em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.5);
}

.contact .btn-primary {
    width: 100%;
    font-size: 1.1em;
    padding: 15px 0;
    margin-top: 10px;
}

.contact-info {
    margin-top: 40px;
    font-size: 1.1em;
    color: #ccc;
}

.contact-info a {
    color: #3498db;
    font-weight: 700;
}

/* Styling for Form Messages */
#form-messages {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 1.1em;
    text-align: center;
    font-weight: 700;
}

#form-messages.success {
    background-color: #d4edda; /* Light green background */
    color: #155724;           /* Dark green text */
    border: 1px solid #c3e6cb;
}

#form-messages.error {
    background-color: #f8d7da; /* Light red background */
    color: #721c24;           /* Dark red text */
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: #222;
    color: #bbb;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.1em;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    h2 {
        font-size: 2em;
    }
    p.section-description {
        margin-bottom: 40px;
    }
    .header-logo {
        height: 30px; /* Slightly smaller logo on mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    nav ul li {
        margin: 0 5px;
    }
}