body {
  font-family: 'Poppins', sans-serif;
  color: #000;
  line-height: 1.6;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 90px;
  font-weight: 700;
  color: #fff;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(0, 89, 64, 0.70);
  color: #fff;
  padding: 18px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  backdrop-filter: blur(3px);
}

/* Nav container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 8%;
  padding-right: 8%;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding-right: 40px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links li a::after { 
  content: "";
  position: absolute;
  bottom: -5px; left: 0;
  width: 0%;
  height: 2px;
  background: #157665;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #fdfefe;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a.active::after {
  width: 100%;
}

/* =====================================================
   FESTIVAL HERO
===================================================== */

.festival-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

/* Background image */
.festival-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay */
.festival-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 90, 77, 0.55);
  z-index: 1;
}

/* Content wrapper */
.festival-hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Inner content */
.festival-hero-inner {
  padding: 80px 8%;
  max-width: 560px;
}

/* Title */
.festival-title {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

/* Date & location */
.festival-date {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 20px;
}

/* Agenda list */
.festival-agenda {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: 0.95rem;
}

.festival-agenda li {
  margin-bottom: 6px;
}

/* Ticket info */
.festival-ticket-info {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* CTA button */
.festival-cta {
  display: inline-block;
  padding: 14px 34px;
  background: #ffffff;
  color: #0f5a4d;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 768px) {

  .festival-hero-inner {
    padding: 70px 8% 64px;
    max-width: none;
  }

  .festival-title {
    font-size: 1.8rem;
  }

  .festival-date,
  .festival-agenda,
  .festival-ticket-info {
    font-size: 0.9rem;
  }

  /* INI YANG BENER */
  .festival-hero-bg {
    background-position: 87% center;
  }
}


/* ===== FESTIVAL AGENDA GRID ===== */
.festival-agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin-bottom: 26px;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.agenda-item i {
  font-size: 1rem;
  color: #ffffff;
  min-width: 18px;
  opacity: 0.95;
}
/* bullet custom */
.agenda-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
}

/* MOBILE: tetap 2 kolom */
@media (max-width: 768px) {
  .festival-agenda-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* New About Hero Section */
.about-hero-new {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("img/about teras.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
  z-index: 1;
  overflow: hidden;
}

/* Overlay gradient */
.about-hero-new::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 89, 64, 0.7),
    rgba(0, 89, 64, 0.1)
  );
  z-index: 2;
}

/* Content Box */
.hero-content-box {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  padding: 60px 40px;
  border-radius: 12px;
  max-width: 550px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-content-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 15px;
}

.hero-content-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

/* HERO full screen (INDEX) */
.hero {
  position: relative;
  height: 100vh;
  width: 92%;
  background: url("img/terashalal.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 8%;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

/* Kotak hijau aksen transparan */
.green-effect {
  position: absolute;
  top: 22%;
  left: 4%;
  width: 500px;
  height: 380px;
  background: rgba(21, 118, 101, 0.6);
  border-radius: 12px;
  z-index: 2;
  transform: rotate(-3deg);
  opacity: 0;
  animation: pop-up 0.8s ease forwards;
  animation-delay: 1.2s;
}

/* Box putih teks */
.text-box {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  padding: 60px 35px 40px 35px;
  border-radius: 12px;
  z-index: 3;
  max-width: 600px;
  margin-top: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  opacity: 0;
  animation: slide-in-right 1s ease forwards;
  animation-delay: 0.4s;
}

.text-box h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.text-box p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 15px;
}

.btn-primary {
  background: #157665;
  color: #fff;
}

.btn-primary:hover {
  background: #005940;
}

.btn-outline {
  background: transparent;
  border: 2px solid #000;
  color: #000;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

.text-anim {
  opacity: 0;
  transform: translateX(120px);
  animation: slide-in-right 0.8s ease forwards;
}

.text-anim.delay1 { animation-delay: 0.9s; }
.text-anim.delay2 { animation-delay: 1.2s; }
.text-anim.delay3 { animation-delay: 1.5s; }
.text-anim.delay4 { animation-delay: 1.8s; }

@keyframes pop-up {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-3deg);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(140px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f3fdf8, #e9f7f3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e6f8f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #009e6c;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-text h5 {
  margin: 0;
  font-weight: 600;
  color: #157665;
}

.feature-text p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}

.about-section {
  position: relative;
  background: #f3fdf8;
  padding: 140px 0 80px;
  overflow: hidden;
}

/*  partner */
.partner-section {
  background: #fefefe;
  padding: 90px 8%;
  text-align: center;
}

.partner-title {
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 10px;
}

.partner-subtitle {
  color: #444;
  margin-bottom: 40px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 35px 30px;
  justify-items: center;
}

.partner-grid img {
  height: 55px;
  width: auto;
  transition: 0.3s ease;
  filter: none;
  opacity: 1;
}

.partner-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 20px;
  }

  .partner-grid img {
    height: 45px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Background hero blur */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 100vh;
  background: url("img/about-teras.jpg") center/cover no-repeat;
  filter: blur(15px) brightness(0.8);
  z-index: 1;
}

