/* ============================================================
   footer.css  —  শুধু নতুন ফুটারের জন্য (সব ক্লাস .nf- দিয়ে শুরু)
   রেফারেন্স সাইটের মাপ হুবহু:
   - উপরের লাইন 2px, icon 24px, gap 16px
   - উপরে 12px, নিচে 40px
   - টেক্সট 16px / line-height 24px / semibold
   ============================================================ */

.nf-footer {
  margin-top: 30px;
  background: #fff;
  color: #000;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.nf-footer *, .nf-footer *::before, .nf-footer *::after { box-sizing: border-box; }
.nf-footer a { text-decoration: none; }

/* ---------- উপরের সোশ্যাল সারি ---------- */
.nf-social-bar {
  border-top: 2px solid #9ca3af;
  padding: 12px 0 40px;
}
.nf-social {
  display: flex;
  justify-content: flex-end;       /* ডেস্কটপে ডানে */
  flex-wrap: wrap;
  gap: 16px;
}
.nf-social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  transition: transform .2s, opacity .2s;
}
.nf-social a i { line-height: 1; display: block; }
.nf-social a svg { width: 24px; height: 24px; display: block; }
.nf-social a:hover { transform: translateY(-2px); opacity: .88; color: #fff; }

.nf-fb { background: #1877f2; }
.nf-x  { background: #000; }
.nf-tt { background: linear-gradient(135deg, #25f4ee, #fe2c55); }
.nf-pt { background: #cb2027; }
.nf-yt { background: #ff0000; }
.nf-in { background: #0a66c2; }
.nf-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.nf-gn { background: transparent; border-radius: 0; }   /* Google News নিজে রঙিন */

/* ---------- নিচের তথ্য অংশ ---------- */
.nf-info-wrap { border-top: 1px solid #d1d5db; }
.nf-info {
  padding: 4px 0;                  /* মোবাইল/ট্যাবলেট: py-1 */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.nf-info-left p { margin: 0; }
.nf-info-left .nf-brand { color: #3b82f6; }
.nf-info-left .nf-brand:hover { text-decoration: underline; }
.nf-info-left .nf-brand-c { font-size: 18px; vertical-align: -2px; margin: 0 2px; }
.nf-info-left a.nf-link { color: #000; }
.nf-info-left a.nf-link:hover { color: #3b82f6; }

/* ডিজাইন ও ডেভেলপমেন্ট — ডানদিকে (Back-to-top এর জন্য ডানে ফাঁকা) */
.nf-dev {
  margin-right: 80px;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
}
.nf-dev a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-weight: 700;
}
.nf-dev a i { color: #25d366; font-size: 18px; }
.nf-dev a:hover { color: #25d366; }

/* ---------- ডেস্কটপ (lg) : py-3 ---------- */
@media (min-width: 1024px) {
  .nf-info { padding: 12px 0; }
}

/* ---------- মোবাইল (md এর নিচে): সব মাঝখানে ---------- */
@media (max-width: 767px) {
  .nf-social { justify-content: center; }
  .nf-info { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; }
  .nf-dev { margin-right: 0; margin-top: 8px; white-space: normal; }
}
