html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 30%, #fafcff 80%, #ffffff 100%);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 24px;
  z-index: 1000;
  padding: 12px 40px;
  max-width: 1100px;
  margin: 16px auto;
  border-radius: 999px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 45px;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 8px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  height: 48px;
}

.separator {
  height: 35px;
  width: 1px;
  background-color: #ccc;
  margin: 0 16px;
}

.nav-links {
  display: flex;
  gap: 70px;
}

.nav-links a {
  color: #2b3952;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #3b5bc8;
}

.dropdown-menu .mobile-only-item {
  display: none;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kontak-btn {
  background-color: #2b3952;
  color: white;
  padding: 6px 18px;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  min-width: 80px;
  text-align: center;
  transition: background-color 0.3s ease;
  transition: transform 0.3s ease;
}

.kontak-btn:hover {
  background-color: #3b5bc8;
  transform: scale(1.05);
}

.hamburger {
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  color: #3b5bc8;
  transform: scale(1.2);
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100px;
  right: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
}

.dropdown-menu a,
.nested-dropdown-toogle {
  color: #2b3952;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.nested-dropdown-toggle:hover {
  background-color: #f0f4ff;
  color: #3b5bc8;
}

.dropdown-menu a:hover .dropdown-icon {
  filter: brightness(0.5) saturate(2);
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.dropdown-menu .mobile-only-item {
  display: none;
}

.nested-dropdown-toggle {
  justify-content: left;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.nested-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  padding-left: 20px;
}

.nested-dropdown-content.show {
  display: flex;
}

.arrow-icon {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.arrow-icon.down {
  transform: rotate(90deg);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  position: absolute;
  bottom: -32px;
  width: 100%;
}


/* SECTION */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 10px 32px;
  text-align: left;
}

.section-title1, .section-title2 {
  font-size: 42px;
  font-weight: bold;
  color: #2b3952;
  margin-top: 5px;
  text-align: left;
}

.hero-profil-section {
  padding: 10px 48px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-profil-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-profil-text .hero-profil-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: #2b3952;
  margin: 0;
}

.hero-profil-text .hero-profil-subtitle {
  font-size: 42px;
  font-weight: 400;
  color: #475569;
  margin-top: 8px;
  margin-bottom: 15px;
}

.hero-profil-text .hero-profil-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-top: 8px;
  margin-bottom: 30px;
  text-align: justify;
}

.hero-profil-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16.5px;
}

.profil-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #2b3952;
  color: white;
  border: 2px solid #2b3952;
}


.profil-cta-btn:hover {
  background-color: #3b5bc8;
  border-color: #3b5bc8;
  box-shadow: 0 7px 20px rgba(59, 130, 246, 0.25);
}

.profil-link-btn {
  font-weight: 500;
  text-decoration: none;
}

.hero-profil-cta .profil-link-btn {
  background-color: transparent;
  color: #2b3952;
  padding: 12px 28px;
  border: 2px solid #E2E8F0;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.hero-profil-cta .profil-link-btn:hover {
  background-color: #F8FAFC;
  border-color: #2b3952;
  color: #2b3952;
}

/* --- Kolom Carousel --- */
.hero-profil-carousel {
  position: relative;
}

.hero-profil-carousel .carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(36, 56, 96, 0.25);
}

.hero-profil-carousel .carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.hero-profil-carousel .carousel-slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 16 / 11.3;
}

.hero-profil-carousel .carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-profil-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.hero-profil-carousel .carousel-nav button {
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 22px;
  font-weight: bold;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s;
}

.hero-profil-carousel .carousel-nav button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.hero-profil-carousel .carousel-nav button {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.hero-profil-carousel:hover .carousel-nav button {
  opacity: 1;
  transform: scale(1);
}

.hero-profil-carousel .carousel-dots {
  position: absolute;
  bottom: -30px;
  justify-items: center;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-profil-carousel .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-profil-carousel .dot.active {
  background-color: #2b3952;
  transform: scale(1.2);
}

.team-highlight-section {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(41, 65, 114, 0.15);
  aspect-ratio: 16 / 9;
}

.team-highlight-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.team-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-highlight-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  background: rgba(30, 41, 59, 0.7);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateZ(0);
}

.team-highlight-title {
  font-size: 50px;
  font-weight: 700;
  margin: 0 0 -40px 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-highlight-desc,
.team-highlight-cta {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.team-highlight-desc {
  font-size: 17px;
  max-width: 500px;
  margin-bottom: 35px;
  color: #e2e8f0;
}

.team-highlight-title,
.team-highlight-desc {
  padding-top: 15px;
}

.team-highlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  color: #2b3952;
  padding: 14px 28px;
  font-size: 17px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.team-highlight-cta:hover {
  background-color: #2e3a51;
  color: #ffffff;
  transform: scale(1.05);
}

@media (hover: hover) {
  .team-highlight-section:hover .team-highlight-content {
    opacity: 1;
    transform: translateY(0);
    background: rgba(30, 41, 59, 0.85);
  }

  .team-highlight-section:hover .team-highlight-desc,
  .team-highlight-section:hover .team-highlight-cta {
    opacity: 1;
    transform: translateY(0);
  }

  .team-highlight-section:hover .team-highlight-image img {
    transform: scale(1.05);
    filter: grayscale(100%);
  }

  .team-highlight-section:hover .team-highlight-title {
    transform: translateY(-40px);
  }

  .team-highlight-section:hover::after {
    left: 150%;
  }
}

.team-highlight-section {
  overflow: hidden;
  position: relative;
}

.team-highlight-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 150%;
  height: 100%;

  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.15),
      /* Cahaya putih halus */
      transparent);

  transform: skewX(-25deg);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}




