:root {
  --line-color: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f0f0;
}

#hero-fallback {
  background-image: url("assets/images/hero-cover.jpg");
}

@media (max-width: 768px) {
  #hero-fallback {
    background-image: url("assets/images/hero-cover-mobile.jpg");
  }
}

.font-heading {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.single-page {
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1;
  color: #488ee9;

  /* background-clip: text;  <- Hapus ini */
  /* color: transparent; <- Hapus ini */

  /* 2. Beri warna putih semi-transparan untuk badan kaca */
  /* color: rgba(255, 255, 255, 0.05); */

  /* 3. Pertahankan stroke untuk garis tepi */
  /* -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4); */

  /* 4. Gunakan text-shadow bertumpuk untuk efek 3D dan pantulan */
  text-shadow:
  /* Lapisan 1: Highlight (cembung / glass reflection) */ 0px 1px
      1px rgba(255, 255, 255, 0.8),
    /* Lapisan 3: Drop Shadow GRADASI (Blue → Green → Pink) 
    */ 0px 6px 12px
      rgba(0, 134, 255, 0.2),
    /* Blue */ 0px 10px 20px rgba(162, 197, 121, 0.2),
    /* Green */ 0px 16px 32px rgba(255, 123, 172, 0.2); /* Pink */

  pointer-events: none;
}

#page-content {
  position: relative;
  z-index: 2;
  background-color: transparent;
}

.background-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.background-video-wrapper .background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

#hero-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

#bwbe-recap {
  position: relative;
  background-color: transparent;
}

.lineBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}

.lineBackground:before,
.lineBackground:after {
  content: "";
  height: 100%;
  border-right: 1px solid var(--line-color);
  justify-self: end;
}

.lineBackground:before {
  grid-column: 1 / 2;
}

.lineBackground:after {
  grid-column: 2 / 3;
}

.plain-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

#bottom-nav {
  z-index: 100;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-button {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out,
    background-color 0.2s ease-out;
  will-change: transform;
}

.nav-button:hover,
.group:hover .nav-button {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sub-menu {
  position: absolute;
  bottom: 100%;
  left: 50%;
  padding-bottom: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transform: translateX(-50%) translateY(10px);
  transform-origin: bottom center;
  z-index: 999;
}

.group:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu ul {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 12rem;
}

.sub-menu-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  font-size: 0.875rem;
  white-space: nowrap;
  text-align: left;
  transition: background-color 0.2s ease;
}

.sub-menu-link:hover {
  background-color: #f3f4f6;
  color: #003334;
}

.nav-glass {
  background: rgba(248, 249, 250, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1f2937;
}

.nav-solid {
  background-color: #1f2937;
  color: white;
}

.nav-glass .nav-button:hover,
.nav-glass .group:hover .nav-button {
  background-color: rgba(255, 255, 255, 0.6);
}

.nav-solid .nav-button:hover,
.nav-solid .group:hover .nav-button {
  background-color: #4b5563;
}

#throwback-section {
  position: relative;
  overflow: visible;
}

/* Container utama tidak lagi menjadi "kartu" */
.huge-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* Teks di belakang badge */
}

.huge-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14vw;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1;

  /* 1. Hapus background-clip: text dan color: transparent */
  /* background-clip: text;  <- Hapus ini */
  /* color: transparent; <- Hapus ini */

  /* 2. Beri warna putih semi-transparan untuk badan kaca */
  color: rgba(255, 255, 255, 0.05);

  /* 3. Pertahankan stroke untuk garis tepi */
  /* -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4); */

  /* 4. Gunakan text-shadow bertumpuk untuk efek 3D dan pantulan */
  text-shadow:
  /* Lapisan 1: Highlight (cembung / glass reflection) */ 0px 1px
      1px rgba(255, 255, 255, 0.8),
    /* Lapisan 3: Drop Shadow GRADASI (Blue → Green → Pink) 
    */ 0px 6px 12px
      rgba(0, 134, 255, 0.2),
    /* Blue */ 0px 10px 20px rgba(162, 197, 121, 0.2),
    /* Green */ 0px 16px 32px rgba(255, 123, 172, 0.2); /* Pink */

  pointer-events: none;
}

