/* Footer Section Styles */
#Footer {
  background: linear-gradient(135deg, #0A2463 0%, #1a3a8b 100%);
  color: white;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

#Footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: cover;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #FFD166;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #FFD166;
  border-radius: 2px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.footer-logo h3 {
  font-family: "Lobster", sans-serif;
  font-size: 1.8rem;
  color: white;
}

.footer-description {
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: #FFD166;
  color: #0A2463;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item i {
  color: #FFD166;
  width: 20px;
  font-size: 1.1rem;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.8);
  font-family: sans-serif;
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-content span {
    font-family: sans-serif;
    font-size: 0.9rem;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #FFD166;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0A2463;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #FFD166;
  color: #0A2463;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  #Footer {
    padding: 50px 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }

  .footer-links li {
    padding-right: 25px;
  }

}

@media screen and (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-logo h3 {
    font-size: 1.5rem;
  }
  
  .footer-logo img {
    width: 40px;
    height: 40px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .legal-links {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}