/* ================= GLOBAL ================= */
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
}

h1, h2, h3, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
}

/* ================= NAVBAR CLEAN OVAL ================= */
.navbar {
  background: #ffffff;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

/* Biar isi navbar kaya capsule di tengah */
.navbar .container {
  background: #ffffff;
  border-radius: 40px;
  padding: 6px 20px;
  box-shadow: 0 8px 25px rgba(91, 74, 191, 0.15);
}

/* Garis ungu pembatas bawah */
.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #5B4ABF, #8E4DB6);
}

.nav-link.active {
  color: #5B4ABF !important;
  font-weight: 700;
}

/* Logo kecilin */
.navbar-brand img {
  width: 28px;
}

/* Text navbar */
.navbar-brand,
.nav-link {
  color: #2E2E2E !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.nav-link {
  font-size: 0.85rem;
  padding: 5px 12px !important;
}

/* Ubah warna icon hamburger */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hover */
.nav-link:hover {
  color: #5B4ABF !important;
}

/* Shadow teks*/
.navbar-brand,
.nav-link {
  text-shadow: 2px 2px 8px rgba(91, 74, 191, 0.25);
}


/* ================= HERO ================= */
.hero-section {
  min-height: 100vh;
  padding-top: 160px;
  background: 
    radial-gradient(circle at 20% 30%, rgba(244, 194, 29, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(91, 74, 191, 0.15), transparent 40%),
    #ffffff;
  color: #2E2E2E;
}

/* Logo hero kecilin */
.hero-logo {
  max-width: 280px;
  filter: drop-shadow(0 15px 30px rgba(91, 74, 191, 0.25));
}

/* Judul lebih proporsional */
.hero-section h1 {
  font-size: 2.3rem;
  text-shadow: 3px 3px 15px rgba(142, 77, 182, 0.25);
}

/* Tagline */
.tagline {
  color: #5B4ABF;
  font-weight: 700;
  font-size: 1.4rem;
  text-shadow: 2px 2px 10px rgba(244, 194, 29, 0.4);
}

/* Social Icons */
.social-icons a {
  color: #5B4ABF;
  font-size: 1.4rem;
  transition: 0.3s;
  text-shadow: 2px 2px 10px rgba(142, 77, 182, 0.3);
}

.social-icons a:hover {
  color: #F4C21D;
}

/* ================= ABOUT ================= */
.about-section {
  background-color: #f9f9ff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-title {
  font-weight: 800;
  color: #5B4ABF;
  letter-spacing: 1px;
}

.about-logo {
  max-width: 300px;
  filter: drop-shadow(0 20px 40px rgba(91, 74, 191, 0.25));
}

.vision-box {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(91, 74, 191, 0.1);
}

.stat-number {
  font-weight: 800;
  color: #5B4ABF;
  font-size: 1.8rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.vision-box {
  transition: 0.3s ease;
}

.vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(91, 74, 191, 0.2);
}

.section-title {
  position: relative;
  padding-left: 20px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 5px;
  height: 80%;
  background: linear-gradient(#5B4ABF, #F4C21D);
  border-radius: 10px;
}

/* ================= STRUKTUR ================= */
.struktur-section {
  padding: 100px 0;
  background: #fff;
}

.section-title {
  font-weight: 700;
  text-shadow: 0 5px 20px rgba(138, 43, 226, 0.2);
}

.dept-header {
  text-align: center;
  margin: 80px 0 40px;
}

.dept-header h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #be9a09;
  position: relative;
  display: inline-block;
}

/* garis tipis elegan bawah */
.dept-header h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background-color: #18335b;
  margin: 10px auto 0;
  opacity: 0.6;
}

/* shadow super subtle */
.dept-header h2 {
  text-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sub-heading {
  font-weight: 600;
  margin-top: 60px;
}

.dept-desc {
  color: #666;
  font-size: 14px;
}

.person-card {
  margin-bottom: 30px;
  transition: 0.3s;
}

.person-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #6f42c1, #ffc107);
}

.person-card:hover {
  transform: translateY(-6px);
}

.nama {
  margin-top: 12px;
  font-weight: 600;
  text-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.jabatan {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 14px;
  background: #b51176;
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
}

/* ================= PROGRAM ================= */

#program {
  padding: 100px 0;
  background: #f8fafc;
  font-family: 'Poppins', sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Title */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #5B4ABF;
  margin-bottom: 15px;
}