.huge-text .word {
  display: block;
}
.huge-text .char {
  display: inline-block;
}
.huge-text .whitespace {
  display: inline-block;
  width: 0.25em;
}

.work-badge {
  position: relative;
  width: 40vw !important;
  height: auto !important;
  aspect-ratio: auto;
  z-index: 20;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    opacity 0.3s;
}

@media (min-width: 1024px) {
  .work-badge {
    position: absolute;
    mix-blend-mode: normal;
  }
  .work-badge:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 50;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }

  .badge-circle {
    aspect-ratio: 1 / 1;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50%; /* Pastikan jadi lingkaran */
  }
}

#creative-feed {
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.feed-container {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 2rem 0;
  overflow-x: scroll;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.feed-container::-webkit-scrollbar {
  display: none;
}

.feed-container.active {
  cursor: grabbing;
}

.feed-column {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feed-item {
  border-radius: 1.5rem;
  overflow: hidden;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-color);
  transition: all 0.5s ease;
}

.highlight-item.is-active {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: white;
  border-color: transparent;
  background-color: var(--active-color, #a2c579);
}

.highlight-item.is-active p,
.highlight-item.is-active span,
.highlight-item.is-active h3 {
  color: white !important;
}

.highlight-image-container {
  aspect-ratio: 1 / 1;
  width: 90%;
  max-width: 480px;
}

.highlight-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.highlight-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.7);
}

.glass-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.partners-glass-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-color);
  border-radius: 2rem;
}

.inner-glass-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  margin-bottom: 2rem;
}

.button-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#main-footer {
  background-color: #ffffff;
  color: #1f2937;
  /* border-top: 1px solid #e5e7eb; */
  position: relative;
  z-index: 999;
}

.footer-cta-primary {
  background-color: #a2c579;
  color: white;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-cta-primary:hover {
  background-color: #8dab69;
  transform: translateY(-2px);
}

.footer-cta-secondary {
  background-color: transparent;
  color: #1f2937;
  border: 1px solid #d1d5db;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-cta-secondary:hover {
  background-color: #f3f4f6;
  color: #003334;
  transform: translateY(-2px);
}

.social-icon {
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #6b7280;
  transform: scale(1.1);
}
.alert-registration {
  border-radius: 30px !important;
  overflow: hidden;
  padding: 0;
  width: 580px !important;
  height: auto !important;

  /* --- MULAI EFEK GLASS --- */
  background: rgba(255, 255, 255, 0.7) !important; /* Warna putih transparan */
  backdrop-filter: blur(10px); /* Efek blur pada background di belakangnya */
  -webkit-backdrop-filter: blur(10px); /* Support untuk Safari/iOS */
  border: 1px solid rgba(255, 255, 255, 0.5); /* Border tipis semi-transparan */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15); /* Bayangan lembut untuk kedalaman */
  /* --- SELESAI EFEK GLASS --- */
}

/* Pastikan gambar tetap terlihat bagus di atas kaca */
.alert-registration .swal2-image {
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin: 0;
  /* Opsional: Jika gambar Anda transparan (PNG), tambahkan ini agar menyatu */
  /* mix-blend-mode: multiply; */
}

.alert-registration .swal2-title {
  font-size: 28px;
  color: #488ee9;
  font-style: italic;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
  padding-left: 10%;
  padding-right: 10%;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5); /* Menambah keterbacaan teks */
}

.alert-registration .swal2-html-container {
  font-size: 14px;
  padding: 0 10%;
  color: #488ee9;
  margin: 1em auto 0;
  font-weight: 500; /* Sedikit ditebalkan agar kontras dengan kaca */
}

.alert-registration .swal2-confirm {
  font-size: 0.8rem;
  height: auto;
  background-color: transparent; /* Button sedikit transparan */
  border: 2px solid #488ee9;
  color: #488ee9;
  min-width: 160px;
  border-radius: 20px;
  margin: 1.5em auto 2em;
  backdrop-filter: blur(4px); /* Blur juga di dalam tombol */
}

