/* ==========================================
HERO
========================================== */

.gallery-hero {
    padding: 140px 0 100px;
    background: linear-gradient(
        135deg,
        #08446e,
        #1091ae
    );
    text-align: center;
    color: #fff;
}

.gallery-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.gallery-hero h1 {
    font-size: 56px;
    font-weight: 700;
}

.gallery-hero p {
    max-width: 700px;
    margin: 15px auto 0;
    opacity: .95;
}

/* ==========================================
INTRO
========================================== */

.gallery-intro {
    padding: 80px 0 20px;
    background: #fff;
}

.section-heading span {
    color: #1091ae;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0b2a4a;
    margin-top: 10px;
}

.section-heading p {
    max-width: 850px;
    margin: 15px auto 0;
    color: #5b6b7a;
}

/* ==========================================
SECTION
========================================== */

.gallery-section {
    padding: 50px 0 100px;
    background: #f8fbff;
}

/* FILTERS */

.gallery-filters {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-filter {
    border: none;
    background: #fff;
    padding: 12px 24px;
    margin: 5px;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: .3s;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #1091ae;
    color: #fff;
}

/* CARD */

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .5s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* OVERLAY */

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11,42,74,.92),
        rgba(11,42,74,.15)
    );

    opacity: 0;
    transition: .3s;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    position: absolute;
    left: 25px;
    bottom: 25px;
}

.gallery-overlay-content h5 {
    color: #fff;
    margin-bottom: 6px;
}

.gallery-overlay-content span {
    color: rgba(255,255,255,.85);
    font-size: 13px;
}

/* RESPONSIVE */

@media(max-width:992px){

    .gallery-hero {
        padding: 100px 0 70px;
    }

    .gallery-hero h1 {
        font-size: 40px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .gallery-card img {
        height: 260px;
    }
}