/* Konten tetap di atas */
.about-section .container {
  position: relative;
  z-index: 2;
}

/* Ukuran foto jelas */
.about-image img {
  width: 70%;
  max-width: 380px;
  margin: 60px auto 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

/* Hero khusus About */
.about-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("img/about-teras.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("img/about-teras.jpg") center/cover no-repeat;
  filter: blur(20px) brightness(0.6);
  transform: scale(1.1);
  z-index: -1;
}

/* Foto jelas */
.about-image img {
  width: 100%;
  max-width: 600px;
}

/* transparan */
.feature-box {
  background: rgba(0, 89, 64, 0.5);
  padding: 15px;
  border-radius: 9px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #00d28f;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-text h5 {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.feature-text p {
  margin: 0;
  color: #ddd;
  font-size: 0.95rem;
}

/* Team Section */
.team-section {
  padding: 100px 8% 120px;
  background: #ebf5f1;
  position: relative;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
}

/* Animasi pop-up */
.pop-up {
  opacity: 0;
  transform: scale(0.8);
  animation: popUp 0.6s ease forwards;
}

@keyframes popUp {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;   
  overflow-y: visible; 
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 40px 0; 
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.team-card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  flex: 0 0 280px;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: visible;
  transform: scale(0.8);   /* ukuran keseluruhan */
  transform-origin: center;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  height: 350px;        
  object-fit: cover;
  border-radius: 10px;
  margin-top: -70px;    
  margin-bottom: 15px;
}

.team-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #157665;
}

/* Tombol navigasi */
.carousel-container button {
  background: #157665;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 5;
}

.carousel-container button:hover {
  background: #0d4f3d;
}

.prev {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.next {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Container About */
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 8% 60px;
  position: relative;
  z-index: 2;
}

/* Foto */
.about-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  display: block;
  margin-top: -10px;
}

/* Feature box layout */
.feature-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 89, 64, 0.5);
  padding: 15px 20px;
  border-radius: 9px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #00d28f;
  flex-shrink: 0;
}

.feature-text h5 {
  margin: 0;
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.feature-text p {
  margin: 3px 0 0;
  color: #ddd;
  font-size: 0.95rem;
}

/* Animasi */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  animation: slideInLeft 1s ease forwards;
  animation-delay: 0.3s;
}

/* Animasi dari bawah */
.slide-up {
  opacity: 0;
  transform: translateY(60px);
  animation: slideUp 0.5s ease forwards;
}

.slide-up.delay1 { animation-delay: 0.4s; }
.slide-up.delay2 { animation-delay: 0.7s; }
.slide-up.delay3 { animation-delay: 1s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.team-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #157665;
  margin-bottom: 6px;
}

.team-card p {
  font-size: 0.9rem;
  color: #444;
}

.team-ig {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.4rem;
  color: #157665;
  transition: 0.3s ease;
}

.team-ig:hover {
  color: #0d4f3d;
  transform: scale(1.15);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #005940, #00a97f);
  color: #fff;
  padding: 70px 8%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 350px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-links h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid #157665;
  padding-bottom: 5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s;
  font-size: 1rem;
}

.footer-links ul li a:hover {
  color: #fff;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00d28f;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ddd;
}

/* New Left-Aligned Hero Section */
.hero-left-align {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("img/about-teras.jpg") no-repeat center center/cover;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 8%;
  padding-top: 100px; 
  z-index: 1;
  overflow: hidden;
}

/* Visual Effect */
.hero-left-align::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 89, 64, 0.75) 0%,
    rgba(0, 89, 64, 0.4) 50%,
    rgba(0, 89, 64, 0.0) 100%
  );
  z-index: 2;
}


/* Content Box aligned to the left */
.hero-content-box-left {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  padding: 60px 40px;
  border-radius: 12px;
  max-width: 550px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);

  /* default sebelum muncul */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.hero-content-box-left.animate {
  opacity: 1;
  transform: translateY(0);
}


.hero-content-box-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 15px;
}

.hero-content-box-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

/* Content Box aligned to the left */
.hero-text-only {
  position: relative;
  z-index: 3;
  max-width: 550px;
  color: #fff;
  /* Tambahkan atau pastikan tidak ada padding/margin atas yang berlebihan */
  padding-top: 0; 
  margin-top: 0;
}

.hero-text-only h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* garis aksen pendek */
.hero-text-only h1 .line {
  display: inline-block;
  width: 6px;
  height: 32px;
  background: #00d28f;
  border-radius: 2px;
}

.hero-text-only p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #eee;
  margin-bottom: 18px;
}

/* Keyframes animasi */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animasi untuk judul hero */
.hero-text-only h1 {
  opacity: 0;
  animation: fadeInLeft 1s ease forwards;
}

/* Animasi untuk paragraf hero */
.hero-text-only p {
  opacity: 0;
  animation: fadeInRight 1s ease forwards;
}