.section-title p {
  max-width: 650px;
  margin: auto;
  color: #6b7280;
  line-height: 1.8;
  font-size: 15px;
}

/* ================= GRID ================= */

.program-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
}

/* ================= CARD ================= */

.program-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: 0.4s ease;
  min-height: 280px; /* ganti auto-rows jadi min-height */
}

.program-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
  filter: brightness(75%);
}

/* Overlay */
.program-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 25px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.5),
    transparent
  );
  width: 100%;
}

.program-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.program-content p {
  font-size: 13px;
  line-height: 1.6;
}

/* Highlight */
.program-item.highlight {
  min-height: 580px; /* lebih aman daripada span row */
}

/* Tag */
.program-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Hover */
.program-item:hover img {
  transform: scale(1.08);
}

.program-item:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-item.highlight {
    min-height: 320px; /* jangan terlalu tinggi */
  }
}

@media (max-width: 600px) {
  #program {
    padding: 70px 0;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-item,
  .program-item.highlight {
    min-height: 260px;
  }

  .program-content {
    padding: 20px;
  }

  .section-title h2 {
    font-size: 24px;
  }
}
/* ===============================
   NEWS SECTION
================================= */

#news {
  padding: 120px 0;
  background: #ffffff;
}

#news .section-title {
  text-align: center;
  margin-bottom: 70px;
}

#news .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #5B4ABF;
  margin-bottom: 15px;
}

#news .section-title p {
  color: #6b7280;
  max-width: 600px;
  margin: auto;
  line-height: 1.8;
  font-size: 15px;
}

/* ===============================
   GRID
================================= */

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

/* ===============================
   NEWS CARD
================================= */

.news-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.news-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-date {
  font-size: 12px;
  color: #9ca3af;
  display: block;
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #111827;
}

.news-content h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #111827;
}

.news-content p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Featured Bigger Image */
.news-item.featured img {
  height: 380px;
}

/* Small Side Layout */
.news-side .news-item {
  display: flex;
  margin-bottom: 20px;
}

.news-side .news-item img {
  width: 110px;
  height: 110px;
}

.news-side .news-content {
  padding: 15px;
}

/* Link Style */
.news-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  transition: 0.3s ease;
}

.news-link:hover {
  opacity: 0.6;
}

/* Hover */
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}

/* Responsive */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-side .news-item {
    flex-direction: column;
  }

  .news-side .news-item img {
    width: 100%;
    height: 200px;
  }
}

/* ===============================
   FAQ SECTION
================================= */

#faq {
  padding: 120px 0;
  background: #f9fafb;
}

#faq .section-title {
  text-align: center;
  margin-bottom: 60px;
}

#faq .section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: #5B4ABF;
  margin-bottom: 15px;
}

#faq .section-title p {
  max-width: 600px;
  margin: auto;
  color: #6b7280;
  line-height: 1.7;
  font-size: 15px;
}

/* FAQ Items */

.faq-wrapper {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 15px;
  border: 1px solid #ececec;
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 25px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #c1a517;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 18px;
  transition: 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  padding: 0 25px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Hover untuk desktop */
@media (hover: hover) {
  .faq-item:hover .faq-answer {
    max-height: 200px;
  }

  .faq-item:hover .faq-icon {
    transform: rotate(45deg);
  }
}

/* ===============================
  CONTACT SECTION
================================= */
#contact {
  padding: 100px 0;
  background: #f8fafc;
}

/* ICON BUTTON */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.contact-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #5B4ABF;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s ease;
}

.contact-links a:hover {
  transform: translateY(-5px);
  background: #4739a8;
}

/* MAP */
.contact-map {
  margin-bottom: 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* FORM */
.contact-form {
  max-width: 700px;
  margin: auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5B4ABF;
  box-shadow: 0 0 0 3px rgba(91, 74, 191, 0.1);
}

.contact-form button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #5B4ABF;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #4739a8;
}

/*FOOTER*/
#footer {
  background: #111827;
  color: #d1d5db;
  padding-top: 70px;
  font-family: 'Poppins', sans-serif;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 10px;
}

.footer-links h4,
.footer-social h4 {
  color: white;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #5B4ABF;
}

.footer-social a {
  font-size: 20px;
  margin-right: 15px;
  color: #d1d5db;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #5B4ABF;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 20px 0;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.developer a {
  color: #5B4ABF;
  text-decoration: none;
  font-weight: 500;
}

.developer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}