/* ================================================
   Modern Footer Styles
   ================================================ */

.modern-footer {
  background: linear-gradient(135deg, #0a1628 0%, #1a2942 50%, #0a1628 100%);
  color: #ffffff;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.modern-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #4cc9f0, #0066cc);
}

/* Footer Top Section */
.footer-top {
  padding: 60px 20px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* Brand Section */
.footer-brand {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: #4cc9f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 201, 240, 0.3);
  border-color: transparent;
}

/* Footer Links Grid */
.footer-links {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #4cc9f0, transparent);
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: #4cc9f0;
  transform: translateX(5px);
}

.footer-column ul li i {
  width: 18px;
  color: #4cc9f0;
  font-size: 0.85rem;
}

/* Contact info without links */
.footer-column ul li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-column ul li:not(:has(a)) i {
  width: 18px;
  color: #4cc9f0;
  font-size: 0.85rem;
  margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-credits i {
  color: #ff6b6b;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 40px 20px 30px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .footer-brand {
    text-align: center;
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding: 30px 15px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column ul li a,
  .footer-column ul li:not(:has(a)) {
    justify-content: center;
  }

  .footer-column ul li a:hover {
    transform: none;
  }

  .footer-brand {
    margin-bottom: 1rem;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }
}
