/* Tentang Kami */
.operational-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.operational-content {
  width: 100%;
  max-width: 650px;
}
.operational-image {
  width: 300px;
}
.operational-image img {
  width: 100%;
  height: auto;
}


/* Grid utama: timeline & gambar+cards */
.about-section {
  padding: 4rem;
}
.about-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Baris atas: dua kolom */
.about-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 3fr 3fr;
  gap: 1rem;
  align-items: start;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  padding: 2rem 3.5rem 2rem 3.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Judul & deskripsi */
.about-intro h2 {
  font-size: 2rem;
  color: var(--text-color);
  margin: 0 0 1rem;
}
.about-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline kiri */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--primary-color);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
/* Bulatan di garis */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px; /* (−border-left + half bullet) */
  top: 3px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--background-color);
}
/* Tahun */
.timeline-item .year {
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
/* Isi event */
.timeline-item .desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Gambar kanan atas */
.about-image img {
  width: 100%;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Dua kartu Mission & Vision */
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.about-cards .card {
  background: #9be4e22c;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.about-cards .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}
.about-cards .card-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary-color);
  margin-right: 0.5rem;
}
.about-cards .card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Core Values */
.core-values {
  text-align: center;
  margin: 4rem 0 2rem;
}
.core-values h3 {
  font-size: 1.75rem;
  color: var(--text-color);
  margin: 0;
}
.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* pasti 4 kolom */
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
    /* Center grid track secara keseluruhan */
  justify-content: center;   /* center kolom jika ada ruang ekstra */
  align-content: center;     /* center baris jika ada ruang ekstra */
  
  /* Center setiap item di dalam sel */
  justify-items: center;     /* center item secara horizontal */
  align-items: center;       /* center item secara vertical */
}
.core-card {
  background: var(--background-muted);
  border-radius: 0.5rem;
  padding: 2rem 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}
.core-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.core-icon img {
  width: 24px;
  height: 24px;
}
.core-card .core-title {
  font-size: 1.125rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.core-card .core-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* Page header & breadcrumb */
.page-header {
  background: var(--background-muted);
  padding: 1rem 0;
}

.page-header .inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background: #7fc8c52c;
}

.page-header .inner h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-color);
}

.page-header .breadcrumb {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.page-header .breadcrumb a {
  color: var(--link-color);
  text-decoration: none;
}

.page-header .breadcrumb a:hover {
  color: var(--hover-color);
}

.page-header .breadcrumb .separator {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

/* Responsive: kecilkan font di mobile */
@media (max-width: 640px) {
  .page-header .inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Highlight kata pertama (News) di judul page-header */
.page-header .inner h1 .text-primary {
  color: var(--primary-color);
}
.motto1 h1 .text-primary {
  color: var(--primary-color);
}
.motto h1 .text-primary {
  color: var(--primary-color);
}

.motto1 {
  margin-top: 20px;
  text-align: center;
}
/* Center teks dan batasi lebarnya */
.motto {
  margin-top: 20px;
  padding: 20px 10px;
  text-align: center;
  background: #9be4e22c;
}
.motto .motto-text {
  max-width: 420px;       /* sesuai lebar yang diinginkan */
  margin: 1rem auto 0;    /* 1rem top, auto kiri/kanan untuk center */
  line-height: 1.5;       /* sesuaikan jika perlu */
  color: var(--text-muted);
  font-size: 1rem;
  
}


.page-header .breadcrumb a,
.page-header .breadcrumb .separator {
  color: var(--primary-color);
}

/* Icon Font Awesome di core values */
.core-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-size: 24px;               /* ukuran icon */
  color: var(--primary-color);   /* warna primer */
}

/* 2) Hover effect untuk semua kartu */
.about-cards .card:hover,
.core-grid .core-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* 3) Keyframes untuk animasi masuk */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover: ubah background circle dan warna icon */
.core-card:hover .core-icon {
  background: var(--primary-color);
  transition: background 0.3s;
}
.core-card:hover .core-icon i {
  color: #fff;                /* icon jadi putih */
  transition: color 0.3s;
}


/* 4) Class utilitas untuk animasi */
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* 5) Delay bertahap untuk timelined items (opsional) */
.about-cards .card:nth-child(1),
.core-grid .core-card:nth-child(1) { animation-delay: 0.1s; }
.about-cards .card:nth-child(2),
.core-grid .core-card:nth-child(2) { animation-delay: 0.2s; }
.about-cards .card:nth-child(3),
.core-grid .core-card:nth-child(3) { animation-delay: 0.3s; }
.about-cards .card:nth-child(4),
.core-grid .core-card:nth-child(4) { animation-delay: 0.4s; }


