/* ============================================================
   HERO SECTION NAVY + GOLD (CUSTOM LAPAS)
   ============================================================ */
.hero-new {
    width: 100%;
    padding: 120px 20px 110px;
    background: linear-gradient(to bottom right, #ffffff, #f3f5ff);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.hero-logo {
    width: 120px;
}

/* ===== TEKS SESUAI PERMINTAAN ===== */
.hero-kemen {
    font-size: 20px;
    font-weight: 700;
    color: #0A1A3A;
    margin-bottom: 10px;
}

.hero-unit {
    font-size: 40px;
    font-weight: 900;
    color: #0A1A3A;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-welcome {
    max-width: 650px;
    margin: auto;
    color: #333;
    font-size: 17px;
}

/* HERO BUTTONS */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    padding: 12px 28px;
    background: #0A1A3A;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #D4AF37;
    color: #0A1A3A;
}

.btn-secondary {
    padding: 12px 28px;
    border: 2px solid #0A1A3A;
    color: #0A1A3A;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}

/* Dekorasi */
.hero-dekor {
    position: absolute;
    opacity: 0.22;
    width: 140px;
}

.dekor1 {
    top: 40px;
    left: 60px;
}

.dekor2 {
    bottom: 40px;
    right: 70px;
}


/* ================= WAVE ================= */
.wave-transition {
    margin: 0;
    margin-top: -20px;
    z-index: 2;
    position: relative;
}

.wave-transition svg {
    width: 100%;
    display: block;
}

/* ========================== LAYANAN SECTION ========================== */

.layanan-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9ff, #ffffff);
    text-align: center;
}

.layanan-title {
    font-size: 32px;
    font-weight: 800;
    color: #0A1A3A;
}

.layanan-subtitle {
    margin-top: 10px;
    font-size: 16px;
    color: #444;
}

.layanan-grid {
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
}

.layanan-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px 25px;
    text-align: left;
    transition: 0.25s ease;
}

.layanan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.layanan-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.layanan-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0A1A3A;
    margin-bottom: 10px;
}

.layanan-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 18px;
}

.layanan-btn {
    font-weight: bold;
    text-decoration: none;
    color: #0A1A3A;
}

.layanan-btn:hover {
    color: #D4AF37;
}


/* Responsive */
@media (max-width: 768px) {
    .layanan-section {
        padding: 60px 15px;
    }
    .layanan-title {
        font-size: 28px;
    }
}

/* ================= BERITA TERBARU ================= */
.berita-section {
    padding-top: 80px;
    padding-bottom: 60px;
    background: #f7f7f7;
    position: relative;
    z-index: 3;
}

.judul-section {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
}

.berita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.berita-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    transition: .3s ease;
}

.berita-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.berita-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.berita-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 15px 20px 10px 20px;
    color: #000;
}

.berita-card p {
    font-size: 15px;
    color: #333;
    margin: 0 20px 15px 20px;
    line-height: 1.5;
}

.berita-card a {
    margin-left: 20px;
    font-weight: bold;
    color: #5c2dd5;
    text-decoration: underline;
}

.berita-card a:hover {
    opacity: 0.7;
}


/* RESPONSIVE BERITA */
@media (max-width: 768px) {
    .berita-grid {
        grid-template-columns: 1fr;
    }
    .berita-card img {
        height: 200px;
    }
}


/* ==================== BERITA MEDIA LAIN ==================== */

.media-lain-section {
    background: #f9fafc;
    padding: 80px 20px;
}

.media-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #0A1A3A;
    margin-bottom: 40px;
}

.media-lain-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
}

/* BERITA BESAR */
.media-big {
    flex: 1.2;
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.media-big img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}

.media-big h3 {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
}

.media-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.media-author {
    font-size: 14px;
    color: #444;
}

/* BERITA KANAN (LIST) */
.media-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.media-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 14px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.media-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.media-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.media-item p {
    margin: 2px 0;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .media-lain-wrapper {
        flex-direction: column;
    }
}

/* ==================== MEDIA SOSIAL ==================== */

.sosmed-section {
    background: #f5f7fb;
    padding: 80px 20px;
    text-align: center;
}

.sosmed-title {
    font-size: 30px;
    font-weight: 800;
    color: #0A1A3A;
    margin-bottom: 8px;
}

.sosmed-subtitle {
    color: #555;
    font-size: 16px;
    margin-bottom: 40px;
}

.sosmed-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* ⬅️ PAKSA 1 BARIS */
    gap: 25px;
}


.sosmed-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 20px;
    text-decoration: none;
    color: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.sosmed-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.sosmed-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #eef2ff;
}

/* Warna Icon */
.instagram { background: #fde2f3; }
.facebook  { background: #e8f0ff; }
.youtube   { background: #ffe8e8; }
.tiktok    { background: #e9f7f3; }
.twitter {
    background: #e8f4fd;
}


.sosmed-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sosmed-card p {
    font-size: 14px;
    color: #555;
}

@media (max-width: 900px) {
    .sosmed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .sosmed-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= FAQ (FINAL STABLE & MEWAH) ================= */

.faq-section {
    padding: 90px 20px;
    background: #ffffff;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.faq-title span {
    color: #f4b400;
}

.faq-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 55px;
    font-size: 16px;
}

.faq-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start; /* ⬅️ PENTING BIAR TIDAK KETARIK */
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.faq-item:hover {
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    border-color: #f4b400;
}

.faq-header {
    padding: 22px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.faq-header span:first-child {
    padding-right: 15px;
}
/* RESET BUTTON FAQ (WAJIB) */
.faq-header {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    font-family: inherit;
}

.faq-header:focus {
    outline: none;
}


.faq-icon {
    font-size: 22px;
    font-weight: bold;
    color: #0A1A3A;
    transition: transform .3s ease;
}

.faq-content {
    padding: 0 24px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

/* ACTIVE STATE */
.faq-item.active .faq-content {
    padding: 0 24px 22px;
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* + jadi x */
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-title {
        font-size: 28px;
    }
}

/* ================= PENGADUAN ================= */
/* ================= FORM PENGADUAN ================= */
#formPengaduan {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

/* INPUT & TEXTAREA */
#formPengaduan input,
#formPengaduan textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
  transition: 0.3s;
}

/* FOCUS EFFECT */
#formPengaduan input:focus,
#formPengaduan textarea:focus {
  border-color: #0A1A3A;
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 26, 58, 0.1);
}

/* TEXTAREA HEIGHT */
#formPengaduan textarea {
  min-height: 120px;
  resize: vertical;
}

/* BUTTON */
#formPengaduan button {
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: #0A1A3A;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER BUTTON */
#formPengaduan button:hover {
  background: #f4b400;
  color: #0A1A3A;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pengaduan-box {
    padding: 30px 20px;
  }
}

/* ================= FIX FORM BIAR GA KELEBARAN ================= */
#formPengaduan {
  max-width: 500px;
  margin: 25px auto 0;
}

/* BIAR WIDTH RAPI */
#formPengaduan input,
#formPengaduan textarea {
  box-sizing: border-box;
}

/* BUTTON FULL & GA KEPOTONG */
#formPengaduan button {
  width: 100%;
  margin-top: 10px;
}

/* ================= BACKGROUND PENGADUAN ================= */
.pengaduan-section {
  padding: 80px 10%;
  background: linear-gradient(135deg, #0A1A3A, #1c3d7a);
  display: flex;
  justify-content: center;
}

.pengaduan-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

#formPengaduan input[type="file"] {
  padding: 10px;
  border-radius: 10px;
  border: 1px dashed #ccc;
  background: #f9f9f9;
  cursor: pointer;
}