
/* ////////banner/////////////////// */

.banner {
            width: 100%;
            height: 400px;
            background-image: url('images/About-back-img.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        
        .breadcrumb {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 15px 25px;
            border-radius: 30px;
            z-index: 1;
            margin-top: 80px;
        }
        
        .breadcrumb a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .breadcrumb a:hover {
            color: #000;
        }
        
        .breadcrumb-separator {
            margin: 0 10px;
            color: #333;
            font-size: 18px;
        }
        
        .breadcrumb-current {
            color: #333;
            font-size: 18px;
            font-weight: bold;
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .banner {
                height: 400px;
            }
            
            .breadcrumb {
                padding: 12px 20px;
            }
            
            .breadcrumb a,
            .breadcrumb-separator,
            .breadcrumb-current {
                font-size: 16px;
            }
        }
   



/* ////////// Gallery section// */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
}

.gallery-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-weight: normal;
    font-size: 32px;
}

.gallery-categories {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex; /* Use flexbox for categories */
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center; /* Center categories */
    gap: 20px; /* Space between categories */
}

.gallery-categories .category {
    display: inline-block; /* Changed to inline-block for better flex control */
    padding: 10px 15px;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
    white-space: nowrap; /* Prevent category text from wrapping */
}

.gallery-categories .category:hover {
    color: #000;
}

.gallery-categories .category.active {
    color: #ffc107;
    font-weight: bold;
}

.gallery-categories .category.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 3px;
    background-color: #ffc107;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.gallery-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
}

.gallery-item.hidden {
    display: none;
}

/* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrolling the body when lightbox is open */
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s forwards;
    user-select: none; /* Prevent accidental text selection in lightbox */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    object-fit: contain;
    animation: zoomIn 0.3s forwards;
    cursor: grab; /* Indicate draggable */
}

.lightbox-caption {
    margin: 15px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 17px;
    padding: 10px 0;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px; /* Center vertically */
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px; /* Corrected for right arrow */
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Animations */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes zoomIn {
    from {transform: scale(0.8);}
    to {transform: scale(1);}
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .gallery-container {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .gallery-categories {
        margin-bottom: 30px;
        gap: 10px;
    }

    .gallery-categories .category {
        margin: 5px 8px;
        padding: 8px 12px;
        font-size: 15px;
        flex-shrink: 0; /* Prevent categories from shrinking too much */
    }

    .gallery-categories .category.active::after {
        bottom: -10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .gallery-item img {
        height: 180px;
    }

    .prev, .next {
        font-size: 18px;
        padding: 10px;
        margin-top: -30px;
    }

    .close-button {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }
    .lightbox{
        padding-top: 300px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .gallery-categories .category {
        font-size: 14px;
        padding: 6px 10px;
        margin: 5px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 250px;
    }

    .lightbox-content {
        padding-top: 20px;
        max-width: 95%;
        max-height: 85%;
    }

    .prev, .next {
        font-size: 16px;
        padding: 8px;
        margin-top: -20px;
    }

    .close-button {
        font-size: 28px;
        top: 10px;
        right: 15px;
    }

    .lightbox-caption {
        font-size: 14px;
        width: 90%;
    }
}