/* Section wrapper */
.section-stats {
  background: var(--background-muted);
  padding: 4rem 0;
}
.section-stats .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid 2 kolom */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 50px;
  margin-bottom: 50px;
  align-items: center;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* LEFT: Image + Card */
.stats-image-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.stats-image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Overlay Card */
.stats-card {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 240px;
}

/* Icon circle di card */
.stats-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats-card .card-icon i {
  color: #fff;
  font-size: 1.25rem;
}

/* Teks di card */
.stats-card .card-text {
  display: flex;
  flex-direction: column;
}
.stats-card .card-text .number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1;
}
.stats-card .card-text .label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* RIGHT: Konten teks */
.stats-content h2 {
  font-size: 2rem;
  color: var(--text-color);
  margin: 0 0 1rem;
}
.stats-content p.intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Daftar fitur */
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stats-item {
  display: flex;
  gap: 1rem;
  align-items: start;
}
.stats-item .icon-bg {
  width: 46px;
  height: 46px;
  background: var(--background-muted);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stats-item .icon-bg i {
  font-size: 1.5rem;
  color: var(--primary-color);
}
.stats-item .item-text {
  flex: 1;
}
.stats-item .item-text h4 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  color: var(--text-color);
}
.stats-item .item-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Responsif: stack di bawah 768px */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-image-wrapper {
    margin-bottom: 2rem;
  }
}

/* Container tunggal untuk peta */
.maps-grid {
  margin: 50px 0;                    /* jarak atas/bawah */
  background: #fff;                  /* putih */
  padding: 1rem;                     /* ruang dalam */
  border-radius: 0.5rem;             /* sudut membulat */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* bayangan halus */
}

/* Buat iframe memenuhi lebar container */
.maps-grid iframe {
  width: 100%;
  height: 450px;     /* atau sesuaikan */
  border: 0;
  display: block;
  border-radius: 0.5rem; /* opsional, agar sudut iframe sama */
}

:root {
  --border-color: var(--background-muted);
}


/* Border pemisah teks & gambar */
.operational-content {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 5px 2px 5px rgba(0,0,0,0.05);
}

.operational-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  place-items: center; /* Horizontal & vertical center */
}

/* Jika ingin responsive mobile, bisa tambahkan: */
@media (max-width: 900px) {
  .operational-section {
    grid-template-columns: 1fr;
  }
}

/* Hilangkan padding kiri di gambar */
.operational-image {
  flex: 0 0 300px;
  position: static;    /* tidak perlu sticky jika mau benar-benar center */
  align-self: center;  /* posisi tengah vertikal di grid cell */
  justify-self: center;
}

/* Buat image full */
.operational-image img {
  width: 80%;
  display: block;
  margin: 0 auto;      /* tengah horizontal */
}


/* Panel konten hari */
.day-content {
  margin-top: 1.5rem;
}
.day-panel {
  display: none;
  padding: 1rem 0;
  color: var(--text-color);
  line-height: 1.6;
}
.day-panel.active {
  display: block;
}

