/* ===============================
   Urdu News Point – Polished Footer v2
=================================*/

.unp-footer {
  background: var(--footer-bg, #121212);
  color: var(--footer-text, #ddd);
  font-family: 'Jameel Noori', serif;
  margin-top: 50px;
}

/* Footer Top */
.footer-top {
  padding: 40px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-menu ul {
    padding-inline-start: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  justify-items: center;
}
.footer-col.footer-about {
    text-align: right;
}
.footer-social {
    display: flex;
    justify-content: center;
}
/* Footer About (Logo + Description + Social) */
.footer-about .footer-logo img {
  max-width: 190px;
  margin-bottom: 0px;
  filter: brightness(95%);
}
.footer-about .footer-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--footer-text,#ddd);
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  transition: all .3s ease;
}
.footer-social a:hover {
  background: #00c2a8;
  transform: translateY(-3px);
}

/* ===== Colored List Menu ===== */
.footer-col h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  border-bottom: 1px dashed rgba(255,255,255,.2);
  padding-bottom: 6px;
  text-align: right;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row-reverse;
}
.footer-menu li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--menu-color, #00c2a8);
  /* Random Color for variety */
  background-image: linear-gradient(45deg,
    #9b59b6 0%, #f39c12 25%, #16a085 50%, #e74c3c 75%, #2980b9 100%);
  background-size: 600%;
  animation: hueShift 6s linear infinite;
}
@keyframes hueShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.footer-menu a {
  color: var(--footer-text,#ddd);
  text-decoration: none;
  font-size: 15px;
  transition: color .25s ease;
}
.footer-menu a:hover {
  color: #00c2a8;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 15px 10px;
  background: rgba(0,0,0,0.25);
  font-size: 14px;
  color: #ccc;
}
.footer-bottom p { margin: 0; }

/* ===== Responsive ===== */
@media(max-width:992px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width:768px){
  .footer-grid{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:30px;
    text-align:center;
  }
	.footer-menu li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    justify-content: flex-start;
}
  .footer-social { justify-content:center; }
  .footer-about { text-align:center; }
  /* --- Logo + Social Full Width --- */
  .footer-about .footer-logo img {
    margin: 0 auto 20px;
  }
  /* Menus side-by-side under About */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    display: inline-block;
    width: 48%;
    vertical-align: top;
    text-align: right;
  }
}