/* Biar muncul berurutan */
.hero-text-only p:nth-of-type(1) {
  animation-delay: 0.5s;
}
.hero-text-only p:nth-of-type(2) {
  animation-delay: 0.9s;
}
.hero-text-only p:nth-of-type(3) {
  animation-delay: 1.3s;
}

/* Animasi hero kedua muncul pas discroll */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-box-left {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFade 1s ease forwards;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
}

/* Container Hero */
.hero-section-new {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("img/terashalal.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 8% 5%;
  box-sizing: border-box;
}


/* Overlay gradient transparan hijau */
.hero-section-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 89, 64, 0.7) 0%,
    rgba(0, 89, 64, 0) 60%
  );
  z-index: 2;
}

/* Konten teks */
.hero-content-new {
  position: relative;
  z-index: 3;
  max-width: 650px;
  color: #fff;
  margin-top: 0;
}

/* Breadcrumbs */
.hero-breadcrumbs {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ddd;
}

.hero-breadcrumbs span {
  opacity: 0.8;
}

/* Judul Utama */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  animation: slide-in-right 1s ease forwards;
  animation-delay: 0.4s;
}

/* Tombol */
.hero-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #157665;
  color: #fff;
  animation: slide-in-right 1s ease forwards;
  animation-delay: 0.8s;
}

.hero-button:hover {
  background-color: #0d4f3d;
}

/* animasi */
@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* CSS untuk hero section di halaman program */
.hero-program {
  background: url("img/ofor.JPG") no-repeat center center/cover;
}

/* Hero kedua */
.hero-second {
  background: url("img/pelatihan.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 8% 8% 0;
}

.hero-second .hero-content-new {
  text-align: right;
}

.hero-second::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(0, 89, 64, 0.75) 0%,
    rgba(0, 89, 64, 0.2) 60%,
    rgba(0, 89, 64, 0) 90%
  );
  z-index: 2;
}

/* Awalnya sembunyi */
.slide-in-right-on-scroll {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.9s ease;
}

/* Aktif saat masuk viewport */
.slide-in-right-on-scroll.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Back to Top Button */
#backToTop {
  display: none; /* default disembunyikan */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #157665;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

#backToTop:hover {
  background-color: #0d4f3d;
  transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
  background: #f8fdfb;
  padding: 100px 8%;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #333;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #157665;
  outline: none;
}

.contact-form button {
  align-self: flex-start;
  background: #157665;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0d4f3d;
}

/* Contact Info */
.contact-info {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 40px;
  font-size: 1rem;
  color: #444;
  margin-top: 25px;
}

.contact-info p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  color: #157665;
  font-size: 1.2rem;
}

