/*====================================
        GALLERY BANNER
====================================*/

.gallery-banner {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(6, 14, 35, 0.18), rgba(6, 14, 35, 0.7)),
        url("../images/gallery/banner1.jpeg") center center/cover no-repeat;
    overflow: hidden;
}

.gallery-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 14, 35, 0.2) 0%, rgba(18, 41, 91, 0.45) 45%, rgba(18, 41, 91, 0.82) 100%);
}

.gallery-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.gallery-banner .banner-content {
    max-width: 620px;
    text-align: right;
}

.gallery-banner .banner-subtitle {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gallery-banner .banner-content h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gallery-banner .banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 30px;
}

.gallery-banner .breadcrumb-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.gallery-banner .breadcrumb-nav a,
.gallery-banner .breadcrumb-nav span {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.gallery-banner .breadcrumb-nav a:hover {
    color: #c7d9ff;
}

@media (max-width: 991px) {
    .gallery-banner {
        min-height: 320px;
        padding: 60px 0;
        background-position: center;
    }

    .gallery-banner .container {
        justify-content: center;
    }

    .gallery-banner .banner-content {
        max-width: 650px;
        text-align: center;
    }

    .gallery-banner .banner-content h1 {
        font-size: 46px;
    }

    .gallery-banner .banner-content p {
        font-size: 16px;
        line-height: 28px;
    }

    .gallery-banner .breadcrumb-nav {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .gallery-banner {
        min-height: 280px;
        padding: 45px 0;
        background-position: 35% center;
    }

    .gallery-banner .container {
        justify-content: center;
    }

    .gallery-banner .banner-content {
        max-width: 100%;
        text-align: center;
    }

    .gallery-banner .banner-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .gallery-banner .banner-content h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .gallery-banner .banner-content p {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .gallery-banner .breadcrumb-nav {
        justify-content: center;
        gap: 8px;
        font-size: 14px;
    }
}

/*====================================
        GALLERY STRIP
====================================*/

.gallery-strip {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #f7f9ff 0%, #eef4ff 100%);
    text-align: center;
    position: relative;
}

.gallery-strip::after {
    content: "";
    width: 90px;
    height: 3px;
    background: #12295b;
    display: block;
    margin: 30px auto 0;
    border-radius: 20px;
}

.gallery-strip-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 38px 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 41, 91, 0.08);
    border-radius: 26px;
    box-shadow: 0 20px 45px rgba(18, 41, 91, 0.06);
}

.gallery-strip-subtitle {
    display: inline-block;
    color: #284a8c;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gallery-strip h2 {
    color: #12295b;
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 700;
}

.gallery-strip p {
    max-width: 760px;
    margin: auto;
    color: #666;
    line-height: 30px;
    font-size: 16px;
}

.gallery-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.gallery-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f3f7ff;
    color: #284a8c;
    font-weight: 600;
    font-size: 14px;
}

.gallery-highlights i {
    color: #12295b;
}

@media (max-width: 767px) {
    .gallery-strip {
        padding: 55px 0 40px;
    }

    .gallery-strip-card {
        padding: 28px 18px;
    }

    .gallery-strip h2 {
        font-size: 30px;
    }

    .gallery-strip p {
        font-size: 15px;
        line-height: 28px;
    }
}

/*====================================
        GALLERY
====================================*/

.gallery-section {
    padding: 70px 0;
    background: #fff;
}

.gallery-heading {
    max-width: 760px;
    margin: auto;
    text-align: center;
    margin-bottom: 45px;
}

.gallery-heading span {
    color: #284a8c;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.gallery-heading h2 {
    font-size: 42px;
    color: #12295b;
    margin: 18px 0;
    line-height: 1.2;
}

.gallery-heading p {
    color: #666;
    line-height: 30px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.gallery-filter button {
    border: none;
    background: #f3f5fa;
    color: #12295b;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.35s;
    cursor: pointer;
}

.gallery-filter button:hover,
.gallery-filter button.active {
    background: linear-gradient(135deg, #12295b, #284a8c);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 22px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(18, 41, 91, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 41, 91, 0.15), rgba(18, 41, 91, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.overlay i {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fff;
    color: #12295b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    transform: scale(0.7);
    transition: 0.35s;
}

.overlay h4 {
    color: #fff;
    font-size: 22px;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover .overlay i {
    transform: scale(1);
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.wide {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .gallery-section {
        padding: 80px 0;
    }

    .gallery-heading h2 {
        font-size: 34px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-filter {
        gap: 10px;
    }

    .gallery-filter button {
        padding: 10px 18px;
        font-size: 14px;
    }
}