
/* Footer Styles */
.footer {
  background-color: #f8fafc;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gradient);
  z-index: 1;
}

.footer-top {
  padding: 70px 0 40px;
  position: relative;
}

.footer-top::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background-color: rgba(17, 68, 106, 0.02);
  z-index: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.footer-brand img {
  height: 45px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--primary-color);
  opacity: 0.8;
  max-width: 95%;
}

.footer-heading {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 15px;
  position: relative;
}

.accent-line-footer {
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  margin-bottom: 20px;
  border-radius: 1.5px;
}

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

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

.footer-links a {
  color: var(--primary-color);
  opacity: 0.75;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  opacity: 1;
  padding-left: 5px;
}

.footer-links a:hover::before {
  width: 100%;
}

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

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-contact li i {
  color: var(--secondary-color);
  margin-right: 12px;
  margin-top: 5px;
}

.footer-contact li span {
  color: var(--primary-color);
  opacity: 0.8;
  line-height: 1.6;
}

.footer-social {
  display: flex;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(17, 68, 106, 0.1);
  color: var(--primary-color);
  margin-right: 12px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(101, 169, 83, 0.2);
}

.newsletter .input-group {
  box-shadow: 0 5px 20px rgba(17, 68, 106, 0.08);
  border-radius: 30px;
  overflow: hidden;
}

.newsletter .form-control {
  border: none;
  padding: 12px 15px;
  font-size: 0.9rem;
  border-radius: 30px 0 0 30px;
}

.newsletter .form-control:focus {
  box-shadow: none;
  border: none;
}

.newsletter .btn {
  border-radius: 0 30px 30px 0;
  padding: 10px 15px;
}

.newsletter .btn i {
  font-size: 0.9rem;
}

.footer-bottom {
  background-color: rgba(17, 68, 106, 0.03);
  padding: 20px 0;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--primary-color);
  opacity: 0.7;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

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

.footer-bottom-links a {
  color: var(--primary-color);
  opacity: 0.7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

/* Add animation effects */
.footer-animate {
  animation: fadeInUp 1s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for footer */
@media (max-width: 991.98px) {
  .footer-top {
    padding: 50px 0 30px;
  }
  
  .footer-top::after {
    width: 25%;
  }
}

@media (max-width: 767.98px) {
  .footer-top::after {
    display: none;
  }
  
  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 15px;
  }
  
  .footer-bottom-links li {
    margin-left: 0;
    margin-right: 20px;
  }
}