/* Tablet & Mobile (Max Width 768px) */
@media (max-width: 768px) {
    /* General Padding Adjustment */
    .nav-container,
    .hero,
    .about-container,
    .contact-section,
    .team-section,
    footer {
        padding-left: 5%;
        padding-right: 5%;
    }
    .team-section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Navbar */
    .logo img {
        height: 40px; /* smaller logo */
    }
    .nav-links {
        gap: 10px;
        padding-right: 0;
    }

    /* HERO INDEX (Halaman Utama) - Mengecilkan ukuran tapi mempertahankan komposisi */
    .hero {
        padding-left: 2%; /* Kurangi padding kiri */
        align-items: center; /* Posisikan vertikal di tengah agar ada ruang */
    }
    .green-effect {
        top: 25%;
        left: 0%;
        width: 350px; 
        height: 280px;
    }
    .text-box {
        margin-top: 0; /* Hapus margin atas yang besar */
        padding: 30px 20px; /* Kurangi padding */
        max-width: 90%; /* Ambil lebar layar lebih besar */
        /* Pindahkan sedikit ke kanan agar komposisi tetap terjaga */
        transform: translateX(5%);
        /* Matikan animasi bawaan untuk performa */
        animation: none;
        opacity: 1;
    }
    .text-box h1 {
        font-size: 28px;
    }
    .text-box p {
        font-size: 15px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 16px;
        margin-right: 10px;
    }
    /* Matikan semua animasi teks untuk performa */
    .text-anim, .text-anim.delay1, .text-anim.delay2, .text-anim.delay3, .text-anim.delay4 {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* About Section */
    .about-container {
        flex-direction: column; /* Stack columns: text and image */
        text-align: center;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .about-image {
        order: 2; /* move image below text */
    }
    .about-image img {
        width: 90%;
        max-width: 400px;
        margin-top: 40px;
    }
    .about-content {
        order: 1; /* move text above image */
        width: 100%;
    }
    .feature-box {
        background: rgba(0, 89, 64, 0.7); 
    }
    .feature-box {
        text-align: left; 
    }

    /* Hero Left Align (About Page Top) */
    .hero-left-align {
        padding-left: 5%;
        align-items: center;
        text-align: center;
    }
    .hero-text-only {
        max-width: 90%;
    }
    .hero-text-only h1 {
        font-size: 2rem;
        justify-content: center;
    }
    .hero-text-only h1 .line {
        display: none; 
    }
    .hero-text-only p {
        font-size: 1rem;
    }
    /* Disable hero text animations for better performance */
    .hero-text-only h1, .hero-text-only p {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Hero New (Program/Kontak) */
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-section-new {
      align-items: center; 
      padding: 0 5%;
      height: 70vh; 
    }
    .hero-content-new {
      text-align: center;
    }
    .hero-button {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
    /* Hero Second (Program) - Adjust alignment */
    .hero-second {
      justify-content: center;
      padding: 0 5%;
    }
    .hero-second .hero-content-new {
      text-align: center;
    }
    .hero-second::before {
      background: rgba(0, 89, 64, 0.6); 
    }
    .slide-in-right-on-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Team Carousel */
    .carousel-container {
        padding: 0 20px; 
    }
    .prev, .next {
        display: none; 
    }
    .carousel-track {
        overflow-x: scroll; 
    }
    .team-card {
        flex: 0 0 240px; 
    }

    /* Contact Section */
    .contact-section {
      padding: 80px 5%;
    }
    .contact-form {
        padding: 20px;
    }
    .contact-form button {
      align-self: stretch; 
    }
    .contact-info {
      text-align: center;
    }
    .contact-info p {
      justify-content: center;
    }

    /* Footer */
    footer {
        padding: 50px 5%;
    }
    .footer-container {
        flex-direction: column; 
        gap: 30px;
        text-align: center;
    }
    .footer-logo p {
        max-width: none;
        margin: 0 auto 20px;
    }
    .footer-links {
        justify-content: space-around; 
        gap: 30px;
    }
    .footer-links h4 {
      border-bottom: none;
      padding-bottom: 0;
    }
    .footer-links > div {
        flex: 1; 
    }
    .footer-links ul {
        text-align: center;
    }
}

/* Smaller Mobile Devices (Max Width 480px) */
@media (max-width: 480px) {
    /* Navbar */
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .nav-links li a {
        padding: 8px 0;
    }
    .nav-links {
      padding-right: 0;
      padding-left: 0;
    }

    /* HERO INDEX - Lebih kecil lagi */
    .green-effect {
        width: 80%; 
        height: 250px;
        transform: rotate(-3deg);
    }
    .text-box {
        max-width: 95%;
        padding: 25px 15px;
        transform: translateX(0); 
    }
    .text-box h1 {
        font-size: 24px;
    }
    .text-box p {
        font-size: 14px;
    }
    .btn {
        display: block; 
        margin: 10px 0;
    }

    /* About Hero New */
    .hero-text-only h1 {
        font-size: 1.6rem;
    }

    /* Program/Kontak Hero */
    .hero-title {
        font-size: 1.8rem;
    }

    /* Team Carousel */
    .team-card {
        flex: 0 0 90%; 
    }

    /* Footer */
    .footer-links {
        flex-direction: column; 
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    .footer-links ul {
      text-align: center;
    }
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive untuk HP */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 89, 64, 0.95);
    flex-direction: column;
    width: 200px;
    text-align: center;
    padding: 20px 0;
    gap: 15px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Hero Kedua (About) khusus HP */
@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    height: auto; 
    padding: 0;
    background: none;
  }

  .about-hero::before {
    display: none; 
  }

  .about-image {
    width: 100%;
    margin: 0;
  }

  .about-image img {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  .about-content {
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(135deg, #005940, #00a97f); 
  }

  .feature-box {
    background: rgba(255,255,255,0.1); 
    text-align: left;
  }

  .feature-text h5 {
    color: #fff;
  }

  .feature-text p {
    color: #eee;
  }
}

@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    height: auto;
    padding: 0;
    background: none;
  }

  .about-hero::before {
    display: none;
  }

  /* Foto jelas */
  .about-image {
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
  }

  .about-image img {
    width: 100%;
    border-radius: 0 0 20px 20px; 
    display: block;
    margin-bottom: -30px;
  }

  /* List konten */
  .about-content {
    width: 100%;
    padding: 30px 20px 40px;
    background: linear-gradient(135deg, #005940, #00a97f);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    position: relative;
    z-index: 1;
  }

  .feature-box {
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 15px;
    border-radius: 10px;
  }

  .feature-text h5 {
    color: #fff;
  }

  .feature-text p {
    color: #eee;
  }
}

/* --- MOBILE: Foto disembunyikan, list hijau tua + rounded --- */
@media (max-width: 768px) {

  /* Hilangkan foto kiri keseluruhan */
  .about-image {
    display: none !important;
  }

  .about-container {
    flex-direction: column;
    padding: 0;
    margin-top: -40px; 
  }

  /* List Section dengan hijau tua dan rounded */
  .about-content {
    width: 100%;
    background: linear-gradient(135deg, #005940, #007a59);
    padding: 40px 20px 60px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    position: relative;
    z-index: 3;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.15);
  }

  /* Card tetap gaya hijau tua */
  .feature-box {
    background: rgba(255, 255, 255, 0.12);
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
  }

  .feature-icon {
    background: rgba(255,255,255,0.2);
    color: #00d28f;
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .feature-text h5 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0;
  }

  .feature-text p {
    color: #eee;
    font-size: .9rem;
    margin-top: 4px;
  }
}

/* Statistik Section (Hijau Teras Halal) */
.stats-section {
  background: #edfcf7;
  padding: 90px 8%;
  text-align: center;
  color: #157665;
}

.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item i {
  font-size: 3.5rem;
  color: #157665;
  margin-bottom: 12px;
  animation: floatIcon 2.5s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-item h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #157665;
  margin: 10px 0;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.stat-item p {
  font-size: 1.1rem;
  color: #157665;
  opacity: 0.85;
  margin-top: 4px;
}

/* Efek masuk saat discroll */
.stats-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.stats-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsif */
@media (max-width: 768px) {
  .stats-section {
    padding: 70px 5%;
  }
  .stats-container {
    gap: 50px;
  }
  .stat-item h2 {
    font-size: 2.4rem;
  }
  .stat-item i {
    font-size: 3rem;
  }
}

.stats-section {
  opacity: 1 !important;
  transform: none !important;
}


/* ABOUT TERAS HALAL SECTION */
.about-teras-section {
  background: #ffffff; 
  padding: 100px 8%;
  position: relative;
}

.about-teras-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-teras-text {
  flex: 1;
  min-width: 320px;
}

.about-teras-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 20px;
}

.about-teras-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-teras-image {
  flex: 1;
  text-align: right;
}

.about-teras-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .about-teras-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  /* Foto full width dari ujung ke ujung */
  .about-teras-image {
    width: 100%;
    margin: 0;
  }

  .about-teras-image img {
    width: 100%;
    height: 180px;        
    object-fit: cover;   
    border-radius: 0;     
    box-shadow: none;     
  }
}

/* Full width for mobile & tablet */
@media (max-width: 900px) {

  /* Hilangkan padding supaya foto bisa full width */
  .about-teras-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .about-teras-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Foto benar-benar ujung ke ujung */
  .about-teras-image {
    width: 100% !important;
  }

  .about-teras-image img {
    width: 100% !important;     
    height: 180px;              
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;            
  }
}

@media (max-width: 900px) {

  .about-teras-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .about-teras-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Foto tetap full width */
  .about-teras-image img {
    margin-top: 0 !important;
  }
}

/* ====== GLOBAL TEXT RESIZE UNTUK MOBILE ====== */
@media (max-width: 768px) {

  body {
    font-size: 14px; 
  }

  h1, .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  p, li, a, button {
    font-size: 0.95rem !important;
  }

  /* tombol */
  .btn, .hero-button, .filter-btn {
    font-size: 0.9rem !important;
    padding: 10px 18px !important;
  }

  /* penyesuaian text-box di hero */
  .text-box h1 {
    font-size: 1.4rem !important;
  }

  .text-box p {
    font-size: 0.9rem !important;
  }

  /* About Teras text */
  .about-teras-text p {
    font-size: 0.95rem !important;
  }

  /* Judul di About Teras */
  .about-teras-text h2 {
    font-size: 1.5rem !important;
  }
}

/* Hero IMG Full */
.hero-img-full {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-img-full .hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-full .hero-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 89, 64, 0.45); 
}

.hero-img-full .hero-img-content {
  position: absolute;
  bottom: 12%;
  left: 8%;
  z-index: 3;
  max-width: 600px;
  color: #fff;
}

.hero-img-full h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-img-full p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-img-full .hero-img-content {
    left: 5%;
    bottom: 10%;
    max-width: 90%;
  }

  .hero-img-full h1 {
    font-size: 1.9rem;
  }

  .hero-img-full p {
    font-size: 0.95rem;
  }
}

/* Apa Itu Program OFOR (Non-Card Version) */
.about-ofor-section {
  padding: 90px 8%;
  background: #ffffff;
}

.about-ofor-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 18px;
}

