:root {
  --footer-bg: #0a192f;
  --footer-accent: #1965c0;
  --footer-text: #e6f1ff;
  --footer-text-muted: #8892b0;
  --footer-white: #ffffff;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-footer {
  background: linear-gradient(135deg, #0a192f 0%, #060e1a 100%);
  color: var(--footer-text);
  padding-top: 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Quicksand', sans-serif;
}

/* Subtle background decoration */
.custom-footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(25, 101, 192, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-brand {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: var(--transition-smooth);
}

.footer-brand:hover {
  transform: scale(1.05);
}

.footer-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--footer-text-muted);
  max-width: 350px;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  color: var(--footer-white);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--footer-accent);
  transition: var(--transition-smooth);
}

.quick-links:hover .footer-heading::after {
  width: 100%;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--footer-text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition-smooth);
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--footer-white);
  transform: translateX(10px);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact {
  color: var(--footer-text);
  font-size: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.footer-contact:hover {
  color: var(--footer-accent);
}

.footer-contact i {
  color: var(--footer-accent);
  font-size: 18px;
}

.footer-contact img {
    margin: 0;
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(85%) circle(106%) saturate(1478%) hue-rotate(196deg) brightness(92%) contrast(92%);
}

.social-icons-container {
  margin-top: 0 !important;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-white);
  font-size: 20px;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social:hover {
  background: var(--footer-accent);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(25, 101, 192, 0.3);
  border-color: var(--footer-accent);
}

.social img {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.social:hover img {
    filter: brightness(0) invert(1);
}

/* Footer Bottom Bar */
.footer-bar {
  background: rgba(25, 101, 192, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 30px;
  padding: 15px 0;
}

.footer-bar-link {
  color: var(--footer-text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
  margin: 0 15px;
}

.footer-bar-link:hover {
  color: var(--footer-white);
}

.divider {
  color: rgba(255, 255, 255, 0.1);
}

.copyright-section {
    background: #050c18;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-link-container {
  font-size: 14px;
  color: var(--footer-text-muted);
  margin-top: 0;
}

.footer-link-container a {
    color: var(--footer-accent);
    font-weight: 600;
}

/* Responsiveness */
@media (max-width: 991.98px) {
  .custom-footer {
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
  }
  
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .footer-heading {
    margin-top: 30px;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-icons {
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 20px;
  }
  
  .footer-contact {
    justify-content: center;
  }

  .footer-links a:hover {
      transform: none;
  }
  .footer-links a::before {
      display: none;
  }
}

@media (max-width: 767.98px) {
    .footer-heading {
        font-size: 20px;
    }
    
    .footer-desc {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer-bar {
        padding: 15px 5px;
    }

    .footer-bar-link {
        margin: 5px 10px;
        display: inline-block;
    }

    .footer-link-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 0;
    }
}