/* Tab styles (underline) */
.days-tabs {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
}
.days-tabs li {
  position: relative;
  padding-bottom: 0.25rem;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.days-tabs li:hover {
  color: var(--primary-color);
}
.days-tabs li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
  transform-origin: left center;
}
.days-tabs li:hover::after,
.days-tabs li.active::after {
  width: 100%;
}
.days-tabs li.active {
  color: var(--primary-color);
}


/* Athletics & Recreation */
.athletics-recreation {
  padding: 2rem 0;
  overflow: hidden; /* sembunyikan overflow, kita handle transform via JS */
}
.ar-title {
  text-align: center;
  font-size: 2rem;
  color: var(--text-color);
  position: relative;
  margin-bottom: 2.5rem;
}
.ar-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.ar-carousel {
  position: relative;
  overflow: hidden;
}


/* .ar-track {
  display: grid;
  grid-auto-flow: column;  
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  transition: transform 0.3s ease;
} */

.ar-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.ar-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.ar-card-body {
  padding: 0.5rem;
}
.ar-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.ar-card-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pagination Dots */
.ar-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.ar-pagination button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--third-color);
  cursor: pointer;
  transition: background 0.2s;
}
.ar-pagination button.active {
  background: var(--primary-color);
}
.ar-pagination button:hover {
  background: var(--hover-color);
}


/* tablet: 2 kolom */
/* @media (max-width: 1024px) and (min-width: 641px) {
  .ar-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
} */

/* mobile: 1 kolom */
/* @media (max-width: 640px) {
  .ar-track {
    grid-auto-columns: 100%;
  }
} */

/* non-selectable & non-draggable selama swipe */
.ar-carousel,
.ar-track,
.ar-card,
.ar-card-body {
  user-select: none;            /* non-select teks */
  -webkit-user-select: none;
}
.ar-card img {
  -webkit-user-drag: none;      /* non-drag image ghost */
  user-select: none;
}

/* keep container size fixed to first slide height */
.about-slider-fade { position: relative; overflow: hidden; }

/* stack slides on top of each other */
.fade-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  transition: opacity .5s ease;
  opacity: 0;
  pointer-events: none;
}
.fade-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.fade-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none; font-size: 1.8rem;
  padding: .2rem .6rem; cursor: pointer;
  z-index: 10;
}
.fade-nav.prev { left: 0rem; }
.fade-nav.next { right: 01rem; }
/* di style yang sudah ada */

.fade-nav {
  opacity: 0;
  transition: opacity .3s ease;
}

/* Ketika hover slider, tampilkan nav */
.about-slider-fade:hover .fade-nav {
  opacity: 1;
}
/* tombol default tersembunyi */
.fade-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  opacity: 0;
  transition: opacity .3s;
}


/* letak prev & next */
.fade-nav.prev { left: 10px; }
.fade-nav.next { right: 10px; }

/* munculkan saat hover area slider */
.about-slider-fade:hover .fade-nav {
  opacity: 1;
}

/* Styling icon di dalam tombol */
.fade-nav i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color .2s ease;
}

/* Ganti warna icon saat tombol di-hover */
.fade-nav:hover i {
  color: white;
  
}
.fade-nav:hover {
  background: var(--primary-color);
  
}

/* Pastikan .about-image membungkus img */
.about-image {
  overflow: hidden;
}

/* Gambar normal */
.about-image img {
  transition: transform 1.3s ease;
}

/* Saat hover di grid, zoom gambar */
.about-grid:hover .about-image img {
  transform: scale(1.1);
}



/* di dalam <style> slider-mu */

/* Siapkan keyframes untuk naik + fade */
@keyframes introFadeUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sembunyikan default */
.about-intro h4,
.about-intro h2,
.about-intro p {
  opacity: 0;
  transform: translateY(15px);
}

/* Ketika slide aktif, apply animasi */
.fade-slide.active .about-intro h4,
.fade-slide.active .about-intro h2,
.fade-slide.active .about-intro p {
  animation: introFadeUp 0.6s ease forwards;
}