.about-ofor-desc {
  text-align: center;
  font-size: 1rem;
  max-width: 750px;
  margin: 0 auto 40px;
  color: #444;
  line-height: 1.7;
}

/* List */
.about-ofor-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-ofor-list-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.98rem;
  color: #444;
  line-height: 1.6;
}

.about-ofor-list-item .dot {
  width: 10px;
  height: 10px;
  background: #157665;
  border-radius: 50%;
  margin-right: 12px;
  margin-top: 6px;
}

/* Mobile */
@media (max-width: 600px) {
  .about-ofor-desc {
    font-size: 0.95rem;
  }

  .about-ofor-list-item {
    font-size: 0.93rem;
  }
}


/* Section Alasan OFOR */
.ofor-reason-section {
  background: #f3fdf8;
  padding: 100px 8%;
}

.ofor-reason-title {
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  text-align: center;
  margin-bottom: 12px;
}

.ofor-reason-sub {
  text-align: center;
  color: #333;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.ofor-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ofor-reason-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.ofor-reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.13);
}

.ofor-reason-card i {
  font-size: 42px;
  color: #157665;
  margin-bottom: 18px;
}

.ofor-reason-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #157665;
  margin-bottom: 10px;
}

.ofor-reason-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsif untuk HP & Tablet */
@media (max-width: 992px) {
  .ofor-reason-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .ofor-reason-grid {
    grid-template-columns: 1fr;
  }

  .ofor-reason-card {
    padding: 24px 20px;
  }

  .ofor-reason-title {
    font-size: 1.6rem;
  }
}

