.footer {
  background-color: #141E46;
  color: white;
  position: relative;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  width: 100%;
  text-align: center; 
}

.wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 100px;
  z-index: 1;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: block;
}

.wave1 { z-index: 3; }
.wave2 { z-index: 2; }
.wave3 { z-index: 1; }

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 140px 20px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.logo2 img {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.logo2 img:hover {
  transform: scale(1.05);
}

.footer-left p {
  font-size: 14px;
  color: #f5f5f5;
  margin-top: 5px;
  letter-spacing: 0.3px;
}

.footer-right {
  display: none;
}

.policy-toast {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.policy-toast.active {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

.policy-toast-content {
  background: #fff;
  color: #1a1a1a;
  padding: 25px 30px;
  width: 90%;
  max-width: 480px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.35s ease;
}

.policy-toast-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1b4332;
  margin-bottom: 12px;
}

.policy-toast-content p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}

.policy-toast-content button {
  background-color: #1b4332;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  margin-top: 5px;
  transition: all 0.2s ease-in-out;
}

.policy-toast-content button:hover {
  background-color: #2d6a4f;
  transform: scale(1.05);
}

.policy-toast-content #policy-message {
  max-height: 300px;
  overflow-y: auto;
  text-align: justify;
  padding-right: 5px;
}

.policy-toast-content #policy-message::-webkit-scrollbar {
  width: 6px;
}
.policy-toast-content #policy-message::-webkit-scrollbar-thumb {
  background: #2d6a4f;
  border-radius: 4px;
}

/* ✨ Animations */
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; } 
  to { transform: translateY(0); opacity: 1; }
}

/* 💻 Large Screens (≥1200px) */
@media (min-width: 1200px) {
  .footer-content {
    padding: 160px 30px 70px;
  }

  .logo2 img {
    height: 55px;
  }

  .footer-left p {
    font-size: 15px;
  }
}

/* 📱 Tablets (768px–1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
  .footer-content {
    padding: 120px 40px 50px;
  }

  .logo2 img {
    height: 45px;
  }

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

  .wave-container {
    height: 90px;
  }
}

/* 📱 Mobile (≤767px) */
@media (max-width: 767px) {
  .footer-content {
    padding: 100px 25px 40px;
  }

  .logo2 img {
    height: 40px;
  }

  .footer-left p {
    font-size: 13px;
    line-height: 1.4;
  }

  .wave-container {
    height: 80px;
  }

  .policy-toast-content {
    width: 92%;
    padding: 20px 18px;
  }

  .policy-toast-content h2 {
    font-size: 18px;
  }

  .policy-toast-content p {
    font-size: 13px;
  }

  .policy-toast-content button {
    padding: 8px 20px;
  }
}

/* 📱 Extra Small (≤420px) */
@media (max-width: 420px) {
  .footer-content {
    padding: 80px 15px 35px;
  }

  .logo2 img {
    height: 35px;
  }

  .footer-left p {
    font-size: 12px;
  }

  .wave-container {
    height: 70px;
  }
}
