/* 🌊 Footer Styles */
.footer {
  background: #0b0c10;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.footer .wave {
  width: 100%;
  height: 50px;
  background: url('/assets/images/wave.svg') repeat-x;
  background-size: cover;
  position: absolute;
  top: -50px;
  left: 0;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer-logo .first { color: #ffb300; }
.footer-logo .second { color: #00bcd4; }

.footer-about {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  color: #ccc;
}

/* 🔗 Links */
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* 🌐 Social Icons */
.social-links a {
  color: #fff;
  background: #222;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  margin-right: 8px;
  transition: 0.3s ease;
}
.social-links a:hover {
  background: #0d6efd;
  color: #fff;
}

/* 📩 Newsletter */
.newsletter-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #666;
  background: #1c1c1c;
  color: #eee;
}
.newsletter-form input::placeholder {
  color: #aaa;
}
.newsletter-form button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}
.newsletter-form button:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
}

/* 📎 Divider */
.footer-divider {
  border-color: #444;
}

/* 🔝 Back to Top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s ease;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #0056b3;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
  .footer-logo {
    font-size: 1.6rem;
  }
}