.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
  align-items: start;
  justify-items: center;
  justify-content: center;
}

.post-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 32px;
  width: 100%;
  max-width: 380px;
  border: 8px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.post-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.post-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
}

.post-card-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.02);
}

.post-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 1;
  transition: all 0.4s ease;
  background: transparent;
}

.post-card-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ffffff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  transition: background 0.4s ease;
}

.post-card:hover .post-card-content::before {
  background: linear-gradient(to top,
      rgba(255, 255, 255, 1) 4%,
      rgba(255, 255, 255, 0.9) 10%,
      rgba(255, 255, 255, 0.7) 60%,
      transparent 100%);
}

.post-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 15px;
  font-weight: 500;
}

.post-card-date {
  color: #334155;
  transition: all 0.3s ease;
}

.post-card:hover .post-card-date {
  color: #2b3952;
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.post-card-category {
  color: #ffffff;
  background-color: #2b3952;
  padding: 4px 10px;
  border-radius: 99px;
  transition: all 0.2s ease;
}

.post-card:hover .post-card-category {
  color: #2b3952;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.post-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 8px 0;
  line-height: 1.2;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* atau center jika ingin rata tengah */
}

.post-card-excerpt {
  font-size: 14px;
  color: #334155;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.see-more-container {
  margin-top: 36px;
  margin-bottom: 64px;
  display: flex;
  justify-content: center;
}

.post-cta-btn {
  display: inline-flex;
  align-items: center;
  background-color: #2b3952;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 18px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}


.post-cta-btn:hover {
  background-color: #3b5bc8;
  box-shadow: 0 7px 20px rgba(59, 130, 246, 0.25);
  transform: scale(1.05);
}

.no-post-message {
  margin-top: 20px;
  text-align: center;
  padding: 60px 24px;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px dashed #dcecf8;
}

.no-post-message img {
  width: 80px;
  opacity: 0.5;
  margin-bottom: 15px;
}

.no-post-message h3 {
  color: #2b3952;
  margin: 0 0 10px 0;
}

.no-post-message p {
  color: #555;
  max-width: 400px;
  margin: 0 auto;
}




.modern-menu-grid {
  /* DIUBAH: Menggunakan Flexbox untuk layout yang lebih rapi */
  display: flex;
  flex-wrap: wrap;
  /* Izinkan kartu untuk pindah ke baris baru */
  justify-content: center;
  /* KUNCI: Menengahkan semua kartu secara horizontal */
  gap: 25px;
  margin-top: 30px;
}

.modern-menu-card {
  display: flex;
  flex-direction: column;
  /* KUNCI: Mencegah kartu meregang dan mengatur lebar dasarnya */
  flex: 0 1 200px;
  height: 200px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transition: transform 0.3s ease;
  position: relative;
}

.modern-menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
  background-color: #edf6fc;
}

.modern-menu-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.modern-menu-title {
  font-size: 17px;
  font-weight: 600;
  color: #2b3952;
  margin: 0 0 8px 0;
  flex-grow: 1;

}

.modern-menu-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.modern-menu-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0f4ff;
  color: #3b5bc8;
  font-size: 24px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.modern-menu-card:hover .modern-menu-arrow {
  background-color: #3B82F6;
  color: white;
  transform: rotate(-45deg);
}


/* SEMBUNYIKAN / TAMPILKAN SESUAI DEVICE */
.desktop-only {
  display: inline-block;
}

.mobile-only {
  display: none;
}


/*PAGE KONTAK*/
.kontak-desc {
  max-width: 720px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.kontak-info-section {
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 0 24px;
}

.kontak-card {
  flex: 1 1 350px;
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.kontak-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #2b3952;
}

.kontak-card h4 {
  margin-top: 20px;
  font-size: 18px;
  color: #2b3952;
}

.kontak-map {
  flex: 1 1 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.kontak-medsos {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  padding: 0 24px;
}

.kontak-dm {
  font-size: 15px;
  margin-bottom: 12px;
}

.kontak-dm a {
  color: #2b3952;
  font-weight: bold;
  text-decoration: none;
}

.kontak-dm a:hover {
  text-decoration: underline;
}

.sosmed-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.sosmed-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.sosmed-icons a:hover img {
  transform: scale(1.2);
}

.kontak-petunjuk {
  margin-top: 48px;
  text-align: center;
}

.kontak-buttons {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.kontak-btn-blue {
  background: #2b3952;
  color: white;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  transition: transform 0.2s ease;
}

.kontak-btn-blue:hover {
  background-color: #3b5bc8;
  transform: scale(1.05);
}


/* PAGE AKTIVITAS*/
.activity-rows-container {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.activity-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
  padding-bottom: 60px;
  border-bottom: 1px solid #e2e8f0;
}

.activity-row:last-child {
  border-bottom: none;
}

.activity-info h3 {
  font-size: 28px;
  font-weight: 600;
  color: #2b3952;
  margin: 0 0 15px 0;
}

.activity-info p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Bagian Carousel */
.activity-gallery-wrapper {
  position: relative;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.gallery-nav button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.gallery-nav button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Dots Indicator */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.gallery-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dots .dot.active {
  background-color: #2b3952;
  transform: scale(1.2);
}

/*PAGE PROFIL ANGKATAN*/
.angkatan-carousel-section {
  padding-top: 40px;
}

.angkatan-carousel-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 0 24px;
}

.angkatan-carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(41, 65, 114, 0.15);
}

.angkatan-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.angkatan-slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 16 / 11;
}

.angkatan-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.angkatan-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 30px 40px;
  background: linear-gradient(to top,
      #2b3952f2 20%,
      /* Warna biru pekat di bagian bawah */
      #2b39528c 70%,
      /* Sedikit transparan di tengah */
      #2b395200 100%
      /* Menghilang sepenuhnya di paling atas */
    );
  color: white;
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: auto;
}

.angkatan-slide:hover .angkatan-slide-overlay {
  opacity: 0;
  pointer-events: none;
}


.angkatan-slide-overlay h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
}


