.footer {
  position: relative;
  overflow: hidden;
}

.footer-background-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: linear-gradient(45deg, #4cc9f0, #f72585);
  opacity: 0.1;
}

.footer-background-effect::before,
.footer-background-effect::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  animation: rotate 10s linear infinite;
}

.footer-background-effect::before {
  top: -150px;
  left: -150px;
  border-radius: 45% 55% 70% 30% / 30% 70% 30% 70%;
}

.footer-background-effect::after {
  bottom: -150px;
  right: -150px;
  border-radius: 30% 70% 45% 55% / 70% 30% 70% 30%;
  animation-direction: reverse;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Ensure footer content is above the background effect */
.footer > * {
  position: relative;
  z-index: 1;
}

.footer-skyline {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.footer-skyline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.skyline-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none; /* Mencegah drag & drop */
  user-select: none; /* Mencegah seleksi */
  -webkit-user-drag: none; /* Mencegah drag di Safari/Chrome */
}

.footer-content {
  position: absolute;
  top: 30px;
  right: 150px; /* Digeser lebih ke kiri */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-logo h3 {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #4cc9f0, #f72585);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  text-align: right;
}

.footer-logo p {
  font-size: 14px;
  opacity: 0.8;
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

.footer-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(160, 160, 255, 0.3);
}

.privacy-btn {
  background: linear-gradient(90deg, #4cc9f0, #f72585);
  border: none;
  box-shadow: 0 0 15px rgba(76, 201, 240, 0.5);
}

.footer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(160, 160, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #4cc9f0, #f72585);
  transform: translateY(-3px);
}

.footer-bottom {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 10px;
  text-align: right;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    top: 15px;
    right: 40px; /* Sesuaikan untuk mobile */
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .footer-logo {
    margin-bottom: 15px;
  }

  .footer-logo img {
    max-width: 120px;
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav li {
    margin: 8px 0;
  }

  .contact-info-item {
    margin-bottom: 12px;
  }

  .social-links {
    justify-content: flex-start;
  }

  .newsletter-form input {
    width: 100%;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 15px 0;
  }

  .footer-bottom-links {
    margin-top: 10px;
    justify-content: center;
  }

  .footer-bottom-links a {
    margin: 5px 8px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-description {
    font-size: 14px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .contact-info-item {
    font-size: 14px;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    margin-right: 8px;
  }

  .newsletter-form input {
    padding: 8px 12px;
    font-size: 14px;
  }

  .newsletter-form button {
    padding: 8px 12px;
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }
}