* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
small,
.card,
.btn,
.cta,
.overlay .content {
  font-family: 'Inter', sans-serif;
}

/* Scroll Indicator Arrow */
.scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.arrow-down {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  opacity: 0.8;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 0.8;
  }

  50% {
    transform: translateY(8px) rotate(-45deg);
    opacity: 1;
  }
}

.hero {
  height: 90vh;
  background: url('img/banner_header.png') center/cover no-repeat;
  position: relative;
}

@media screen and (max-width: 768px) {
  .hero {
    height: 75vh;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    height: 85vh;
  }
}

/* === DEFAULT Overlay Gradient (Hijau Modern Sleek) === */
.overlay {
  background: linear-gradient(to right,
      rgba(8, 63, 45, 0.65),
      rgba(64, 144, 104, 0.75),
      rgba(255, 255, 255, 0.25));
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(40, 200, 140, 0.25), transparent 70%);
  z-index: 0;
}

.overlay .content {
  position: relative;
  z-index: 1;
}

/* MOBILE Optimized Overlay */
@media (max-width: 768px) {
  .overlay {
    background: linear-gradient(to right,
        rgba(8, 63, 45, 0.65),
        rgba(64, 144, 104, 0.75),
        rgba(21, 115, 63, 0.1));
  }

  .overlay::before {
    background: radial-gradient(circle at 40% 50%,
        rgba(40, 200, 140, 0.35),
        transparent 100%);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.overlay .content {
  animation: fadeUp 1.2s ease-out both;
}

.overlay .content {
  color: white;
  padding: 2rem;
}

.overlay h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.content {
  text-align: center;
  padding: 60px 20px;
}

.tagline {
  font-size: 1.25rem;
  margin: 15px 0 5px;
}

.subtagline {
  font-size: 0.95rem;
  color: #ffffff;
}

.cta-button {
  margin-top: 20px;
}

.btn-custom {
  background: #000000;
  /* hitam */
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-custom:hover {
  background: #111111;
  /* sedikit lebih terang, tetap hitam */
}

.btn {
  background: #000000;
  /* hitam */
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #111111;
  /* hover hitam pekat */
}

section {
  padding: 4rem 1rem;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.intro p {
  max-width: 700px;
  margin: auto;
  font-size: 1rem;
}

/* CTA Footer Banner (Hijau Gradient) */
.cta {
  height: 50vh;
  background:
    linear-gradient(to right,
      rgba(31, 108, 47, 0.65),
      rgba(59, 170, 74, 0.75),
      rgba(255, 255, 255, 0.25)),
    url('img/banner_cta.webp') center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.cta .container {
  z-index: 1;
}

.cta h2,
.cta .btn-custom {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #7a8b7f;
  background-color: #f9fafb;
  line-height: 1.4;
}

.footer-sub {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #7a8b7f;
}

footer a {
  color: #3BAA4A;
}

footer a:hover {
  color: #1F6C2F;
}

a {
  color: #3BAA4A;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #88de99;
  text-decoration: underline;
}

.faq-item p,
#features p {
  color: #5f5f5f;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.faq-item {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

/* === NAVBAR === */
.navbar {
  position: sticky !important;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: rgba(64, 144, 104, 0.85);
  text-decoration: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: rgba(64, 144, 104, 0.85);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #334155;
  margin-bottom: 4px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }

  #menu-toggle:checked~.menu {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.scroll-section {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .scroll-section {
    scroll-margin-top: 60px !important;
  }
}

.menu a {
  position: relative;
  color: #333;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.menu a.active {
  color: rgba(64, 144, 104, 0.85);
  font-weight: 600;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: rgba(64, 144, 104, 0.85);
  border-radius: 2px;
}

#cta {
  min-height: 70vh;
}

/* CARD BACKGROUND (Hijau Overlay) */
.card-bg {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  color: #fff;
  position: relative;
  overflow: hidden;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.card-bg:hover {
  transform: translateY(-4px);
}

.card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 94, 44, 0.6),
      rgba(100, 180, 125, 0.2) 70%,
      rgba(255, 255, 255, 0.05));
  z-index: 1;
}

.card-bg h5,
.card-bg p,
.card-bg .read-more {
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-bg h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-bg p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.card-bg .read-more {
  font-size: 0.85rem;
  color: #fff;
  text-decoration: underline;
  margin-top: 5px;
  display: inline-block;
}

/* SCROLL TO TOP BUTTON (Hijau Sleek) */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #1f6c2f, #3baa4a);
  color: white;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(31, 108, 47, 0.3);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background: linear-gradient(135deg, #1c5c29, #46c15b);
  transform: scale(1.05);
}

/* WHY DETAIL HEADER */
.why-detail-header {
  background-size: cover;
  background-position: center;
  height: 600px;
  margin-top: 0;
  padding-top: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-detail-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 108, 47, 0.6), rgba(255, 255, 255, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.why-detail-header .header-content {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.why-detail-header h1 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.why-detail-header p {
  font-size: 1.15rem;
  margin: 0;
}

/* Specific Banners */
.why-detail-header.workforce-attendance {
  background-image: url('img/WorkForceAttendance-Banner_4.webp');
}

.why-detail-header.project-site {
  background-image: url('img/ProjectSite-Banner_3.webp');
}

.why-detail-header.event-attendance {
  background-image: url('img/EventAttendance-Banner_4.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 90%;
}

.why-detail-header.family-members {
  background-image: url('img/FamilyMembers-Banner_3.webp');
}

.why-detail-header.personal-travel {
  background-image: url('img/PersonalTravel-Banner_6.webp');
}

/* Testimonials */
.testimonial-block-pink {
  background-color: #f6fff8;
  border-left: 4px solid #3baa4a;
  padding: 1rem 1.25rem;
  border-radius: 8px;
}

.testimonial-block-green {
  background-color: #f6fff8;
  border-left: 4px solid #1f6c2f;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 1.1rem;
  margin-right: 10px;
}

/* Dropdown Menu */
.menu .dropdown {
  position: relative;
}

.menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 99;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-width: 220px;
}

.menu .dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.menu .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.menu .dropdown:hover .dropdown-menu {
  display: block;
}

.menu .dropdown-menu a.active {
  color: #3baa4a !important;
  background-color: transparent !important;
  font-weight: 600;
}

.menu .dropdown-menu a.active::after {
  content: none !important;
}