/* ============================================================
   ESEOGHENE'S PORTFOLIO — MASTER STYLESHEET
   One file to rule them all hehe.
   ============================================================ */

/* === TOKENS === */
:root {
  --green-deep:    #0d5d53;
  --green-forest:  #2d6a4f;
  --green-mid:     #40916c;
  --green-sage:    #8FBC8F;
  --green-soft:    #d8f3dc;
  --olive:         #556B2F;
  --gold:          #FFD700;
  --pink:          #FFB6C1;
  --sky:           #87CEEB;
  --lavender:      #C8A2C8;
  --cream:         #FFF5E1;
  --marshmallow:   #FFFAF0;
  --text-dark:     #1a3a2e;
  --text-mid:      #3d5a4a;
  --text-muted:    #6b786b;
  --nav-active-bg: rgba(143, 188, 143, 0.25);

  --radius-pill: 999px;
  --radius-card: 18px;
  --shadow-sm:   0 4px 12px rgba(0,0,0,.08);
  --shadow-md:   0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 16px 40px rgba(0,0,0,.15);
  --transition:  all 0.3s ease;
}

/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASE === */
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #eaf4ec 0%, #d0e6c2 40%, #f4f4e8 100%);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a  { color: inherit; }

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0 80px;
  min-height: 100vh;
}

/* === TYPOGRAPHY === */
.section-title {
  text-align: center;
  margin-bottom: 64px;
  color: var(--green-deep);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  border-radius: 2px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 11px 28px;
  background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #1b4332, var(--green-forest));
}

.btn.secondary {
  background: transparent;
  border: 2px solid var(--green-forest);
  color: var(--green-forest);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--green-soft);
  transform: translateY(-3px);
}

/* === CARD === */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* === NAVIGATION === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.45);
  gap: 6px;
}

.nav-menu li { margin: 0; }

.nav-menu a {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}

.nav-menu a:hover {
  color: var(--green-forest);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.nav-menu a.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
  box-shadow: 0 3px 10px rgba(45, 106, 79, 0.28);
  font-weight: 800;
}

.nav-menu a.active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1b4332, var(--green-forest));
  transform: translateY(-1px);
}

/* === HOME — HERO === */
#home {
  min-height: 100vh;
  padding: 110px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

/* Profile picture */
.profile-side {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.profile-pic {
  width: 340px;
  height: 410px;
  border-radius: 42% 58% 58% 42% / 38% 38% 62% 62%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(45deg, var(--pink), var(--sky));
  animation: morphing 10s infinite ease-in-out;
  transition: var(--transition);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-pic:hover img { transform: scale(1.04) rotate(-1.5deg); }

@keyframes morphing {
  0%   { border-radius: 42% 58% 58% 42% / 38% 38% 62% 62%; }
  25%  { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50%  { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75%  { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
  100% { border-radius: 42% 58% 58% 42% / 38% 38% 62% 62%; }
}

/* Intro text */
.intro-side { flex: 1; }

.intro-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.intro-text h2 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Interest tags */
.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.interest-item {
  background: rgba(255,255,255,0.8);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.interest-item i { color: var(--green-forest); }

.interest-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

/* Social links */
.social-links { display: flex; gap: 14px; }

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--green-forest);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Floating Ghibli clouds */
.ghibli-cloud {
  position: absolute;
  background: rgba(255,255,255,0.75);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
  z-index: 0;
  animation: floatCloud 22s infinite ease-in-out;
}

.cloud-1 { width: 110px; height: 44px; top: 18%; left: 4%;  animation-duration: 26s; }
.cloud-2 { width: 160px; height: 64px; top: 62%; right: 8%; animation-duration: 32s; animation-delay: -10s; }
.cloud-3 { width: 90px;  height: 36px; top: 40%; right: 22%; animation-duration: 20s; animation-delay: -5s; }

@keyframes floatCloud {
  0%   { transform: translateX(0)   translateY(0); }
  25%  { transform: translateX(-16px) translateY(6px); }
  50%  { transform: translateX(0)   translateY(12px); }
  75%  { transform: translateX(16px)  translateY(6px); }
  100% { transform: translateX(0)   translateY(0); }
}

/* Soot sprites */
.soot-sprite {
  position: absolute;
  width: 26px;
  height: 26px;
  background: #111;
  border-radius: 50%;
  opacity: 0.65;
  z-index: 0;
  animation: bounceSoot 8s infinite ease-in-out;
}

.sprite-1 { top: 14%; right: 14%; animation-delay: 0s; }
.sprite-2 { bottom: 22%; left: 9%;  animation-delay: -2s; }

@keyframes bounceSoot {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.08); }
}

/* Totoro widget */
.totoro {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 76px;
  background-color: var(--green-forest);
  border-radius: 50% 50% 40% 40%;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.totoro::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 14px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 18px 0 0 #fff;
}

.totoro::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 18px;
  width: 5px;
  height: 5px;
  background: #111;
  border-radius: 50%;
  box-shadow: 14px 0 0 #111;
}

.totoro:hover { transform: scale(1.1); }

/* === SKILLS SECTION === */
#skills {
  background: linear-gradient(135deg, rgba(143,188,143,.08) 0%, rgba(135,206,235,.08) 100%);
  padding: 100px 0 90px;
}

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}

