
* {
  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.webp') center/cover no-repeat;
  position: relative;
}

/* Untuk mobile (max 768px, boleh adjust ikut target) */
@media screen and (max-width: 768px) {
  .hero {
    height: 75vh;
    /* lebih rendah */
  }
}

/* Untuk screen kecil sangat (contoh max 480px) */
@media screen and (max-width: 480px) {
  .hero {
    height: 85vh;
    /* lagi rendah */
  }
}


/* === DEFAULT (Desktop) === */
.overlay {
  background: linear-gradient(to right,
      rgba(228, 32, 130, 0.65),
      rgba(221, 106, 163, 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(255, 0, 127, 0.25), transparent 70%);
  z-index: 0;
}

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

/* === MEDIA QUERY: Mobile Optimized Overlay (≤768px) === */
@media (max-width: 768px) {
  .overlay {
    background: linear-gradient(to right,
        rgba(200, 40, 120, 0.65),
        rgba(240, 100, 170, 0.60),
        rgba(255, 255, 255, 0.1));
  }

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

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

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

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


/*
.btn-custom {
  background: #ff007f;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background: #e60073;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}
*/


.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: #1e293b;
  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: #0f172a;
}

.btn {
  background: #1e293b;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #0f172a;
}
section {
  padding: 4rem 1rem;
}
.container {
  max-width: 1000px;
  margin: auto;
}
.intro p {
  max-width: 700px;
  margin: auto;
  font-size: 1rem;
}

/*
.features .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.features .card {
  flex: 1 1 calc(25% - 1.5rem);
  min-width: 250px;
  max-width: 300px;
}

.features .card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.features .card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
*/

.cta {
  height: 40vh;
  background:
    linear-gradient(to right,
      rgba(236, 112, 174, 0.65),
      rgba(221, 106, 163, 0.75),
      rgba(255, 255, 255, 0.25)),
    url('img/banner_cta.png') 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: #af9ca9;
  background-color: #f9fafb;
  line-height: 1.4;
}

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

footer a {
  color: #d387a3;
}

footer a:hover {
  color: #c2185b;
}

a {
  color: #e84e87;
  /* soft modern rose */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #c2185b;
  /* deeper rose on hover */
  text-decoration: underline;
}

.faq-item p, #features p{
  color: #5f5f5f;
  /* atau #6c6c6c / #69707a untuk light grey tone */
  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;
  /* light border */
}


/* === NAVBAR === */
.navbar {
  position: sticky !important;
  top: 0;
  width: 100%;
  z-index: 9999; /* ensure above hero, overlay, modals, etc */
  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: #ff007f;
  text-decoration: none;
}

/* MENU */
.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: #ff007f;
}

/* TOGGLE */
.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: #e60073;
  font-weight: 600;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #e60073;
  border-radius: 2px;
}

#cta {
  min-height: 70vh;
}





.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(233, 30, 99, 0.6) 0%,
      rgba(233, 30, 99, 0.2) 70%,
      rgba(255, 255, 255, 0.05) 100%
    );
  z-index: 1;
}
*/

.card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(139, 7, 51, 0.6) 0%, /* Rose Pink at bottom */
      rgba(219, 161, 180, 0.2) 70%, /* Slight transparency in middle */
      rgba(255, 255, 255, 0.05) 100% /* Almost clear at top */
    );
  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;
}



#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #f28cb1, #f7b6d2);
  /* soft rose gradient */
  color: white;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(240, 100, 170, 0.3);
  /* softened pink glow */
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ec6a9c, #f9c5dc);
  /* lighter rose hover */
  transform: scale(1.05);
}


.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(233, 30, 99, 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 banner backgrounds */
.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');
}

.testimonial-block-pink {
  background-color: #fef2f7;
  border-left: 4px solid #ff4d94;
  padding: 1rem 1.25rem;
  border-radius: 8px;
}

.testimonial-block-green {
  background-color: #f6fff8;
  border-left: 4px solid #28a745;
  padding: 1rem 1.25rem;
  border-radius: 8px;

  font-size: 1.1rem;
  /* color: #28a745; */
  margin-right: 10px;
}


.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: #e91e63 !important;
  /* pink rose */
  background-color: transparent !important;
  font-weight: 600;
}

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