.alert-registration .swal2-cancel {
  font-size: 0.8rem;
  height: auto;
  background-color: transparent;
  border: 2px solid #488ee9;
  color: #488ee9;
  min-width: 160px;
  border-radius: 20px;
  margin: 1.5em auto 2em;
  backdrop-filter: blur(4px);
}

.alert-registration div:where(.swal2-actions) {
  margin: 0;
}

.alert-registration .swal2-confirm:hover {
  background-color: #488ee9;
  color: white;
  box-shadow: 0 4px 15px rgba(7, 110, 198, 0.4); /* Glow saat hover */
}

.alert-registration .swal2-cancel:hover {
  background-color: #488ee9;
  color: white;
  box-shadow: 0 4px 15px rgba(7, 110, 198, 0.4);
}

.alert-registration div:where(.swal2-container) img:where(.swal2-image) {
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin: 0;
}

@media (max-width: 768px) {
  .alert-registration {
    width: 325px !important;
  }

  .alert-registration .swal2-image {
    height: 160px;
    object-fit: cover;
  }

  .alert-registration .swal2-title {
    font-size: 1.2rem;
  }

  .alert-registration .swal2-html-container {
    font-size: 1rem;
  }

  .alert-registration .swal2-confirm {
    margin: 1.5em auto;
  }
}

/* ------------------------------------------------ */
/* 1. TOM SELECT CUSTOMIZATION                      */
/* ------------------------------------------------ */
.ts-control {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border-color: #d1d5db;
  font-size: 1rem;
  background-color: transparent !important;
  background-image: none !important;
}

.ts-control > input {
  background-color: transparent !important;
}

.ts-control:focus {
  border-color: #488ee9;
  box-shadow: 0 0 0 3px rgba(72, 142, 233, 0.2);
}

.ts-dropdown {
  z-index: 50;
}

/* ------------------------------------------------ */
/* 2. GENERAL FORM STYLES & ANIMATIONS              */
/* ------------------------------------------------ */
.input-error {
  border-color: #ef4444 !important;
  background-color: rgba(254, 242, 242, 0.5) !important;
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.alert-registration {
  font-family: "Inter", sans-serif !important;
  border-radius: 1rem !important;
}

/* ANIMASI REVEAL (Untuk Institution) */
.reveal-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out,
    margin-top 0.3s ease;
  margin-top: 0;
  /* Default margin 0 saat hidden */
}

.reveal-wrapper.open {
  max-height: 150px;
  /* Tinggi maksimal konten saat terbuka */
  opacity: 1;
  margin-top: 1.5rem;
  /* Memberi jarak hanya saat terbuka */
}

/* ------------------------------------------------ */
/* 3. CUSTOM RADIO & CHECKBOX DESIGN                */
/* ------------------------------------------------ */

/* Hide input asli */
.custom-input-hidden {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Wrapper Label */
.custom-control-label {
  position: relative;
  padding-left: 32px;
  /* Jarak untuk icon checkmark */
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  color: #374151;
  font-size: 0.9rem;
  transition: color 0.2s;
}

/* Box/Circle Custom */
.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: #f9fafb;
  border: 2px solid #d1d5db;
  transition: all 0.2s ease-in-out;
}

/* Khusus Radio (Bulat) */
.type-radio .checkmark {
  border-radius: 50%;
}

/* Khusus Checkbox (Kotak Rounded) */
.type-checkbox .checkmark {
  border-radius: 6px;
  top: 2px;
  /* Align top dikit karena teks terms panjang */
  transform: none;
}

/* Hover State */
.custom-control-label:hover .checkmark {
  border-color: #488ee9;
  background-color: #eff6ff;
}

/* Checked State */
.custom-input-hidden:checked ~ .checkmark {
  background-color: #488ee9;
  border-color: #488ee9;
}

.custom-input-hidden:checked ~ .text-label {
  color: #111827;
  font-weight: 600;
}

/* Icon di dalam Box/Circle (Hidden by default) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-input-hidden:checked ~ .checkmark:after {
  display: block;
}

/* Style Dot Radio */
.type-radio .checkmark:after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
}

/* Style Centang Checkbox */
.type-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
