/* Global settings */
body {
   font-family: 'Roboto', sans-serif;
   color: #333;
   background: #f4f4f4;
}

h1, h2, h3, h4, h5, h6 {
   text-align: center;
   font-weight: 500;
}

.navbar-brand {
   display: flex;
   align-items: center;
}

.navbar-brand img {
   height: 40px;
   margin-right: 10px;
}

/* Navbar Styles */
.navbar {
   background-color: rgba(255, 255, 255, 0.8); /* Match the header tint */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

.nav-link {
   color: #000000;
   font-weight: bold; /* Make text bold */
   margin: 0 30px; /* Space between nav links */
   transition: color 0.3s ease, text-decoration 0.3s ease;
}

.nav-link:hover {
   color: #cfcc0f; /* Change color on hover */
   text-decoration: underline; /* Add underline on hover */
}

.navbar-collapse {
    transition: height 0.3s ease, transform 0.3s ease;
}

/* Hero Section */
.bg-image {
   background-image: url('asset/roadwork.jpg');
   height: 600px;
   margin-top: 58px;
   background-color: azure;
   background-size: cover;
   background-position: center center;
   position: relative;
}

.bg-image::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity for tint */
}

.text-container {
   position: relative;
   background-color: rgba(185, 168, 132, 0.8); /* Slight transparency */
   padding: 20px;
   border-radius: 8px;
}

/* Button Styles */
.btn-custom {
   background-color: rgb(238, 237, 221); /* Background color as requested */
   border: none;
   color: #333;
   padding: 20px 40px; /* Increase padding for bigger button */
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 20px; /* Increase font size for bigger button */
   margin: 4px 2px;
   cursor: pointer;
   border-radius: 8px;
   transition: background-color 0.3s ease;
   width: 100%; /* Make the button full width */
   max-width: 300px; /* Limit the maximum width of the button */
}

.btn-custom:hover {
   background-color: #0056b3; /* Darker shade on hover */
}

/* Section Styles */
section {
   width: 100%;
   padding: 20px 0; /* Adjust padding for all sections */
}

#about {
   background-color: #f8f9fa; /* Light grey background */
   padding: 50px 20px; /* Add padding for spacing */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow */
}

#services {
   background-color: #e9ecef; /* Slightly darker grey background */
   padding: 50px 20px; /* Adjust padding for spacing */
}

#team {
   background-color: #e8eeda; /* Light grey background */
   padding: 65px 20px; /* Add padding for spacing */
}

#projects {
   background-color: #e9ecef; /* Slightly darker grey background */
   padding: 50px 20px; /* Adjust padding for spacing */
}

/* About Section */
.about-text {
   text-align: justify;
   line-height: 1.8; /* Better readability */
   margin-bottom: 20px;
   font-size: 1.1rem; /* Slightly larger font size */
   color: #555; /* Softer text color */
   border-left: 4px solid #d8db1f; /* Add a left border */
   padding-left: 15px; /* Padding for the text */
   background-color: #fff; /* Background color for the text area */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.about-image {
   width: 400px; /* Make the image smaller */
   height: auto;
   padding: 10px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow */
}

#company-background {
   background-color: #fcfaf1;
   border-radius: 8px; /* Optional: add rounded corners to the image */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow to the image */
}

/* Company Background Section */
#company-background .background-text {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center; /* Center the content vertically */
   padding: 40px 0; /* Adjust padding for the company background */
}

#company-background .text-column {
   flex: 1;
   padding: 10px;
   min-width: 300px; /* Ensure columns stack on smaller screens */
}

#company-background .text-column img {
   width: 150%; /* Ensure the image takes the full width of the column */
   max-width: 300px; /* Limit the maximum width of the image */
   border-radius: 8px; /* Optional: add rounded corners to the image */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow to the image */
}

#company-background p {
   text-align: justify;
   line-height: 1.8;
   margin-bottom: 10px; /* Add space between paragraphs */
   font-size: 1.1rem; /* Slightly larger font size for better readability */
   color: #555; /* Softer text color */
}

/* Project Cards */
.project-card {
   border: none;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add subtle shadow to cards */
   border-radius: 8px; /* Rounded corners */
   overflow: hidden; /* Ensure content stays within the card */
   margin-bottom: 30px; /* Space between cards */
}

.project-card img {
   width: 100%;
   height: 200px; /* Consistent height for images */
   object-fit: cover; /* Maintain aspect ratio and cover the area */
}

.project-card .card-body {
   padding: 20px;
}

.project-card .card-footer {
   text-align: center;
   background-color: #fff; /* Match card background */
}

.project-card .btn {
   width: 100%;
   border-radius: 0;
   transition: background-color 0.3s, color 0.3s;
}

.project-card .btn:hover {
   background-color: #0056b3;
   color: #fff;
}

 /* Updated Team Section Styles */
 #team .row {
   display: flex;
   flex-wrap: wrap;
}
.team-card {
   height: 100%;
   display: flex;
   flex-direction: column;
   text-align: center;
   border: none;
   box-shadow: 0 4px 8px rgba(0,0,0,.1);
}
.team-img-container {
   flex: 1;
   position: relative;
   padding-top: 100%; /* Creates a 1:1 aspect ratio */
   overflow: hidden;
}
.team-img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.team-card .card-body {
   padding: 1rem;
}