/* Gradient cards — original colours restored */
.skill-card {
  padding: 32px 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: linear-gradient(135deg, #e9f5db, #cfe1b9);
  color: var(--text-dark);
}

.skill-card:nth-child(2) { background: linear-gradient(135deg, #cfe1b9, #b5c99a); }
.skill-card:nth-child(3) { background: linear-gradient(135deg, #b5c99a, #97a97c); }
.skill-card:nth-child(4) { background: linear-gradient(135deg, #97a97c, #718355); }

.skill-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow-md); }

.skill-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--green-deep);
}

.skill-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #081c15;
}

.skill-card p {
  font-size: 0.88rem;
  color: #2a4a30;
  line-height: 1.6;
  margin-bottom: 16px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pill {
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1a3d20;
  backdrop-filter: blur(4px);
}

/* ── Tool workflow infographic ─────────────────────────── */
.workflow-section {
  margin-top: 24px;
  padding-bottom: 24px;
}

.workflow-label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.workflow-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  padding-bottom: 16px;
}

.wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wf-node.visible { opacity: 1; transform: translateY(0); }

.wf-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.wf-bubble:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* pulse ring on hover */
.wf-bubble::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wf-bubble:hover::after { opacity: 0.4; transform: scale(1.15); }

.wf-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-mid);
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Arrow between nodes */
.wf-arrow {
  font-size: 1.1rem;
  color: var(--green-sage);
  margin: 0 6px;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  flex-shrink: 0;
}

.wf-arrow.visible { opacity: 1; }

/* Colour per tool */
.wf-py   { background: #3776ab22; color: #3776ab; }
.wf-js   { background: #f7df1e22; color: #a09000; }
.wf-react{ background: #61dafb22; color: #0892b5; }
.wf-gemini{ background: #9c27b022; color: #7b1fa2; }
.wf-sl   { background: #ff4b4b22; color: #cc2222; }
.wf-gh   { background: #33333322; color: #333; }
.wf-vercel{ background: #00000011; color: #000; }

/* Tooltip on hover */
.wf-bubble[data-tip]:hover::before {
  content: attr(data-tip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

/* === PROJECTS SECTION === */
#projects {
  background: linear-gradient(135deg, rgba(143,188,143,.06) 0%, rgba(135,206,235,.06) 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.project-card .card-img {
  height: 200px;
  background: linear-gradient(45deg, var(--pink), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.project-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card .card-content { padding: 22px; }
.project-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; color: var(--green-deep); }
.project-card p  { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }

.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.tag {
  background: var(--pink);
  color: #5a1a2a;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

/* === MENTOR NOTE CARDS === */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 24px 0 48px;
}

.mentor-note {
  background: var(--marshmallow);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1), 0 1px 8px rgba(0,0,0,.05), inset 0 -4px 8px rgba(0,0,0,.05);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.mentor-note.visible { opacity: 1; transform: translateY(0); }

.mentor-note::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cg fill='none' stroke='%23d0e6c2' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.12;
  z-index: 0;
}

.mentor-note:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 18px 40px rgba(0,0,0,.15), 0 3px 10px rgba(0,0,0,.07);
}

.note-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--gold), #8B4513);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,.25);
  z-index: 3;
}

.note-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 28px;
}

.mentor-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.mentor-name::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  border-radius: 2px;
  margin: 8px auto 0;
}

.mentor-role {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

.note-content { position: relative; z-index: 2; }

.mentor-description {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 22px;
}

.mentor-note .social-links { justify-content: center; }

/* Quote section */
.ghibli-quote {
  max-width: 560px;
  margin: 16px auto 40px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  padding: 28px 32px;
  background: rgba(255,255,255,0.6);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  position: relative;
}

.ghibli-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: -14px;
  left: 18px;
  font-family: Georgia, serif;
  line-height: 1;
}

/* === MARSHMALLOWS SECTION === */
#marshmallows {
  background: linear-gradient(135deg, rgba(255,215,0,.07) 0%, rgba(200,162,200,.07) 100%);
  overflow: hidden;
  position: relative;
}

.marshmallow-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Bouncing marshmallows */
.marshmallow-piece {
  position: absolute;
  background: linear-gradient(135deg, #fff, #ffe4e1);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.08), inset 0 -3px 6px rgba(0,0,0,.06);
  animation: bounceMarshmallow ease-in-out infinite;
}

@keyframes bounceMarshmallow {
  0%   { transform: translateY(0)     rotate(0deg)   scale(1);    opacity: 0; }
  8%   { opacity: 0.85; }
  45%  { transform: translateY(-28px) rotate(160deg) scale(1.08); }
  55%  { transform: translateY(-22px) rotate(200deg) scale(0.95); }
  80%  { opacity: 0.7; }
  100% { transform: translateY(100vh) rotate(360deg) scale(0.8);  opacity: 0; }
}

/* Hobby cards — lively, not static */
.hobby-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.hobby-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(28px);
}

.hobby-card.visible { opacity: 1; transform: translateY(0); }

.hobby-card:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow: var(--shadow-lg);
}

.hobby-header {
  padding: 28px 24px 18px;
  text-align: center;
  background: linear-gradient(135deg, var(--pink), var(--sky));
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Marshmallow card gets its special pink header */
.marshmallow-card .hobby-header {
  background: linear-gradient(135deg, #ff9ecb, #ffc6d9);
}

.hobby-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px; right: -20px;
  height: 40px;
  background: #fff;
  border-radius: 50% 50% 0 0;
}

.hobby-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
  display: block;
  animation: iconWiggle 4s ease-in-out infinite;
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20%       { transform: rotate(-8deg) scale(1.08); }
  40%       { transform: rotate(8deg) scale(1.08); }
  60%       { transform: rotate(-4deg) scale(1.04); }
  80%       { transform: rotate(4deg) scale(1.04); }
}

.hobby-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.hobby-content { padding: 28px 22px 22px; }

.hobby-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.hobby-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hobby-tag {
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* === NOTES SECTION === */
#notes {
  background: linear-gradient(135deg, rgba(200,162,200,.07) 0%, rgba(255,215,0,.07) 100%);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.note-card .card-img {
  height: 180px;
  background: linear-gradient(45deg, var(--gold), var(--lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.note-card .card-content { padding: 22px; }
.note-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; color: var(--green-deep); }
.note-card p  { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }

.note-date {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-style: italic;
}

/* === CHESS SECTION === */
#chess {
  background: linear-gradient(135deg, rgba(210,105,30,.07) 0%, rgba(255,250,240,.06) 100%);
}

.chess-content { max-width: 820px; margin: 0 auto; }

.chess-board {
  width: 380px;
  height: 380px;
  margin: 0 auto 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='380' height='380'><rect width='380' height='380' fill='%23f0d9b5'/><path d='M0,0L380,380M380,0L0,380' stroke='%23b58863' stroke-width='38'/></svg>");
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.chess-personality {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-card);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.chess-personality h3 { margin-bottom: 12px; color: var(--green-deep); font-size: 1.15rem; font-weight: 800; }
.chess-personality p  { color: var(--text-muted); margin-bottom: 20px; font-size: 0.92rem; }

.personality-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.personality-btn {
  padding: 9px 20px;
  background: var(--green-sage);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}

.personality-btn:hover { background: var(--olive); transform: translateY(-2px); }

.chess-result {
  margin-top: 18px;
  padding: 16px;
  background: var(--marshmallow);
  border-radius: 12px;
  display: none;
  animation: fadeIn 0.4s ease;
  font-size: 0.92rem;
  color: var(--text-mid);
}

.chess-result.active { display: block; }
.chess-result h4 { color: var(--green-deep); font-size: 1rem; margin-bottom: 6px; }

.chess-invite { text-align: center; }
.chess-invite h3 { color: var(--green-deep); font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.chess-invite p  { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }

/* === CONTACT SECTION === */
#contact {
  background: linear-gradient(135deg, rgba(135,206,235,.08) 0%, rgba(143,188,143,.08) 100%);
}

.contact-form {
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  padding: 44px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--olive);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--marshmallow);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-sage);
  outline: none;
  box-shadow: 0 0 0 3px rgba(143,188,143,0.25);
  background: #fff;
}

textarea { min-height: 140px; resize: vertical; }

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
  color: #fff;
  font-size: 1rem;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1b4332, var(--green-forest));
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-status {
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  display: none;
  animation: fadeIn 0.35s ease;
  line-height: 1.5;
}

.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
  box-shadow: var(--shadow-sm);
}

.form-status.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
  box-shadow: var(--shadow-sm);
}

/* === MENTORS PAGE === */
.mentors-content { max-width: 760px; margin: 0 auto; }
.mentors-content p { color: var(--text-mid); font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.mentors-content h3 { color: var(--green-deep); font-size: 1.2rem; font-weight: 800; margin: 28px 0 10px; }

/* === FOOTER === */
footer {
  background: var(--olive);
  color: #fff;
  padding: 44px 0;
  text-align: center;
}

.footer-content { display: flex; flex-direction: column; align-items: center; }

.footer-social { display: flex; gap: 14px; margin: 18px 0; }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.copyright { font-size: 0.85rem; opacity: 0.75; }
.footer-message { font-size: 0.82rem; opacity: 0.6; margin-top: 4px; }

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { flex-direction: column; text-align: center; gap: 40px; }
  .profile-pic  { width: 270px; height: 320px; }
  .intro-text p { max-width: none; }
  .hero-buttons, .social-links { justify-content: center; }
  .interests    { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-menu { flex-wrap: wrap; justify-content: center; padding: 10px 14px; gap: 2px; }
  .nav-menu a { font-size: 0.82rem; padding: 6px 10px; }
  .section { padding: 90px 0 60px; }
  .contact-form { padding: 28px 22px; }
  .chess-board { width: 300px; height: 300px; }
}

@media (max-width: 480px) {
  .profile-pic { width: 220px; height: 260px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .interest-item { font-size: 0.85rem; }
  .chess-board { width: 250px; height: 250px; }
}
