/*Navbar*/
body {
    background: url('../images/bg/mw14.png') no-repeat center center fixed;
    background-size: cover; /* Ensures the background image covers the whole body */
    color: white; /* Optional: adjust text color for readability */
    margin: 0;
    padding: 0;
}

@font-face {
  font-family: agbalumo;
  src: url('../font/Agbalumo-Regular.ttf');
}
	.navbar{
		/*background-color:rgba(255,255,255,0.5);*/
	}
	.main-logo{
		width:100px;
		margin-left:120px;
	}
	#navbarNav{
		width:100%;
		margin:auto;

	}
	.nav-link,.buy-now{
		font-family:agbalumo;
	}
	a.nav-link{
		font-size:0.8em;
		Color:#fff;
	}
	a.active-page{
		color:#6ae14c;
		border-bottom:2px solid #01573a;
	}
	a.nav-link:hover{
		color:#6ae14c;
		border-bottom:2px solid #01573a;
	}
	
	.top-social-icons{
		padding-right:10px;
		color:#fff;
	}
	.top-social-icons:hover{
		color:#6ae14c
	}
	
	.navbar.fixed-top {
    transition: background-color 0.3s ease;
}

	.navbar.fixed-top.scrolled {
    background-color: #000 !important;  /* Black background when scrolled */
}
	@media (max-width: 768px){
	.navbar-nav {
    background-color:rgba(0,0,0,1);
}
}

/* Make Carousel Images Responsive */
.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100vh; /* Full viewport height */
}

/* Carousel controls for better visibility on mobile */
.carousel-control-prev-icon, 
.carousel-control-next-icon {


}

/* Ensure the carousel is responsive on all screen sizes */
@media (max-width: 768px) {
    .carousel-item img {
        object-fit: fill;
        width: 100%;
        height: auto; /* Adjust height on smaller screens */
    }
}


/* Section Styles */
#ongoing-projects {
    padding: 50px 20px;
    
}

#ongoing-projects .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

/* Project Card */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.project-image {
    position: relative;
    height: 500px; /* Fixed height */
    overflow: hidden; /* Hide the overflow if the image is larger than the container */
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire container */
    transition: transform 0.3s ease; /* Smooth scaling effect */
}

/* Overlay on Hover */
.project-image:hover img {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.project-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 25, 0.6); /* Overlay with specified color */
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.project-image:hover .overlay {
    opacity: 1; /* Show the overlay on hover */
}

.project-image .overlay h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-image .overlay p {
    font-size: 1rem;
    max-width: 200px;
    margin: 0 auto;
}

/* Responsive Grid */
#ongoing-projects .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the items horizontally */
}

#ongoing-projects .col-12 {
    margin-bottom: 30px;
}

#ongoing-projects .col-md-6 {
    flex: 0 0 50%; /* Ensures 2 equal columns for medium screens and above */
    max-width: 50%;
}

/* Mobile View - Single Column */
@media (max-width: 767px) {
    #ongoing-projects .col-md-6 {
        flex: 0 0 100%; /* Make columns stack on mobile */
        max-width: 100%;
    }

    /* Adjust card height for smaller screens if needed */
    .project-image {
        height: 250px; /* Reduced height for mobile view */
    }
}




/* Featured Projects Section */
#featured-projects {
    padding: 40px 0;
	background-color:#000;
	color:#fff;
}

.featureheadline{
	font-size: 2rem;
    font-weight: bold;
    color: #fff;
}
.my-5{
	margin-bottom: 0rem !important;
}
/* Responsive Grid Layout for Featured Projects */
.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 images per row */
    gap: 10px;
	padding:0px 15px;
	justify-content: center;
	margin: 0 auto;
	width:100%;
}

.featured-project-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    cursor: pointer;	
}

.featured-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop without overflow */
    transition: transform 0.3s ease;
}

.featured-project-card:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 87, 58, 0.6); /* Overlay color with transparency */
    color: #fff;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.3s ease;
}

.featured-project-card:hover .featured-overlay {
    opacity: 1; /* Show overlay on hover */
}

.featured-text {
    font-size: 14px;
}

/* Lightbox Full-View Overlay for Featured Projects */
#featured-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 87, 58, 0.9); /* Dark overlay with transparency */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.featured-lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.featured-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-project-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row on smaller screens */
    }
}

@media (max-width: 576px) {
    .featured-project-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 image per row on mobile */
    }
}



/* Footer Section */
.footer {
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 3rem 0;
}

/* Center text within grid */
.footer .text-center {
    text-align: center;
}

