/* =========================================================
   CLEAN DARK THEME + YOUR COLOR SCHEME (RESTORED)
   - Navbar light white-blue
   - Active navbar neon magenta + underline glow
   - Big page titles neon magenta + glow
   - Body subheadings light blue
   - Footer video preserved
========================================================= */

/* ---------- Base page colors ---------- */
body, .page-content, .main-content {
  background: #0b0d10 !important;
  color: #e6edf3 !important;          /* readable near-white */
  line-height: 1.7;
  font-size: 1.05rem;
}

p, li, .post-entry, .intro-text {
  color: #e6edf3 !important;
}

/* ---------- Links ---------- */
a {
  color: #7aa2ff !important;
  text-decoration: none;
}
a:hover {
  color: #a5bfff !important;
}

/* ---------- Headings in BODY ---------- */
/* normal h1 inside body (rare) keep soft + readable */
h1 {
  color: #f0f6fc !important;
  font-weight: 800;
}

/* body section headings = light blue */
h2, h3 {
  color: #cfe3ff !important;   /* light blue */
  font-weight: 700;
}

/* smaller headings */
h4, h5, h6 {
  color: #e6edf3 !important;
  font-weight: 700;
}

/* remove any theme underline pseudo-elements */
h2::after, h3::after {
  content: none !important;
  display: none !important;
}

/* ---------- BIG PAGE TITLES (HEADER) = NEON MAGENTA ---------- */
.intro-header .page-heading h1,
.intro-header .post-heading h1,
header .page-heading h1,
header .post-heading h1,
.header-section h1 {
  color: #ff4fd8 !important;     /* neon magenta */
  text-shadow: 0 0 10px rgba(255,79,216,0.55),
               0 0 18px rgba(255,79,216,0.35);
  font-weight: 900;
}

/* reduce huge home title a bit (Hi, I'm Abhishek.) */
.intro-header .page-heading h1,
.intro-header .post-heading h1 {
  font-size: 3rem !important;
}

/* ---------- NAVBAR: light white-blue text ---------- */
.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav .nav-link {
  color: #dbe7ff !important;     /* light white-blue */
  font-weight: 700;
  letter-spacing: 0.5px;
}
.navbar-custom .nav-link:hover {
  color: #ffffff !important;
}

/* TOP of page => transparent navbar */
.navbar-custom.top-nav-regular {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* After scroll => solid tinted blue */
.navbar-custom.top-nav-short,
.navbar-custom.top-nav-short-permanent {
  background: rgba(15, 35, 60, 0.96) !important;  /* your soft blue tint */
  backdrop-filter: blur(6px) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ---------- ACTIVE NAV ITEM = NEON MAGENTA + UNDERLINE ---------- */
.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-item > .nav-link[aria-current="page"] {
  color: #ff4fd8 !important;
  text-shadow: 0 0 6px rgba(255,79,216,0.9),
               0 0 14px rgba(255,79,216,0.7);
  font-weight: 900 !important;
  position: relative;
}

/* neon underline */
.navbar-nav .nav-item.active > .nav-link::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-item > .nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  background: #ff4fd8;
  box-shadow: 0 0 10px rgba(255,79,216,1);
  border-radius: 2px;
}

/* kill any divider line under navbar */
.navbar-custom, .navbar {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ---------- FOOTER VIDEO (site-wide) ---------- */
.video-footer {
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 2rem;
  margin-top: 3rem;
}

.video-footer .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.9;
}

.video-footer .footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* footer content above video */
.video-footer .beautiful-jekyll-footer,
.video-footer .beautiful-jekyll-footer * {
  position: relative;
  z-index: 2;
}

/* footer quote */
.footer-quote {
  margin: 1.2rem 0 0.6rem;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e6edf3;
  opacity: 0.9;
}

/* ---------- Resources cards + contact block (keep your nice layout) ---------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.resource-card {
  background: #11161c;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.6rem;
  border-radius: 10px;
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border 0.12s ease;
}

.resource-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #a9d6ff;
  margin-bottom: 0.4rem;
}

.resource-card-subtitle {
  color: #c9d1d9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(255,79,216,0.25);
  border-color: rgba(255,79,216,0.6);
}

.resources-contact-footer {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background: #0f141a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.rcf-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2.2rem;
  align-items: start;
}

.rcf-form h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.9rem;
  letter-spacing: 1px;
  color: #f6f0a6 !important;  /* soft yellow */
}

.rcf-sub {
  margin-bottom: 1.2rem;
  color: #c9d1d9;
  font-size: 0.98rem;
}

.rcf-form form input,
.rcf-form form textarea {
  width: 100%;
  background: #0b0d10;
  color: #e6edf3;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.85rem 0.9rem;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  outline: none;
}

.rcf-form form input:focus,
.rcf-form form textarea:focus {
  border-color: #ff4fd8;
  box-shadow: 0 0 0 2px rgba(255,79,216,0.2);
}

.rcf-form form button {
  background: #ff4fd8;
  color: #0b0d10;
  font-weight: 900;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.7rem;
  cursor: pointer;
  letter-spacing: 1px;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}

.rcf-form form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(255,79,216,0.55);
}

.rcf-info {
  color: #e6edf3;
  font-size: 1rem;
}

.rcf-info h3 {
  margin-top: 0.25rem;
  color: #a9d6ff !important;
  font-size: 1.3rem;
}

.rcf-info a {
  color: #e6edf3 !important;
}

.rcf-info a:hover {
  color: #a5bfff !important;
}

.rcf-socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.9rem;
  font-size: 2rem;
}

