/* FOOTER BASE STYLES */
.footer {
  background: linear-gradient(to right, #00093c, #2d0b00);
  color: #fff;
  padding: 60px 20px 30px;
  font-size: 14px;
  line-height: 1.6;
}

/*
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
*/
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;   /* controls space between items */
  justify-content: center; /* items stay close with equal spacing */
}


.footer-col {
  flex: 1 1 250px;
  min-width: 230px;
}



.footer-logo {
  width: 60px;
  margin-bottom: 15px;
}

.footer-col h3 {
  position: relative;
  margin-bottom: 20px;
  font-size: 18px;
}

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

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

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ddd;
}

/* Underline Animation */
.underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 4px;
  width: 100%;
  background: #767676;
  border-radius: 2px;
  overflow: hidden;
}

.underline span {
  display: block;
  width: 15px;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  animation: moveUnderline 2s linear infinite;
}

@keyframes moveUnderline {
  0% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
}

.newsletter-form button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .fa {
  width: 35px;
  height: 35px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.social-icons .fa:hover {
  transform: scale(1.1);
}

/* Divider */
footer hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #ccc;
}

/* Copyright */
footer .copyright {
  text-align: center;
  font-size: 13px;
  color: #ccc;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {

 
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 5px;

  }

  .footer-col {
    text-align: center;
  }

  
.links {
margin-top: -40px;

}

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
}