/* Footer Heading */
.footer-heading {
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Footer Links */
.footer-links a, .footer-contact div {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: text-decoration 0.3s ease;
}



/* Footer Contact Icons */
.footer-contact .contact-icon {
    margin-right: 0.5rem;
    vertical-align: middle; /* Align icons and text horizontally */
}

/* Social Icons */
.footer .social-icons a {
    margin-right: 15px;
    font-size: 24px;
    color: white;
}

.footer .social-icons a:hover {
    color: #6ae14c;
}

/* Scroll to Top Button */
.footer .scroll-to-top h5 {
    font-size: 0.8rem;
    margin-bottom: 10px;
	color:#8e8e8e;
}

.footer .scroll-to-top a {
    font-size: 30px;
    color: white;
    transition: color 0.3s ease;
}

.footer .scroll-to-top a:hover {
    color: #6ae14c;
}

/* Horizontal Line Separator */
.footer .footer-line hr {
    border-color: white;
    margin-top: 30px;
}

/* Footer Bottom */
.footer-bottom {
    font-size: 0.8rem;
    margin-top: 20px;
}
.Footer_head_underline{
border-bottom: 2px solid #fff;	
}

.footer-links a:hover{
	/*color:#c0eb49;*/
	color:#6ae14c;
}



/* Smooth Scroll Effect */
html {
    scroll-behavior: smooth;
}

/* Fix the alignment of contact icons and text */
.footer-contact div {
    align-items: center; /* Align icon and text horizontally */
}

.footer-contact .contact-icon {
    margin-right: 10px; /* Add spacing between the icon and text */
}


.footer-discover a{
	font-family:agbalumo;
	font-size:1.4rem;
}



.text-right{
	float: right;
	padding-left:15px;
}

.footer-terms{
	Color:#fff;
	text-decoration: none;
}
.footer-terms:hover{
	Color:#6ae14c;
}




/*tab and laptop screen*/

@media (min-width: 769px) and (max-width: 1024px){
	.navbar{
		background:#000;
	}
	#navbarNav{
		text-align:Center;
	}
	
	
	/* Make Carousel Images Responsive */
.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: auto; /* Full viewport height */
}

#hero-section{
		padding-top:80px;
	}
.carousel-control-prev, .carousel-control-next{
		margin-top:80px;
	}

/*ongoing projects*/

#ongoing-projects {
    padding: 20px 20px;
    
}

#ongoing-projects .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}
.project-image {
    position: relative;
    height: 200px; /* Fixed height */
    overflow: hidden; /* Hide the overflow if the image is larger than the container */
    border-radius: 8px;
}


	/*feature projects*/
	
	
	.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 7 images per row */
    gap: 10px;
	padding:0px 15px;
	justify-content: center;
	margin: 0 auto;
	width:100%;
}

.featured-project-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;	
}

.featured-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop without overflow */
    transition: transform 0.3s ease;
}





/* Footer Section */


/* Footer Contact Icons */


/* Social Icons */
.footer .social-icons a {
    margin-right: 10px;
    font-size: 16px;
    color: white;
}

.footer-discover a{
	font-size:1em;
}

.footer-links a{
	font-size:0.8em;
}
.footer-contact div{
	font-size:0.6em;
}
}



/*mobile screen*/

@media (min-width: 381px) and (max-width: 768px){
	.navbar{
		background:#000;
	}
	#navbarNav{
		text-align:Center;
	}
	#hero-section{
		padding-top:60px;
	}
	.carousel-control-prev, .carousel-control-next{
		margin-top:40px;
	}
	.featureheadline{
		
		font-size: 2rem;
    font-weight: bold;
	}
	
	.featured-project-grid{
		padding-top:50px;
	}
	
	.scroll-to-top{
		margin-top:20px;
	}
	.footer-bottom{
		text-align:Center;
		width:85%;
		margin:auto;
	}
		.footer-links, .footer-contact{
		margin-bottom:50px;
	}
	.text-right{
	float: left;
	padding-top:15px;
	padding-left:60px
}
	
	
	
	
	/*feature projects*/
	
	
	.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 7 images per row */
    gap: 10px;
	padding:0px 15px;
	justify-content: center;
	margin: 0 auto;
	width:100%;
}

.featured-project-card {
    position: relative;
    overflow: hidden;
    height: 150px;
    cursor: pointer;	
}

.featured-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop without overflow */
    transition: transform 0.3s ease;
}
	
}


@media (max-width:380px){
		.navbar{
		background:#000;
	}
	#navbarNav{
		text-align:Center;
		height:40px;
	}
	.navbar-brand{
		margin:auto;
		width:50%;
	}
	.navbar-brand img{
		width:100px;
		margin-left:80px;
	}
	#hero-section{
		padding-top:80px;
	}
	.carousel-control-prev, .carousel-control-next{
		margin-top:80px;
	}



/*ongoing projects*/

* Section Styles */
#ongoing-projects {
    padding: 30px 20px;
    
}

#ongoing-projects .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

/* Project Card */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.project-image {
    position: relative;
    height:180px; /* Fixed height */
    overflow: hidden; /* Hide the overflow if the image is larger than the container */
    border-radius: 8px;
}

	.featureheadline{
		
		font-size: 2rem;
    font-weight: bold;
	}
	
	.featured-project-grid{
		padding-top:50px;
	}
	
	.scroll-to-top{
		margin-top:20px;
	}
	.footer-bottom{
		text-align:Center;
		width:85%;
		margin:auto;
	}
		.footer-links, .footer-contact{
		margin-bottom:50px;
	}
	.text-right{
	float: left;
	padding-top:15px;
	padding-left:40px
}
	
	
	
	
	/*feature projects*/
	
	
	.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 7 images per row */
    gap: 10px;
	padding:0px 15px;
	justify-content: center;
	margin: 0 auto;
	width:100%;
}

.featured-project-card {
    position: relative;
    overflow: hidden;
    height: 150px;
    cursor: pointer;	
}

.featured-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop without overflow */
    transition: transform 0.3s ease;
}
	
	
	
	
	.text-right{
	float: left;
	padding-top:15px;
	padding-left:44px
}



}