.angkatan-carousel-nav {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.angkatan-carousel-nav button {
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s;
}

.angkatan-carousel-nav button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Gaya Titik Indikator */
.angkatan-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.angkatan-carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.angkatan-carousel-dots .dot.active {
  background-color: #2b3952;
  transform: scale(1.2);
}

/* ========================================= */
/* === GAYA FINAL HALAMAN ORGANIGRAM (TABS) === */
/* ========================================= */

.org-header-container {
  text-align: center;
  margin-bottom: 40px;
}

.organigram-main-container {

  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(41, 65, 114, 0.1);
  border: 1px solid #eef2ff;
  margin-top: 40px;
}

.org-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.org-tab-btn {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  border-radius: 99px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.2s ease-in-out;
}

.org-tab-btn:hover {
  background-color: #eef2ff;
  border-color: #a5b4fc;
}

.org-tab-btn.active {
  background-color: #2b3952;
  color: white;
  border-color: #2b3952;
}

.org-tab-content {
  padding: 40px;
  transition: opacity 0.3s ease;
}

.org-group-title-inside {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #2b3952;
}

.profile-grid-inside-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

.profile-card-tab {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid #eef2ff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  width: 220px;
  height: 220px;
}

.profile-card-tab:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(41, 65, 114, 0.1);
  border-color: #c7d2fe;
}

.profile-card-tab img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 3px solid #eef2ff;
  transition: transform 0.3s ease;
}

.profile-card-tab:hover img {
  transform: scale(1.05);
}

.profile-card-tab .nama {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}


.profile-card-tab .jabatan {
  font-size: 14px;
  color: #555;
}

.team-photo-inside-tab {
  width: 100%;
  max-width: 980px;

  margin: 20px auto 50px auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

.pembina-grid {
  max-width: 300px;
  /* Atur lebar maksimal container */
  margin: 0 auto;
  /* Posisikan di tengah */
}

.pembina-grid .profile-card-tab {
  width: 100%;
  /* Pastikan kartu mengisi penuh container-nya */
  height: 260px;
}



/*PAGE TATA TERTIB*/
.drive-container {
  margin-top: 40px;
  background: rgb(16, 16, 16);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  width: auto;
}

.drive-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top,
      #2b3952f2 20%,
      /* Warna biru pekat di bagian bawah */
      #2b39528c 70%,
      /* Sedikit transparan di tengah */
      #2b395200 100%
      /* Menghilang sepenuhnya di paling atas */
    );
  color: white;
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: auto;
}

.drive-container:hover .drive-overlay {
  opacity: 0;
  pointer-events: none;
}

.drive-label {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  padding-top: 35px;
}

.drive-sub {
  padding-right: 18px;
  font-size: 22px;
  color: #ffffff;
  font-weight: 300;
}

.drive-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
}


/*PAGE MODUL*/
.modul-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
  justify-items: center;
}

.modul-card {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.modul-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(41, 65, 114, 0.2);
}

.modul-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modul-card:hover .modul-cover {
  transform: scale(1.05);
  /* Efek zoom pada gambar saat di-hover */
}

.modul-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top,
      #2b3952f2 10%,
      /* Warna biru pekat di bagian bawah */
      #2b39528c 70%,
      /* Sedikit transparan di tengah */
      #2b395200 100%
      /* Menghilang sepenuhnya di paling atas */
    );
  color: white;
  pointer-events: none;
}

.modul-label {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  padding-top: 30px;
}

.modul-fakultas {
  margin: 4px 0 0 0;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
}

.modul-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.685);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modul-modal-content {
  background: white;
  color: #1b2c4e;
  padding: 32px;
  border-radius: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: #000;
}

.modal-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
}

