/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Menu Styles */
nav {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space out children */
    align-items: center; /* Center items vertically */
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent background for the menu */
    padding: 10px 30px; /* Reduced padding for the menu */
    position: fixed; /* Fixed position to stay at the top */
    width: 100%; /* Full width */
    z-index: 1000; /* On top of other content */
    top: 0; /* Set top to 0 to align with the top of the page */
}

/* Logo in the Menu */
#nav-logo {
    height: 60px; /* Set a fixed height */
    width: auto;  /* Auto width to maintain aspect ratio */
}

/* Menu Styles */
#menu {
    list-style-type: none; /* Remove bullet points */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    display: flex; /* Use flexbox for horizontal layout */
}

#menu li {
    margin-left: 20px; /* Space between menu items */
}

#menu a {
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline */
    font-size: 16px; /* Font size */
    transition: color 0.3s; /* Transition effect on hover */
}

#menu a:hover {
    color: #ffcc00; /* Color change on hover */
}



/* Style for the body */
body {
    padding-top: 200px;
    margin: 0; /* Remove body margin */
    background-image: url('../images/background.JPG'); /* Set the background image */
    background-size: cover; /* Cover the entire page */
    background-attachment: fixed; /* Make the background fixed */
    background-position: center; /* Center the background */
}



/* Section Styles */
section {
    padding-top: 100px;
    padding-bottom: 60px;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    color: #fff; /* Text color for better visibility */
    text-align: center; /* Center text */
}

/* Text Wrapper Styles */
.text-wrapper {
    width: 80%; /* Set width to 90% of the page */
    margin: 0 auto; /* Center the text wrapper */
    font-size: 2em;
}

/* Section Title Styles */
h2 {
    font-size: 2em; /* Font size for section titles */
    margin-bottom: 20px; /* Space below title */
}

/* Footer Styles */
footer {
    text-align: center; /* Center text */
    padding: 20px; /* Padding for footer */
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent background color */
    color: #fff; /* White text */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em; /* Smaller size for mobile */
    }
    header p {
        font-size: 1.5em; /* Smaller size for mobile */
    }
}






/* Navigation Menu Styles Enhancements */
nav {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Add shadow */
}

/* Header Title Adjustments */
h1 {
    transform: translateY(-200px); /* Adjust to bring the title down a bit */
}

/* Section Styles Enhancements */
section {
    transition: background-color 0.3s; /* Transition for background color */
}

/* Footer Styles Enhancements */
footer {
    padding: 30px; /* Increased padding for footer */
}

/* Responsive Adjustments Enhancements */
@media (max-width: 768px) {
    h1 {
        font-size: 2em; /* Adjusted size for mobile */
    }
    header p {
        font-size: 1.2em; /* Adjusted size for mobile */
    }
}

/* Adding transitions for buttons */
.download-button {
    transition: background-color 0.3s, transform 0.3s; /* Add transform transition */
}

.download-button:hover {
    transform: scale(1.05); /* Slightly scale on hover */
}





/* Services Section Styles */
#services {
    background-color: rgba(0, 0, 0, 0.7); /* Match with overall theme */
    padding: 60px 20px; /* Padding for section */
}

/* Service Grid Styles */
.service-grid {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between boxes */
    max-width: 1200px; /* Set a maximum width for the grid */
    margin: 0 auto; /* Center the grid */
}

/* Service Box Styles */
.service-box {
    background-color: #222; /* Dark background for service boxes */
    padding: 20px; /* Padding inside each box */
    border-radius: 10px; /* Rounded corners */
    text-align: center; /* Center text */
    color: #fff; /* White text */
    width: 100%; /* Make the box take full width of its grid column */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

.service-box img {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
}

.service-box h3 {
    font-size: 1.5em; /* Font size for service titles */
    margin-top: 15px; /* Space above titles */
    color: #8da1af; /* Highlight color for service titles */
}

.service-box p {
    margin-top: 10px; /* Space above paragraphs */
    line-height: 1.4; /* Line height for readability */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }

    .service-box h3 {
        font-size: 1.3em; /* Smaller title size on mobile */
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }

    .service-box h3 {
        font-size: 1.2em; /* Smaller title size on mobile */
    }
}




/* Service box styling for clickable area */
.service-link {
    display: block;
    color: inherit; /* Inherits the color of the parent */
    text-decoration: none; /* Removes underline */
}

.service-box {
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: scale(1.02); /* Slightly enlarges the box on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Related Projects Section */
#related-projects {
    background-color: rgba(0, 0, 0, 0.7); /* Consistent background */
    padding: 60px 20px; /* Padding */
    color: #fff; /* White text */
    text-align: center;
}

#related-projects h2 {
    font-size: 3em; /* Title size */
    margin-bottom: 20px; /* Space below title */
    color: #cbd2d8; /* Title color */
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between cards */
    max-width: 1200px; /* Max width */
    margin: 0 auto;
}

/* Project Card Styling */
.project-card {
    background-color: #222; /* Dark card background */
    padding: 20px; /* Padding inside card */
    border-radius: 10px; /* Rounded corners */
    text-align: center; /* Center text */
    color: #fff; /* White text */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: scale(1.02); /* Slight enlarge on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Rounded image corners */
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 1.5em;
    color: #8da1af;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.subcontractors-section {
    padding: 40px 20px; /* Add padding to the section */
    background-color: #000000; /* Light background for contrast */
    text-align: center; /* Center-align section title */
}

.subcontractors-section h2 {
    font-size: 2em;
    margin-bottom: 20px; /* Space below title */
    color: #8da1af; /* Professional color for title */
}

.subcontractor-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between subcontractor items */
    max-width: 800px;
    margin: 0 auto;
}

.subcontractor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subcontractor-item img {
    width: 80px; /* Consistent logo size */
    height: auto;
}

.subcontractor-item.left img {
    order: 1; /* Logo on left */
    margin-right: 20px;
}

.subcontractor-item.left p {
    order: 2;
}

.subcontractor-item.right img {
    order: 2; /* Logo on right */
    margin-left: 20px;
}

.subcontractor-item.right p {
    order: 1;
}



/* Contact Section Styling */
#contact {
    padding: 40px 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* For responsiveness */
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-column {
    flex: 1;
    min-width: 200px; /* Ensures columns stack at smaller widths */
    padding: 20px;
    text-align: left;
}

.contact-logo {
    max-width: auto;
    height: 120px;
    margin-bottom: 10px;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    display: block;
    color: #fff;
    margin: 5px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffffff;
}

.contact-column p {
    margin: 10px 0;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-column {
        text-align: center;
    }
}


a {
    color: #c5cbec; /* Replace with the color you want */
    text-decoration:none; /* Optional: removes the underline */
}

a:hover {
    color: #8e95b8; /* A slightly darker shade for hover */
}