/* ==============================
   CONNECTLY FOOTER (Fully Scoped)
================================= */
#connectly-footer {
  font-family: 'Segoe UI', sans-serif;
  width: 100%;
  padding: 3rem 2rem;
  background: rgba(25,35,57,0.9);
  color: #ddd;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  box-sizing: border-box;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 10;
}

/* Footer Columns */
#connectly-footer .footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

/* Titles */
#connectly-footer .footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* Links */
#connectly-footer .footer-col a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin: 0.3rem 0;
  transition: 0.3s;
  font-size: 0.95rem;
}

#connectly-footer .footer-col a:hover {
  color: #1da1f2;
}

/* Social Icons */
#connectly-footer .socials a {
  display: inline-block;
  margin-right: 0.8rem;
  font-size: 1.2rem;
  color: #ddd;
  transition: 0.3s;
}

#connectly-footer .socials a:hover {
  color: #1da1f2;
}

/* Newsletter */
#connectly-footer .newsletter input[type="email"] {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 25px;
  margin-right: 0.5rem;
  outline: none;
  font-size: 0.95rem;
}

#connectly-footer .newsletter button {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 25px;
  background-color: #1da1f2;
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
}

#connectly-footer .newsletter button:hover {
  background-color: #0d8ddb;
}

/* Footer Bottom */
#connectly-footer .footer-bottom {
  width: 100%;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

/* Dark Mode */
body.dark-mode #connectly-footer {
  background: rgba(17, 24, 39, 0.9);
  color: #e5e7eb;
  box-shadow: 0 -10px 25px rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  #connectly-footer {
    flex-direction: column;
    text-align: center;
  }
  #connectly-footer .footer-col {
    margin-bottom: 1.5rem;
  }
  #connectly-footer .socials a {
    margin-right: 0.5rem;
  }
  #connectly-footer .newsletter input[type="email"] {
    width: 70%;
    margin-bottom: 0.5rem;
  }
  #connectly-footer .newsletter button {
    width: 70%;
  }
}