

    /* ============================================
    GALLERY PAGE SECTION
    ============================================ */
    .gallery-page-section {
        padding: 60px 0 100px;
        background: #f5f7fb;
    }

    /* ---- Category Filters ---- */
    .gallery-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
        justify-content: center;
    }

    .filter-btn {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #6b7280;
        font-family: var(--font);
        font-weight: 600;
        font-size: 0.85rem;
        padding: 10px 22px;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-btn:hover {
        border-color: var(--blue);
        color: var(--blue);
    }

    .filter-btn.active {
        background: var(--blue);
        border-color: var(--blue);
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3);
    }

    /* ---- Gallery Grid ---- */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* ---- Gallery Item ---- */
    .gallery-item {
        transition: all 0.4s ease;
    }

    .gallery-item.hidden-item {
        opacity: 0;
        transform: scale(0.9);
    }

    /* ---- Gallery Card ---- */
    .gal-card {
        background: #ffffff;
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid #e8ecf4;
        transition: all 0.35s ease;
        height: 100%;
    }

    .gal-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 82, 255, 0.15);
    }

    /* ---- Image Wrap ---- */
    .gal-img-wrap {
        position: relative;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        cursor: pointer;
    }

    .gal-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease, opacity 0.25s ease;
    }

    .gal-card:hover .gal-img {
        transform: scale(1.06);
    }

    /* ---- Zoom Button Overlay ---- */
    .gal-zoom-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(4px);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 3;
        cursor: pointer;
    }

    .gal-card:hover .gal-zoom-btn {
        opacity: 1;
    }

    .gal-zoom-btn i {
        color: #ffffff;
        font-size: 1rem;
    }

    .gal-zoom-btn:hover {
        background: var(--blue);
    }

    /* ---- Before / After Toggle ---- */
    .gal-ba-toggle {
        position: absolute;
        bottom: 12px;
        left: 12px;
        display: flex;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        border-radius: 8px;
        overflow: hidden;
        z-index: 3;
    }

    .ba-btn {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-family: var(--font);
        font-weight: 600;
        font-size: 0.72rem;
        padding: 7px 16px;
        cursor: pointer;
        transition: all 0.25s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .ba-btn:hover {
        color: #ffffff;
    }

    .ba-btn.active {
        background: var(--blue);
        color: #ffffff;
    }

    /* ---- Gallery Info ---- */
    .gal-info {
        padding: 16px 18px 18px;
    }

    .gal-category {
        display: inline-block;
        background: rgba(0, 82, 255, 0.08);
        color: var(--blue);
        font-family: var(--font);
        font-weight: 600;
        font-size: 0.65rem;
        padding: 3px 10px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 8px;
    }

    .gal-info h5 {
        font-size: 0.9rem;
        font-weight: 700;
        color: #111832;
        margin-bottom: 6px;
        line-height: 1.35;
    }

    .gal-location {
        font-size: 0.78rem;
        color: #6b7280;
        margin-bottom: 8px !important;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .gal-location i {
        color: var(--blue);
        font-size: 0.7rem;
    }

    .gal-year {
        font-family: var(--font);
        font-weight: 700;
        font-size: 0.75rem;
        color: #9ca3af;
        letter-spacing: 0.3px;
    }

    /* ---- No Results ---- */
    .gallery-no-results {
        display: none;
        text-align: center;
        padding: 80px 20px;
    }

    .gallery-no-results i {
        font-size: 3rem;
        color: #d1d5db;
        margin-bottom: 16px;
        display: block;
    }

    .gallery-no-results h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #374151;
        margin-bottom: 8px;
    }

    .gallery-no-results p {
        font-size: 0.92rem;
        color: #9ca3af;
        margin: 0;
    }

    /* ============================================
    GALLERY RESPONSIVE — TABLET
    ============================================ */
    @media (max-width: 1199.98px) {
        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 991.98px) {
        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .gallery-page-section {
            padding: 50px 0 80px;
        }
    }

    /* ============================================
    GALLERY RESPONSIVE — MOBILE
    ============================================ */
    @media (max-width: 767.98px) {
        .gallery-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .gallery-page-section {
            padding: 40px 0 70px;
        }

        .gallery-filters {
            gap: 8px;
            margin-bottom: 30px;
        }

        .filter-btn {
            font-size: 0.78rem;
            padding: 8px 16px;
        }

        .gal-info {
            padding: 12px 14px 14px;
        }

        .gal-category {
            font-size: 0.6rem;
            padding: 2px 8px;
        }

        .gal-info h5 {
            font-size: 0.82rem;
        }

        .gal-location {
            font-size: 0.72rem;
        }

        .gal-year {
            font-size: 0.7rem;
        }

        .gal-img-wrap {
            aspect-ratio: 3 / 2.5;
        }

        .ba-btn {
            font-size: 0.65rem;
            padding: 6px 12px;
        }

        .gal-zoom-btn {
            width: 32px;
            height: 32px;
        }

        .gal-zoom-btn i {
            font-size: 0.85rem;
        }
    }

    @media (max-width: 575.98px) {
        .gallery-grid {
            gap: 10px;
        }

        .gal-info h5 {
            font-size: 0.78rem;
            line-height: 1.3;
        }

        .gal-location {
            font-size: 0.68rem;
            margin-bottom: 6px !important;
        }

        .gal-year {
            font-size: 0.65rem;
        }

        .gal-img-wrap {
            aspect-ratio: 4 / 3.5;
        }
    }
    
