/* Footer */
footer {
  background: linear-gradient(to bottom, #2d2d2d, #222);
  color: #f1f1f1;
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* Add subtle pattern overlay */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

/* Add top border accent */
footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #00d2a8, #00a0e4);
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  position: relative;
  z-index: 1;
}

footer .footer-column {
  flex: 1;
  min-width: 220px;
  text-align: left;
  transition: transform 0.3s ease;
}

footer .footer-column:hover {
  transform: translateY(-5px);
}

footer h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #00d2a8;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Add underline to headings */
footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #00d2a8, transparent);
  border-radius: 3px;
}

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

footer ul li {
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

footer ul li:hover {
  transform: translateX(5px);
}

footer ul li a {
  color: #f1f1f1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

/* Add hover underline effect */
footer ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #00d2a8;
  transition: width 0.3s ease;
}

footer ul li a:hover {
  color: #00d2a8;
}

footer ul li a:hover::after {
  width: 100%;
}

footer .contact-info p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
  display: flex;
  gap: 10px;
  align-items: center;
}

footer .contact-info p:hover {
  color: #ffffff;
  transform: translateX(3px);
}

footer .social-media {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

footer .social-media a {
  color: #f1f1f1; 
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

footer .social-media a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #00d2a8, #0088a9);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

footer .social-media a:hover {
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 210, 168, 0.3);
}

footer .social-media a:hover::before {
  opacity: 1;
}

footer .footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
  position: relative;
}

/* Add animated dots in footer bottom */
footer .footer-bottom::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, #00d2a8, transparent);
  border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  footer .footer-column {
    text-align: center;
    width: 100%;
  }

  footer h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  footer .social-media {
    justify-content: center;
  }

  footer .social-media a {
    margin: 0 8px;
  }
  
  footer ul li:hover {
    transform: translateY(-3px);
  }
}

/* Add animation for mobile devices */
@media (max-width: 480px) {
  footer {
    padding: 40px 15px 30px;
  }
  
  footer .footer-column {
    padding: 0 10px;
  }
  
  footer .footer-bottom {
    margin-top: 30px;
    font-size: 0.85rem;
  }
}

/* Disable underline for social media icons */
footer .social-media a::after {
  content: none !important;
}
footer .social-media a {
  text-decoration: none;
  position: relative;
}

footer .social-media a::after {
  display: none !important;
}
