* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    background-color: #f8fbff;
}


header {
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0055ff;
    text-decoration: none;
}



.gallery-hero {
    background: #eaf3ff;
    text-align: center;
    padding: 60px 8% 50px;
}

.gallery-hero h1 {
    font-size: 2.4rem;
    color: #002b80;
    margin-bottom: 16px;
}

.gallery-hero p {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.05rem;
}


.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 40px 8% 10px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #d0dff5;
    background: white;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #0055ff;
    color: #0055ff;
}

.filter-btn.active {
    background: #0055ff;
    color: white;
    border-color: #0055ff;
}


.gallery-section {
    padding: 30px 8% 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 16px 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}


/* PAGINATION */
.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 8%;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 12px;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #0055ff;
    cursor: pointer;
}

.pagination-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #d0ddf0;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #3a4a5c;
    cursor: pointer;
    transition: all 0.25s;
}

.pagination-num.active {
    background: #0055ff;
    border-color: #0055ff;
    color: #ffffff;
}

.pagination-dots {
    color: #999;
}

.pagination-info {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}


@media (max-width: 600px) {
    .gallery-pagination {
        padding: 30px 5% 16px;
    }

    .pagination-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .pagination-num {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

.overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}


.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1.1rem;
}


.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-info {
    text-align: center;
    margin-top: 16px;
}

.lightbox-info h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.lightbox-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.gallery-cta {
    background: #eaf3ff;
    text-align: center;
    padding: 70px 8%;
}

.gallery-cta h2 {
    font-size: 1.8rem;
    color: #002b80;
    margin-bottom: 12px;
}

.gallery-cta p {
    color: #555;
    max-width: 550px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary {
    background: white;
    color: #0055ff;
    border: 2px solid #0055ff;
    padding: 10px 26.5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #0042cc;
    color: white;
}

.btn-outline {
    border: 2px solid #0055ff;
    color: #0055ff;
    padding: 9.5px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-outline:hover {
    background: #0055ff;
    color: white;
}


.footer {
    text-align: center;
    padding: 20px;
    background: #0a1628;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #eee;
}
.footer span {
    color: #0055ff;
    font-weight: 600;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #3a4a5c;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0055ff;
}

.nav-links a.active {
    font-weight: 600;
    border-bottom: 2px solid #0055ff;
    padding-bottom: 2px;
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #1a2332;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px 8%;
        gap: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }


    .gallery-hero h1 {
        font-size: 1.8rem;
    }

    .gallery-hero p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-hero {
        padding: 40px 5% 30px;
    }

    .gallery-cta {
        padding: 50px 5%;
    }

    .lightbox-content img {
        max-width: 85vw;
        max-height: 60vh;
    }

    .lightbox-nav {
            top: auto;
            bottom: 80px;
            transform: none;
            width: 56px;
            height: 56px;
            font-size: 2rem;
            background: none;
            color: white;
        }

    .lightbox-nav:hover {
            background: none;
        }

    .lightbox-nav.prev {
            left: calc(50% - 62px);
            right: auto;
        }

    .lightbox-nav.next {
            left: calc(50% + 6px);
            right: auto;
        }
    }
@media (max-width: 600px) {
    .pagination-btn {
        font-size: 1.5rem;
    }
}