/* ==============================
   FOOTER DARK THEME
============================== */
footer {
  /* background: #0d1b2a; */
  background: linear-gradient(135deg,#1f4e79,#e31e24,#228B22);
  /*background: linear-gradient(270deg, #6610f2, #e31e24, #228B22);*/
  color: #e0e0e0;
  font-size: 0.9rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.footer-flex {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-flex > .card {
  flex: 1 1 250px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1f4e79, #228B22);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-flex > .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.footer-flex .card-header {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-flex .card-body {
  padding: 1rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-flex a {
  color: #a8dadc;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-flex a:hover {
  color: #e31e24;
  transform: translateX(5px);
}

/* Newsletter */
.footer-flex input.form-control {
  border-radius: 0.25rem;
}

.footer-flex button.btn {
  border-radius: 0.25rem;
  background: #e31e24;
  border: none;
  transition: all 0.3s ease;
}

.footer-flex button.btn:hover {
  background: #1f4e79;
  transform: scale(1.05);
}

/* Social Icons */
.social-icons a {
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #fff;
}

.social-icons a.facebook:hover { background: #3b5998; }
.social-icons a.twitter:hover { background: #1da1f2; }
.social-icons a.youtube:hover { background: #ff0000; }
.social-icons a.linkedin:hover { background: #0a66c2; }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  align-items: center;
}

.footer-bottom a {
  color: #a8dadc;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #e31e24;
  text-decoration: underline;
}

/* Bounce emoji */
.emoji-animated {
  display: inline-block;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}