/* Enhanced Footer Styles */

.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #f1f1f1;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Add decorative elements */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 60%;
  background: radial-gradient(circle at bottom right, rgba(0, 198, 255, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Footer content layout */
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

/* Logo section */
.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo-text {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.footer-logo .logo-text:hover {
  transform: translateY(-3px);
}

.footer-logo .main-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.5));
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-logo p {
  color: #b8b8b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Footer social links */
.footer-logo .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

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

.footer-logo .social-link:hover {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

/* Quick links section */
.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  border-radius: 3px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 1.2rem;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #00c6ff;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  transform: translateY(-50%) translateX(3px);
}

/* Newsletter section */
.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-newsletter h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  border-radius: 3px;
}

.footer-newsletter p {
  color: #b8b8b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.newsletter-form {
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  border: none;
  color: #fff;
  padding: 0 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
}

.newsletter-form button i {
  font-size: 1rem;
}

/* Footer bottom section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: #b8b8b8;
  font-size: 0.9rem;
}

.footer-bottom .fa-heart {
  color: #ff6b6b;
  margin: 0 0.3rem;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  5% {
    transform: scale(1.2);
  }

  10% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.2);
  }

  20% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-logo {
    grid-column: span 2;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-logo {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom p {
    margin: 0.5rem 0;
  }
}