/* ===============================
   BAGIAN STEP OFOR – TIMELINE
   =============================== */

.ofor-steps-section {
  padding: 90px 8%;
  background: #ffffff;
}

.ofor-steps-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 12px;
}

.ofor-steps-sub {
  text-align: center;
  font-size: 1rem;
  color: #444;
  margin-bottom: 50px;
}

/* ===============================
      TIMELINE HORIZONTAL
   =============================== */
.steps-line-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 60px;
  gap: 30px;
}

/* Garis horizontal penghubung */
.steps-line-wrapper::before {
  content: "";
  position: absolute;
  top: 33px;         /* posisi garis di tengah circle */
  left: 0;
  width: 100%;
  height: 3px;
  background: #157665;
  z-index: 1;
}

/* Setiap step */
.step-item {
  text-align: center;
  width: 150px;
  position: relative;
  z-index: 2;        /* supaya lingkaran menyentuh garis */
}

/* Lingkaran angka */
.step-circle {
  width: 55px;
  height: 55px;
  line-height: 55px;
  border-radius: 50%;
  background: #157665;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 10px;
  position: relative;
  z-index: 3;
}

/* Judul step */
.step-title {
  font-weight: 600;
  color: #157665;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

/* Deskripsi step */
.step-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
  margin: 0;
}

/* ==============================================
   MOBILE VERTICAL FIX — LINGKARAN PAS DI GARIS
   ============================================== */
@media (max-width: 768px) {

  .steps-line-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
    position: relative;
    padding-left: 45px;
  }

  .steps-line-wrapper::before {
    content: "";
    position: absolute;
    left: 25px;         
    top: 0;
    width: 3px;
    height: 100%;
    background: #157665;
    z-index: 1;
  }

  .step-item {
    position: relative;
    width: 100%;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #157665;
    color: #fff;
    font-size: 18px;
    font-weight: 700;

    position: absolute;
    left: 0;            
    top: 0;

    z-index: 3;
    text-align: center;
  }

  .step-title {
    margin-left: 70px;
    color: #157665;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 1rem;
  }

  .step-desc {
    display: none !important;
  }
}

/* Testimoni OFOR */
.ofor-testimoni-section {
  padding: 90px 8%;
  background: #f7fcfa;
}

.ofor-testimoni-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 12px;
}

.ofor-testimoni-sub {
  text-align: center;
  font-size: 1rem;
  color: #444;
  max-width: 650px;
  margin: 0 auto 50px;
}

.ofor-testimoni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ofor-testimoni-card {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0,0,0,0.08);
  transition: .3s ease;
}

.ofor-testimoni-card:hover {
  transform: translateY(-6px);
}

.testi-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}

.testi-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.testi-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #157665;
}

/* Slider Testimoni */
.ofor-testimoni-slider {
  display: flex;  
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none; /* Mozilla */
}

.ofor-testimoni-slider::-webkit-scrollbar {
  display: none; /* Chrome */
}

.ofor-testimoni-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  padding: 20px;
}

@media (min-width: 768px) {
  .ofor-testimoni-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    overflow: visible;
  }

  .ofor-testimoni-card {
    flex: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .ofor-testimoni-grid {
    grid-template-columns: 1fr;
  }
}

.menu-toggle {
  z-index: 9999;
  position: relative;
}

/* Reset bullets */
.dropdown-menu,
.dropdown-menu li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Container dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
}

/* Tombol dropdown */
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown menu */
.dropdown-menu {  
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: rgba(0, 89, 64, 0.95);
  width: 230px;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-menu li a {
  padding: 10px 18px;
  display: block;
  color: white;
  font-size: 15px;
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.12);
}

/* Dropdown aktif */
.dropdown.open .dropdown-menu {
  display: block;
}

/* Mobile: position static, full width */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}

/* --- 2. Event Section Styling --- */
.event-section {
    padding: 80px 0;
    text-align: center;
    background-color: #d6faf1; 
}

.event-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.section-title {
    font-size: 2.2rem;
    color: #005940;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Carousel Layout */
.event-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px; 
}

.event-carousel-track {
    display: flex;
    gap: 30px;
    /* Ubah properti scroll menjadi properti geser (transform) */
    transition: transform 0.5s ease-in-out; /* TAMBAH: Untuk animasi geser yang mulus */
    /* Hapus semua properti terkait scrollbar dan overflow-x,
       karena kita akan menangani pergerakan dengan JS */
}

/* Tambahkan ini di bagian lain .event-carousel-wrapper */
.event-carousel-wrapper {
    position: relative;
    overflow: hidden; /* PENTING: Untuk menyembunyikan kartu yang tidak terlihat */
    padding: 0 50px; 
}

