/* =========================
   FOOTER BASE (MODERN)
========================= */
.footer {
  background: linear-gradient(135deg, var(--primary), #0b1b3a);
  color: #fff;
  padding: 70px 80px 25px;
  /* font-family: Arial, sans-serif; */
  position: relative;
  overflow: hidden;
}

/* subtle glow background effect */
.footer::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--accent);
  opacity: 0.08;
  filter: blur(80px);
  border-radius: 50%;
}

/* =========================
   GRID LAYOUT
========================= */
.footer-container {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* =========================
   TYPOGRAPHY
========================= */
.footer-col h3 {
  font-size: 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  position: relative;
}

/* animated underline for headings */
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.footer-col:hover h3::after {
  width: 60px;
}

/* =========================
   TEXT
========================= */
.footer-col p {
  color: #cfd6e4;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   LIST STYLES (ANIMATED)
========================= */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #cfd6e4;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
  padding-left: 0;
}

/* animated hover underline */
.footer-col ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: 0.3s ease;
}

.footer-col ul li:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-col ul li:hover::after {
  width: 100%;
}

/* =========================
   LOGO
========================= */
.footer img {
  max-width: 140px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* =========================
   SOCIAL ICONS (GLOW EFFECT)
========================= */
.socials {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.socials i {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
}

.socials i:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================
   NEWSLETTER (GLASS CARD UPGRADE)
========================= */
.newsletter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.newsletter:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}

.newsletter .email {
  font-size: 13px;
  color: #cfd6e4;
  margin-bottom: 10px;
}

/* input styling */
.newsletter input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
}

/* button upgrade */
.newsletter button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.newsletter button:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 13px;
  color: #cfd6e4;
}

.footer-links a {
  color: #cfd6e4;
  margin-left: 15px;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
}

/* animated underline links */
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: 0.3s ease;
}

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

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

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {
  .footer {
    padding: 60px 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-links a {
    margin: 0 8px;
  }
}