/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #202020;
}

.container {
    width: 100%;
    margin: auto;
    overflow: hidden;
}

/* Header Styles */
header {
    background-color: #ffffff;
    background-image: url('Images/IMG_4619.jpeg');
    background-size: cover; /* Ensures the image covers the entire header area */
    background-position: center center; /* Keeps the image centered */
    background-attachment: scroll; /* Disable parallax scrolling effect */
    width: 100%; /* Full width */
    height: 400px; /* Set a fixed height for the header */
    color: #fff;
    text-align: center;
    display: flex; /* Allows centering of content */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    padding: 0; /* Remove extra padding */
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin: 10px 0;
}

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

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #004165;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #ffcc00; /* Highlight color when hovered */
}

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

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004165;
}

.service-list {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.service-item {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    transition: transform 0.3s ease;
}

.service-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
}

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

/* Projects Section */
.projects {
    padding: 50px 0;
    background-color: #eaeaea;
}

.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004165;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to a second row */
    gap: 20px;
    justify-content: space-between;
}

.project-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
    flex: 1 1 calc(33.33% - 20px); /* Adjust for three items per row */
    transition: transform 0.3s ease;
}

.project-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.project-item h3 {
    margin-top: 15px;
    color: #333;
}

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

@media only screen and (max-width: 768px) {
    .project-item {
        flex: 1 1 100%; /* Stack items vertically on smaller screens */
    }
}

/* About Section */
.about {
    padding: 50px 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    color: #004165;
    margin-bottom: 30px;
}

.about p {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    width: 70%;
    margin: auto;
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background-color: #eaeaea;
}

.contact h2 {
    text-align: center;
    color: #004165;
    margin-bottom: 30px;
}

.contact p {
    text-align: center;
    font-size: 1.1em;
    color: #666;
}

.contact form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 20px auto 0 auto;
}

.contact form label {
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.contact form input,
.contact form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact form button {
    padding: 10px;
    background-color: #004165;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
}

.contact form button:hover {
    background-color: #ffcc00;
    color: #333;
}

/* Footer Styles */
footer {
    background-color: #004165;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

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

.logo {
    max-width: 450px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center if needed */
    margin: 0 auto; /* Centering the logo */
    border: none;
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    flex: 1;
    text-align: center; /* Center content horizontally */
    display: flex;
    flex-direction: column; /* Align title and carousel vertically */
    justify-content: flex-start;
    align-items: center;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: auto; /* Ensure images scale properly */
}

.carousel-images img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: none; /* Initially hide all images */
    object-fit: cover;
    border-radius: 10px;
}

.carousel-images img.active {
    display: block; /* Show the active image */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 18px;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Title Styling for Carousel */
.carousel h3 {
    margin: 10px 0;
    font-size: 1.2em;
    color: black;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 2;
}
