/* ================================
   Typography Normalization
   (Make whole site match "Hi, hello and welcome!" section)
   ================================ */

body{
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Make normal text (paragraphs + bullets) NOT bold */
p,
li,
.case__body,
.case__body p,
.case__body li,
.highlightsGrid p,
.highlightsGrid li,
.certGrid p,
.certGrid li,
.expTop p,
.expTop li,
.expRole p,
.expRole li{
  font-weight: 400;
  line-height: 1.6;
}

/* Keep headings intentionally bold */
h1, h2, h3, h4, h5{
  font-weight: 700;
  line-height: 1.3;
}

/* Titles in cards/case studies stay strong */
.case__title,
.expRole{
  font-weight: 700;
}

li strong,
p strong{
  font-weight: 700;
}

li strong,
p strong{
  font-weight: 700;
}

/* ================================
   Certifications – reduce visual weight
   ================================ */

.certGrid,
.certGrid ul,
.certGrid li{
  font-weight: 400;
  line-height: 1.55;
}

/* Remove excessive bolding inside certifications */
.certGrid strong,
.certGrid b{
  font-weight: 500;
}

/* Certification names slightly emphasized (not heavy) */
.certGrid li{
  font-size: 0.95rem;
}

/* Optional: make cert headings lighter */
.certGrid h4,
.certGrid h5{
  font-weight: 600;
}



:root{
  /* grayish background (NOT blue) */
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15,23,42,.12);
  --accent: #2563eb;

  /* wider page like your old site */
  --container: 1240px;

  /* more readable global font */
  --base: 16.5px;
  --radius: 14px;
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: var(--base);
  color: var(--text);
  background: var(--bg);
}

