p {
  font-size: 15px;
  line-height: 25px;
}

section {
  padding: 25px 0 35px;
  background: #f7f8fb;
}

body {
  position: relative; /* we need this for the scrollspy */
  font-size: 14px;
  background: #f7f8fb;
}

a {
  color: #3cc;
}

a:hover {
  color: #f7f8fb;
}

/*----------
  NAV
----------*/

.fixed-side-navbar {
  position: fixed;
  top: 50%;
  left: 0;
  right: auto;
  z-index: 99999;
  margin-top: -100px;
  text-align: left;
  padding: 30px 0;
  transition: all 0.3s;
}

.fixed-side-navbar:hover {
  background: transparent;
}

.fixed-side-navbar:hover .nav > li > a > span {
  color: rgba(0, 0, 0, 0.5);
  display: block;
  background-color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 15px;
}

.fixed-side-navbar .nav > li a.active {
  background-color: transparent;
  color: black;
}

.fixed-side-navbar .nav > li a.active:after {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

.fixed-side-navbar .nav > li a.active:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 17px;
  right: auto;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 10px;
}

.nav > li {
  position: relative;
  display: block;
}

.fixed-side-navbar .nav > li a {
  color: #fff;
  min-height: 32px;
  background: transparent;
  padding: 5px 25px 5px 45px;

  border-right: none;
}

.fixed-side-navbar .nav > li a span {
  display: none;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.fixed-side-navbar .nav > li a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  right: auto;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: rgba(250, 250, 250, 0.75);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: scale(0.6);
  transform: scale(0.6);
}

.fixed-side-navbar .nav > li a:hover {
  background-color: transparent;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-color: black;
  border-left: 0;
}

