/* ===== Footer Start ===== */
.footer {
  background: #3ba6df;
  color: #fff;
  padding: 0;
  border-top-left-radius: 82px;
  width: 100%;
  margin-top: 0;
  position: relative;
}

.footer-atas-kanan {
  position: absolute;
  top: -1px;
  right: 0;
  width: 100px;
  height: auto;
  z-index: 1;
}

.footer-bawah-kiri {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 240px;
  height: auto;
  z-index: 0;
}

@media (max-width: 600px) {
  .footer-bawah-kiri {
    display: none;
  }
}

.footer-spacer {
  height: 8rem;
  width: 1px;
  display: block;
  pointer-events: none;
  opacity: 0;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  padding: 4rem 6rem;
  gap: 80px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap; /* Make sure columns wrap on small screens */
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-col-logo,
.footer-col-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col-logo {
  flex: 1.2;
  min-width: 220px;
  max-width: 360px;
}

.footer-logo {
  width: 140px;
}

.footer-brand-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-badge {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-col-connect {
  flex: 1.5;
  min-width: 200px;
  align-items: flex-start;
}

.footer-col-connect p{
    color: #fff;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 500 !important;
  margin-bottom: 0.7rem;
}

.footer-address {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.footer-contact-item i {
  font-size: 1.1rem;
  line-height: 1; 
  vertical-align:
}

.footer-contact-item p {
  margin: 0;
  line-height: 1; /* Pastikan sejajar */
}

.footer-col-links {
  flex: 1.1;
  min-width: 140px;
  align-items: flex-start;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f29015;
}

.footer-col-newsletter {
  flex: 1.5;
  min-width: 220px;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1.2rem;
  width: 100%;
  max-width: 260px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 24px 0 0 24px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #fff;
  color: var(--color-blue);
}

.footer-newsletter-input ::placeholder {
  color: var(--color-blue);
}

.footer-newsletter-btn {
  background: #f29015;
  color: #fff;
  border: none;
  border-radius: 0 24px 24px 0;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-newsletter-btn:hover {
  background: #d87c0c;
}

/* 👇 FIXED: make social icons wrap correctly */
.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 0.7rem;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.footer-social-icon:hover {
  background: #f29015;
  color: #fff;
}

@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 2.5rem 1rem 1.5rem 1rem;
  }

  .footer-col {
    align-items: flex-start;
    width: 100%;
    min-width: 0;
  }

  .footer-col-newsletter {
    align-items: flex-start;
  }

  .footer-newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 1.5rem 2.5rem;
  }

  .footer-logo {
    width: 110px;
  }

  .footer-badge {
    width: 38px;
    height: 38px;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-width: 100%;
  }

  .footer-newsletter-input,
  .footer-newsletter-btn {
    border-radius: 24px;
    width: 100%;
    margin-left: 0;
  }

  .footer-social {
    gap: 0.7rem;
  }

  .footer-social-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}
/* ===== Footer End ===== */
