/* Basic Reset and Global Styles */
html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
}

/* Bolded Line Break */
hr {

    border-top: 1px solid black;

}

/* Navigation Bar Styles */
.navbar {
    background-color: rgb(25, 25, 28);
}

.navbar-brand, .nav-link {
    color: #fff !important;
}

/* Navigation Bar Toggler Styles */
.custom-toggler.navbar-toggler {
    border-color: rgb(25, 25, 28);
}

/* .custom-toggler.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32'xmlns='http://www.w3.org/2000/svg' %3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'd='M4 8h24M4 16h24M4 24h24' /%3E%3C/svg%3E");
} */

/* Divider Line Styling */
.divider-line {
    height: 4px;
    background-color: #B33724;
    margin: 0 auto;
}

/* Banner Section Styles */
.banner {
    background-color: #000;
    padding: 10px 0;
}

.banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* General Section Styling */
.about-us, .our-mission, .projects, .gallery {
    padding: 50px 0;
}

.bordered-image {
    border: 2px solid #B33724;
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* Footer Styling */
.footer {
    color: #fff;
    background-color: #000;
}

.red-bar {
    height: 4px;
    background-color: #B33724;
}

.footer-content {
    padding: 20px 0;
}

.footer-section h5 {
    margin-top: 0;
    color: #fff;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section ul {
    padding: 0;
    list-style-type: none;
}

.col-auto {

    margin-top: 10px;
    margin-bottom: 10px;

}

/* Responsive Layout Adjustments for Tablets */
@media (max-width: 992px) {
    .navbar-toggler {
        display: block; /* Show toggler on tablets */
    }
    .navbar-collapse {
        background-color: rgb(25, 25, 28); /* Ensure dropdown is visible on smaller screens */
    }
    .about-us, .our-mission, .projects, .team-gallery {
        padding: 35px 15px; /* Adjust padding for tablet screens */
    }
}

/* Responsive Layout Adjustments for Mobile Devices */
@media (max-width: 767px) {
    .navbar-collapse {
        text-align: center; /* Center navigation items */
        background-color: rgb(25, 25, 28);
    }
    .footer-section {
        text-align: center; /* Center footer content */
        margin-bottom: 20px;
    }
    .about-us, .our-mission, .projects, .gallery, .team-gallery {
        padding: 20px 10px; /* Adjust padding for mobile screens */
    }
    .banner img, .bordered-image {
        width: 100%; /* Ensure images fit on smaller screens */
    }
    .gallery-grid, .image-grid, .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); /* Full width images on mobile */
    }
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-block, .team-block {
    margin-bottom: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover their space without distortion */
}

/* Team Section Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    justify-content: center;
    grid-gap: 1rem;
}

.team-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section Image Hover CSS */
.img-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    background: rgba(0, 0, 0, 1); /* Black see-through */
}

.responsive-img {
    display: block;
    height: 100%;
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 300px;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    color: #f1f1f1;
    width: 100%;
    height: 30%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 16px;
    padding: 8px 8px 8px 16px;
    text-align: left;   
}

.img-container:hover .team-overlay {
    opacity: 1;
}

.img-container:hover .responsive-img {
    filter: brightness(0.4);
    transition: .25s ease;
}