/* Beri delay bertahap untuk efek berurutan */
.fade-slide.active .about-intro h4 {
  animation-delay: 0.2s;
}
.fade-slide.active .about-intro h2 {
  animation-delay: 0.4s;
}
.fade-slide.active .about-intro p {
  animation-delay: 0.6s;
}

/* 1. Kliping di level carousel, supaya kartu gak melebihi batas */
.ar-carousel {
  overflow: hidden;
}

/* 2. Kliping di level kartu agar gambar yang membesar tidak keluar */
.ar-card {
  overflow: hidden;
  position: relative;
}

/* 3. Gambar setup */
.ar-card img {
  display: block;           /* hilangkan whitespace bawah */
  width: 100%;              /* penuhi lebar kartu */
  height: auto;
  transition: transform 1.1s ease;
  transform-origin: center center;  /* zoom dari tengah */
}

/* 4. Zoom in on hover hanya di dalam .ar-card */
.ar-card:hover img {
  transform: scale(1.1);
}


.desc-scroll {
    max-height: 160px;     /* Tinggi maksimum, bisa diganti sesuai kebutuhan */
    overflow-y: auto;      /* Scroll muncul jika lebih dari max-height */
    padding-right: 8px;    /* Biar scroll nggak nutup tulisan */
}
.desc-scroll::-webkit-scrollbar {
    width: 6px;
    background: #F0F0F0;
    border-radius: 6px;
}
.desc-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary-color); /* pakai warna tema kamu */
    border-radius: 6px;
}




/* keep container size fixed to first slide height */
.about1-slider-fade1 { position: relative; overflow: hidden; }

.about1-slider-fade1:hover .fade1-nav {
  opacity: 1;
}

/* munculkan saat hover area slider */
.about1-slider-fade1:hover .fade1-nav {
  opacity: 1;
}

/* stack slides on top of each other */
.fade1-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  transition: opacity .5s ease;
  opacity: 0;
  pointer-events: none;
}
.fade1-slide.active {
  opacity: 1;
  pointer-events: auto;
}


/* Baris atas: dua kolom */
.about1-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 3fr 3fr;
  gap: 1rem;
  align-items: start;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  padding: 2rem 3.5rem 2rem 3.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .about1-grid {
    grid-template-columns: 1fr;
  }
  .about1-cards {
    grid-template-columns: 1fr;
  }
}

/* Saat hover di grid, zoom gambar */
.about1-grid:hover .about1-image img {
  transform: scale(1.1);
}

/* Judul & deskripsi */
.about1-intro h2 {
  font-size: 2rem;
  color: var(--text-color);
  margin: 0 0 1rem;
}
.about1-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sembunyikan default */
.about1-intro h4,
.about1-intro h2,
.about1-intro p {
  opacity: 0;
  transform: translateY(15px);
}

/* Ketika slide aktif, apply animasi */
.fade1-slide.active .about1-intro h4,
.fade1-slide.active .about1-intro h2,
.fade1-slide.active .about1-intro p {
  animation: introfade1Up 0.6s ease forwards;
}

/* Beri delay bertahap untuk efek berurutan */
.fade1-slide.active .about1-intro h4 {
  animation-delay: 0.2s;
}
.fade1-slide.active .about1-intro h2 {
  animation-delay: 0.4s;
}
.fade1-slide.active .about1-intro p {
  animation-delay: 0.6s;
}

/* Gambar kanan atas */
.about1-image img {
  width: 100%;
  height: 320PX;
  object-fit: cover;  /* Gambar tidak gepeng, terpotong proporsional */
  border-radius: 12px;
  display: block;
  transition: transform 1.3s cubic-bezier(.4,2,.3,1);
}

/* Pastikan .about1-image membungkus img */
.about1-image {
  overflow: hidden;
}

/* Gambar normal */
.about1-image img {
  transition: transform 1.3s ease;
}

/* Saat hover di grid, zoom gambar */
.about1-grid:hover .about1-image img {
  transform: scale(1.1);
}

