/* ============================================================
   KAZIM KHAN GUL — Personal Portfolio
   styles.css  |  Blue Theme + Motion Edition
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- DESIGN TOKENS ---- */
:root {
  --navy:          #0C1B33;
  --navy-mid:      #0D2040;
  --navy-soft:     #162B4A;
  --rich-blue:     #0F2B5E;
  --accent:        #2563EB;
  --accent-hover:  #1D4ED8;
  --accent-glow:   rgba(37, 99, 235, 0.22);
  --leed-green:    #22863A;
  --bg-light:      #EEF2FF;
  --bg-white:      #FFFFFF;
  --border:        rgba(37, 99, 235, 0.11);
  --border-dark:   rgba(255, 255, 255, 0.10);
  --text-body:     #3D4D63;
  --text-muted:    #7B8CA0;

  --font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --pad-section:   110px 0;
  --container:     1160px;
  --radius:        14px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; }
p  { color: var(--text-body); line-height: 1.78; font-size: 0.975rem; }
em { font-style: italic; color: var(--accent); }

/* ---- UTILITIES ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-eyebrow.muted { color: rgba(255,255,255,0.35); }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header .section-eyebrow { margin-bottom: 0.75rem; }
.section-header h2 { margin-top: 0.4rem; }
.section-intro {
  margin-top: 1rem;
  max-width: 520px;
  color: var(--text-body);
  font-size: 0.95rem;
}
.dark-section .section-intro { color: rgba(255,255,255,0.55); }
.rich-section .section-intro  { color: rgba(255,255,255,0.55); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 17px 34px; font-size: 0.95rem; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #60A5FA);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

/* Floating blob drift */
@keyframes blobDrift1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.97); }
}
@keyframes blobDrift2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(-50px, 30px) scale(1.08); }
  70%     { transform: translate(30px, -20px) scale(0.95); }
}
@keyframes blobDrift3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  25%     { transform: translate(25px, 40px) scale(1.04); }
  75%     { transform: translate(-35px, -15px) scale(0.98); }
}

/* Hero photo gentle float */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Soft pulse glow on badge */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,134,58,0.0); }
  50%       { box-shadow: 0 0 0 6px rgba(34,134,58,0.12); }
}

/* Shimmer on featured cred cards */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Fade slide in */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gradient shift on hero section */
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: var(--accent);
  transition: background 0.35s, box-shadow 0.35s;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-cta {
  background: rgba(255,255,255,0.18) !important;
  padding: 6px 18px;
  border-radius: 100px;
  color: #fff !important;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: rgba(255,255,255,0.28) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 899;
  padding: 28px 48px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-drawer ul a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.mobile-drawer ul a:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--bg-light);
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient subtle overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37,99,235,0.04) 0%,
    rgba(96,165,250,0.06) 35%,
    rgba(238,242,255,0) 60%
  );
  background-size: 200% 200%;
  animation: gradShift 12s ease infinite;
  pointer-events: none;
}

/* Floating blobs */
.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: blobDrift1 18s ease-in-out infinite;
}
.blob-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(96,165,250,0.16) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  animation: blobDrift2 22s ease-in-out infinite;
}
.blob-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34,134,58,0.10) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: blobDrift3 26s ease-in-out infinite;
}

.hero-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-greeting {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.1s;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.2s;
}
.hero-name span { display: block; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34,134,58,0.09);
  border: 1px solid rgba(34,134,58,0.22);
  color: var(--leed-green);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
  animation: fadeSlideUp 0.7s ease both, glowPulse 3s ease 2s infinite;
  animation-delay: 0.35s, 1s;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge-dot.leed   { background: var(--leed-green); }