/* Global reading typography */
body{
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


a{color: var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(243,244,246,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  height: 62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.brand__dot{
  width: 8px; height:8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 10px rgba(37,99,235,.25);
}
.nav{
  display:flex;
  gap: 18px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  color: rgba(15,23,42,.78);
  font-weight: 600;
  font-size: .92rem;
}
.nav a:hover{color: rgba(15,23,42,1); text-decoration:none}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border: 1px solid rgba(37,99,235,.25);
  color: white;
  background: var(--accent);
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 20px rgba(37,99,235,.18);
}
.btn:hover{filter: brightness(0.98); text-decoration:none}

/* Contact button (top-right) — smaller + subtle */
a.btn[href="#contact"],
a.btn[href="#contact"]:visited{
  background: transparent;
  color: rgba(15,23,42,0.68);
  border: 1px solid rgba(15,23,42,0.20);
  box-shadow: none;
  font-weight: 600;
  font-size: .86rem;
  padding: 6px 12px;
  line-height: 1;
}


/* Hover: very gentle */
a.btn[href="#contact"]:hover{
  background: rgba(15,23,42,0.04);
  color: rgba(15,23,42,0.9);
  border-color: rgba(15,23,42,0.35);
  text-decoration: none;
}


/* Hero */
.hero{padding: 22px 0 6px}
.hero__grid{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items:start;
  padding-top: 14px;
}

/* portrait — remove white frame, add embossed */
.portraitWrap{
  width: 200px;
  height: 250px;
  border-radius: 16px;
  position: relative;
}
.portrait{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display:block;
  /* NO white border; just 3D shadow */
  box-shadow:
    0 2px 0 rgba(255,255,255,.7) inset,
    0 18px 45px rgba(2,6,23,.18),
    0 1px 0 rgba(2,6,23,.08);
}

/* Hero text sizes: readable, not too huge */
.hero__name{
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.hero__title{
  margin-top: 6px;
  font-weight: 800;
  font-size: 1.15rem;
}
.hero__subtitle{
  margin-top: 2px;
  font-weight: 700;
  color: rgba(15,23,42,.75);
}
.hero__meta{
  margin-top: 6px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  color: rgba(15,23,42,.72);
  font-weight: 650;
}
.sep{opacity:.55}

.hero__links{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,23,42,.12);
  color: rgba(15,23,42,.85);
  font-weight: 500;
  font-size: .9rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 10px 18px rgba(2,6,23,.06);
}
.chip:hover{text-decoration:none; border-color: rgba(37,99,235,.35);}

/* top badges */
.topBadges{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
}

/* IMPORTANT: remove “white squares” by ensuring img has transparent bg + no container bg */
.badgeLink{display:inline-flex; align-items:center}
.badge{
  height: 85px;               /* bigger so readable */
  width: auto;
  display:block;
  /* subtle embossed / 3D */
  filter: drop-shadow(0 10px 12px rgba(2,6,23,.16)) drop-shadow(0 1px 0 rgba(255,255,255,.55));
  transform: translateZ(0);
}
.badgeLink:hover .badge{
  filter: drop-shadow(0 14px 16px rgba(2,6,23,.20)) drop-shadow(0 1px 0 rgba(255,255,255,.55));
  transform: translateY(-1px);
}
.badge--rect{height: 54px}
.badge--round{height: 60px}

/* Sections + embossed cards */
.section{padding: 18px 0}
.sectionHeader{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.sectionHeader h2{
  margin: 0 0 6px;
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-transform: none;
}
.sectionHeader--split{align-items:center}
.note{
  font-size: .9rem;
  color: rgba(15,23,42,.60);
  font-weight: 650;
}
.note--inline{margin-top: 10px}

.card{
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Emboss effect (all sections) */
.card--emboss{
  box-shadow:
    0 2px 0 rgba(255,255,255,.80) inset,
    0 12px 25px rgba(2,6,23,.08),
    0 1px 0 rgba(2,6,23,.06);
}

.introCard{padding: 16px 18px; margin-top: 14px}
.card__title{margin:0 0 6px; font-size: 1.15rem}
.muted{color: rgba(15,23,42,.72)}
.small{font-size: .9rem}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.h3{
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
}
.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,23,42,.74);
  font-weight: 600;
  line-height: 1.55;
}
.card{padding: 14px 16px}

/* Certifications block */
.certShell{padding: 14px 16px}
.certGrid{gap: 8px}
.certCol{
  padding: 8px 10px 6px;
  border-radius: 12px;
  background: rgba(2,6,23,.015);
  border: 1px solid rgba(15,23,42,.06);
}
.certList{
  margin: 0;
  padding-left: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.certList a{
  /* tone down overpowering links */
  color: rgba(86, 128, 221, 0.92);
  font-weight: 700;
  text-decoration: none;

.certList li{
  margin-bottom: 2px;
}

}
.certList a:hover{text-decoration: underline}
.certDetails{margin-top: 6px}
.certDetails summary{
  cursor: pointer;
  color: rgba(15,23,42,.72);
  font-weight: 650;
  font-size: .92rem;
}
.certList--sub{margin-top: 4px}

/* Experience */
.expCard{margin-top: 12px}
.expTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.expRole{
  font-weight: 900;
  font-size: 1rem;
}

/* Case studies (one per row) */
.case{
  margin-top: 12px;
  padding: 0;
  overflow: hidden;
}
.case__media{
  display:block;
  background: #fff; /* no black background */
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.case__media img{
  display:block;
  width: 100%;
  height: clamp(420px, 45vw, 620px);  /* bigger + responsive */    /* old 360px; uniform preview window */
  object-fit: contain;       /* keep original diagram proportions */
  background: #fff;          /* ensure no dark blocks */
}
.case__body{
  padding: 14px 16px 16px;
}
.case__title{
  margin: 0 0 6px;
  font-size: 1.03rem;
  font-weight: 900;
}

/* Center only the "caption area" for selected case cards */
.case--centerText .case__body{
  text-align: center;
}

/* Keep bullets readable: center the block, but left-align list text */
.case--centerText .case__body ul,
.case--centerText .case__body ol{
  display: inline-block;
  text-align: left;
  margin: 10px auto 0;
}

/* Optional: slightly nicer spacing for centered caption */
.case--centerText .case__title{
  margin-bottom: 6px;
}
.case--centerText .case__body .muted{
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contactGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Footer */
.footer{
  margin: 18px 0 30px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none;}
  .hero__grid{grid-template-columns: 1fr; justify-items:center}
  .portraitWrap{width: 230px; height: 230px}
  .hero__content{text-align:center}
  .hero__links, .topBadges{justify-content:center}
  .grid3{grid-template-columns: 1fr}
  .contactGrid{grid-template-columns: 1fr}
  .case__media img{height: 300px}
}

/* ================================
   FORCE Certifications to normal weight
   ================================ */

/* Reset everything inside Certifications */
.certGrid,
.certGrid *{
  font-weight: 400 !important;
}

/* Improve readability */
.certGrid li{
  line-height: 1.55;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Section headings only (keep slight emphasis) */
.certGrid h3,
.certGrid h4,
.certGrid h5{
  font-weight: 600 !important;
}

/* ================================
   Hero Name & Subtitle – Subtle, Professional
   ================================ */

/* Name */
.hero h1,
.profile-name{
  font-weight: 600;        /* down from 700–800 */
  font-size: 1.6rem;       /* slightly smaller */
  letter-spacing: 0.2px;
  color: #1f2937;          /* softer dark gray, not pure black */
}

/* Subtitle / role line */
.hero h2,
.profile-title{
  font-weight: 400;
  font-size: 0.95rem;
  color: #6b7280;          /* muted gray */
  margin-top: 2px;
}

/* ================================
   Header contact line (hero__meta) — make normal + black email
   ================================ */

.hero__meta{
  font-weight: 400 !important;
  color: #68707b !important;     /* subtle gray for the whole line */
  font-size: 0.95rem;
}

.hero__meta *{
  font-weight: 400 !important;
}

.hero__meta a{
  color: #111827 !important;      /* email black */
  text-decoration: none;
}

.hero__meta a:hover{
  text-decoration: underline;
  color: #1f2937 !important;
}

/* Make top certification badges uniform */
.topBadges img.badge{
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  display: block;
}

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

/* Optical normalization for visually heavy badges */
.topBadges img[src*="oracle"]{
  transform: scale(0.82);
}

.topBadges img[src*="microsoft"],
.topBadges img[src*="mcsa"]{
  transform: scale(0.95);
}

/* Optical normalization for visually heavy badges */
.topBadges img[src*="oracle"]{
  transform: scale(0.92);
}

.topBadges img[src*="microsoft"],
.topBadges img[src*="mcsa"]{
  transform: scale(0.95);
}

.topBadges img.badge{
  width: 70px !important;
  height: 70px !important;
}

/* ================================
   Top badge "emboss" / depth effect
   ================================ */

.topBadges .badgeLink{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;                 /* creates breathing room */
  border-radius: 14px;          /* soft rounded container */
  background: rgba(255,255,255,0.55);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.18),  /* main lift */
    0 2px  6px rgba(15, 23, 42, 0.10);  /* near shadow */
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* subtle top-left highlight (emboss feel) */
.topBadges .badgeLink::before{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.85),
    rgba(255,255,255,0.15)
  );
  pointer-events: none;
  opacity: 0.55;
}

/* keep image crisp */
.topBadges img.badge{
  display: block;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15));
}

/* optional hover: a little more "pop" */
.topBadges .badgeLink:hover{
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.22),
    0 4px  10px rgba(15, 23, 42, 0.12);
}

/* ================================
   Intro greeting emphasis
   ================================ */

.hero .card__title{
  font-weight: 600;        /* gentle bold */
  font-size: 1rem;         /* optional: slightly larger */
  color: #1f2937;          /* darker for emphasis */
}

/* =====================================
   Case study subtle elevation (FINAL)
   ===================================== */

.case.card{
  border-radius: 14px;
  background: #fff;

  /* resting elevation */
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* Optional but recommended: micro-interaction */
.case.card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Built-on-AWS chip (subtle emphasis) */
.chip--aws{
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.08);
  font-weight: 600;
}

.chip--aws:hover{
  background: rgba(59,130,246,0.14);
}

