/* Gallery Page Styles */
@keyframes headingFadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* Gallery Filter Buttons */
.gallery-filter {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background: #fff;
    border: 1px solid var(--theme-color2);
    color: var(--theme-color);
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 50px;
    font-family: var(--title-font);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--theme-color2);
    color: #fff;
    border-color: var(--theme-color2);
}

/* Gallery Card */
.gallery-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    position: relative;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.05);
}

.icon-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(3, 63, 89, 0.8);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .icon-btn {
    opacity: 1;
}

.icon-btn i {
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .filter-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
        margin: 0 3px;
    }
    .gallery-card {
        margin-bottom: 15px;
    }
    .gallery-img img {
        height: 200px;
        object-fit: cover;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-img img {
        height: 250px;
        object-fit: cover;
    }
}
.gallery-card .gallery-img img{object-fit: cover; height: 350px;}