/* Inner Banner Styles */
.inner_banner.inner_banner_mb.inner_banner_projects {
    margin-bottom: 0px;
}

.inner_banner_gallery {
    margin-bottom: 0px !important;
    margin-top: 86px;
}

.gallery_banner {
    background-image: url(../images/aboutpage/about_banner.jpg); /* Update with your gallery banner image */
    background-repeat: no-repeat;
    background-size: cover;
}

.inner_banner_title ul li,
.inner_banner_title ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.inner_banner_title ul li {
    display: inline-block;
}

.gallery_banner .inner_banner_title {
    display: inline-block;
    padding: 160px 0px;
    position: relative;
    text-align: left;
}

.inner_banner_title h1 {
    color: white;
    font-size: 60px;
    margin-top: 5px;
    font-weight: 700;
}

/* Gallery Section */
.gallery_section {
    padding: 20px 0 60px 0;
    background-color: #f8f8f8;
}

/* Title Section */
.gallery_title_section {
    text-align: center;
    padding: 40px 0;
}

.gallery_main_title {
    font-size: 36px;
    color: #ff0000; /* Red color to match the theme */
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery_subtitle {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

/* Gallery Items */
.gallery_item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery_item img {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    object-fit: cover; /* Ensure image fits nicely */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.gallery_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Black overlay with 0.6 opacity */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.gallery_title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

/* Hover Effects */
.gallery_item:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.gallery_item:hover img {
    transform: scale(1.1); /* Zoom effect on image */
}

.gallery_item:hover .gallery_overlay {
    opacity: 1; /* Show overlay on hover */
}

.gallery_item:hover .gallery_title {
    opacity: 1; /* Show title on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery_main_title {
        font-size: 28px;
    }

    .gallery_subtitle {
        font-size: 16px;
    }

    .gallery_item img {
        height: 250px; /* Slightly smaller images on mobile */
    }

    .gallery_title {
        font-size: 20px;
    }
}
