/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}

.topbar {
    background-color: #398932; 
    color: #398932;              
}

/*** Topbar End ***/


/*** Navbar Start ***/

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    white-space: nowrap; /* Supaya teks menu tidak terpotong ke baris baru */
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

.navbar-toggler {
    margin-left: auto;
}

/* Modal Search Styling */
#searchModal .modal-content {
    background: rgba(57,137,50);
}

/* Styling bawaan untuk laptop & desktop (tidak diubah) */
.login-box {
    width: 350px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
}

.login-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.login-box button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background: #007BFF;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

/* Khusus untuk layar HP */
@media screen and (max-width: 768px) {
    .login-box {
        width: 90%;
        padding: 25px;
    }

    .login-box h2 {
        font-size: 28px; /* Judul lebih besar */
    }

    .login-box input {
        padding: 16px;
        font-size: 20px; /* Teks input lebih besar */
    }

    .login-box button {
        padding: 16px;
        font-size: 20px; /* Teks tombol lebih besar */
    }
}




/*** Hero Header ***/
.hero-header,
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), 
                url(../img1/lokasi.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: scroll; /* Hindari 'fixed' agar lebih baik di mobile */

    /* Tambahan: pastikan elemen punya tinggi */
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*** Hero Header ***/


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img1/logopermatabunda.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255,255,255), rgba(255,255,255)), url(../img1/logopermatabunda.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgb(57,137,50), rgb(57,137,50));
}

.service .service-item {
    box-shadow: 0 0 45px rgba(57,137,50);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(57,137,50), rgba(57,137,50));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;

    height: 180px;
    object-fit: cover;

    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-primary) !important;
}

.program-text-inner a {
    display: block;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 1.2rem;
}

.program-text {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 576px) {
  .program-text-inner a {
    font-size: 1rem;
  }
}

/*** Programs End ***/


/*** Events Start ***/
.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}


.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}


.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}

.warna {
    background: linear-gradient(rgba(57,137,50), rgba(57,137,50));
}


/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/

.footer {
    background: linear-gradient(rgba(255,255,255), rgba(255,255,255)), url(../img1/logopermatabunda.webp);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 50px;
    text-align: center; /* Semua isi footer rata tengah */
}

/* Foto galeri lebih kecil */
.footer-galeri-img {
    width: 65px;   /* sebelumnya 80px */
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid orange;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.footer-galeri-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hilangkan padding container hanya untuk footer */
.footer .container,
.footer .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hilangkan margin kiri-kanan baris galeri */
.footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Rapatkan jarak antar kolom */
.footer .col-4 {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.footer-item {
    margin-bottom: 20px;
}

/* Judul footer */
.footer-item h2 {
    display: block;
    width: 100%;
    transform: none; /* hilangkan geser */
}

/* Batasi lebar galeri */
.footer-item .row.g-1 {
    max-width: 350px;  
    margin: 0 auto;
}

/* Kecilkan teks keterangan saja */
.footer-item p.sub-footer,
.footer-item a.sub-footer2,
.footer-item span.sub-footer2 {
    font-size: 0.8rem;
}

/* Responsif di layar kecil */
@media (max-width: 768px) {
    .footer-galeri-img {
        width: 55px;
        height: 55px;
    }

    .footer-item p.sub-footer,
    .footer-item a.sub-footer2,
    .footer-item span.sub-footer2 {
        font-size: 0.85rem;
    }
}

/*** Footer End ***/

.logo {
    width: 50px;
    height: 50px;
    margin-right: 13px;
}

:root {
    --bs-primary: #F77B19;       
    --bs-secondary: #F77B19;    
}

.budi {
    background: linear-gradient(rgba(255,255,255), rgba(255,255,255));
}

.vs {
    text-align: justify;
}

.footer {
    color: #ffffff;
    background: none;
}

.footer-second {
    color: #F77B19;
}

.sub-footer {
    color: #ffffff;
    background: none;
    margin-left: 50px;
}

.footer-span {
    color: #FFFFFF;
}

.sub-footer2 {
    color: #FFFFFF;
    margin-left: 50px;
}

.sub-footer2:hover {
    color: #F77B19;
}

.p {
    color: #FFFFFF;
}

/* .roket {
      flex: 1;
      min-width: 300px;
      text-align: center;
    } */

    .roket {
      width: 350px;  /* <--- Ganti angka ini untuk ubah ukuran gambar */
      height: auto;
      margin-left: 200px;
    }

    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }

      .roket {
        width: 150px; /* Ukuran gambar saat di mobile */
      }
    }

    .Lihat {
        background-color: #3e50b3;
        border-radius: 5px;
        color: white;
        font-weight:600;
        border: none;
    }


.prestasi-img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 15px;
}

.subjudul {
  font-weight: bold;
  margin-top: 10px;
  font-size: 18px;
}

