/* FOOTER STYLES */
.footer {
  background: var(--bg-dark);
  padding: 2rem 0 2rem;
  position: relative;
  margin-top: auto;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1e40af 0%, #f2c001 50%, #1e40af 100%);
}

.footer h5 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
  position: relative;
  color: white;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 45px;
  height: 3px;
  background: linear-gradient(90deg, #1976d2, #bbdefb);
  border-radius: 2px;
}

.footer-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Footer Links - BACKGROUND HOVER */
.footer-links {
  list-style: none;
  font-size: 0.95rem;
}

.footer-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* BACKGROUND HOVER EFFECT */
.footer-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(25, 118, 210, 0.15) 0%,
    rgba(3, 218, 198, 0.15) 50%,
    rgba(25, 118, 210, 0.15) 100%
  );
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.footer-link:hover::before {
  left: 0;
}

.footer-link span {
  position: relative;
  z-index: 1;
}

.footer-link i {
  width: 24px;
  margin-right: 14px;
  font-size: 1.15rem;
  opacity: 0.85;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.footer-link:hover {
  color: white !important;
  background: rgba(25, 118, 210, 0.2) !important;
  border-color: rgba(25, 118, 210, 0.3) !important;
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
}

.footer-link:hover i {
  transform: scale(1.1) translateX(4px);
  opacity: 1;
  color: #1976d2 !important;
}

/* Responsive */
@media (max-width: 992px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer-link {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }
}

.newsletter-section {
  padding: 100px 0;
}

.newsletter-card {
  max-width: 650px;
  margin: 0 auto;
}

.newsletter-icon {
  font-size: 4rem;
  color: #ffffff;
  margin-bottom: 30px;
  display: block;
}

/* Form */
.input-group-newsletter {
  border-radius: 15px;
  overflow: hidden;
}

.newsletter-input {
  background-color: #1b1c33 !important;
  color: #ffffff !important;
  border: 2px solid #1b1c33 !important;
  padding: 22px 30px !important;
  font-size: 1.1rem;
  height: 68px;
  border-radius: 15px;
}

.newsletter-input::placeholder {
  color: #888888 !important;
  opacity: 0.7;
}

#emailInput,
#emailInput:focus-visible,
#emailInput:hover,
#emailInput:valid,
#emailInput:invalid,
#emailInput.is-valid,
#emailInput.is-invalid {
  background-color: #1b1c33 !important;
  color: #ffffff !important;
  border: 2px solid #1b1c33 !important;
  border-radius: 15px !important;
}

#emailInput:focus-visible {
  border-color: #2563eb !important;
}

#emailInput.is-valid {
  border-color: #10b981 !important;
}
#emailInput.is-invalid {
  border-color: #ef4444 !important;
}

.btn-subscribe {
  display: block;
  padding: 12px 15px;
  margin: 15px auto;
  border-radius: 15px;
  border: 2px solid #1b1c33;
  color: #1e3c72;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 16px;
  font-family: graphik600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
}

.btn-subscribe::after,
.btn-subscribe.valid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #7c9ee5;
  border-radius: 15px;
  z-index: -2;
}

.btn-subscribe::before,
.btn-subscribe.valid::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #1e40af; /* darken */
  transition: all 0.3s;
  border-radius: 15px;
  z-index: -1;
}

.btn-subscribe:hover {
  color: #fff;
}

.btn-subscribe:hover::before {
  width: 100%;
}

.btn-subscribe.valid {
  background-color: #c8caff !important;
}

/* Success */
.success-message {
  border-radius: 15px;
  padding: 35px;
  text-align: center;
  color: #ffffff !important;
  margin-top: 25px;
  display: none;
}

.success-icon {
  font-size: 3.5rem;
  color: #ffffff;
  opacity: 1;
  margin-bottom: 20px;
}

li.list,
li.list a {
  list-style: none;
  padding: 10px;
  color: white;
  text-decoration: none;
}

li.list a:hover,
li.list a:active {
  color: #7c9ee5;
}

.logo-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2rem 1rem;
}

.logo-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 10px auto;
}

.logo-main {
  width: 200px;
}

.logo-social {
  text-decoration: none;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  margin: 10px;
}
.logo-social:hover,
.logo-social:active {
  color: #7c9ee5;
}
