/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #0A2240; /* Dark Navy */
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Bright Blue */
    border-radius: 2px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: #007bff; /* Bright Blue */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Header */
header {
    background-color: #0A2240; /* Dark Navy */
    color: #fff;
    padding: 15px 0;
    border-bottom: 5px solid #007bff; /* Bright Blue accent */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 1.8em;
    color: #fff;
}

header .logo p {
    margin: 0;
    font-size: 0.9em;
    color: #f8f8f8;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-left: 25px;
}

header nav ul li a {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero h2::after {
    background-color: #fff;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.about-us .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.about-us .text-content {
    flex: 2;
    min-width: 300px;
}

.about-us .image-content {
    flex: 1;
    min-width: 250px;
}

.about-us .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-us h2 {
    text-align: left;
}

.about-us h2::after {
    left: 0;
    transform: translateX(0);
}


/* Our Services Section */
.our-services {
    padding: 80px 0;
    background-color: #f0f4f8; /* Light blue-gray */
    text-align: center;
}

.our-services .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.our-services .service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-services .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.our-services .service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.our-services .service-item h3 {
    color: #0A2240;
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.why-choose-us ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-us ul li {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: background-color 0.3s ease;
}

.why-choose-us ul li:hover {
    background-color: #e6f2ff; /* Lighter blue on hover */
}

.why-choose-us ul li i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 15px;
}

.why-choose-us ul li h3 {
    font-size: 1.4em;
    color: #0A2240;
    margin-bottom: 10px;
}

/* Contact Us Section */
.contact-us {
    padding: 80px 0;
    background-color: #0A2240; /* Dark Navy */
    color: #fff;
    text-align: center;
}

.contact-us h2 {
    color: #fff;
}

.contact-us h2::after {
    background-color: #fff;
}

.contact-us p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.contact-us .contact-info p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.contact-us .contact-info a {
    color: #fff;
    font-weight: bold;
}

.contact-us .contact-info a:hover {
    color: #007bff;
    text-decoration: underline;
}

.contact-us form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.contact-us .form-group {
    margin-bottom: 20px;
}

.contact-us label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.contact-us input[type="text"],
.contact-us input[type="email"],
.contact-us textarea {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #fefefe;
}

.contact-us textarea {
    resize: vertical;
}

.contact-us .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.form-messages {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none; /* Hidden by default */
}

.form-messages.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Footer */
footer {
    background-color: #0A2240; /* Dark Navy */
    color: #f8f8f8;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .about-us .about-content {
        flex-direction: column;
    }

    .about-us .text-content,
    .about-us .image-content {
        min-width: unset;
        width: 100%;
    }

    .our-services .service-grid,
    .why-choose-us ul {
        grid-template-columns: 1fr;
    }

    .contact-us form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 1.5em;
    }

    .hero h2 {
        font-size: 2em;
    }

    h2 {
        font-size: 2em;
    }
}