.badge-dot.oacett { background: #C00; }
.badge-sep { color: rgba(34,134,58,0.4); margin: 0 2px; }
.hero-desc {
  font-size: 1.02rem;
  color: var(--text-body);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.75;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.45s;
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.55s;
}

/* Hero visual */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  animation: fadeSlideUp 0.8s ease both;
  animation-delay: 0.3s;
}
.hero-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  background: var(--navy-soft);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 24px 60px rgba(37,99,235,0.18), 0 8px 24px rgba(0,0,0,0.12);
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.photo-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37,99,235,0.80);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.hero-info-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,99,235,0.12);
}
.info-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.info-card-school {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.info-card-program { font-size: 0.82rem; color: var(--text-muted); }
.hero-scroll {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding-bottom: 1.8rem;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 1s ease both;
  animation-delay: 0.9s;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--pad-section); background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 4rem;
  align-items: start;
}
.about-label-col { padding-top: 0.6rem; }
.about-headline {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.about-body p { margin-bottom: 1.1rem; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 64px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-box {
  padding: 2.4rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.25s, transform 0.25s;
  cursor: default;
}
.stat-box:last-child { border-right: none; }
.stat-box:hover {
  background: var(--bg-white);
  transform: translateY(-2px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-unit { font-size: 2rem; }
.stat-title { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.stat-sub   { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   EXPERIENCE
   ============================================================ */
.dark-section {
  padding: var(--pad-section);
  background: var(--navy);
  color: #fff;
}
.dark-section h2 { color: #fff; }
.dark-section .section-eyebrow { color: rgba(255,255,255,0.35); }

.exp-list { display: flex; flex-direction: column; }
.exp-card {
  display: grid;
  grid-template-columns: 52px 1fr 64px;
  gap: 2rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: start;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.exp-card:last-child { border-bottom: none; }
.exp-card.revealed { opacity: 1; transform: none; }
.exp-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 0.5rem;
  letter-spacing: 0.04em;
}
.exp-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.exp-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.15);
  padding: 3px 11px;
  border-radius: 100px;
}
.exp-date { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.exp-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}
.exp-org {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1rem;
}
.exp-body p { color: rgba(255,255,255,0.62); font-size: 0.93rem; margin-bottom: 0.9rem; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.exp-bullets li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.6;
}
.exp-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.78rem;
  top: 0.12em;
}
.exp-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.20);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}
.exp-card:hover .exp-icon-box {
  background: rgba(37,99,235,0.18);
  border-color: rgba(37,99,235,0.35);
}

/* ============================================================
   ACADEMIC JOURNEY
   ============================================================ */
.academic { padding: var(--pad-section); background: var(--bg-light); }
.school-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2.4rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.8rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}
.school-card.revealed { opacity: 1; transform: none; }
.school-card:hover { box-shadow: 0 8px 32px rgba(37,99,235,0.10); }
.school-year-badge {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  height: fit-content;
}
.school-detail h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.3rem; }
.school-program { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.school-desc { color: var(--text-body); font-size: 0.92rem; margin-bottom: 1.2rem; }
.school-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.school-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--navy);
  color: #fff;
  padding: 4px 13px;
  border-radius: 100px;
}

