/*--------------------------------------------------------------
# Footer - Premium Professional Design
--------------------------------------------------------------*/

/* Footer Base */
#footer {
  background: linear-gradient(135deg, #1a2b4a 0%, #2c4169 50%, #37517e 100%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(71, 178, 228, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(115, 197, 235, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Footer Top Section */
.footer-top {
  padding: 80px 0 50px;
  position: relative;
  z-index: 1;
}

/* Footer About Column */
.footer-about {
  padding-right: 30px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 25px;
}

.footer-logo-img {
  width: 45px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(71, 178, 228, 0.4);
}

/* Footer Links */
.footer-links h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  border-radius: 2px;
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  transition: width 0.3s ease;
}

.footer-links ul li a:hover {
  color: #47b2e4;
  transform: translateX(5px);
}

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

/* Footer Contact */
.footer-contact h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  border-radius: 2px;
}

.contact-info {
  margin-bottom: 25px;
}

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

.contact-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(71, 178, 228, 0.15);
  border-radius: 10px;
  color: #47b2e4;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item a,
.contact-item span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #47b2e4;
}

/* Footer Newsletter */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  margin-top: 10px;
}

.footer-newsletter h5 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
  border-color: #47b2e4;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(71, 178, 228, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 25px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(71, 178, 228, 0.3), transparent);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.copyright strong {
  color: #47b2e4;
  font-weight: 600;
}

.footer-tagline {
  text-align: right;
}

.footer-tagline span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-top {
    padding: 60px 0 40px;
  }

  .footer-about {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .footer-links h4,
  .footer-contact h4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 50px 0 30px;
  }

  .footer-logo span {
    font-size: 24px;
  }

  .footer-description {
    font-size: 14px;
  }

  .copyright,
  .footer-tagline {
    text-align: center;
  }

  .footer-tagline {
    margin-top: 10px;
  }

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

  .newsletter-form button {
    width: 100%;
    height: 48px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    padding: 40px 0 25px;
  }

  .footer-links {
    margin-bottom: 25px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .footer-newsletter {
    padding: 20px;
  }
}