.fade1-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none; font-size: 1.8rem;
  padding: .2rem .6rem; cursor: pointer;
  z-index: 10;
}
.fade1-nav.prev { left: 0rem; }
.fade1-nav.next { right: 01rem; }
/* di style yang sudah ada */

.fade1-nav {
  opacity: 0;
  transition: opacity .3s ease;
}

/* Ketika hover slider, tampilkan nav */
.about1-slider-fade1:hover .fade1-nav {
  opacity: 1;
}
/* tombol default tersembunyi */
.fade1-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  opacity: 0;
  transition: opacity .3s;
}


/* letak prev & next */
.fade1-nav.prev { left: 10px; }
.fade1-nav.next { right: 10px; }

/* munculkan saat hover area slider */
.about1-slider-fade1:hover .fade1-nav {
  opacity: 1;
}

/* Styling icon di dalam tombol */
.fade1-nav i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color .2s ease;
}

/* Ganti warna icon saat tombol di-hover */
.fade1-nav:hover i {
  color: white;
  
}
.fade1-nav:hover {
  background: var(--primary-color);
  
}

/* Siapkan keyframes untuk naik + fade */
@keyframes introfade1Up {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: none;}
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px);}
  to { opacity: 1; transform: none;}
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px);}
  to { opacity: 1; transform: none;}
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px);}
  to { opacity: 1; transform: none;}
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8);}
  to { opacity: 1; transform: scale(1);}
}

/* Nonaktifkan animasi default di awal, pakai opacity 0 */
.animate-fadeinup,
.animate-fadeindown,
.animate-fadeinleft,
.animate-fadeinright,
.animate-zoomin {
  opacity: 0;
}

/* Utility class untuk setiap animasi */
.animate-fadeinup.active    { animation: fadeInUp 2s cubic-bezier(.4,1.7,.5,1.1) both; }
.animate-fadeindown.active  { animation: fadeInDown 2s cubic-bezier(.4,1.7,.5,1.1) both; }
.animate-fadeinleft.active  { animation: fadeInLeft 2s cubic-bezier(.4,1.7,.5,1.1) both; }
.animate-fadeinright.active { animation: fadeInRight 2s cubic-bezier(.4,1.7,.5,1.1) both; }
.animate-zoomin.active      { animation: zoomIn 2s cubic-bezier(.4,1.7,.5,1.1) both; }

@media (max-width: 768px) {
  .operational-section {
    grid-template-columns: 1fr;
  }
  .operational-image {
    order: -1;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .operational-content {
    padding: 1rem;
  }
  .days-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.98rem;
  }
}
@media (max-width: 576px) {
  .operational-section {
    gap: 1rem;
    margin-top: 2rem;
  }
  .operational-image {
    margin-bottom: 1rem;
  }
  .operational-content h2 {
    font-size: 1.3rem;
  }
  .days-tabs {
    gap: 0.2rem;
    font-size: 0.92rem;
  }
  .stats-item .item-text h4 {
    font-size: 1rem;
  }
}

.operational-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.operational-content {
  width: 100%;
  max-width: 650px;
}

.operational-image {
  width: 300px;
}

.operational-image img {
  width: 100%;
  height: auto;
}

/* Tablet & bawah (≤ 992px): kurangi padding */
@media (max-width: 992px) {
  .about-section {
    padding: 3rem 2rem;
  }
  .about-section .container {
    width: 95%;
  }
}

/* Mobile (≤ 576px): lebih ringkas lagi */
@media (max-width: 576px) {
  .about-section {
    padding: 2rem 1rem;
  }
  .about-section .container {
    width: 100%;
    padding: 0;
  }
  .about-intro h2 {
    font-size: 1.5rem;            /* perhalus ukuran judul */
  }
  .about-intro p {
    font-size: 0.95rem;
  }
}