.modal-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.modul-btn {
  background-color: #2b3952;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.modul-btn:hover {
  background-color: #3b5bc8;
}

.flag-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  border-radius: 4px;
  object-fit: cover;
}

.hidden {
  display: none;
}

/* === TUGAS PENDAHULUAN STYLE === */
.tp-himbauan {
  max-width: 720px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}


.search-bar {
  max-width: 360px;
  width: 100%;
  margin: 24px auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search-bar input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border-radius: 22px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: border 0.3s;
}

.search-bar input:focus {
  border: 1.5px solid #647BFF;
}

.search-icon {
  position: absolute;
  right: 14px;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(0.5);
  pointer-events: none;
}

/* === GRID MODUL === */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(41, 65, 114, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.card-info .kode {
  font-size: 13px;
  font-weight: 600;
  color: #3b5bc8;
  background-color: #eef2ff;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 8px;
}

.card-info .judul {
  padding-left: 5px;
  font-size: 18px;
  font-weight: 600;
  color: #2b3952;
  margin: 0;
  line-height: 1.4;
}

.card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.card-buttons a {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  background-color: #2b3952;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.card-buttons a:hover {
  background-color: #3b5bc8;
}


/* === FLAG ICON === */

.flag-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 4px;
  object-fit: cover;
}

.card-buttons a:hover .flag-icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}


/*VIDEO PEMBELAJARAN*/
.video-page-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.video-player-main {
  flex: 3;
  min-width: 550px;
}

.video-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #000;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-title-main {
  font-size: 24px;
  color: #2b3952;
  margin: 20px 0 5px 0;
}

.video-desc {
  font-size: 16px;
  color: #555;
  margin-top: 0;
  line-height: 1.6;
}

.video-playlist-container {
  flex: 1;
  min-width: 300px;
}

.video-playlist-container h4 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #2b3952;
  margin: 0 0 15px 0;
  padding: 0 10px;
}

.video-playlist-scroll {
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
}

.playlist-item-tp-style {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border-bottom: 1px solid #eef2ff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.playlist-item-tp-style:last-child {
  border-bottom: none;
}

.playlist-item-tp-style:hover {
  background-color: #f8fafc;
}

.playlist-item-tp-style.active {
  background-color: #e6e9ff;
  border-left: 4px solid #3B82F6;
  padding-left: 11px;
}

.playlist-item-tp-style .card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.playlist-item-tp-style .judul {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}



/*KONTAK ASISTEN*/
.asisten-card {
  display: none;
}

.asisten-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
  justify-content: center;
  margin-top: 40px;
}

.profile-card {
  width: 220px;
  text-align: center;
}

.profile-image-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 15px auto;
  overflow: hidden;
  transition: all 0.3s ease;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-socials {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 15px;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #2b3952;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.social-icon img {
  width: 22px;
  height: 22px;
}

.social-icon:hover {
  background-color: #3b5bc8;
  transform: scale(1.1);
}

.profile-card:hover .profile-img {
  transform: scale(1.05);
}

.profile-card:hover .profile-socials {
  opacity: 1;
  transform: translateY(0);
}

.profile-info {
  padding: 0 10px;
}

.profile-kode {
  font-size: 20px;
  font-weight: 700;
  color: #2b3952;
  margin: 0 0 4px 0;
}

.profile-nama {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

/* Filter */
.filter-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  border-radius: 99px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.2s ease-in-out;
}

.filter-btn:hover {
  background-color: #eef2ff;
  border-color: #a5b4fc;
}


.filter-btn.active {
  background-color: #2b3952;
  color: white;
  border-color: #2b3952;
}


/*KOMPLAIN NILAI*/
.complain-form {
  max-width: 350px;
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2b3952;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  resize: none;
}

.complain-form button[type="submit"] {
  background: #2b3952;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.complain-form button[type="submit"]:hover {
  background: #3b5bc8;
  transform: scale(1.03);
}


.conditional.hidden {
  display: none;
}

/* === REGRESI LINEAR === */
.regresi-controls,
.regresi-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.regresi-controls label {
  font-weight: 500;
  font-size: 15px;
  color: #2b3952;
}

#jumlahBaris {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #aaa;
  width: 80px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

/* Tombol */
.regresi-btn {
  background-color: #2b3952;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.regresi-btn:hover {
  background-color: #3b5bc8;
}

.reset-btn {
  background-color: #e0e0e0;
  color: #000;
}

.reset-btn:hover {
  background-color: #bdbdbd;
}

/* Tabel */
#inputTableContainer table,
#outputPerhitungan table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#inputTableContainer th,
#inputTableContainer td,
#outputPerhitungan th,
#outputPerhitungan td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  font-size: 15px;
}

#inputTableContainer th {
  background-color: #e9f0ff;
  font-weight: 600;
}

#inputTableContainer input[type="number"] {
  padding: 6px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  border: 1px solid #bbb;
  width: 80px;
}

/* Output Math */
.math-center {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px;
  margin-top: 20px;
  overflow-x: visible;
  word-break: break-word;
}

.math-center p {
  font-size: 15px;
  margin: 8px 0;
  font-family: 'Poppins', sans-serif;
  color: #000;
  text-align: center;
  line-height: 1.8;
}

