/* =========================================================
   NAVSANDESH DRISHTI — FOOTER COMPONENT v5.4
   Edit this file to change footer design without touching PHP.
   ========================================================= */

.nd-footer-v54{
  --footer-bg:#0f172a;
  --footer-bg-2:#0b1220;
  --footer-text:#d6deea;
  --footer-muted:#aeb9c9;
  --footer-heading:#ffffff;
  --footer-line:#243147;
  --footer-accent:#ef233c;
  margin-top:28px;
  background:linear-gradient(180deg,var(--footer-bg),var(--footer-bg-2));
  color:var(--footer-text);
  position:relative;
  overflow:hidden;
}
.nd-footer-v54 .footer-main{display:block;padding:54px 0 28px}
.nd-footer-v54 .footer-brand{text-align:center;max-width:960px;margin:0 auto 40px}
.nd-footer-v54 .footer-logo{font-size:38px;line-height:1.1;font-weight:900;letter-spacing:-1px;color:#fff}
.nd-footer-v54 .footer-logo span{color:#fff}
.nd-footer-v54 .footer-brand p{margin:18px auto 0;max-width:920px;color:#c1cad7;font-size:20px;line-height:1.75}
.nd-footer-v54 .social-row{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:34px}
.nd-footer-v54 .social-row a{min-width:138px;height:54px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #334258;border-radius:30px;background:#1b2739;color:#dbe5f2;font-size:18px;font-weight:800;transition:transform .2s,background .2s,border-color .2s}
.nd-footer-v54 .social-row a:hover{transform:translateY(-2px);background:#26364d;border-color:#4b5d76;color:#fff}
.nd-footer-v54 .footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:12px}
.nd-footer-v54 .footer-col{min-width:0}
.nd-footer-v54 .footer-col h3{margin:0 0 17px;padding-bottom:14px;border-bottom:1px solid var(--footer-line);color:var(--footer-heading);font-size:24px;line-height:1.3;font-weight:900}
.nd-footer-v54 .footer-col h3:after{content:"";display:block;width:58px;height:3px;background:var(--footer-accent);margin-top:10px;border-radius:3px}
.nd-footer-v54 .footer-links{display:flex;flex-direction:column;gap:13px;min-width:0}
.nd-footer-v54 .footer-links a,.nd-footer-v54 .footer-empty{display:block;color:var(--footer-muted);font-size:18px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .15s}
.nd-footer-v54 .footer-links a:hover{color:#fff}
.nd-footer-v54 .footer-menu,.nd-footer-v54 .footer-menu ul{list-style:none;margin:0;padding:0}
.nd-footer-v54 .footer-menu li{margin:0 0 13px}
.nd-footer-v54 .footer-menu a{display:block}
.nd-footer-v54 .footer-privacy{margin-top:48px;padding:28px 30px;border:1px solid #25334a;border-radius:18px;background:rgba(6,13,27,.58);color:#c4cedc;font-size:18px;line-height:1.65}
.nd-footer-v54 .footer-privacy strong{color:#dbe4ef;margin-right:10px}
.nd-footer-v54 .footer-bottom{border-top:1px solid var(--footer-line);padding:24px 0;color:#aeb8c7;font-size:18px}
.nd-footer-v54 .footer-bottom .container{text-align:center}
.nd-footer-v54 .footer-trust{margin-top:8px;font-weight:800;color:#9eabbe}

.nd-mobile-bottom-v54{display:none}

@media (max-width:1100px){
  .nd-footer-v54 .footer-main{padding-left:20px;padding-right:20px}
  .nd-footer-v54 .footer-logo{font-size:34px}
  .nd-footer-v54 .footer-brand p{font-size:18px}
  .nd-footer-v54 .footer-col h3{font-size:21px}
  .nd-footer-v54 .footer-links a,.nd-footer-v54 .footer-empty{font-size:16px}
}

@media (max-width:700px){
  body{padding-bottom:76px}
  .nd-footer-v54{margin-top:18px;padding-bottom:78px}
  .nd-footer-v54 .footer-main{padding:36px 16px 20px}
  .nd-footer-v54 .footer-brand{margin-bottom:30px}
  .nd-footer-v54 .footer-logo{font-size:29px}
  .nd-footer-v54 .footer-brand p{font-size:15px;line-height:1.75;margin-top:14px}
  .nd-footer-v54 .social-row{gap:9px;margin-top:23px}
  .nd-footer-v54 .social-row a{min-width:0;width:auto;height:43px;padding:0 15px;font-size:13px;border-radius:24px}
  .nd-footer-v54 .footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:5px}
  .nd-footer-v54 .footer-col{background:transparent;border:0;border-radius:0;padding:4px;min-width:0}
  .nd-footer-v54 .footer-col h3{font-size:13px;line-height:1.35;margin-bottom:9px;padding-bottom:8px}
  .nd-footer-v54 .footer-links{gap:8px}
  .nd-footer-v54 .footer-links a,.nd-footer-v54 .footer-empty{font-size:11px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
  .nd-footer-v54 .footer-privacy{margin-top:30px;padding:18px 16px;border-radius:14px;font-size:13px;line-height:1.7}
  .nd-footer-v54 .footer-privacy strong{display:inline;margin-right:6px}
  .nd-footer-v54 .footer-bottom{padding:18px 12px;font-size:13px;line-height:1.6}
  .nd-footer-v54 .footer-trust{font-size:13px}
  .nd-mobile-bottom-v54{display:grid;position:fixed;z-index:10000;left:0;right:0;bottom:0;height:68px;padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.98);border-top:1px solid #dce1e8;grid-template-columns:repeat(5,1fr);box-shadow:0 -5px 22px rgba(0,0,0,.13);backdrop-filter:blur(12px)}
  .nd-mobile-bottom-v54 a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#18202d;text-decoration:none;font-size:11px;font-weight:700}
  .nd-mobile-bottom-v54 a span{font-size:21px;line-height:1}
  .nd-mobile-bottom-v54 a b{font-size:10px;font-weight:800;white-space:nowrap}
  .nd-mobile-bottom-v54 a.active{color:#b40000}
}

@media (min-width:701px) and (max-width:1100px){
  .nd-footer-v54 .footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
  .nd-footer-v54 .footer-col h3{font-size:19px}
  .nd-footer-v54 .footer-links a,.nd-footer-v54 .footer-empty{font-size:15px}
}

.nd-footer-v54 .footer-video-links a{display:block;}
@media(max-width:700px){.nd-footer-v54 .footer-grid{grid-template-columns:1fr 1fr;}.nd-footer-v54 .footer-col:nth-child(3),.nd-footer-v54 .footer-col:nth-child(4){margin-top:8px;}}

/* V5.8.8: four footer columns in a single row on mobile */
@media(max-width:700px){.nd-footer-v54 .footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.nd-footer-v54 .footer-col:nth-child(3),.nd-footer-v54 .footer-col:nth-child(4){margin-top:0!important}.nd-footer-v54 .footer-col h3{font-size:11px}.nd-footer-v54 .footer-links a,.nd-footer-v54 .footer-empty{font-size:9px}}

/* V5.9 editorial author/team section */
.nd-footer-v54 .footer-authors{margin-top:38px;padding-top:28px;border-top:1px solid var(--footer-line)}
.nd-footer-v54 .footer-authors-title{text-align:center;color:#fff;font-size:24px;margin:0 0 22px;font-weight:900}
.nd-footer-v54 .footer-authors-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:900px;margin:0 auto}
.nd-footer-v54 .footer-author-card{text-align:center;padding:16px 10px;border:1px solid #26364d;border-radius:16px;background:rgba(255,255,255,.025)}
.nd-footer-v54 .footer-author-avatar{width:78px;height:78px;margin:0 auto 10px;border-radius:50%;overflow:hidden;border:3px solid #334258;background:#243147;display:grid;place-items:center;color:#fff;font-size:28px;font-weight:900}
.nd-footer-v54 .footer-author-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.nd-footer-v54 .footer-author-name{color:#fff;font-weight:900;font-size:16px;line-height:1.35}
.nd-footer-v54 .footer-author-role{color:var(--footer-muted);font-size:12px;margin-top:4px}
@media(max-width:700px){
 .nd-footer-v54 .footer-authors{margin-top:25px;padding-top:22px}
 .nd-footer-v54 .footer-authors-title{font-size:17px;margin-bottom:14px}
 .nd-footer-v54 .footer-authors-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .nd-footer-v54 .footer-author-card{padding:9px 3px;border-radius:10px}
 .nd-footer-v54 .footer-author-avatar{width:54px;height:54px;border-width:2px;font-size:20px;margin-bottom:6px}
 .nd-footer-v54 .footer-author-name{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .nd-footer-v54 .footer-author-role{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