.section-heading {
   background-color: #eedf8b;
   padding: 20px 0; /* Adjust padding to make the background thicker */
   margin-bottom: 20px; /* Add space below the heading */
   font-size: 1.5rem; /* Adjust font size if needed */
   border-radius: 8px; /* Optional: add border radius for rounded corners */
}

.team-description {
   text-align: center;
   font-size: 1.1rem; /* Slightly larger font size */
   color: #555; /* Softer text color */
   padding: 20px;
   background-color: #f8f9fa; /* Light grey background */
   border-radius: 8px; /* Optional: add rounded corners */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
   max-width: 800px;
   margin: 0 auto; /* Center the description text */
}

.section-heading {
   background-color: #eedf8b;
   padding: 20px 0; /* Adjust padding to make the background thicker */
   margin-bottom: 20px; /* Add space below the heading */
   font-size: 1.5rem; /* Adjust font size if needed */
   border-radius: 8px; /* Optional: add border radius for rounded corners */
}

/* Cards styling */
.card {
   border: none;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
   background-color: #007bff;
   color: #ffffff;
}

.btn {
   border: none;
   transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
   background-color: #007bff;
}

.btn-primary:hover {
   background-color: #0056b3;
}

.btn-outline-light {
   border-color: #19be3d;
   color: #1f86ca;
}

.btn-outline-light:hover {
   background-color: #1e83e0;
   color: #007bff;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.footer h5 {
    font-size: 16px;
    color: #ffd700;
    margin-bottom: 10px;
}

.footer a {
    color: #ffd700;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    list-style: none;
    margin-bottom: 5px;
}

.footer .container {
    max-width: 960px; /* Restricting width to make it narrower */
}

.footer .text-center p {
    margin-bottom: 0;
    font-size: 14px; /* Adjusting font size for better readability */
}


.form-control {
   margin-right: 0.5rem;
}

.section-heading {
   font-size: 2.5rem; /* Larger heading size */

   text-align: center;
   background-color: #eedf8b;
   padding: 30px 0; /* Add padding to make the background thicker */
   margin-bottom: 20px; /* Add space below the heading */
   border-radius: 8px; /* Optional: add border radius for rounded corners */
}

/* Objective section styles */
#objectives {
   background-color: #f8f9fa; /* Light grey background */
   padding: 60px 20px; /* Add padding for spacing */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow */
}

#objectives .text-justify {
   text-align: justify;
   margin-bottom: 20px;
   font-size: 1.1rem; /* Slightly larger font size for better readability */
   color: #555; /* Softer text color */
}

#objectives .styled-list {
   list-style-type: disc; /* Use disc bullets */
   padding-left: 20px; /* Ensure the list items are indented */
}

#objectives .styled-list li {
   margin-bottom: 10px; /* Add space between list items */
   font-size: 1rem; /* Adjust font size if needed */
   color: #333; /* Ensure the text color is consistent */
}

/* Key Business Information Table */
.styled-table {
   width: 100%;
   margin: 20px 0;
   border-collapse: collapse;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.styled-table th,
.styled-table td {
   padding: 12px 15px;
   border: 1px solid #d4cece;
   text-align: left;
}

.styled-table th {
   background-color: #f2f2f2;
   color: #313030;
   font-weight: bold;
}

.styled-table tr:nth-child(even) {
   background-color: #f9f9f9;
}

.styled-table tr:hover {
   background-color: #ecf0dd;
}

.styled-table td {
   color: #2e2c2c;
   font-size: 1rem;
}

.styled-table th {
   background-color: #dfdebd;
   color: #000000;
}

/* Contact Page Styles */
.container {
   margin-top: 100px; /* Adjust this to avoid overlap with fixed navbar */
}

.contact-heading {
   font-size: 2.5rem; /* Larger heading size */
}

.text-justify {
   text-align: justify;
}

.form-control, .btn-custom {
   border-radius: 8px; /* Rounded corners for input fields and button */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
   .navbar-brand img {
       height: 30px;
   }

   .nav-link {
       margin: 0 15px;
   }

   .container {
       margin-top: 80px;
   }
}

.center-button {
   display: block;
   margin: 20px auto; /* Adjust the top and bottom margin as needed */
}

.project-card {
   position: relative;
   overflow: hidden;
   border: 1px solid #ddd;
   border-radius: 8px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
}

.project-card:hover {
   transform: scale(1.05);
}

.project-image {
   width: 100%;
   height: auto;
   display: block;
}

.project-description {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   color: #fff;
   opacity: 0;
   transition: opacity 0.3s ease;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   padding: 20px;
   text-align: center;
}

.project-card:hover .project-description {
   opacity: 1;
}

.container {
   margin-top: 100px;
}

.service-card {
   position: relative;
   overflow: hidden;
   border: 1px solid #ddd;
   border-radius: 8px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
   background: #fff;
   padding: 20px;
}

.service-card:hover {
   transform: scale(1.05);
}

.service-card h5 {
   font-size: 1.25rem;
   margin-bottom: 15px;
}

.service-card p {
   font-size: 1rem;
   color: #555;
}  
