
footer {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 1rem;
  margin-top: 6rem;
  /* backdrop-filter: blur(100px); */
}

/* Animated background elements */
footer::after {
  border: 1px solid white;
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.1) 50%, transparent 100%),
              radial-gradient(circle at 30% 20%, rgba(15, 15, 15, 0.5) 0%, transparent 100%),
              radial-gradient(circle at 30% 20%, rgba(15, 15, 15, 0.5) 0%, transparent 100%),
              radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
  z-index: 0;
}

footer .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  footer .row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Brand section */
.footerD .brand {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a8e6cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footerD .about {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Modern button */
.terms-btn {
  background: linear-gradient(135deg,#f12b2b 100%, #610a0a 0%, #ee0c0c 100%);
  border: none;
  margin-left: 0px;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(233, 22, 22, 0.3);
}

.terms-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.terms-btn:hover::before {
  left: 100%;
}

.terms-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 102, 102, 0.644);
}

/* Headings */
.heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Lists */
.p-list, .l-list, .contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-list li, .l-list li, .contact li {
  margin-bottom: 0.8rem;
  padding-left: 0;
}

.p-list a, .l-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.p-list a:hover, .l-list a:hover {
  color: #e82424;
  transform: translateX(5px);
}

a.acti {
  color: #ff0000;
  font-weight: 600;
}

/* Contact section */
.contact li {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.contact li i {
  margin-right: 0.75rem;
  width: 16px;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Social media */
.social-media {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.social-media li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
}

.social-media li a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Specific social media colors on hover */
.social-media li:nth-child(1) a:hover { color: #1877f2; } /* Facebook */
.social-media li:nth-child(2) a:hover { color: #f04363; } /* Instagram */
.social-media li:nth-child(3) a:hover { color: #ff0000; } /* YouTube */
.social-media li:nth-child(4) a:hover { color: #25d366; } /* WhatsApp */
/* 

/* Enhanced copyright section */
.copy {
  text-align: center;
  padding: 20px 0 20px 0;
  margin-bottom: -20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  position: relative;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  /* border-radius: 12px 12px 0 0; */
}

/* .copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 485px;
  height: 2px;
  background: linear-gradient(90deg, #c300ff, #ff0000);
  border-radius: 1px;
} */

.copy .dev_name {
  color: #1db340;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copy .dev_name:hover {
  color: #ff0080;
  text-shadow: 0 0 15px rgba(255, 0, 128, 0.8);
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  footer .row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footerD {
    grid-column: 1 / -1;
  }
  footer {
    padding: 3rem;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 3rem;
  }
  
  footer .container {
    padding: 2rem;
  }
  
  .social-media {
    gap: 0.75rem;
  }
  
  .social-media li a {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Loading animation for better UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}