@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #B91C1C;
  --primary-dark: #7F1D1D;
  --primary-light: #FEE2E2;
  --accent: #F59E0B;
  --dark: #0F172A;
  --text: #1E293B;
  --text-muted: #64748B;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --nav-h: 70px;
  --max-w: 1200px;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,.12), 0 4px 6px -4px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-lg); }
.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nav-inner {
  max-width: var(--max-w);
  margin: auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Lobster', cursive;
  font-size: 1.75rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color .2s;
}
.nav-logo:hover { color: var(--primary-dark); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s;
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-w);
  margin: auto;
  padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
}

.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}
.hero-title .name { color: var(--primary); display: block; }
.hero-title .role {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.6em;
  display: block;
  margin-top: 0.5rem;
  min-height: 1.5em;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--primary);
  transition: .3s;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185,28,28,.3);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--primary);
  transition: .3s;
  cursor: pointer;
  font-family: inherit;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap img {
  width: min(360px, 100%);
  height: 480px;
  border-radius: 10%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: 0 100px 100px rgba(185,28,28,.18);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 2.5rem 2rem;
}
.stats-inner {
  max-width: var(--max-w);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.75);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ── SECTION BASE ────────────────────────────── */
section { padding: 5rem 2rem; }

.section-inner {
  max-width: var(--max-w);
  margin: auto;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.section-title span { color: var(--primary); }

.section-line {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-bottom: 3rem;
}

/* ── SUMMARY ─────────────────────────────────── */
.summary-section { background: white; }

.summary-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  text-align: justify;
}
.summary-text + .summary-text { margin-top: 1rem; }

/* ── EXPERIENCE TIMELINE ─────────────────────── */
.exp-section { background: var(--bg); }

.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 6px;
  width: 18px; height: 18px;
  background: var(--primary);
  border: 4px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-period {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.timeline-company a { color: inherit; text-decoration: none; }
.timeline-company a:hover { text-decoration: underline; }

.timeline-list { padding: 0; }
.timeline-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 3px;
}
.timeline-list li b { color: var(--text); }

/* ── EDUCATION ───────────────────────────────── */
.edu-section { background: white; }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.edu-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  background: var(--card);
  transition: .3s;
}
.edu-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.edu-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.edu-icon i { color: var(--primary); font-size: 1.2rem; }

.edu-degree { font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 0.3rem; }
.edu-school { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.edu-date { font-size: 0.8rem; color: var(--primary); font-weight: 600; }

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

.cert-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: .3s;
}
.cert-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cert-name { font-weight: 600; font-size: 0.92rem; color: var(--dark); }
.cert-issuer { font-size: 0.8rem; color: var(--text-muted); }
.cert-link {
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
  align-self: flex-start;
  transition: gap .2s;
}
.cert-link:hover { text-decoration: underline; }

/* ── SKILLS ──────────────────────────────────── */
.skills-section { background: var(--bg); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.skill-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.skill-item { margin-bottom: 1.5rem; }
.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.skill-name { font-weight: 500; font-size: 0.92rem; color: var(--text); }
.skill-pct { font-size: 0.82rem; color: var(--primary); font-weight: 700; }
.skill-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; line-height: 1.5; }

.progress-track {
  height: 8px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px;
  width: 0;
  transition: width 1.2s cubic-bezier(.22,.61,.36,1);
}

/* ── GALLERY ─────────────────────────────────── */
.gallery-section { background: white; }

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

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: .3s;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.gallery-card .gallery-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.gallery-card:hover .gallery-card-img { transform: scale(1.06); }
.gallery-card-body { padding: 1.1rem 1.25rem; }
.gallery-card-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

/* ── CONTACT ─────────────────────────────────── */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.contact-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: .3s;
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon i { color: var(--primary); font-size: 1.1rem; }

.contact-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-value { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--primary); }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: auto; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 1.25rem;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,.35); }

/* ── PAGE HERO (sub-pages) ───────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: calc(var(--nav-h) + 1rem) 2rem 2rem;
  text-align: center;
  color: white;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.page-hero p { color: rgba(255,255,255,.65); font-size: 1rem; }

/* ── CERTIFICATE IMAGE GRID (education page) ── */
.cert-img-section { padding: 4rem 2rem; }
.cert-img-section + .cert-img-section { padding-top: 1rem; }

.cert-img-grid {
  max-width: var(--max-w);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cert-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: .3s;
}
.cert-img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cert-img-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.cert-img-card:hover img { transform: scale(1.04); }
.cert-img-card-body { padding: 1rem 1.25rem; }
.cert-img-card-title { font-weight: 600; color: var(--dark); font-size: 0.92rem; }

/* ── LIGHTBOX ────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  animation: zoomIn .3s ease;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: white; font-size: 1.1rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox-close:hover { background: var(--primary); }

@keyframes zoomIn {
  from { transform: scale(.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── ABOUT PAGE ──────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
  text-align: justify;
  font-size: 0.97rem;
}

/* ── PROJECT DETAIL PAGE ─────────────────────── */
.project-section {
  padding: 4rem 2rem;
  max-width: var(--max-w);
  margin: auto;
}
.project-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.project-subtitle::before {
  content: '';
  width: 4px; height: 1.1rem;
  background: var(--primary);
  border-radius: 2px;
  display: block;
}
.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.project-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.project-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: .3s;
  aspect-ratio: 4/3;
}
.project-img-wrap:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.project-img-wrap:hover img { transform: scale(1.05); }

/* ── SCROLL ANIMATION ────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 2rem);
    gap: 2.5rem;
  }
  .hero-img-wrap { order: -1; }
  .hero-btns { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 300px; margin: auto; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-lg);
    padding: 1rem 0 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav-hamburger { display: flex; }
  section { padding: 3.5rem 1.25rem; }
  .cert-img-section { padding: 2.5rem 1.25rem; }
  .project-section { padding: 2.5rem 1.25rem; }
  .page-hero { padding: calc(var(--nav-h) + 3rem) 1.25rem 3rem; }
  .hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem; }
  .nav-inner { padding: 0 1.25rem; }
  stats-bar { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-img-grid { grid-template-columns: 1fr; }
  .project-img-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}

/* ── CERTIFICATE DETAIL PAGE ─────────────────── */
.cert-detail-section {
  padding: 4rem 2rem;
  max-width: var(--max-w);
  margin: auto;
}

.cert-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.cert-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  transition: .3s;
}
.cert-detail-img:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.cert-detail-img img { width: 100%; height: auto; display: block; }

.cert-detail-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cert-detail-content h3::before {
  content: '';
  width: 4px; height: 1.1rem;
  background: var(--primary);
  border-radius: 2px;
  display: block;
}

.cert-detail-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.cert-detail-content p a { color: var(--primary); font-weight: 600; }
.cert-detail-content p a:hover { text-decoration: underline; }

.cert-detail-list {
  padding-left: 1.5rem;
  list-style: disc;
}
.cert-detail-list li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 0.45rem;
  list-style: disc;
}
.cert-detail-list ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}
.cert-detail-list ol li { list-style: decimal; }

.cert-full-img {
  max-width: 700px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  transition: .3s;
}
.cert-full-img:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.cert-full-img img { width: 100%; height: auto; display: block; }

@media (max-width: 768px) {
  .cert-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cert-detail-section { padding: 2.5rem 1.25rem; }
}
