/* === Global === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9fb;
  color: #003366;
  overflow-x: hidden;
}

.fade-in {
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-in-out forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Section Tentang Kami === */
.about-section {
  padding: 40px 20px 20px;
  background: linear-gradient(to right, #f0f4f8, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.about-section h2 {
  font-size: 2.5rem;
  color: #003399;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #0055cc;
  display: inline-block;
  padding-bottom: 10px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 1rem;
  }
}

/* === Struktur Organisasi === */
.struktur-organisasi {
  background-color: #f8f9fa;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1.2s ease-in-out;
}

.struktur-organisasi h2 {
  font-size: 2.2em;
  color: #003399;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
  animation: slideUp 1s ease-in-out;
}

.struktur-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  overflow-x: auto;
  margin: 0 auto;
}

.struktur-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.struktur-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* === Footer === */
.footer {
  background: #003366;
  color: white;
  padding: 40px 20px 20px;
  margin-top: 60px;
  animation: fadeIn 1s ease-in-out;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 220px;
  margin-bottom: 20px;
}

.footer-left h4,
.footer-right h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #00aaff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right ul li {
  margin-bottom: 10px;
}

.footer-right ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right ul li a:hover {
  color: #00aaff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    margin-bottom: 30px;
  }
}

/* === Header === */
.main-header {
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
  animation: fadeIn 0.6s ease-in-out;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo img {
  height: 50px;
}

.main-nav {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0077cc;
  transform: scale(1.02);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: #fff;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
    color: #003366;
  }
}


/* Lightbox style */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.lightbox-content:hover {
  transform: scale(1.02);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease;
}

.lightbox .close:hover {
  color: #ff4444;
}


/* =========================================================
   TAHAPAN LAYANAN PENGADUAN
   File: aduan-procedure.css
   ========================================================= */

.aduan-procedure {
    width: 100%;
    padding: 80px 20px;
    background: #f8fafc;
    box-sizing: border-box;
}

.aduan-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   HEADING
   ========================================================= */

.aduan-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.aduan-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 15px;
    margin-bottom: 15px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;

    color: #2563eb;
    background: #eff6ff;
}

.aduan-heading h2 {
    margin: 0 0 15px;

    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;

    color: #172033;
}

.aduan-heading p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: #64748b;
}


/* =========================================================
   STEPS
   ========================================================= */

.aduan-steps {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 0;
}


/* Garis penghubung antar step */

.aduan-steps::before {
    content: "";

    position: absolute;

    left: 29px;
    top: 30px;
    bottom: 30px;

    width: 2px;

    background: #dbeafe;
}


/* =========================================================
   STEP
   ========================================================= */

.aduan-step {
    position: relative;

    display: grid;
    grid-template-columns: 60px 55px 1fr;

    align-items: start;

    gap: 18px;

    padding: 0 0 38px;
}

.aduan-step:last-child {
    padding-bottom: 0;
}


/* =========================================================
   ICON
   ========================================================= */

.aduan-step-icon {
    position: relative;
    z-index: 2;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #2563eb;
    background: #ffffff;

    border: 2px solid #dbeafe;

    box-shadow: 0 6px 20px rgba(15, 23, 42, .06);

    font-size: 20px;

    transition: .25s ease;
}

.aduan-step:hover .aduan-step-icon {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(37, 99, 235, .20);
}


/* =========================================================
   NUMBER
   ========================================================= */

.aduan-step-number {
    padding-top: 20px;

    font-size: 12px;
    font-weight: 700;

    color: #94a3b8;

    letter-spacing: 1px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.aduan-step-content {
    padding: 7px 25px 0 0;
}

.aduan-step-content h3 {
    margin: 0 0 8px;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    color: #172033;
}

.aduan-step-content p {
    max-width: 750px;

    margin: 0;

    font-size: 14px;
    line-height: 1.75;

    color: #64748b;
}

.aduan-step-content strong {
    color: #2563eb;
}


/* =========================================================
   SERVICE NOTE
   ========================================================= */

.aduan-service-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-top: 55px;
    padding: 20px 22px;

    border-radius: 14px;

    background: #ffffff;
    border: 1px solid #e2e8f0;

    box-shadow: 0 8px 25px rgba(15, 23, 42, .04);
}

.aduan-note-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #2563eb;
    background: #eff6ff;

    font-size: 17px;
}

.aduan-service-note strong {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;
    font-weight: 700;

    color: #172033;
}

.aduan-service-note p {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: #64748b;
}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .aduan-procedure {
        padding: 55px 16px;
    }

    .aduan-heading {
        margin-bottom: 40px;
    }

    .aduan-heading h2 {
        font-size: 25px;
    }

    .aduan-heading p {
        font-size: 14px;
        line-height: 1.7;
    }


    .aduan-steps::before {
        left: 25px;
    }


    .aduan-step {
        grid-template-columns: 52px 1fr;

        gap: 15px;

        padding-bottom: 32px;
    }


    .aduan-step-icon {
        width: 52px;
        height: 52px;

        font-size: 17px;
    }


    .aduan-step-number {
        display: none;
    }


    .aduan-step-content {
        padding: 4px 0 0;
    }


    .aduan-step-content h3 {
        font-size: 16px;
    }


    .aduan-step-content p {
        font-size: 13px;
    }


    .aduan-service-note {
        margin-top: 40px;
        padding: 17px;
    }
}