.fixed-side-navbar .nav > li a:hover > span {
  color: black;
  display: block;
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

.primary-button a {
  display: inline-block;
  background-color: #ff7d27;
  padding: 15px 24px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* home css section awal */

.slide-content-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

/* ===== TEXT CONTENT ===== */
.slide-content {
  max-width: 720px;
  padding: 0 60px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* SUB JUDUL */
.slide-content span em {
  font-size: clamp(16px, 2vw, 20px);
  color: #ddd;
  font-style: normal;
}

.parallax-content,
.baner-content {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* SLIDER */
.banner-slider-container {
  display: flex;
  width: 300%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1.2s ease;
}

/* SLIDE */
.banner-slide {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* IMG FULL */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* OVERLAY */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

/* CONTENT */
.slide-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.slide-content.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  font-size: 60px;
  color: #fff;
  font-weight: 900;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
}

.slide-content span {
  font-size: 42px;
  color: #fff;
}

.slide-content em {
  color: #e74c3c;
  font-style: normal;
}

/* DOTS */
.slider-controls {
  position: absolute;
  bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 15px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dot.active {
  background: #e74c3c;
  transform: scale(1.3);
}

@media (max-width: 991px) {
  .slide-content h1 {
    font-size: 64px;
    line-height: 1.1;
  }

  .slide-content span {
    font-size: 28px;
  }

  .slider-controls {
    bottom: 30px;
  }
}

@media (max-width: 768px) {
  .parallax-content,
  .baner-content,
  .banner-slide {
    height: 100svh;
    /* FIX viewport mobile */
  }

  .slide-content {
    padding: 0 20px;
  }

  .slide-content h1 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .slide-content span {
    font-size: 20px;
    line-height: 1.4;
  }

  .slider-controls {
    bottom: 25px;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 40px;
  }

  .slide-content span {
    font-size: 16px;
  }

  .slider-dots {
    gap: 12px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* home css section akhir */

/* program css section awal */

/* ================= CONTAINER ================= */
.video-konten-container {
  width: 100%;
  padding: 70px 25px;
  background: #fff;
}

/* ================= HEADER ================= */
.konten-header {
  text-align: center;
  margin-bottom: 25px;
}

.konten-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--orange-main);
  margin-bottom: 12px;
  position: relative;
}

.konten-header h1::after {
  display: block;
  width: 80px;
  height: 4px;
  background: var(--orange-main);
  margin: 12px auto 0;
  border-radius: 2px;
}

.konten-subtitle {
  max-width: 700px;
  margin: 8px auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.konten-subtitle em {
  color: #e74c3c;
  font-style: normal;
  font-weight: 600;
}

/* ================= SLIDER ================= */
.video-konten-wrapper {
  max-width: 960px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.video-items {
  display: flex;
  transition: transform 0.6s ease;
}

.video-item {
  min-width: 100%;
  padding: 30px 22px 40px;
}

/* ================= VIDEO ================= */
.video-content {
  text-align: center;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* overlay gelap tipis */
.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* play icon */
.video-placeholder i {
  font-size: 70px;
  color: #fff;
  z-index: 2;
}

/* judul */
.video-placeholder h3 {
  margin-top: 12px;
  color: #fff;
  font-weight: 600;
  z-index: 2;
}

.video-placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-placeholder i {
  font-size: 80px;
  color: var(--orange-main);
  z-index: 2;
  margin-bottom: 12px;
}

.video-placeholder h3 {
  font-size: 24px;
  font-weight: 700;
  z-index: 2;
  margin: 0;
  color: ;
}

.video-duration {
  margin-top: 10px;
  font-size: 0.9rem;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  z-index: 2;
}

/* ================= INFO ================= */
.video-info {
  max-width: 800px;
  margin: 28px auto 0;
}

.video-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  color: #e74c3c;
}

.video-info p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* ================= CONTROLS ================= */
.konten-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* DOTS */
.konten-indicators {
  display: flex;
  gap: 12px;
}

.konten-indicator {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: 0.3s ease;
}

.konten-indicator.active {
  background: #e74c3c;
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(255, 140, 26, 0.25);
}

/* COUNTER */
.item-counter {
  min-width: 70px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .video-konten-container {
    padding: 55px 18px;
  }

  .konten-header h1 {
    font-size: 2rem;
  }

  .konten-subtitle {
    font-size: 0.95rem;
  }

  .video-placeholder i {
    font-size: 60px;
  }

  .video-placeholder h3 {
    font-size: 20px;
  }

  .video-info h4 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .konten-controls {
    flex-wrap: wrap;
    gap: 14px;
  }

  .konten-arrow {
    width: 40px;
    height: 40px;
  }

  .konten-indicators {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

/* program css section akhir */

/* feauterd css section awal */

/* ==============================
   SECTION BACKGROUND
============================== */
.projects-content {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* 🔥 FIX */
  align-items: center;
  justify-content: center;
  background: url(../img/3rd-section.jpg) center / cover fixed;
}

/* Background Image - Dipanggil dari HTML */
.projects-content .background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.projects-content .background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projects-content .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.projects-content .container {
  position: relative;
  z-index: 3;
}

/* ==============================
   SECTION HEADING
============================== */

.slide-actions {
  margin-top: 18px;
}

.slide-actions .btn {
  padding: 8px 22px;
  font-size: 14px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.slide-actions .btn:hover {
  background: #fff;
  color: #000;
}
.section-heading {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
  position: relative;
  z-index: 4;
}

.section-heading h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  margin-top: 10px;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==============================
   FEATURED CARD
============================== */
.video-konten-wrapper {
  overflow: hidden;
  position: relative;
}

.video-items {
  display: flex;
  transition: transform 0.6s ease;
}

.video-item {
  min-width: 100%;
  box-sizing: border-box;
}

.konten-indicators {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.konten-indicators .indikator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.konten-indicators .indikator.active {
  background: #e74c3c;
}
.featured-item-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  margin: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.featured-item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* IMAGE CONTAINER */
.featured-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-bottom: 3px solid #e74c3c;
}

.featured-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-item-card:hover .featured-image-container img {
  transform: scale(1.1);
}

/* ACTION BUTTON */
.featured-action-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.featured-item-card:hover .featured-action-button {
  opacity: 1;
  transform: translateY(0);
}

.featured-action-button a {
  background: #e74c3c;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.35);
  transition: all 0.3s ease;
}

.featured-action-button a:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

/* TEXT CONTENT */
.featured-text-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-text-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 15px;
  font-style: italic;
}

.short-text {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;

  /* Multi-line ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-divider-line {
  width: 60%;
  height: 2px;
  margin-top: auto;
  background: linear-gradient(to right, #e74c3c, transparent);
  border-radius: 1px;
}

/* ==============================
   FEATURED ITEM CARD
============================== */
.featured-item-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.featured-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width: 992px) {
  .featured-section-heading h1 {
    font-size: 42px;
  }
  .section-heading {
    margin-bottom: 10px;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .featured-section-heading h1 {
    font-size: 36px;
  }

  .featured-section-heading p {
    font-size: 16px;
    padding: 0 20px;
  }

  .owl-carousel .owl-nav button {
    width: 35px;
    height: 35px;
    margin: 0 5px;
  }
}

/* Mobile Portrait */
@media (max-width: 576px) {
  .featured-section-heading h1 {
    font-size: 28px;
  }

  .projects-content {
    padding-top: 8vh;
  }

  .projects-content .item {
    margin: 10px;
  }
}
/* feauterd css section akhir */

/* jpurneys css section akhir */

/* ============================================
           TIMELINE SECTION
        ============================================ */
.story-timeline {
  padding: 50px 20px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* ==============================
           HEADER SECTION
        ============================== */
.timeline-header {
  text-align: center;
  padding: 0 15px;
}

.timeline-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.timeline-header h1::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: clamp(60px, 15vw, 100px);
  height: clamp(3px, 0.5vw, 4px);
  background: linear-gradient(90deg, #e74c3c, #ff9a00);
  border-radius: 2px;
}

.timeline-header p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #5a6c7d;
  max-width: min(90%, 700px);
  margin: 0 auto;
  line-height: 1.7;
}

/* ==============================
           TIMELINE CONTAINER
        ============================== */
.timeline-container {
  position: relative;
  width: 100%;
  padding: 40px 0 60px;
}

/* ==============================
           TIMELINE ITEMS
        ============================== */
.timeline-has-image {
  padding-top: 0;
}

.timeline-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  padding-bottom: 20px;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
  .timeline-item:hover .timeline-image img {
    transform: scale(1.05);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .timeline-image {
    height: 140px;
  }
}

.timeline-items-container {
  display: flex;
  gap: clamp(15px, 3vw, 30px);
  overflow-x: auto;
  padding: 60px clamp(10px, 2vw, 20px) 40px;
  scrollbar-width: thin;
  scrollbar-color: #e74c3c #f1f5f9;
  position: relative;
  z-index: 2;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.timeline-items-container::-webkit-scrollbar {
  height: clamp(6px, 1.2vw, 8px);
}

.timeline-items-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.timeline-items-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #e74c3c, #ff9a00);
  border-radius: 4px;
}

/* Hide scrollbar on mobile */
@media (max-width: 768px) {
  .timeline-items-container {
    scrollbar-width: none;
  }

  .timeline-items-container::-webkit-scrollbar {
    display: none;
  }
}

/* ==============================
           TIMELINE ITEM CARD
        ============================== */
.timeline-item {
  flex: 0 0 clamp(280px, 30vw, 320px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  min-height: clamp(350px, 40vw, 400px);
  scroll-snap-align: start;
}

.timeline-item:hover {
  transform: translateY(-10px);
}

/* Year Marker */
.timeline-year-marker {
  position: absolute;
  top: clamp(-35px, -6vw, -40px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e74c3c, #ff6b6b);
  color: white;
  padding: clamp(6px, 1.2vw, 8px) clamp(15px, 3vw, 24px);
  border-radius: clamp(25px, 5vw, 30px);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  box-shadow: 0 clamp(4px, 0.8vw, 6px) clamp(15px, 3vw, 20px)
    rgba(231, 76, 60, 0.4);
  z-index: 3;
  white-space: nowrap;
  text-align: center;
}

/* Timeline Point */
.timeline-point {
  width: clamp(25px, 4vw, 30px);
  height: clamp(25px, 4vw, 30px);
  background: white;
  border: clamp(3px, 0.6vw, 4px) solid #e74c3c;
  border-radius: 50%;
  margin: 0 auto clamp(15px, 3vw, 20px);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 clamp(6px, 1.2vw, 8px) rgba(231, 76, 60, 0.2);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-point {
  transform: scale(1.2);
  box-shadow: 0 0 0 clamp(8px, 1.6vw, 12px) rgba(231, 76, 60, 0.3);
}

/* Card Content */
.timeline-content {
  background: white;
  padding: clamp(20px, 3vw, 25px);
  border-radius: clamp(15px, 2.5vw, 18px);
  box-shadow: 0 clamp(8px, 1.6vw, 12px) clamp(25px, 5vw, 35px)
    rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid rgba(231, 76, 60, 0.1);
  position: relative;
  overflow: hidden;
}

.timeline-content:hover {
  box-shadow: 0 clamp(12px, 2.4vw, 18px) clamp(35px, 7vw, 45px)
    rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: clamp(8px, 1.6vw, 12px);
  line-height: 1.3;
}

.timeline-summary {
  font-size: clamp(0.9rem, 1.8vw, 0.95rem);
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: clamp(15px, 3vw, 20px);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Action Button */
.expand-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: clamp(8px, 1.6vw, 10px) clamp(15px, 3vw, 20px);
  border-radius: clamp(25px, 5vw, 30px);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 8px);
  transition: all 0.3s ease;
  box-shadow: 0 clamp(3px, 0.6vw, 4px) clamp(12px, 2.4vw, 15px)
    rgba(52, 152, 219, 0.3);
  margin-top: auto;
  width: 100%;
  max-width: 200px;
  align-self: center;
}

.expand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 clamp(4px, 0.8vw, 6px) clamp(15px, 3vw, 20px)
    rgba(52, 152, 219, 0.4);
}

.expand-btn i {
  transition: transform 0.3s ease;
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
}

.expand-btn.expanded i {
  transform: rotate(180deg);
}

/* ==============================
           DETAIL PANEL
        ============================== */
.timeline-detail-container {
  position: fixed;
  top: 0;
  right: 0;
  width: min(90%, 500px);
  height: 100vh;
  background: white;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: clamp(20px, 4vw, 30px);
  display: flex;
  flex-direction: column;
}

.timeline-detail-container.active {
  transform: translateX(0);
}

.detail-header {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 15px);
  margin-bottom: clamp(20px, 4vw, 30px);
  padding-bottom: clamp(15px, 3vw, 20px);
  border-bottom: 2px solid #f1f5f9;
}

.detail-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.detail-header h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  color: #2c3e50;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.detail-year {
  background: linear-gradient(135deg, #e74c3c, #ff6b6b);
  color: white;
  padding: clamp(6px, 1.2vw, 8px) clamp(15px, 3vw, 20px);
  border-radius: clamp(25px, 5vw, 30px);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  white-space: nowrap;
}

.close-detail {
  background: none;
  border: none;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #718096;
  cursor: pointer;
  padding: clamp(6px, 1.2vw, 8px);
  transition: color 0.3s ease;
  align-self: flex-end;
  margin-top: -10px;
}

.close-detail:hover {
  color: #e74c3c;
}

.timeline-detail {
  flex-grow: 1;
}

.timeline-detail p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: clamp(15px, 3vw, 25px);
}

/* Gallery in Detail */
.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(10px, 2vw, 15px);
  margin: clamp(15px, 3vw, 25px) 0;
}

.timeline-gallery img {
  width: 100%;
  height: clamp(100px, 20vw, 150px);
  object-fit: cover;
  border-radius: clamp(8px, 1.6vw, 12px);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.timeline-gallery img:hover {
  transform: scale(1.05);
}

/* Impact List */
.timeline-impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(10px, 2vw, 15px);
  margin-top: clamp(20px, 4vw, 30px);
  padding: 0;
  list-style: none;
}

.timeline-impact li {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: clamp(12px, 2.4vw, 15px);
  border-radius: clamp(10px, 2vw, 12px);
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 10px);
  transition: all 0.3s ease;
  border-left: clamp(3px, 0.6vw, 4px) solid #e74c3c;
  font-size: clamp(0.85rem, 1.7vw, 0.9rem);
}

.timeline-impact li:hover {
  transform: translateX(5px);
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.timeline-impact li::before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Overlay */
.timeline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.timeline-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==============================
           RESPONSIVE BREAKPOINTS
        ============================== */

/* Mobile Portrait (≤ 480px) */
@media (max-width: 480px) {
  .story-timeline {
    padding: 60px 15px;
  }

  .timeline-header {
    margin-bottom: 40px;
  }

  .timeline-container {
    padding: 30px 0 50px;
  }

  .timeline-items-container {
    padding: 50px 5px 30px;
    gap: 12px;
  }

  .timeline-item {
    flex: 0 0 260px;
    min-height: 320px;
  }

  .timeline-year-marker {
    top: -30px;
    padding: 5px 12px;
    font-size: 0.95rem;
  }

  .timeline-content {
    padding: 18px;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-summary {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
  }

  .expand-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .timeline-detail-container {
    width: 95%;
    padding: 15px;
  }

  .detail-header h2 {
    font-size: 1.2rem;
  }

  .timeline-gallery {
    grid-template-columns: 1fr;
  }

  .timeline-impact {
    grid-template-columns: 1fr;
  }

  .timeline-impact li {
    padding: 10px;
    font-size: 0.8rem;
  }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .timeline-item {
    flex: 0 0 280px;
    min-height: 350px;
  }

  .timeline-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape & Small Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .timeline-item {
    flex: 0 0 300px;
    min-height: 380px;
  }

  .timeline-detail-container {
    width: 60%;
  }
}

/* ==============================
           DEVICE-SPECIFIC OPTIMIZATIONS
        ============================== */

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .timeline-item:hover {
    transform: none;
  }

  .timeline-item:active {
    transform: scale(0.98);
  }

  .timeline-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .expand-btn:hover {
    transform: none;
  }

  .expand-btn:active {
    transform: scale(0.98);
  }

  .nav-btn:hover {
    transform: none;
  }

  .nav-btn:active {
    transform: scale(0.95);
  }

  .timeline-impact li:hover {
    transform: none;
  }

  .timeline-gallery img:hover {
    transform: none;
  }
}

.timeline-thumb {
  width: 100%;
  height: 160px;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
}

.timeline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-thumb {
    height: 140px;
  }
}

/* High Resolution Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .timeline-content {
    border-width: 0.5px;
  }

  .timeline-line {
    height: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .timeline-item,
  .timeline-content,
  .expand-btn,
  .nav-btn,
  .timeline-impact li,
  .timeline-gallery img,
  .timeline-detail-container,
  .timeline-overlay {
    transition: none !important;
    animation: none !important;
  }

  .timeline-item:hover {
    transform: none !important;
  }
}

/* Print Styles */
@media print {
  .story-timeline {
    background: white !important;
    padding: 40px 0 !important;
  }

  .timeline-items-container {
    overflow: visible !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
  }

  .timeline-item {
    break-inside: avoid;
    flex: 1 !important;
    min-height: auto !important;
  }

  .timeline-nav,
  .timeline-overlay,
  .timeline-detail-container,
  .expand-btn {
    display: none !important;
  }

  .timeline-content {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* ==============================
           ANIMATIONS
        ============================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}

.timeline-item:nth-child(7) {
  animation-delay: 0.7s;
}
/* jpurneys css section akhir */

/* timeline */
.tabs-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 8vh;
  background-image: url(../img/4th-section.jpg);
  background-attachment: fixed;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
}

section {
  background-color: transparent;
  padding-bottom: 15px;
}

.wrapper {
  text-align: center;
}

.tabs {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.tabs li {
  display: inline-block;
  text-align: center;
  margin: 10px;
}

.tabs a {
  display: block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 15px;
  border: 4px solid #fff;
}

.tabs a:hover {
  color: #e74c3c;
}

.tabs .active {
  border: 4px solid #e74c3c;
}

.tabgroup div {
}

.tabgroup p {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 25px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.contact-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 16vh;
  background-image: url(../img/5th-section.jpg);
}

.contact-form {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 25px;
  margin-bottom: 30px;
}

#contact input {
  border-radius: 3px;
  padding-left: 15px;
  font-size: 13px;
  color: #232323;
  background-color: rgba(250, 250, 250, 1);
  outline: none;
  border: none;
  box-shadow: none;
  line-height: 50px;
  height: 50px;
  width: 100%;
  margin-bottom: 30px;
}

#contact textarea {
  border-radius: 3px;
  padding-left: 15px;
  padding-top: 10px;
  font-size: 13px;
  color: #232323;
  background-color: rgba(250, 250, 250, 1);
  outline: none;
  border: none;
  box-shadow: none;
  height: 165px;
  max-height: 220px;
  width: 100%;
  margin-bottom: 25px;
}

#contact button {
  display: inline-block;
  background-color: #e74c3c;
  padding: 15px 24px;
  width: 100%;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.map {
  margin-bottom: 30px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 20px;
}

footer {
  text-align: center;
  background-color: #282b2f;
  padding: 70px 0px;
}

footer .primary-button {
  margin-bottom: 30px;
}

footer ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

footer ul li {
  display: inline-block;
  margin: 0px 4px;
}

footer ul li a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  background-color: #e74c3c;
  color: #282b2f;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.5s;
  font-size: 17px;
}

footer ul li a:hover {
  color: #282b2f;
  background-color: #ff8e43;
}

footer p {
  font-size: 12px;
  color: #fff;
  margin-top: 15px;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0px;
}

footer em {
  color: #ff8e43;
  font-weight: 600;
  font-style: normal;
}

@media (max-width: 767px) {
  .baner-content {
    padding-top: 30vh;
  }

  .baner-content h1 {
    font-size: 64px;
  }

  .baner-content em {
  }

  .baner-content span {
    font-size: 24px;
  }

  .baner-content .primary-button {
    margin-top: 15px;
  }

  .service-content {
    padding-top: 5vh;
    text-align: center;
  }

  .service-content .left-text .line-dec {
    width: 45px;
    height: 3px;
    background-color: #e74c3c;
    margin: 20px auto 20px auto;
  }

  .service-content .left-text ul {
    text-align: left;
  }

  .service-content .service-item {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 25px 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* LIGHT BOX */

body:after {
  content: url(../img/close.png) url(../img/loading.gif) url(../img/prev.png)
    url(../img/next.png);
  display: none;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;

  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==");
}

.lb-prev,
.lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../img/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../img/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/* ===============================
   SECTION WRAPPER
================================ */
/* ==============================
   GALLERY SECTION
============================== */
.gallery-section {
  position: relative;
  padding: 80px 0;
  background: #f5f5f5;
}
.gallery-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85)),
    url("../img/4th-section.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.gallery-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header h1 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}

.gallery-header p {
  font-size: 16px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

/* ==============================
   GALLERY GRID
============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ==============================
   GALLERY ITEM
============================== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover effect */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ==============================
   SIZE VARIANTS
============================== */
.gallery-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.light {
  grid-row: span 2;
}

/* ==============================
   CTA BUTTON
============================== */
.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

.gallery-cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.gallery-cta-btn:hover {
  background: #ff6b6b;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  .gallery-item.big,
  .gallery-item.wide,
  .gallery-item.light {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  background: #1f1f1f;
  color: #ccc;
  padding: 70px 0 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Brand */
.footer-brand h3 {
  font-size: 26px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
}

/* Info */
.footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info ul li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* Map */
.footer-map iframe {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  border: none;
}

/* Bottom */
.footer-bottom {
  margin-top: 50px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }

  .footer-map iframe {
    margin-top: 20px;
  }
}
.footer-contact {
  max-width: 100%;
  margin: auto;
}

.footer-contact-list span,
.footer-contact-list a {
  white-space: normal;
  /* ALLOW WRAP */
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
  white-space: normal;
}

.footer-contact-list i {
  width: 22px;
  height: 22px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-list a,
.footer-contact-list span {
  color: #ddd;
  text-decoration: none;
  word-break: break-word;
}

.footer-contact-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-list span,
.footer-contact-list a {
  white-space: nowrap;
}
