.footer {
  background-color: #9b2f2f;
  color: #ffffff;
  margin-top: 60px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
  padding: 40px 60px;
  max-width: 100%;
  box-sizing: border-box;
}

/* === SEMUA KOLOM SAMA STRUKTUR === */
.footer-left,
.footer-middle,
.footer-right {
  display: flex;
  flex-direction: column;
}

/* === JUDUL === */
.footer-middle h3,
.footer-right h3,
.fake-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffcc00;
  margin-bottom: 10px;
  height: 18px; /* kunci kesejajaran */
}

/* === LEFT === */
.footer-left .logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-left img {
  width: 72px;
}

.footer-left h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.footer-left .desc {
  font-size: 14px;
  white-space: nowrap; /* 1 BARIS */
  margin: 4px 0;
}

.footer-left span {
  font-size: 14px;
}

/* === LIST === */
.footer-middle ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-middle,
.footer-right {
  text-align: left;
}

.footer-middle li,
.footer-right li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-middle i,
.footer-right i {
  min-width: 18px;
  font-size: 16px;
}

/* BOTTOM BAR */
.footer-bottom {
  background-color: #7a0c0c;
  text-align: center;
  padding: 12px;
  color: #ffcc00;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 1024px) {
    .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-left {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-left .logo {
    justify-content: center;
    flex-direction: row;
  }

  .footer-middle li,
  .footer-right li {
    justify-content: flex-start;
  }

  .footer-left .desc {
    white-space: normal;
  }
}

@media (max-width: 768px) {
      /* ===== FOOTER ===== */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 15px;
  }

  .footer-left .logo {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
  }

  .footer-left img {
    width: 50px;
    margin-right: 12px;
    margin-bottom: 0;
  }

  .footer-left h2 {
    font-size: 16px;
    color: white;
  }

  .footer-left .desc {
    font-size: 12px;
    color: white;
    text-align: left;
  }

  .footer-left span {
    text-align: left;
  }

  /* ===== FOOTER MOBILE STYLING ===== */
  .footer {
    background: #A13333;
    margin-top: 60px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 18px;
    background: #A13333;
  }

  .footer-left {
    grid-column: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left .logo {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
  }

  .footer-left img {
    width: 50px;
    margin-right: 12px;
    margin-bottom: 0;
  }

  .footer-left h2 {
    font-size: 16px;
    color: white;
  }

  .footer-left .desc {
    font-size: 12px;
    color: white;
    text-align: left;
  }

  .footer-left span {
    text-align: left;
  }

  .footer-middle,
  .footer-right {
    text-align: left;
  }

  .footer-middle h3,
  .footer-right h3 {
    font-size: 15px;
    color: #FFBF00;
    margin-bottom: 15px;
  }

  .footer-middle ul,
  .footer-right ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-middle li,
  .footer-right li {
    font-size: 15px;
    color: white;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-middle i,
  .footer-right i {
    font-size: 16px;
  }

  .footer-bottom {
    background: #8A0000;
    padding: 12px;
    font-size: 10px;
    color: #F9B703;
  }
}

@media (max-width: 480px) {
    .footer {
    margin-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 12px;
  }

  .footer-left .logo {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
  }

  .footer-left img {
    width: 50px;
    margin-right: 10px;
    margin-bottom: 0;
  }

  .footer-left h2 {
    font-size: 16px;
  }

  .footer-left .desc, .footer-left span {
    font-size: 11px;
    margin: 2px 0;
    text-align: left;
  }

  .footer-middle,
  .footer-right {
    text-align: left;
  }

  .footer-middle h3, .footer-right h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-middle li, .footer-right li {
    font-size: 11px;
    margin-bottom: 6px;
    gap: 8px;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-middle i, .footer-right i {
    min-width: 16px;
    font-size: 14px;
  }

  .footer-bottom {
    padding: 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
    .footer-left h2 {
    font-size: 14px;
  }

  .footer-middle h3, .footer-right h3 {
    font-size: 12px;
  }

  .footer-middle li, .footer-right li {
    font-size: 10px;
  }
}


@media (max-width: 768px) {
.footer-left,
  .footer-middle,
  .footer-right {
    text-align: left;
  }
}
