/* logo */
.mortgage-link {
    visibility: hidden;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust size of the logo */
    width: auto;
    margin-right: 10px; /* Space between logo and text */
}

.logo-text {
    color: #1c4a2c !important;
}

.logo-text h1 {
    font-size: 24px; 
    margin: 0;
    letter-spacing: 1px; /* Slight spacing between letters */
}

.logo-text p {
    font-size: 10px; /* Small font for RENOVATIONS */
    margin: 0;
    letter-spacing: 5px; /* Wide spacing for RENOVATIONS */
    color: #167a39/* Light gray text */
}

img.logoPic {
filter: brightness(90%) contrast(120%);
width: 100px; /* Adjust size as needed */
height: auto; 
background-color:  #1c4a2c !important;
margin-left: 30px;
}



/* General Navbar Styling */
.navbar {
    position: sticky; /* Make navbar sticky */
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it stays on top of other content */
    background-color: #ffffff; /* Add a background color */
    padding: 10px 20px; /* Add spacing */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
}

.navbar-brand img {
    max-height: 90px;
    max-width: 150px;
    background-color: #1c4a2c;
    margin-left: 30px;
}

/* Center the navbar items with space on the right */
.navbar-nav {
    flex-grow: 1;
    justify-content: flex-end;
}

/* Navbar Links */
.navbar .nav-link {
    color: #1c4a2c !important;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    position: relative;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for navbar links */
.navbar .nav-link:hover {
    border-top: 2px solid #dead3b;
    border-bottom: 2px solid #dead3b;
    color: #167a39 !important;
}

/* Active link styling */
.navbar .nav-link.active {
    color: #167a39 !important;
}

/* Dropdown items under Services */
.navbar .dropdown-item {
    color: #1c4a2c !important; /* Force green color for dropdown items */
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* Icons within the dropdown */
.navbar .dropdown-item i {
    color: #dead3b !important; /* Force green color for icons */
    margin-right: 10px; /* Add some space between the icon and text */
}

/* Hover effect for dropdown items */
.navbar .dropdown-item:hover {
    background-color: #f0f0f0; /* Optional background change on hover */
    color: #167a39 !important;
}

/* Styling for the Mortgage link */
.mortgage-link {
    margin-left: 50px;
}

/* Adjust space between the links */
.nav-item {
    margin-right: 20px;
}

.nav-item:last-child {
    margin-right: 0;
}
@media (max-width: 767px) {
    .navbar {
        padding: 10px;
        flex-wrap: nowrap;
    }

    .navbar-toggler {
        margin-left: auto; /* Align the toggler to the right */
        text-align: right;
     
    }

    .navbar-toggler-icon {
        font-size: 1rem;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 10px;
    }

    .nav-item {
        margin-right: 0;
    }

    .logo img.logoPic {
        margin-left: 1px; /* Reduce margin for smaller screens */
    }

    .logo {
        margin-right: auto; /* Ensure alignment remains consistent */
    }
}


/* Flexbox Container */
.image-grid {
    display: flex;
    flex-wrap: wrap; /* Ensure items wrap to the next line */
    justify-content: space-between; /* Space between images */
    gap: 10px; /* Add some gap between the images */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Image Styles */
.image-grid img {
    width:100%; /* Make each image take up 25% of the container width, accounting for gaps */
    height: 300px; /* Set a fixed height */
    object-fit: cover; /* Ensure image covers the box without distortion */
    border-radius: 10px; /* Rounded corners for images */
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* Responsive: 3 images per row for medium screens */
@media (max-width: 992px) {
    .image-grid img {
        width:100%;
       
    }
}

/* Responsive: 2 images per row for smaller screens */
@media (max-width: 768px) {
    .image-grid img {
        width:100%;
    }
}

/* Responsive: 1 image per row for small screens */
@media (max-width: 576px) {
    .image-grid img {
        width: 100%; /* Make each image take up 100% of the container width */
    }
}



/*footer */
.footer {
    background-color: #1c4a2c; /* Adjust this color based on your new design */
    color: #d3a84c;
    padding: 40px 0;
    gap: 5px;
    
}


.footer h4 {
    font-weight: bold;
    margin-bottom: 15px;
}

.footer p, .footer address, .footer a {
    color: #d3a84c;
    font-size: 16px;
}

.footer-img {
    max-width: 100%;  /* Ensures the image scales well */
    
    max-height: 1000px;
    display: block;
    margin-left: -40px; /* Move the image further left */
}

.social-icons a {
    margin-right: 10px; /* Spacing between icons */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px); /* Move the icon up by 5px */
}

.social-icon-img {
    width: 30px;  /* Size of the icons */
    height: 30px;
    
}

.social-icon-img:hover {
    width: 30px;  /* Size of the icons */
    height: 30px;
    transform: translateY(-5px);
}

.footerSites {
    text-decoration: none;
}

.footerSites:hover {
    color: black;
}

.footer .row > div {
    padding: 20px 0;
}

.text-center {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}







/* Adjustments for better alignment */
@media (min-width: 768px) {
    .footer .col-md-3:first-child {
        margin-left: -40px; /* Additional left margin for the image */
    }
}

@media (max-width: 767px) {
    .footer .row {
        flex-direction: column; /* Stack columns vertically on mobile */
        align-items: center; /* Center content */
        text-align: center; /* Center text */
    }

    .footer .col-md-3 {
        width: 100%; /* Make each column take up full width on small screens */
        margin-bottom: 20px; /* Add space between sections */
    }

    .footer-img {
        margin-left: 0; /* Remove the negative margin on mobile */
        max-width: 150px; /* Restrict image size on mobile */
        margin-bottom: 20px; /* Space below the image */
    }

    .social-icons {
        display: flex;
        justify-content: center; /* Center the social icons */
        margin-top: 20px;
    }

    .social-icon-img {
        width: 25px;  /* Smaller icon size for mobile */
        height: 25px;
    }

    .footer h4 {
        font-size: 18px; /* Slightly larger headings on mobile */
    }

    .footer p, .footer address {
        font-size: 14px; /* Slightly smaller text on mobile for readability */
    }

    .social-icon-img:hover {
        transform: translateY(-5px); /* Move the icon up by 5px */
    }
}
/*end of footer */