#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}


/* Global font and color settings */
body {
  font-family: "Poppins", sans-serif; /* or any font you like */
  font-size: 18px;                    /* default text size */
  color: #f5f5f5;                     /* text color */
  background-color: #0a0a0a;          /* background color */
}

/* Style headings */
h1, h2, h3, h4, h5, h6 {
  color: #00bcd4; /* heading color */
  font-weight: 600;
}

/* Paragraph styling */
p {
  font-size: 18px;
  line-height: 1.6;
  color: #e0e0e0;
}


[data-md-page-name="index"] header.md-header,
[data-md-page-name="index"] .md-sidebar--primary,
[data-md-page-name="index"] .md-sidebar--secondary,
[data-md-page-name="index"] footer.md-footer {
  display: none !important;
}

/* Make homepage content full width and centered */
[data-md-page-name="index"] .md-main__inner {
  margin: 0;
  padding: 0;
  max-width: none;
}

[data-md-page-name="index"] .md-content__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  position: relative;
  z-index: 1;
}
.intro-text {
  color: white; 
  font-weight: 500;
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(0,188,212,0.6);
}
.md-nav__title {
  display: none !important;
}
.md-content__inner h1{
  color: white;
  text-shadow: 0 0 8px rgba(0,188,212,0.6);
}

/* Make mobile nav background black */
@media (max-width: 1220px) {
  .md-overlay,
  .md-nav,
  .md-nav__container,
  .md-nav__inner,
  .md-nav__list {
    background-color: #000 !important;
  }

  /* Make links visible on dark background */
  .md-nav__item a {
    color: #fff !important;
  }

  /* Optional hover color for mobile */
  .md-nav__item a:hover {
    color: #ffd54f !important; /* amber hover */
  }

  /* Make icons and headers white too */
  .md-nav__title,
  .md-nav__icon,
  .md-nav__link {
    color: #fff !important;
  }
}


















/* ---------- THEME ---------- */
.socials-page {
  --accent: #ffb300;
  --text: #f5f5f5;
  --muted: #cfcfcf;
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.10);
  --ring: conic-gradient(from 0deg, #ffd47a, #ffb300 30%, #ffaa00 60%, #ffd47a 100%);
  text-align: center;
  margin: 32px auto 64px;
  max-width: 980px;
  padding-inline: 16px;
}

/* Subtle container glow */
.socials-page::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 auto 24px;
  width: min(680px, 90%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .45;
  filter: blur(.2px);
}

/* ---------- HERO ---------- */
.socials-page .hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin-bottom: 18px;
}

.socials-page .hero-text h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .2px;
  color: var(--text);
}

.socials-page .hero-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.socials-page .pointer { filter: drop-shadow(0 0 6px rgba(255,179,0,.5)); }

/* ---------- AVATAR with ring & soft pulse ---------- */
.socials-page .profile-photo {
  --size: 120px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  box-shadow: 0 6px 22px rgba(0,0,0,.45);
  background: #111;
}

.socials-page .profile-photo::after,
.socials-page .profile-photo::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  z-index: -1;
}

.socials-page .profile-photo::after {
  background: var(--ring);
  filter: blur(.6px);
}

.socials-page .profile-photo::before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,179,0,.20), transparent 60%);
  animation: pulse 3.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.03); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .socials-page .profile-photo::before { animation: none; opacity: .35; }
}

/* ---------- BADGES ---------- */
.socials-page .badges {
  margin-top: 12px;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.socials-page .badge {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .2px;
  backdrop-filter: blur(6px);
}

/* ---------- CARDS GRID ---------- */
.socials-page .social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin: 26px auto 54px;
}

@media (max-width: 900px) {
  .socials-page .hero { grid-template-columns: 1fr; }
  .socials-page .social-links { grid-template-columns: repeat(2, minmax(170px, 1fr)); }
}
@media (max-width: 460px) {
  .socials-page .social-links { grid-template-columns: 1fr; }
}

/* ---------- CARD ---------- */
.socials-page .social-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--text) !important;
  font-weight: 600;
  letter-spacing: .2px;
  font-size: .98rem;
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}

.socials-page .social-card img {
  width: 22px; height: 22px; filter: brightness(.95) saturate(.9);
}

/* Focus */
.socials-page .social-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,179,0,.35);
}

/* Hover base */
.socials-page .social-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* Brand accents on hover */
.socials-page .social-card[data-brand="github"]:hover {
  filter: drop-shadow(0 0 10px rgba(255,255,255,.15));
}
.socials-page .social-card[data-brand="linkedin"]:hover {
  box-shadow: 0 10px 30px rgba(10,102,194,.35);
}
.socials-page .social-card[data-brand="telegram"]:hover {
  box-shadow: 0 10px 30px rgba(0,136,204,.35);
}
.socials-page .social-card[data-brand="leetcode"]:hover {
  box-shadow: 0 10px 30px rgba(255,179,0,.35);
}

/* Small screens & density */
@media (max-width: 600px) {
  .socials-page .social-card { padding: 11px 16px; font-size: .95rem; }
  .socials-page .social-card img { width: 20px; height: 20px; }
}
/* Highlight active ToC entry */
.md-nav--secondary .md-nav__link--active {
  color: var(--md-accent-fg-color);
  font-weight: 600;
}
.md-nav--secondary .md-nav__link--active::after {
  content: "";
  position: absolute;
  left: -10px;
  width: 4px;
  height: 1.1em;
  background: var(--md-accent-fg-color);
  border-radius: 2px;
}