mjx-container {
  text-align: center;
}

.scroll-table {
  overflow-x: auto;
  width: 100%;
}

.scroll-table table {
  min-width: 700px;
  /* atau sesuai kebutuhan */
  border-collapse: collapse;
}


/* Grafik */
.grafik-title {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #2b3952;
  text-align: center;
}

canvas#grafikRegresi {
  margin-top: 20px;
  max-width: 100%;
}

#grafik-wrapper {
  margin-top: 40px;
  text-align: center;
}


/* Judul bagian tabel perhitungan */
#outputPerhitungan h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #2b3952;
  text-align: center;
}

.math-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.section-desc-wrapper {
  background-color: white;
  padding: 28px;
  padding-bottom: 32px;
  border-radius: 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  margin-top: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-desc-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.kontak-wrapper {
  background-color: white;
  padding: 4px;
  padding-bottom: 32px;
  border-radius: 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  margin-top: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kontak-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}


/*FOOTER*/

.footer-lurus {
  background-color: #2b3952;
  color: #CBD5E0;
  /* Warna teks abu-abu terang */
  padding: 60px 24px 0 24px;
  margin-top: 80px;
}

.footer-content-lurus {
  max-width: 1100px;
  margin: 0 auto;
  /* Otomatis menengahkan container */
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* Kunci responsif */
  gap: 30px;
}

.footer-column-lurus {
  margin-bottom: 20px;
}

.footer-column-lurus.about .footer-logo {
  width: 120px;
  margin-bottom: 12px;
}

.footer-column-lurus.about .lab-name {
  font-weight: 500;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}

.footer-column-lurus h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-column-lurus.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column-lurus.links li {
  margin-bottom: 12px;
}

.footer-column-lurus.links a {
  color: #CBD5E0;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.footer-column-lurus.links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-column-lurus.contact p {
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 20px;
}

.social-icons-lurus a {
  display: inline-block;
  margin-right: 8px;
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
}

.social-icons-lurus a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.social-icons-lurus img {
  width: 28px;
  height: 28px;
}

.footer-bottom-lurus {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(203, 213, 224, 0.2);
  font-size: 14px;
}


@media (max-width: 1200px) {

  .hero-profil-grid {
    gap: 50px;
    max-width: 1300px;
    grid-template-columns: 1fr 1.7fr;
  }

  .hero-profil-text .hero-profil-title {
    font-size: 55px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 38px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 14.8px;
  }

  .hero-profil-cta {
    font-size: 15.5px;
  }

.section-title1, .section-title2 {
  font-size: 42px;
  text-align: center;
}

}

@media (max-width: 1100px) {
  .post-card-header {
    font-size: 12.7px;
  }

  .post-card:hover .post-card-date {
    padding: 3.8px 9.8px;
  }

  .post-card-category {
    padding: 3.8px 9.8px;
  }

  .post-card-title {
    font-size: 19px;
  }

  .post-card-excerpt {
    font-size: 13.8px;
  }

  .video-title-main {
    font-size: 22px;
  }

  .video-desc {
    font-size: 16px;
  }

}

@media (max-width: 985px) {
  .footer-column-lurus {
    text-align: center;
  }

  .footer-column-lurus.about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column-lurus.links ul {
    display: inline-block;
    text-align: center;
  }

  .post-grid {
    display: flex;
    flex-wrap: wrap;
  grid-template-columns: none;

    justify-content: center;
    gap: 25px;
    margin-top: 30px;
  }

  .post-card {
    position: relative;
    display: block;
    text-decoration: none;
    width: 320px;
    border: 8px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .post-cta-btn {
    font-size: 17px;
  }



}

@media (max-width: 960px) {
  .hero-profil-grid {
    max-width: 1300px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-profil-text .hero-profil-title {
    font-size: 58px;
    text-align: center;
    margin-bottom: 3px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 44px;
    text-align: center;
    margin-top: 3px;
    margin-bottom: 25px;
  }

  .hero-profil-text .hero-profil-desc {
    text-align: center;
    font-size: 16px;
  }

  .hero-profil-cta {
    justify-content: center;
    font-size: 16px;
  }

  .hero-profil-carousel .carousel-slide {
    aspect-ratio: 16/9;
  }

  .activity-info h3 {
    font-size: 24px;
  }

  .activity-info p {
    font-size: 14px;
  }

  .org-tab-btn {
    padding: 9px 18px;
    font-size: 14px;
  }
}

@media (max-width: 910px) {
  .navbar .nav-links {
    display: none;
  }

  .dropdown-menu .mobile-only-item {
    display: flex;
  }

  .dropdown-menu .mobile-only-item {
    display: block;
  }
  
  .hero-profil-text .hero-profil-title {
    font-size: 55px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 42px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 15px;
  }

  .team-highlight-title {
    font-size: 40px;
  }

  .team-highlight-desc {
    font-size: 14.5px;
  }

  .team-highlight-cta {
    font-size: 14.5px;
  }

}

@media (max-width: 870px) {


  .hero-profil-text .hero-profil-title {
    font-size: 53px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 41px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 14.6px;
  }


}


@media (max-width: 840px) {


  .hero-profil-section {
    padding: 10px 32px;
  }

  .hero-profil-text .hero-profil-title {
    font-size: 52px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 40px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 14.5px;
  }

  .hero-profil-cta {
    font-size: 14.5px;
  }


  .post-grid {
    gap: 15px;
  }

  .post-card {
    width: 280px;
  }

  .post-card:hover {
    transform: translateY(-8px);
  }


  .post-card-header {
    font-size: 12.2px;
  }

  .post-card:hover .post-card-date {
    padding: 3.3px 9.4px;
  }

  .post-card-category {
    padding: 3.3px 9.4px;
  }

  .post-card-title {
    font-size: 17.5px;
  }

  .post-card-excerpt {
    font-size: 13px;
  }

  .post-cta-btn {
    font-size: 16px;
  }

.section-title1, .section-title2 {
  font-size: 38px;
}

  .gallery-nav button {
    width: 40px;
    height: 40px;
  }

  .drive-label {
    font-size: 22px;
  }

  .drive-sub {
    font-size: 18px;
  }

  .video-title-main {
    font-size: 20px;
  }

  .video-desc {
    font-size: 16px;
  }


  .org-tab-content {
    padding: 30px 24px;
    /* Kurangi padding horizontal */
  }

  .org-tab-btn {
    padding: 9px 18px;
    font-size: 14px;
  }

  .org-group-title-inside {
    font-size: 26px;
  }

  .profile-card-tab {
    width: 200px;
    /* Perkecil sedikit ukuran kartu */
  }

  .asisten-grid {
    gap: 30px 20px;
    justify-content: center;
  }

  .profile-card {
    width: 200px;
  }

  .profile-image-wrapper {
    width: 160px;
    height: 160px;
  }

}

@media (max-width: 800px) {
  .hero-profil-text .hero-profil-title {
    font-size: 50px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 38.5px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 14.3px;
  }
}

@media (max-width: 770px) {
  .hero-profil-text .hero-profil-title {
    font-size: 70px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 46px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 14.3px;
  }

  .team-highlight-title {
    font-size: 36px;
  }

  .team-highlight-desc {
    font-size: 14px;
  }

  .team-highlight-cta {
    font-size: 14px;
    padding: 12px 26px;
  }



}

@media (max-width: 750px) {
  .post-card {
    width: 240px;
  }

  .post-card-header {
    font-size: 11px;
  }

  .post-card:hover .post-card-date {
    padding: 2.5px 8px;
  }

  .post-card-category {
    padding: 2.5px 8px;
  }

  .post-card-title {
    font-size: 16px;
  }

  .post-card-excerpt {
    font-size: 12px;
  }

  .post-cta-btn {
    padding: 10px 22px;
    font-size: 15.5px;
  }

.section-title1, .section-title2 {
  font-size: 32px;
}

  .activity-info h3 {
    font-size: 22px;
    text-align: center;
  }

  .activity-info p {
    font-size: 13px;
    text-align: center;
  }

  .activity-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .video-player-main {
    min-width: 350px;
  }

  .angkatan-slide-overlay h3 {
    font-size: 30px;
  }

  .org-tabs-nav {
    gap: 8px;
    /* Rapatkan jarak antar tombol tab */
  }

  .org-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .org-group-title-inside {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .profile-grid-inside-tab {
    gap: 15px;
  }

  .profile-card-tab {
    width: calc(50% - 10px);
    /* Buat menjadi 2 kolom */
    box-sizing: border-box;
    padding: 10px;
    height: auto;
    /* Biarkan tinggi menyesuaikan konten */
  }

  .profile-card-tab img {
    width: 95px;
    height: 95px;
    margin-bottom: 15px;
  }

  .profile-card-tab .nama {
    font-size: 14px;
  }

  .profile-card-tab .jabatan {
    font-size: 13px;
  }

  .team-photo-inside-tab {
    margin-top: 10px;
  }

  .pembina-grid .profile-card-tab {
    width: 100%;
    /* PAKSA lebar kartu menjadi 100% */
    max-width: 280px;
    /* Beri batas lebar agar tidak terlalu besar di mobile */
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-profil-text .hero-profil-title {
    font-size: 58px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 37px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 13.7px;
  }

  .team-highlight-title {
    padding-top: 20px;
    font-size: 32px;
    margin: 0 0 -50px 0;
  }

  .team-highlight-desc {
    font-size: 13px;
    margin-bottom: 28px;
  }

  .team-highlight-cta {
    font-size: 13px;
  }
}

@media (max-width: 615px) {

  .post-card {
    width: 210px;
  }

  .post-card:hover .post-card-date {
    padding: 2px 8px;
  }

  .post-card-header {
    font-size: 9px;
  }

  .post-card:hover .post-card-date {
    padding: 2.3px 7.5px;
  }

  .post-card-category {
    padding: 2.3px 7.5px;
  }

  .post-card-title {
    font-size: 15.5px;
  }

  .post-card-excerpt {
    font-size: 11.5px;
  }

  .post-cta-btn {
    font-size: 14.8px;
  }


  .modern-menu-card {
    flex: 0 1 170px;
    height: 170px;
  }

  .modern-menu-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 15px;
  }

  .modern-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #2b3952;
    margin: 0 0 8px 0;
    flex-grow: 1;

  }

  .modern-menu-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
  }

  .modern-menu-arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .hero-profil-cta {
    font-size: 14px;
  }

  .profil-cta-btn {
    padding: 10px 22px;
  }

  .hero-profil-cta .profil-link-btn {
    padding: 10px 22px;
  }

  .post-cta-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

.angkatan-carousel-nav button {
  font-size: 22px;
  width: 43px;
  height: 43px;
}


  .video-playlist-container h4 {
    font-size: 18px;
  }

  .video-title-main {
    font-size: 18px;
  }

  .video-desc {
    font-size: 14px;
  }

  .angkatan-slide-overlay h3 {
    font-size: 24px;
  }

  .search-bar {
    max-width: 100%;
  }

  .filter-btn {
    padding: 7px 16px;
    font-size: 14px;
  }

  .asisten-grid {
    gap: 30px 16px;
  }

  .profile-card {
    width: 170px;
  }

  .profile-kode {
    font-size: 20px;
  }

  .profile-nama {
    font-size: 14px;
  }
}

@media (max-width: 570px) {
  .team-highlight-title {
    padding-top: 25px;
    font-size: 28px;
  }

  .team-highlight-desc {
    font-size: 12px;
  }

  .team-highlight-cta {
    font-size: 12px;
  }

  .post-card {
    width: 195px;
  }
}

/* Mobile (≤ 480px): tampilkan ikon, sembunyikan teks */
@media (max-width: 480px) {

  .navbar .nav-links {
    display: none;
  }

  .dropdown-menu .mobile-only-item {
    display: block;
  }

  .nav-links {
    gap: 16px;
  }

  .navbar {
    padding: 8px 16px;
    margin: 12px auto;
    margin-bottom: 37px;
  }

  .dropdown-menu {
    top: 80px;
    right: 15px;
  }

  .logo {
    height: 36px;
  }

  .separator {
    height: 35px;
    margin: 0 3px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a img.nav-icon {
    width: 20px;
    height: 20px;
  }

  .kontak-btn {
    font-size: 13px;
    padding: 5px 5px;
  }

  .hero-profil-section {
    padding: 10px 32px;
  }

  .hero-profil-text .hero-profil-title {
    font-size: 45px;
  }

  .hero-profil-text .hero-profil-subtitle {
    font-size: 31px;
  }

  .hero-profil-text .hero-profil-desc {
    font-size: 12px;
  }

  .profil-cta-btn {
    padding: 9px 20px;
  }

  .hero-profil-cta .profil-link-btn {
    padding: 9px 20px;
  }

  .hero-profil-cta {
    font-size: 12px;
  }

  .team-highlight-title,
  .team-highlight-desc{
    padding-top: 30px;
  }

  .team-highlight-title {
    font-size: 24px;
    margin: 0 0 -68px 0;
  }

  .team-highlight-desc {
    font-size: 10.5px;
    margin-bottom: 18px;
  }

  .team-highlight-cta {
    font-size: 10.5px;
    padding:  9px 22px;
  }

  .team-highlight-image img {
    animation: pulseImage 6s infinite;
  }

  .team-highlight-content {
    animation: pulseContent 6s infinite;
  }

  .team-highlight-title {
    animation: pulseTitle 6s infinite;
  }

  .team-highlight-desc,
  .team-highlight-cta {
    animation: pulseDescCta 6s infinite;
  }

  .team-highlight-section::after {
    /* Animasi kilau slash yang disinkronkan */
    animation: pulseGlimmer 6s infinite;
  }

  .post-grid {
    gap: 20px;
  }
  .post-card {
    width: 340px;
  }

  .post-card-image {
  aspect-ratio: 1 / 1;
}

  .post-card:hover {
    transform: none;
  }

  .post-card-content::before {
    background: linear-gradient(to top,
        rgba(255, 255, 255, 1) 4%,
        rgba(255, 255, 255, 0.9) 10%,
        rgba(255, 255, 255, 0.7) 60%,
        transparent 100%);
    transition: none;
  }

  .post-card-header {
    font-size: 12px;
  }

  .post-card-date {
    color: #2b3952;
    background-color: #ffffff;
    padding: 2px 8px;
    border-radius: 99px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .post-card-category {
    color: #2b3952;
    background-color: #ffffff;
    padding: 2px 8px;
    border-radius: 99px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }


  .post-card-title {
    font-size: 16px;
    min-height: 2em;
  }

  .post-card-excerpt {
    font-size: 12px;
  }

  .post-cta-btn {
    padding: 10px 20px;
    font-size: 13px;
  }


  .section-title1,
  .section-title2 {
    font-size: 29px;
  }

  .modern-menu-grid {
    gap: 15px;
  }

  .modern-menu-card {
    flex: 0 1 120px;
    height: 150px;
  }

  .modern-menu-icon {
    width: 31px;
    height: 31px;
  }

  .modern-menu-title {
    font-size: 13px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: flex-start;

  }

  .modern-menu-desc {
    font-size: 10px;
    line-height: 1.5;
    min-height: 3em;
  }

  .modern-menu-arrow {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .modul-modal-content {
    width: 80%;
  }
}


@keyframes pulseImage {

  0%,
  40%,
  100% {
    transform: scale(1);
    filter: grayscale(0%);
  }

  50%,
  90% {
    transform: scale(1.05);
    filter: grayscale(100%);
  }
}

@keyframes pulseContent {

  0%,
  40%,
  100% {
    opacity: 0;
    background: rgba(30, 41, 59, 0.7);
  }

  50%,
  90% {
    opacity: 1;
    background: rgba(30, 41, 59, 0.85);
  }
}

@keyframes pulseTitle {

  0%,
  40%,
  100% {
    transform: translateY(0);
  }

  50%,
  90% {
    transform: translateY(-40px);
  }
}

@keyframes pulseDescCta {

  0%,
  40%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }

  50%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlimmer {

  0%,
  50%,
  100% {
    left: -200%;
  }

  /* Glimmer tidak aktif */
  60% {
    left: 150%;
  }

  /* Glimmer aktif dan melintas */
}

/* ======================================================= */
/* === SOLUSI FINAL UNTUK TAMPILAN SINGLE POST (HERO CARD) === */
/* ======================================================= */

/* 1. Atur container-nya agar menengahkan kartu besar */
.post-grid.is-single-post {
  display: flex;
  justify-content: center;
  padding: 0 24px; /* Beri sedikit padding di layar kecil */
  box-sizing: border-box;
}

/* 2. Atur ukuran kartu tunggal agar menjadi 'Hero Card' */
.post-card.is-featured {
  flex-basis: 600px; /* Lebar dasar kartu saat layar besar */
  height: 320px;
  max-width: 100%;  /* Pastikan kartu tidak melebihi lebar layar di mobile */
}

.post-card.is-featured .post-card-image {
  height: 320px; /* Samakan tingginya dengan tinggi kartu */
  aspect-ratio: auto; /* Nonaktifkan rasio aspek yang diwarisi */
  border-radius: 32px;
}

.post-card.is-featured.post-card-content::before {
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.post-card.is-featured .post-card-image img {
  transform: scale(1);
}




/* ========================================= */
/* === STYLE UNTUK HALAMAN INFORMASI DETAIL === */
/* ========================================= */

.post-content {
  max-width: 1100px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(41, 65, 114, 0.1);
}

/* --- Header (Tombol Kembali & Kategori) --- */
.post-header-detail {
  display: flex;
  justify-content: space-between; /* Mendorong item ke ujung di desktop */
  align-items: center;
  margin-bottom: 24px;
}

.btn-back {
  display: inline-block;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 8px 16px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-back:hover {
  background-color: #e2e8f0;
  color: #2b3952;
}

.post-category-detail {
  background-color: #eef2ff;
  color: #3b5bc8;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
}

/* --- Judul & Meta --- */
.post-title-detail {
  font-size: 42px;
  font-weight: 700;
  color: #2b3952;
  line-height: 1.2;
  margin: 0 0 12px 0;
}

.post-date-detail {
  font-size: 15px;
  color: #555;
  margin-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 32px;
}

.post-image-detail {
  display: block; /* Agar margin auto berfungsi */
  width: 100%;
  max-width: 450px; /* Batasi lebar maksimal gambar */
  height: auto; /* Biarkan tinggi menyesuaikan secara otomatis */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  margin: 20px auto 40px auto; 
}

.post-body {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
  /* KUNCI: Paksa teks/link panjang untuk pindah baris */
  overflow-wrap: break-word;
}

.post-body a { color: #3b5bc8; text-decoration: underline; font-weight: 500; }
.post-body a:hover { color: #2563EB; }
.post-body strong { color: #2b3952; }

/* --- Tombol Share --- */
.post-share-section {
  text-align: center;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.post-share-section h4 {
  font-size: 16px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 16px;
}

/* Ganti .share-btn yang lama dengan ini */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px; /* Buat menjadi bulat (pill) */
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #3B82F6; /* Gunakan warna aksen biru */
  transition: all 0.2s ease;
}

/* Tombol utama (WhatsApp) */
.share-btn.whatsapp { 
  background-color: #3B82F6; 
  color: #ffffff;
}
.share-btn.whatsapp:hover {
  background-color: #2563EB;
  border-color: #2563EB;
}

/* Tombol sekunder (Salin Link) */
.share-btn.copy-link { 
  background-color: transparent; 
  color: #3B82F6; 
  cursor: pointer; 
  font-family: 'Poppins', sans-serif;
}
.share-btn.copy-link:hover {
  background-color: #DBEAFE; /* Warna biru sangat terang saat hover */
}

/* Responsif untuk Mobile */
@media (max-width: 870px) {
  .post-title-detail {
    font-size: 30px;
  }
  .post-body {
    font-size: 16px;
  }
}

@media (max-width: 750px) {
  .post-content {
    padding: 24px;
  }

  .post-title-detail {
    font-size: 25px;
  }
  .post-body {
    font-size: 14px;
  }
.post-image-detail {
  max-width: 350px;
}


}