.deskripsi {
  font-size: 14px;
  color: #555;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.deskripsi.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}

.btn-toggle {
  background-color: transparent;
  color: #007bff;
  border: none;
  padding: 0;
  font-size: 14px;
  cursor: pointer;
}







/* Lapisan gelap transparan supaya teks lebih jelas */
.carousel-item .container-fluid {
    position: relative;
}
.carousel-item .container-fluid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Supaya teks di atas tetap terlihat di tengah */
.carousel-item .container {
    position: relative;
    z-index: 2;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.thumb img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumb img:hover {
    transform: scale(1.05);
}

.detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 900px;
    margin: 40px auto;
    border-top: 2px solid #ddd;
    padding-top: 20px;
}

.detail img {
    width: 300px;
    border-radius: 10px;
}

.detail-text {
    max-width: 500px;
}

a.btn.btn-light.btn-sm-square.rounded-circle:hover {
    background-color: #fff !important;
    border-color: #fff !important;
}

a.btn.btn-light.btn-sm-square.rounded-circle i.fa-whatsapp {
    color: #25D366 !important;
}

a.btn.btn-light.btn-sm-square.rounded-circle i.fa-instagram {
    color: #C13584 !important;
}

a.btn.btn-light.btn-sm-square.rounded-circle i.fa-facebook-f {
    color: #1877f2 !important;
}

/* === Prestasi Section === */
/* === Prestasi Section === */
.prestasi-section {
  background-color: #40AF49; /* hijau dominan */
  padding: 60px 15px;
}

.prestasi-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #393d72; /* putih biar kontras */
}

.prestasi-container {
  display: grid;
  grid-template-columns: 1fr; /* default mobile = 1 kolom */
  gap: 25px;
  max-width: 1230px;
  margin: 0 auto;
}

/* Tablet ke atas (>=768px) → 2 kolom */
@media (min-width: 768px) {
  .prestasi-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop ke atas (>=1024px) → 3 kolom */
@media (min-width: 1024px) {
  .prestasi-container {
    grid-template-columns: repeat(3, 1fr);
  }
}


.prestasi-container .card {
  background: #fff;
  border: 2px solid #FF9800; /* oranye aksen */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prestasi-container .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.prestasi-container .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.prestasi-container .card-content {
  padding: 20px;
  text-align: center;
}

.prestasi-container .card-content h3 {
  font-size: 1.2rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: #398932; /* hijau konsisten */
  margin-bottom: 10px;
}

.prestasi-container .card-content .deskripsi {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
}

/* Saat deskripsi dibuka penuh */
.prestasi-container .card-content .deskripsi.show {
  -webkit-line-clamp: unset; /* hilangkan batasan 3 baris */
  display: block;
}

.prestasi-container .lihat-selengkapnya {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FF9800;
  cursor: pointer;
  transition: color 0.2s;
}

.prestasi-container .lihat-selengkapnya:hover {
  color: #e68900;
}

.PPB {
    color: white;
}

.allright {
    color: #e68900;
}

/* MINI GALLERY SECTION */
.mini-gallery {
  width: 100%;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: inset 0 -2px 8px rgba(0,0,0,0.05);
}

/* Background hijau dengan bintang */
.paud-bg {
  background-color: #e8f5e9; /* hijau muda lembut */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%2338a169' fill-opacity='0.25'%3E%3Cpolygon points='100,10 110,40 145,40 115,60 125,95 100,75 75,95 85,60 55,40 90,40'/%3E%3Cpolygon points='40,120 45,135 60,135 48,145 52,160 40,150 28,160 32,145 20,135 35,135'/%3E%3C/g%3E%3Cg fill='%234caf50' fill-opacity='0.18'%3E%3Ccircle cx='170' cy='170' r='25'/%3E%3Ccircle cx='30' cy='40' r='15'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

/* Judul gallery */
.mini-gallery h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.mini-gallery .mini-text {
  color: #43a047; /* hijau dominan */
}

.mini-gallery .gallery-text {
  color: #2196f3; /* biru cerah sebagai aksen */
}

/* Frame foto bulat */
.gallery-frame {
  aspect-ratio: 1/1;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #4caf50, #81c784, #2196f3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.gallery-frame:hover {
  transform: scale(1.15) rotate(6deg);
}

/* Tombol ceria */
.gallery-btn {
  background: linear-gradient(45deg, #4caf50, #2196f3);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.collapsing {
  transition: height 0.1s ease !important; /* default 0.35s */
}

/* ==== TIMELINE STYLE ==== */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 450px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: linear-gradient(to bottom, #ff6a00, #ffb347);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px; /* jarak antar item lebih pendek */
  padding-left: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: #ff6a00;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #ff6a00;
}

.timeline-box {
  background: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-box h5 {
  font-weight: 700;
  color: #002366;
  margin-bottom: 5px;
}

.timeline-box p {
  margin: 0;
  font-size: 14px;
  color: #444;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }
  .timeline-item {
    padding-left: 45px;
  }
  .timeline::before {
    left: 15px;
  }
  .timeline-dot {
    left: 7px;
  }
}