.event-carousel-track::-webkit-scrollbar {
    display: none; 
}

/* Event Card Styling */
.event-card {
    flex: 0 0 auto;
    width: 300px; 
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-poster img {
    width: 100%;
    height: 200px; /* Tinggi gambar poster */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.event-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

/* Styling Event Title */
.event-title {
    font-size: 1.4rem;
    color: #005940;
    margin-bottom: 5px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Styling Event Description (Tinggi Teks) */
.event-desc {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 15px;
    min-height: 45px; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Detail Waktu */
.event-time-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #333;
    padding-top: 10px;
    border-top: 1px solid #eee; 
    min-height: 70px; /* TAMBAH: Tinggi minimum yang memaksa garis rata */
}

.event-time-detail .detail-item i {
    color: #157665;
    margin-right: 5px;
}

/* Tombol Daftar */
.event-button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #157665;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.event-button:hover {
    background-color: #005940;
}

/* Navigasi Tombol */
.event-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(21, 118, 101, 0.85);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.event-nav-btn:hover {
    background-color: #005940;
}

.prev-event {
    left: 10px;
}

.next-event {
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-card {
        width: 85vw; /* Lebih lebar di HP */
    }
    .event-carousel-wrapper {
        padding: 0 20px;
    }
    .prev-event {
        left: 5px;
    }
    .next-event {
        right: 5px;
    }
}

/* UMKM GO VIRAL SECTION */
.umkm-viral-section {
  padding: 70px 5%;
  background: #f4fffa;
}

.uv-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 450px;
  align-items: center;
  gap: 40px;
}

.uv-title {
  font-size: 32px;
  margin: 0 0 10px;
  color: #157665;
  font-weight: 700;
}

.uv-subtitle {
  color: #3c4c46;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 520px;
}

.uv-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.uv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1c4238;
}

.uv-item i {
  color: #157665;
  font-size: 18px;
}

.uv-btn {
  display: inline-block;
  background: #157665;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.uv-btn:hover {
  background: #0e5a4c;
}

/* IMAGE */
.uv-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .uv-container {
    grid-template-columns: 1fr;
  }
  
  .uv-image img {
    max-height: 340px;
  }
}
/* FULLSCREEN SECTION */
.umkm-viral-full {
  position: relative;
  width: 100%;
  height: 100vh; /* FULL SATU LAYAR */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* FOTO */
.umkm-viral-full .uvf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.uvf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 70, 52, 0.65),
    rgba(0, 70, 52, 0.85)
  );
  z-index: 1;
}

/* TEKS */
.uvf-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 6%;
}

.uvf-content h2 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 16px;
}

.uvf-content p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 28px;
  opacity: 0.95;
}

/* BUTTON */
.uvf-btn {
  display: inline-block;
  background: #ffffff;
  color: #005c46;
  padding: 15px 32px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.25s;
}

.uvf-btn:hover {
  background: #e3fff4;
}

/* Responsive */
@media (max-width: 768px) {
  .uvf-content h2 {
    font-size: 32px;
  }
  .uvf-content p {
    font-size: 15px;
  }
}

/* SECTION CREATIVE FLOW — NO CARD */
.uv-why-flow {
  padding: 90px 5%;
  background: #ffffff;
}

.uv-why-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.uv-why-flow h2 {
  font-size: 32px;
  font-weight: 800;
  color: #157665;
  margin-bottom: 12px;
}

.uv-desc {
  color: #45534e;
  max-width: 760px;
  margin: 0 auto 50px;
  font-size: 17px;
  line-height: 1.6;
}

/* FLOW WRAPPER */
.uv-flow-wrapper {
  display: flex;
  flex-direction: column;
  gap: 46px;
  position: relative;
  padding-left: 20px;
}

.uv-flow-wrapper::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #cceee4;
  border-radius: 3px;
}

/* ITEM */
.uv-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}

/* ICON BULAT */
.uv-icon {
  min-width: 70px;
  min-height: 70px;
  border-radius: 50%;
  background: #e8fff6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #157665;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  z-index: 2;
}

/* TEKS */
.uv-text-block h4 {
  font-size: 20px;
  margin: 0 0 6px;
  color: #0d3d31;
  font-weight: 700;
}

.uv-text-block p {
  margin: 0;
  color: #55655f;
  line-height: 1.55;
  max-width: 600px;
}

/* Mobile */
@media (max-width: 600px) {
  .uv-flow-item {
    align-items: center;
    flex-direction: row;
  }

  .uv-icon {
    min-width: 55px;
    min-height: 55px;
    font-size: 20px;
  }
}

/* === DOCUMENTATION PRO SECTION === */
.uv-doc-pro {
  background: #f6fdfb;
  padding: 90px 8%;
  text-align: center;
}

.uv-pro-title {
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 10px;
}

.uv-pro-sub {
  color: #444;
  max-width: 650px;
  margin: 0 auto 45px;
  font-size: 1rem;
}

.uv-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

