    :root {
        --bg: #0b1220;
        --glass: rgba(10, 16, 32, .88);
        --stroke: rgba(255, 255, 255, .12);
        --text: rgba(255, 255, 255, .92);
        --muted: rgba(255, 255, 255, .70);
        --accent: rgba(122, 167, 255, .95);
        --accentSoft: rgba(122, 167, 255, .22);
        --card: rgba(255, 255, 255, .06);
    }

    .navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

    html,
    body {
        background:
            radial-gradient(1200px 500px at 15% 0%,
                rgba(226, 232, 240, 0.6),
                transparent 55%),
            radial-gradient(900px 450px at 85% 15%,
                rgba(241, 245, 249, 0.7),
                transparent 60%),
            #f8f9fb;
        /* neutral ivory / paper white */

        color: #1f2937;
        font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        padding-top: 40px;
    }

    /* NAV */
    .glass-nav {
        background: rgba(30, 41, 59, 0.95);
        /* deep slate */
        border-bottom: 1px solid rgba(0, 0, 0, .08);
        backdrop-filter: blur(6px);
    }

    .navbar-brand {
        font-weight: 700;
        letter-spacing: .2px;
    }

    .nav-link {
        color: rgba(255, 255, 255, .85) !important;
        border-radius: 999px;
        padding: .45rem .8rem !important;
    }

    .nav-link.active,
    .nav-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, .18);
    }

    /* HERO */
    .hero {
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid var(--stroke);
        padding: 56px 0 44px;
        color: #1f2937 !important;
        /* slate-800 */
    }

    .hero p {
        color: #374151;
        /* slate-700 */
        font-size: 1.05rem;
        max-width: 60ch;
    }

    .hero:before {
        content: "";
        position: absolute;
        inset: -80px -80px auto -80px;
        height: 360px;
        background:
            radial-gradient(520px 260px at 25% 40%, rgba(122, 167, 255, .32), transparent 60%),
            radial-gradient(520px 260px at 70% 20%, rgba(165, 110, 255, .22), transparent 55%);
        pointer-events: none;
        filter: blur(2px);
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

    .kicker {
        color: #6b7280 !important;
        /* slate-500 */
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 14px;
        color: #111827 !important;
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 58ch;
        color: #374151 !important;
        /* slate-700 */
        opacity: 1 !important;
    }

    /* CARDS */
    .soft-card {
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, .08);
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
    }

    .pill {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .4rem .75rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .10);
        color: rgba(255, 255, 255, .85);
        font-size: .9rem;
    }

    .hero .pill {
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        color: #374151;
        font-weight: 500;
    }

    .text-muted,
    .text-white-50 {
        color: #6b7280 !important;
    }

    /* BUTTONS */
    .btn-primary {
        background: var(--accent);
        border-color: var(--accent);
        color: #0b1220;
        font-weight: 700;
    }

    .btn-primary:hover {
        filter: brightness(.95);
        color: #0b1220;
    }

    .hero .btn-outline-light {
        color: #374151;
        border-color: #d1d5db;
    }

    .hero .btn-outline-light:hover {
        background: #e5e7eb;
        color: #111827;
    }

    /* FOOTER */
    footer {
        border-top: 1px solid var(--stroke);
        color: rgba(255, 255, 255, .70);
    }

    a.link {
        color: rgba(255, 255, 255, .80);
        text-decoration: none;
    }

    a.link:hover {
        color: #fff;
        text-decoration: underline;
    }

    .quick-links {
        color: #1f2937;
    }

    .quick-links p {
        color: #6b7280;
    }

    .quick-links a {
        color: #2563eb;
        /* blue-600 */
        text-decoration: none;
        font-weight: 500;
    }

    .quick-links a:hover {
        text-decoration: underline;
    }

    .info-card h3 {
        color: #111827;
        /* near-black */
    }

    .info-card p {
        color: #374151;
        font-size: .95rem;
    }

    .info-card code {
        color: #be123c;
        /* rose-700 */
        background: #fff1f2;
        padding: 2px 6px;
        border-radius: 6px;
        font-weight: 600;
    }

    .hero:before {
        background:
            radial-gradient(520px 260px at 20% 40%, rgba(122, 167, 255, .18), transparent 60%),
            radial-gradient(520px 260px at 80% 20%, rgba(165, 110, 255, .14), transparent 55%);
    }



    .site-footer {
        margin-top: 60px;
        background: rgba(255, 255, 255, 0.85);
        /* readable on gradient */
        border-top: 1px solid rgba(17, 24, 39, 0.10);
        backdrop-filter: blur(6px);
    }

    .site-footer {
        margin-top: 48px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
    }

    .footer-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        gap: 12px;
    }

    .footer-left {
        font-size: 0.95rem;
        color: #374151;
    }

    .footer-nav {
        display: flex;
        gap: 16px;
    }

    .footer-nav a {
        text-decoration: none;
        font-weight: 600;
        color: #1f2937;
        padding: 6px 10px;
        border-radius: 8px;
    }

    .footer-nav a:hover {
        background: #f3f4f6;
        color: #111827;
    }

    /* Mobile */
    @media (max-width: 576px) {
        .footer-inner {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    .soft-card,
    .soft-card * {
        color: #1f2937;
        /* slate-800 */
    }

    .soft-card h2,
    .soft-card h3 {
        color: #111827;
        /* near-black for headings */
    }

    .soft-card ul li {
        color: #374151;
        /* slate-700 */
    }


    .hero-title {
  font-size: 3rem;
  font-weight: 600;
}

#animated-text {
  color: #4f8cff;
  border-right: 2px solid #4f8cff;
  padding-right: 4px;
  white-space: nowrap;
}

.profile-photo {
  width: 100%;
  max-width: 850px;          /* ⬅ increased from ~220 */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Subtle name styling */
.soft-card h2.h6 {
  color: #111827;
}

.soft-card .text-muted {
  color: #6b7280 !important;
}

/* === BLOG THUMBNAILS === */

.blog-item{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  align-items: start;
}

.blog-item:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.blog-thumb{
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

@media (max-width: 576px){
  .blog-item{
    grid-template-columns: 1fr;
  }

  .blog-thumb{
    width: 100%;
    height: auto;
    max-height: 180px;
  }
}


/* === CERTIFICATE GRID === */

/* === CERTIFICATE GRID (NEAT, SCALABLE) === */

.cert-feature{
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
}

.cert-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* Each cert is a clickable card */
.cert-card{
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cert-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  border-color: rgba(37, 99, 235, 0.25);
}

.cert-thumb{
  height: 180px;                 /* landscape preview */
  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;                 /* small frame */
}

/* Force the image to actually grow to fill the box */
.cert-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;           /* don't crop certificate text */
  display: block;

  max-width: none !important;    /* IMPORTANT: remove Bootstrap/old limits */
  max-height: none !important;   /* IMPORTANT: remove Bootstrap/old limits */
}

/* Text */
.cert-title {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
}

.cert-meta{
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 576px) {
  .cert-thumb {
    height: 220px;            /* still big on mobile */
  }
}


/* === COMPACT PROFESSIONAL CERTS === */

.cert-compact .cert-grid{
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* was ~220 */
  gap: 18px;
}

.cert-compact .cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.75;
}

.cert-compact .cert-thumb img{
  max-height: 80px;    /* was ~90 */
  width: auto;
  height: auto;
}

.cert-compact .cert-title{
  font-size: 0.95rem;   /* was 0.9 */
  font-weight: 700;
  margin-top: 12px;
}

/* Optional subtle hover — still NOT clickable */
.cert-compact .cert-card:hover {
  opacity: 1;
}

.cert-compact .cert-card:hover img {
  filter: grayscale(0%);
}

.cert-compact .cert-thumb{
  height: 80px;        /* was 120 */
  padding: 12px;
}

.cert-compact .cert-title{
  color: #111827;
}