/* Coursework */
.course-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.course-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}
.course-block.revealed { opacity: 1; transform: none; }
.course-block:hover { box-shadow: 0 6px 24px rgba(37,99,235,0.08); }
.course-block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.course-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.course-tags span {
  font-size: 0.78rem;
  background: var(--bg-light);
  color: var(--text-body);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.course-tags span:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.course-block.in-progress .course-tags span {
  background: rgba(37,99,235,0.07);
  border-color: rgba(37,99,235,0.22);
  color: var(--accent);
}
.course-block.in-progress .course-tags span:hover {
  background: var(--accent);
  color: #fff;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================================
   TECHNICAL FOCUS AREAS
   ============================================================ */
.rich-section {
  padding: var(--pad-section);
  background: var(--rich-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rich-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.rich-section h2 { color: #fff; position: relative; }
.rich-section .section-eyebrow { color: rgba(255,255,255,0.35); }

.focus-list { display: flex; flex-direction: column; position: relative; }
.focus-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.focus-card:last-child { border-bottom: none; }
.focus-card.revealed { opacity: 1; transform: none; }
.focus-card:hover .focus-visual { transform: scale(1.04); }
.focus-left { display: flex; gap: 2rem; align-items: start; }
.focus-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #60A5FA;
  padding-top: 0.3rem;
  flex-shrink: 0;
  width: 32px;
}
.focus-content h3 { color: #fff; margin-bottom: 0.65rem; font-size: 1.2rem; }
.focus-content p { color: rgba(255,255,255,0.60); font-size: 0.9rem; margin-bottom: 1rem; }
.focus-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.focus-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
  padding: 3px 11px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.focus-tags span:hover {
  background: rgba(37,99,235,0.5);
  color: #fff;
  border-color: rgba(37,99,235,0.6);
}
.focus-visual {
  width: 180px;
  height: 120px;
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
}
.focus-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.focus-card:hover .focus-visual img {
  transform: scale(1.07);
}
/* Blue tint overlay — keeps images on-theme */
.focus-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 80, 0.62) 0%,
    rgba(15, 43, 94, 0.45) 100%
  );
  z-index: 1;
  border-radius: 12px;
  transition: background 0.35s ease;
}
.focus-card:hover .focus-visual::before {
  background: linear-gradient(
    135deg,
    rgba(10, 30, 80, 0.45) 0%,
    rgba(15, 43, 94, 0.30) 100%
  );
}
/* Number label on top of image */
.focus-visual span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.22);
  z-index: 2;
  letter-spacing: 0.04em;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills { padding: var(--pad-section); background: var(--bg-white); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.skill-group {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}
.skill-group.revealed { opacity: 1; transform: none; }
.skill-group:hover { box-shadow: 0 8px 30px rgba(37,99,235,0.09); }
.skill-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
  margin-bottom: 1.4rem;
}
.skill-rows { display: flex; flex-direction: column; gap: 1.1rem; }
.skill-row { display: flex; flex-direction: column; gap: 0.35rem; }
.skill-row span { font-size: 0.85rem; color: var(--navy); font-weight: 500; }
.skill-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #60A5FA);
  border-radius: 2px;
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 6px rgba(37,99,235,0.35);
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials { padding: var(--pad-section); background: var(--bg-light); }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.cred-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}
.cred-card.revealed { opacity: 1; transform: none; }
.cred-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 44px rgba(37,99,235,0.12);
}
.cred-card.featured {
  position: relative;
  overflow: hidden;
}
/* Shimmer on featured card hover */
.cred-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(37,99,235,0.06) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: -200% center;
  transition: background-position 0.6s ease;
  pointer-events: none;
}
.cred-card.featured:hover::after {
  background-position: 200% center;
}
.cred-badge {
  min-width: 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex-shrink: 0;
}
.leed-badge   { background: var(--leed-green); }
.oacett-badge { background: var(--navy); }
.neutral-badge {
  background: var(--bg-light);
  border: 1px solid var(--border);
}
.cred-badge-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}
.oacett-badge .cred-badge-title { font-size: 0.7rem; letter-spacing: 0.05em; }
.cred-badge-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-align: center;
  line-height: 1.3;
}
.neutral-badge span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.cred-info h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.cred-issuer { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.22rem; }
.cred-date   { font-size: 0.78rem; color: var(--accent); font-weight: 500; margin-bottom: 0.5rem; }
.cred-id     { font-size: 0.7rem; font-family: monospace; color: var(--text-muted); margin-bottom: 0.5rem; }
.cred-desc   { font-size: 0.85rem; color: var(--text-body); line-height: 1.65; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial { padding: var(--pad-section); background: var(--bg-white); }
.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.testimonial-card.revealed { opacity: 1; transform: none; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.25;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: var(--navy);
  font-style: italic;
  font-family: var(--font-display);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.9rem; color: var(--navy); }
.author-info span   { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   RESUME CTA
   ============================================================ */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}
.dark-section .resume-grid h2 { color: #fff; }
.dark-section .resume-grid > div > p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; }
.resume-facts { display: flex; flex-direction: column; gap: 0.8rem; }
.resume-fact {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.resume-fact strong {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  min-width: 100px;
}
.resume-fact span { font-size: 0.9rem; color: rgba(255,255,255,0.78); }
.resume-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.resume-note { font-size: 0.78rem; color: rgba(255,255,255,0.38); line-height: 1.55; }
.resume-note strong { color: rgba(255,255,255,0.55); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--pad-section); background: var(--bg-light); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s ease;
}
.faq-a:not([hidden]) { max-height: 400px; }
.faq-a p { padding-bottom: 1.5rem; font-size: 0.93rem; color: var(--text-body); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: var(--pad-section); background: var(--navy-mid); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact-left h2 { color: #fff; margin-bottom: 1rem; }
.contact-left > p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; font-size: 0.95rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
  transition: color 0.2s, transform 0.2s;
}
.contact-link:hover { color: #fff; transform: translateX(4px); }
.contact-link.no-href { cursor: default; }
.contact-link.no-href:hover { transform: none; }
.contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.contact-link:hover .contact-icon { background: rgba(37,99,235,0.30); }
.contact-in { font-weight: 800; font-size: 0.85rem; font-family: var(--font-body); }
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.footer-nav a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-watermark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  color: rgba(255,255,255,0.032);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 48px;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   SCROLL REVEAL HELPER
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero-wrap  { padding: 72px 32px 48px; gap: 3rem; }
  .nav-inner  { padding: 0 32px; }
  .focus-card { grid-template-columns: 1fr 140px; }
  .focus-visual { height: 100px; width: 140px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad-section: 72px 0; }
  .container  { padding: 0 22px; }
  .nav-inner  { padding: 0 22px; }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .hero-wrap {
    grid-template-columns: 1fr;
    padding: 56px 22px 40px;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-right { order: -1; align-items: center; }
  .hero-photo { max-width: 260px; aspect-ratio: 3/4; }
  .hero-info-card { max-width: 320px; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-badge { flex-wrap: wrap; justify-content: center; }
  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 220px; height: 220px; }
  .blob-3 { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-box:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .exp-card { grid-template-columns: 40px 1fr; }
  .exp-icon-box { display: none; }

  .school-card { grid-template-columns: 1fr; gap: 1.2rem; }
  .course-blocks { grid-template-columns: 1fr; }

  .focus-card { grid-template-columns: 1fr; }
  .focus-visual { display: none; width: 0; }
  .focus-left { gap: 1.2rem; }

  .skills-grid { grid-template-columns: 1fr; }
  .creds-grid  { grid-template-columns: 1fr; }
  .cred-card.minor { grid-column: span 1; }

  .resume-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .resume-actions { width: 100%; }
  .resume-actions .btn { width: 100%; justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-right { width: 100%; }
  .contact-right .btn { width: 100%; justify-content: center; }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-nav  { gap: 1rem 1.5rem; }
  .mobile-drawer { padding: 28px 22px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-name { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