/* Tablet ke bawah: gambar dulu, lalu judul+deskripsi, lalu tabs, lalu konten hari */
@media (max-width: 768px) {
  .operational-section {
    display: flex;
    flex-direction: column;       /* stack secara vertikal */
  }

  /* Gambar tampil paling atas */
  .operational-image {
    order: 1;                     /* urutan pertama */
    width: 100%;                  /* full-width */
    margin-bottom: 1rem;
  }
  .operational-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* Konten teks (judul + deskripsi) */
  .operational-content {
    display: flex;
    flex-direction: column;
    order: 2;                     /* setelah gambar */
    padding: 1rem;
  }
  .operational-content h2,
  .operational-content p {
    order: 1;                     /* paling atas di konten */
    margin-bottom: 0.5rem;
  }

  /* Tabs hari: setelah judul/deskripsi */
  .days-tabs {
    order: 3;
    margin: 1rem 0;
    flex-wrap: wrap;              /* biar tidak overflow */
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  /* Konten panel hari: di bawah tabs */
  .day-content {
    order: 4;
  }
}

/* Override default padding (2rem 3.5rem) pada tablet ke bawah */
@media (max-width: 768px) {
  .about1-grid {
    padding: 1rem; /* sebelumnya 2rem 3.5rem */ 
  }
  .about1-slider-fade1 {
    padding: 0;    /* hilangkan padding ekstra di slider wrapper */
  }
}

/* Lebih ringkas lagi di HP (≤576px) */
@media (max-width: 576px) {
  .about1-grid {
    padding: 0.5rem;
  }
}

/* Tablet ke bawah: kurangi padding .about-grid di slider Gawat Darurat */
@media (max-width: 768px) {
  .about-grid {
    padding: 1rem;    /* sebelumnya 2rem 3.5rem */ 
  }
  .about-slider-fade {
    padding: 0;       /* hilangkan padding ekstra di wrapper */
  }
}

/* HP (≤576px): lebih ringkas lagi */
@media (max-width: 576px) {
  .about-grid {
    padding: 0.5rem;
  }
}

/* Untuk layar ≤768px: langsung tampil tanpa delay */
@media (max-width: 768px) {
  .about1-slider-fade1.animate-zoomin {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* Pastikan slide aktif langsung visible tanpa nunggu animasi */
.fade1-slide.active .about1-intro h4,
.fade1-slide.active .about1-intro h2,
.fade1-slide.active .about1-intro p {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Tablet (≤768px): kecilkan sedikit */
@media (max-width: 768px) {
  .about1-intro h2 {
    font-size: 1.75rem;
  }
}

/* Small tablet / phablet (≤576px): lebih ringkas */
@media (max-width: 576px) {
  .about1-intro h2 {
    font-size: 1.5rem;
  }
}

/* Mobile kecil (≤360px): paling kecil */
@media (max-width: 360px) {
  .about1-intro h2 {
    font-size: 1.25rem;
  }
}

/* — Flex override untuk .ar-track — */
.ar-carousel {
  overflow: hidden;
  touch-action: pan-y;
}
.ar-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
}
.ar-track > * {
  flex: 0 0 auto;
  backface-visibility: hidden;
}

/* Desktop: 3 kartu */
@media (min-width: 1025px) {
  .ar-track > * {
    flex-basis: calc((100% - 2rem) / 3);
    max-width:  calc((100% - 2rem) / 3);
  }
}
/* Tablet (≤1024px): 2 kartu */
@media (max-width: 1024px) {
  .ar-track > * {
    flex-basis: calc((100% - 1rem) / 2);
    max-width:  calc((100% - 1rem) / 2);
  }
}
/* Mobile (≤640px): 1 kartu */
@media (max-width: 640px) {
  .ar-track > * {
    flex-basis: 100%;
    max-width:  100%;
  }
}

@media (max-width: 768px) {
  .operational-section {
    display: flex;
    flex-direction: column;
  }
  /* rest responsive rules… */
}