.uv-pro-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.uv-pro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.uv-pro-img {
  width: 100%;
  aspect-ratio: 1 / 1.414; /* rasio poster A-series */
  object-fit: cover;
  object-position: center;
  display: block;
}

.uv-pro-content {
  padding: 22px 25px 35px;
  text-align: left;
}

.uv-pro-batch {
  font-size: 1.4rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 8px;
}

.uv-pro-desc {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.uv-pro-btn {
  display: inline-block;
  background: #157665;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s;
}

.uv-pro-btn:hover {
  background: #0d4f3d;
}

/* CARD COMPACT DESKTOP */
@media (min-width: 992px) {

  /* KECILKAN CARD-NYA */
  .uv-pro-card {
    max-width: 350px;      /* ukuran card */
    margin: 0 auto;
    border-radius: 12px;
  }

  /* KECILKAN POSTER */
  .uv-pro-img {
    aspect-ratio: 1 / 1.414; 
    max-height: 220px;     /* poster lebih kecil lagi */
    width: auto;
    margin: 0 auto;
    object-fit: cover;
  }

  /* KECILKAN PADDING DALAM CARD */
  .uv-pro-content {
    padding: 16px 18px 22px;
  }

  /* KECILKAN JUDUL ACARA */
  .uv-pro-batch,
  .uv-pro-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  /* KECILKAN DESKRIPSI */
  .uv-pro-desc {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  /* KECILKAN BUTTON */
  .uv-pro-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  /* KECILKAN GRID SUPAYA CARD LEBIH DEKAT */
  .uv-pro-grid {
    gap: 20px;
  }
}


/* MOBILE */
@media (max-width: 768px) {
  .uv-pro-img {
    aspect-ratio: 1 / 1.2; /* sedikit lebih pendek di mobile */
  }
}

@media (max-width: 768px) {
  .uv-pro-grid {
    grid-template-columns: 1fr;
  }

  .uv-pro-img {
    height: 200px;
  }

  .uv-pro-content {
    text-align: center;
  }
}


/* HAPUS scroll samping dan pastikan semua elemen tidak melebar */
html, body {
  overflow-x: hidden;
}

/* Hero harus full width di mobile */
@media (max-width: 768px) {
  .hero {
    width: 100% !important;
  }

  .nav-container {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

/* ==== PARTNER CAROUSEL KHUSUS MOBILE ==== */
@media (max-width: 768px) {

  .partner-grid {
    display: flex !important;
    gap: 30px;
    overflow: hidden;
    animation: partnerScroll 25s linear infinite;
    width: max-content;
    padding-left: 5%;
  }

  .partner-grid img {
    height: 45px;
    flex-shrink: 0;
  }

  /* Animasi jalan terus */
  @keyframes partnerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
  }
}

/* ==== Perkecil Card Team di Mobile ==== */
@media (max-width: 768px) {
  .team-card {
    width: 140px !important;     
    padding: 12px !important;
  }

  .team-card img {
    height: 120px !important;    
    width: 120px !important;
  }

  .team-card h4 {
    font-size: 14px !important;  
  }

  .team-card p {
    font-size: 12px !important;
  }

  .carousel-track {
    gap: 15px !important;        
  }
}

/* ====== GALLERY SECTION ====== */
.gallery-section {
  padding: 90px 8%;
  background: #f8fdfb;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #157665;
  margin-bottom: 8px;
}

.gallery-sub {
  font-size: 1rem;
  color: #444;
  margin-bottom: 40px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }
}

/*=== hero teras talk ====*/ 

.hero-terastalk {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 0;
  position: relative;
  color: white;
}

.hero-terastalk::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 89, 64, 0.55);
}

.hero-terastalk-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  text-align: center;
}

.hero-terastalk-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.teras-talk-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 85%;
}

.hero-terastalk-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;
  background: white;
  color: #0F828C;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: .25 ease;
  box-shadow: 0 4px 12px rgba(225,225,225,0.25);
}

.hero-terastalk-btn:hover {
  background: #e9e9e9;
  transform: translateY(-2px);
}

/*mobile*/
@media (max-width:768px) {
  .hero-terastalk {
    justify-content: center;
    padding-left: 0;
    text-align: center;
  }

  .hero-terastalk-content h1 {
    font-size: 2.1rem;
  }

  .hero-terastalk-content p {
    font-size: 1rem;
    max-width: 100%;
  }
}

.tt-about-section {
  padding: 80px 7%;
  text-align: center;
}

.tt-about-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0F828C;
  margin-bottom: 10px;
}

.tt-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.7;
}

.tt-cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.tt-card {
  background: #fff;
  padding: 30px 22px;
  width: 280px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: .25s ease;
  text-align: center;
}

.tt-card:hover {
  transform: translateY(-6px);
}

.tt-icon-wrapper {
  background: #E6F5F6; /* soft brand color */
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.tt-icon-wrapper img {
  width: 38px;
  height: 38px;
}

.tt-card h3 {
  color: #0F828C;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.tt-card p {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.5;
}

