        /* Hero Section */
        .hero-section-galeri {
            background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
            color: #fff;
            padding: 60px 20px;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .hero-content-galeri {
            max-width: 1200px;
            margin: 0 auto;
        }

        .hero-title-galeri {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-meta-galeri {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 1rem;
        }

        .hero-meta-galeri span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero-meta-galeri i {
            font-size: 1.2rem;
        }

        /* Container utama */
        .gallery-page {
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
            box-sizing: border-box;
            z-index:10011;
        }

        /* Judul halaman */
        .section-title-galeri {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Grid galeri */
        /* .gallery-grid { */
        /*    display: grid; */
        /*    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
        /*    gap: 15px; */
        /* } */

        /* .gallery-img { */
        /*    width: 100%; */
        /*    height: 200px; */
        /*    object-fit: cover; */
        /*    border-radius: 8px; */ 
        /*     transition: transform 0.3s ease, box-shadow 0.3s ease; */
        /* } */

        /* .gallery-img:hover { */
        /*    transform: scale(1.05); */
        /*    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
        /* } */

        /* Paginasi */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 30px;
            gap: 10px;
            flex-wrap: wrap;
        }

        .pagination a {
            padding: 10px 15px;
            background: #e6e6e6;
            color: #333;
            text-decoration: none;
            border-radius: 5px;
            font-size: 16px;
            transition: background 0.3s ease;
        }

        .pagination a:hover, .pagination a.active {
            background: #1e88e5;
            color: #fff;
        }

        .pagination a.disabled {
            background: #f0f0f0;
            color: #999;
            cursor: not-allowed;
            pointer-events: none;
        }

        /* Pesan jika galeri kosong */
        .no-photos {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            margin: 20px 0;
        }

        /* Responsif */
        @media (max-width: 768px) {
            .hero-section-galeri {
                padding: 40px 15px;
            }

            .hero-title-galeri {
                font-size: 1.8rem;
            }

            .hero-meta-galeri {
                font-size: 0.9rem;
                gap: 15px;
            }

            .gallery-page {
                padding: 15px;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 10px;
            }

            .gallery-img {
                height: 150px;
            }

            .pagination a {
                padding: 8px 12px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .hero-section-galeri {
                padding: 30px 10px;
            }

            .hero-title-galeri {
                font-size: 1.5rem;
            }

            .hero-meta-galeri {
                flex-direction: column;
                gap: 10px;
            }

            .gallery-grid {
                grid-template-columns: 1 fr;
            }

            .gallery-img {
                height: 200px;
            }

            .pagination a {
                padding: 6px 10px;
                font-size: 12px;
            }
        }
        
        



/* Row untuk sejajar */
.row-sejajar-team-foto {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Pastikan tinggi sama */
    gap: 20px; /* Kurangi gap untuk lebar maksimal */
    margin: 0 auto;
    /* padding: 20px 0; */ /* Kurangi padding horizontal */
    width: 100%; /* Lebar penuh */
}

/* Section Umum */
.gallery-section {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Tinggi minimum lebih besar */
    width:100%;
    height: 100%; /* Mengisi tinggi row */
}





.team-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.team-nav-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.team-nav-item.active, .team-nav-item:hover {
    border-color: #1e88e5;
}

.team-nav-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galeri Section */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-cta {
    padding: 12px 24px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.gallery-cta:hover {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-columns: repeat(100%, minmax(3, 1fr)); */
    gap: 20px; /* Kurangi gap */
    flex-grow: 1;
    min-height: 0; /* Pastikan grid mengisi ruang */
    padding:10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--index));
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 100%; /* Tinggi eksplisit untuk desktop */
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.no-photos {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-footer {
    text-align: center;
    margin-top: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsif */
@media (max-width: 768px) {
    .row-sejajar-team-foto {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }



    .team-nav-item {
        width: 50px;
        height: 50px;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gallery-img {
        height: 150px; /* Tinggi lebih kecil untuk mobile */
    }
}

@media (max-width: 480px) {


    .team-nav-item {
        width: 40px;
        height: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .gallery-img {
        height: 100px; /* Tinggi terkecil untuk layar kecil */
    }
}