:root {
  --cream:  #FEF0CC;
  --coral:  #F47B4B;
  --coral2: #E05E2A;
  --coral-l:#FAC4A8;
  --ink:    #1C1A17;
  --soft:   #3D3A35;
  --muted:  #8A7F72;
  --border: #E8E0D5;
  --white:  #FFFFFF;
  --card:   #FFFCF7;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body {
  font-family:'DM Sans',sans-serif;
  background:#FAFAF7;
  color:var(--ink);
  line-height:1.7;
  overflow-x:hidden;
  position:relative;
}

/* ── BLOB BACKGROUND ── */
.blobs {
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.blob {
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  opacity:0.18;
  animation:blobFloat 18s ease-in-out infinite alternate;
}

.blob-1{width:520px;height:520px;background:#F47B4B;top:-120px;left:-160px;animation-duration:20s;}
.blob-2{width:400px;height:400px;background:#A78BFA;top:30%;right:-100px;animation-duration:25s;animation-delay:-8s;}
.blob-3{width:360px;height:360px;background:#60A5FA;bottom:20%;left:5%;animation-duration:22s;animation-delay:-5s;}
.blob-4{width:300px;height:300px;background:#FAC4A8;bottom:-80px;right:15%;animation-duration:28s;animation-delay:-12s;}

@keyframes blobFloat{
  0%{transform:translate(0,0) scale(1);}
  33%{transform:translate(30px,-20px) scale(1.05);}
  66%{transform:translate(-20px,30px) scale(0.95);}
  100%{transform:translate(20px,10px) scale(1.02);}
}


/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  font-family: 'Tahoma', serif;
  font-weight: 900;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--coral); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  padding: 8px 18px;
  background: var(--coral);
  color: white !important;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 12px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--coral-d) !important; color: white !important; }

/* ── SECTIONS ── */
section {
  padding: 100px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ── HERO ── */
#hero {
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(6px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 1000px;
  margin: 0 auto; 
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,123,75,0.1);
  border: 1px solid rgba(244,123,75,0.25);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 600;
  color: var(--coral-d);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--coral);
  border-radius: 50%;
}

.hero-name {
  font-family: 'Tahoma', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--ink);
  margin-bottom: 20px;
}

/*
.hero-name em {
  color: var(--coral);
  font-style: italic;
}
*/ 

.hero-sub {
  font-size: 17px;
  color: var(--soft);
  max-width: 480px;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 13px 26px;
  background: var(--coral);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-primary:hover { background: var(--coral-d); transform: translateY(-1px); }

.btn-ghost {
  padding: 13px 26px;
  background: transparent;
  color: var(--soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-ghost:hover { border-color: var(--soft); color: var(--ink); }

.hero-avatar {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--coral-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Tahoma', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--coral);
  position: relative;
  overflow: hidden;
}

.hero-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/*
.section-eyebrow::after {
  content: '';
  flex: 0 0 32px;
  height: 1.5px;
  background: var(--coral-l);
  border-radius: 1px;
} */

.section-title {
  font-family: 'Tahoma', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 48px;
}

/*.section-title em { color: var(--coral); font-style: italic; } */

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  color: var(--soft);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-text strong { color: var(--ink); font-weight: 600; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.highlight-card:hover {
  border-color: var(--coral-l);
  transform: translateX(4px);
}

.highlight-icon {
  width: 38px; height: 38px;
  background: rgba(244,123,75,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.highlight-title { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.highlight-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── EDUCATION ── */
.edu-list { display: flex; flex-direction: column; gap: 16px; }

.edu-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  transition: border-color 0.2s;
}

.edu-card:hover { border-color: var(--coral-l); }

.edu-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
  padding: 4px 10px;
  white-space: nowrap;
  }

.edu-degree {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 3px;
}

.edu-school { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
/*.edu-detail { font-size: 13px; color: var(--soft); line-height: 1.6; }   */

/* ── CERTIFICATIONS ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.cert-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.cert-card:hover { border-color: var(--coral-l); transform: translateY(-2px); }

.cert-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.cert-name { font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.cert-org  { font-size: 11px; color: var(--muted); }

/* ── PROJECTS ── */
.projects-list { display: flex; flex-direction: column; gap: 40px; }

.project-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.project-card:hover {
  border-color: var(--coral-l);
  box-shadow: 0 12px 40px rgba(244,123,75,0.08);
}

.project-header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-badge.msc { background: rgba(244,123,75,0.1); color: var(--coral-d); border: 1px solid rgba(244,123,75,0.2); }
.project-badge.bsc { background: rgba(59,158,110,0.1); color: #2d7a54; border: 1px solid rgba(59,158,110,0.2); }

.project-title {
  font-family: 'Tahoma', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}

/*.project-title em { color: var(--coral); font-style: italic; } */

.project-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 480px;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.tag {
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}


/* PROJECT CARDS */

/* CENTER THE WHOLE BLOCK */
.project-resources-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* GRID */
.project-resources {
  display: grid;
  grid-template-columns: repeat(2, 320px); /* 🔥 wider tiles */
  gap: 20px;
}

/* TILE CARD */
.resource-card {
  position: relative;
  width: 320px;        /* 🔥 increased width */
  aspect-ratio: 4 / 3; /* 🔥 more “portfolio card” than square */

  display: flex;
  flex-direction: column;

  border-radius: 20px;
  overflow: hidden;

  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  transform: translateY(0);
  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
}

/* HOVER LIFT (Apple feel) */
.resource-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.10);
}

/* IMAGE AREA */
.resource-image {
  flex: 1;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* subtle zoom on hover */
.resource-card:hover .resource-image img {
  transform: scale(1.12);
}

/* TEXT SECTION */
.resource-content {
  padding: 12px 14px 6px;
}

.resource-content h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.resource-content p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.65;
}

/* PREVIEW PEEK */
.resource-preview {
  position: absolute;
  top: 12px;
  right: 12px;

  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

.resource-card:hover .resource-preview {
  opacity: 1;
  transform: translateY(0);
}

/* GLOW LAYER */
.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(246, 145, 99, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.resource-card:hover::before {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .project-resources {
    grid-template-columns: repeat(1, 1fr);
  }

  .resource-card {
    width: 100%;
    aspect-ratio: 1.2 / 1;
  }
}

/* ── CONTACT ── */
#contact {
  text-align: center;
}

.contact-inner {
  max-width: 500px;
  margin: 0 auto;
}

.contact-inner p {
  font-size: 15px;
  color: var(--soft);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  color: var(--soft);
  transition: all 0.2s;
  background: var(--card);
}

.contact-link:hover { border-color: var(--coral-l); color: var(--coral); transform: translateY(-2px); }
.contact-link.primary { background: var(--coral); border-color: var(--coral); color: white; }
.contact-link.primary:hover { background: var(--coral-d); color: white; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-name {
  font-family: 'Tahoma', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.footer-copy { font-size: 12px; color: var(--muted); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  section { padding: 72px 20px; }

 /* #hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-avatar { display: none; }
  .hero-name { font-size: 48px; letter-spacing: -2px; } */
  .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-avatar { width: 160px; height: 160px; font-size: 36px; margin-top: 32px; order: -1; }
  .hero-name { font-size: 48px; letter-spacing: -2px; }
  .hero-actions { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .edu-card { grid-template-columns: 1fr; }
  .project-header { flex-direction: column; }
  .project-tags { display: none; }
  .project-body { padding: 0 20px 24px; }
  .project-header { padding: 24px 20px 20px; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px 20px; }
}