/* ================= 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);
}


/* ================= ARTICLE ================= */

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #5B4ABF;
  text-decoration: none;
  font-size: 14px;
}

#article {
  padding: 120px 0;
  background: #f9fafb;
  font-family: 'Poppins', sans-serif;
}

.article-container {
  max-width: 850px;
  margin: auto;
  background: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
  line-height: 1.3;
}

.article-meta {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 40px;
  display: flex;
  gap: 10px;
}

.article-image {
  text-align: center;
  margin-bottom: 40px;
}

.article-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #374151;
  font-size: 15px;
}

.article-content h2 {
  margin: 35px 0 15px;
  font-size: 20px;
  color: #5B4ABF;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 20px;
  border-left: 4px solid #5B4ABF;
  background: #f3f4f6;
  font-style: italic;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  #article {
    padding: 80px 0;
  }

  .article-container {
    padding: 30px;
  }

  .article-title {
    font-size: 22px;
  }
}

/* ===============================
  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;
  }
}