:root {
  --bg: #080b14;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f8ff;
  --muted: #a8b1c7;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #7c5cff;
  --accent-two: #21d4fd;
  --success: #5dffb5;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #101525;
  --muted: #5d667a;
  --line: rgba(16, 21, 37, 0.12);
  --shadow: 0 25px 70px rgba(30, 42, 70, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 92, 255, 0.28), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(33, 212, 253, 0.20), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(124, 92, 255, 0.18), transparent 35%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 10000;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7%;
  backdrop-filter: blur(20px);
  background: rgba(8, 11, 20, 0.68);
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .site-header {
  background: rgba(246, 247, 251, 0.74);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: white;
  box-shadow: 0 14px 35px rgba(124, 92, 255, 0.35);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.menu-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 18px;
}

.theme-toggle:hover,
.menu-btn:hover {
  border-color: rgba(33, 212, 253, 0.55);
}

.menu-btn {
  display: none;
}

.section {
  padding: 92px 7%;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-two);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 980px;
}

h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

h4 {
  color: var(--accent-two);
  margin-bottom: 14px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  font-size: 20px;
  max-width: 720px;
  margin: 28px 0;
}

.hero-actions,
.contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: white;
  box-shadow: 0 20px 50px rgba(124, 92, 255, 0.30);
}

.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span,
.tech-stack span,
.learning-grid div {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.photo-card {
  position: relative;
  width: min(430px, 90vw);
  height: 560px;
  border-radius: 38px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.55), rgba(33, 212, 253, 0.45), transparent);
  z-index: -1;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

.floating-card {
  position: absolute;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  font-size: 25px;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

.card-one {
  top: 96px;
  left: 0;
}

.card-two {
  bottom: 88px;
  right: 10px;
}

.stats,
.experience-grid,
.skill-grid,
.cert-grid,
.project-grid,
.highlight-grid,
.learning-grid {
  display: grid;
  gap: 22px;
}

.stats {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 30px;
}

.stats div,
.glass-card,
.skill-card,
.cert-card,
.project-card,
.contact-card,
.article-card,
.highlight-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stats div {
  padding: 30px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 44px;
  letter-spacing: -0.04em;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.featured-article {
  padding-top: 40px;
  padding-bottom: 30px;
}

.article-card {
  max-width: 920px;
  margin: auto;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
}

.article-tag {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.article-card h2,
.article-card p {
  margin-bottom: 18px;
}

.article-card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 120px;
}

.section-heading.center {
  position: static;
  text-align: center;
  max-width: 830px;
  margin: 0 auto 42px;
}

.section-heading.center p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  margin-top: 18px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

.timeline-item > span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  z-index: 2;
}

.timeline-item div {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.experience-grid {
  grid-template-columns: repeat(2, 1fr);
}

.skill-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cert-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-grid,
.highlight-grid {
  grid-template-columns: repeat(4, 1fr);
}

.glass-card,
.skill-card,
.cert-card,
.project-card,
.highlight-grid article {
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover,
.skill-card:hover,
.cert-card:hover,
.project-card:hover,
.highlight-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(33, 212, 253, 0.48);
  box-shadow: 0 30px 100px rgba(33, 212, 253, 0.09);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
  font-weight: 800;
}

.impact-list {
  margin-top: 18px;
  padding-left: 18px;
  color: var(--muted);
}

.impact-list li {
  margin: 9px 0;
  line-height: 1.55;
}

.cert-card {
  cursor: default;
}

.cert-card[data-cert] {
  cursor: pointer;
}

.cert-card span,
.project-card span,
.highlight-grid article span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: white;
  font-weight: 900;
}

.cert-card small,
.project-card small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.learning-grid {
  grid-template-columns: repeat(3, 1fr);
}

.learning-grid div {
  border-radius: 22px;
  padding: 18px;
  text-align: center;
}

.contact-card {
  padding: clamp(34px, 7vw, 74px);
  text-align: center;
}

.contact-card h2 {
  max-width: 900px;
  margin: auto;
}

.contact-card p {
  max-width: 820px;
  margin: 20px auto 0;
}

.contact-links {
  justify-content: center;
  margin-top: 36px;
}

.contact-links a {
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-weight: 900;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(33, 212, 253, 0.55);
}

footer {
  padding: 40px 7%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.cert-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 34px;
}

.cert-modal.active {
  display: flex;
}

.cert-modal img {
  max-width: min(100%, 1050px);
  max-height: 82vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.cert-close {
  position: absolute;
  top: 24px;
  right: 30px;
  border: none;
  background: #fff;
  color: #111;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

.cert-modal-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
  }

  .project-grid,
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: inline-block;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 7%;
    left: 7%;
    display: none;
    flex-direction: column;
    padding: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .stats,
  .skill-grid,
  .cert-grid,
  .experience-grid,
  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 70px 5%;
  }

  .stats,
  .skill-grid,
  .cert-grid,
  .project-grid,
  .experience-grid,
  .highlight-grid,
  .learning-grid {
    grid-template-columns: 1fr;
  }

  .photo-card {
    height: 470px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .hero-visual {
    display: block;
    min-height: auto;
  }

  .site-header {
    padding: 14px 5%;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(40px, 15vw, 60px);
  }

  .cert-modal {
    padding: 18px;
  }

  .cert-close {
    top: 16px;
    right: 16px;
  }
}
/* ===============================
   Bible Verse Section
================================ */

.bible-section{
    padding:80px 7%;
}

.bible-card{

    max-width:950px;

    margin:auto;

    padding:60px;

    text-align:center;

    background:
    linear-gradient(
        135deg,
        rgba(124,92,255,.15),
        rgba(33,212,253,.08)
    );

    border:1px solid var(--line);

    border-radius:30px;

    backdrop-filter:blur(20px);

    box-shadow:0 30px 90px rgba(0,0,0,.25);

    transition:.35s ease;
}

.bible-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent-two);

    box-shadow:0 40px 120px rgba(33,212,253,.18);

}

.bible-card h2{

    margin:15px 0 35px;

}

.bible-card blockquote{

    font-size:clamp(1.7rem,3vw,2.4rem);

    line-height:1.7;

    font-style:italic;

    font-weight:700;

    color:var(--text);

    max-width:760px;

    margin:auto auto 25px;

}

.bible-card cite{

    display:block;

    color:var(--accent-two);

    font-size:1.15rem;

    font-weight:800;

    margin-bottom:30px;

}

.bible-description{

    max-width:760px;

    margin:auto;

    color:var(--muted);

    line-height:1.9;

    font-size:1.05rem;

}