.rcf-socials a {
  color: #e6edf3;
  opacity: 0.9;
  transition: color 0.2s ease, transform 0.1s ease;
}

.rcf-socials a:hover {
  color: #ff4fd8;
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .rcf-wrap { grid-template-columns: 1fr; }
}


/* =========================
   HOME ABOUT LAYOUT
========================= */
.home-about {
  max-width: 1100px;
  margin: 2.5rem auto 1rem;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.5rem;
  align-items: start;
}

/* LEFT */
.home-about-left {
  text-align: center;
  padding: 1.5rem 1.2rem;
  background: #11161c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}

.home-avatar {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,79,216,0.6); /* neon magenta ring */
  box-shadow: 0 0 16px rgba(255,79,216,0.35);
  margin-bottom: 1rem;
}

.home-name {
  font-size: 1.9rem;
  font-weight: 900;
  color: #ff4fd8; /* neon magenta */
  margin-bottom: 0.35rem;
}

.home-role {
  font-size: 1.05rem;
  color: #a9d6ff; /* soft light blue */
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.home-affil {
  color: #e6edf3;
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

/* socials */
.home-socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  font-size: 1.9rem;
  margin-top: 0.5rem;
}
.home-socials a {
  color: #e6edf3;
  opacity: 0.9;
  transition: transform 0.12s ease, color 0.2s ease;
}
.home-socials a:hover {
  color: #ff4fd8;
  transform: translateY(-2px);
}

/* RIGHT */
.home-about-right h2 {
  color: #ffb3b3; /* your soft light red for section titles */
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 0;
}

.home-about-right p {
  color: #e6edf3;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* two columns inside right */
.home-two-col {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.home-two-col h3 {
  color: #a9d6ff;   /* light blue subheadings */
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.home-two-col ul {
  padding-left: 1.1rem;
}
.home-two-col li {
  margin: 0.35rem 0;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-about {
    grid-template-columns: 1fr;
  }
  .home-two-col {
    grid-template-columns: 1fr;
  }
}

.footer-social a{
  padding: .35rem .6rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-social a:hover{
  background: rgba(255,79,216,0.10) !important;
  border-color: rgba(255,79,216,0.5);
}


/* ==========================================
   FOOTER SOCIAL ICONS: hollow neon ring
========================================== */

/* Big circle = hollow ring ONLY */
footer .footer-links .fa-circle.fa-stack-2x {
  color: transparent !important;               /* no fill */
  -webkit-text-fill-color: transparent !important; /* Safari/Chrome fill off */
  -webkit-text-stroke: 2px #ff4fd8;           /* ring thickness + neon */
  
  text-shadow: none !important;               /* stop inward glow fill */
  filter: drop-shadow(0 0 6px rgba(255,79,216,0.9))
          drop-shadow(0 0 12px rgba(255,79,216,0.7)); /* glow OUTSIDE */
  opacity: 1 !important;
}

/* Actual icons = solid neon on top */
footer .footer-links .fa-stack-1x,
footer .footer-links .fa-inverse {
  color: #ff4fd8 !important;
  opacity: 1 !important;
  text-shadow: 0 0 6px rgba(255,79,216,0.9);
}

/* Hover brighter */
footer .footer-links a:hover .fa-circle.fa-stack-2x {
  -webkit-text-stroke: 2px #ff7fe5;
  filter: drop-shadow(0 0 8px rgba(255,127,229,1))
          drop-shadow(0 0 16px rgba(255,127,229,0.9));
}
footer .footer-links a:hover .fa-stack-1x,
footer .footer-links a:hover .fa-inverse {
  color: #ff7fe5 !important;
  text-shadow: 0 0 8px rgba(255,127,229,1);
}


/* ------------------------------------------
   OVERRIDE: footer social links = no pills
   ------------------------------------------ */
footer .footer-social a,
footer .footer-links a {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   FIX FA-STACK + SR-ONLY IN FOOTER
   - prevents circle + icon from splitting into two lines
   - hides "Email me / GitHub ..." labels visually
========================================================= */

/* 1) Restore Bootstrap sr-only (Bootstrap 5 removed it) */
footer .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 2) Force FontAwesome stacking to overlay properly */
footer .fa-stack {
  position: relative !important;
  display: inline-block !important;
  width: 2.2em !important;
  height: 2.2em !important;
  line-height: 2.2em !important;
  vertical-align: middle !important;
}

footer .fa-stack-1x,
footer .fa-stack-2x {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

footer .fa-stack-1x {
  line-height: inherit !important;
}

footer .fa-stack-2x {
  font-size: 2.2em !important;
  line-height: 1 !important;
}
/* =========================================================
   FOOTER VIDEO: reduced-motion + mobile fallback
========================================================= */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .video-footer .bg-video {
    display: none !important;
  }
  .video-footer {
    background: #0b1e33 url("/assets/img/bgimage.png") center/cover no-repeat;
  }
  .video-footer .footer-overlay {
    background: rgba(0,0,0,0.65);
  }
}
/* Google Scholar button on Publications page */
.scholar-btn-wrap {
  text-align: center;
  margin: 1.2rem 0 2rem;
}
.scholar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #0b0d10 !important;
  background: #ff4fd8 !important;
  box-shadow: 0 0 14px rgba(255,79,216,0.6);
  text-decoration: none !important;
}
.scholar-btn:hover {
  background: #ff7fe5 !important;
  box-shadow: 0 0 18px rgba(255,127,229,0.9);
  transform: translateY(-1px);
}
