/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0b1a35;
  --blue:    #152e5e;
  --accent:  #c9a84c;
  --accent2: #e8c96a;
  --light:   #f4f6fb;
  --white:   #ffffff;
  --text:    #1e293b;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --radius:  14px;
  --shadow:  0 4px 28px rgba(11,26,53,0.09);
  --shadow-lg: 0 12px 40px rgba(11,26,53,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,26,53,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.35); }

.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--accent); font-weight: 700;
}
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-resume-btn {
  background: var(--accent); color: var(--navy);
  padding: 0.45rem 1.2rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  transition: background 0.2s;
}
.nav-resume-btn:hover { background: var(--accent2); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #071020 0%, var(--navy) 40%, var(--blue) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 5rem;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
              url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badge {
  background: rgba(201,168,76,0.15); color: var(--accent);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.3rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
}
.hero-greeting { color: var(--accent); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.75rem; }
.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  color: var(--white); line-height: 1.05; margin-bottom: 1.1rem; font-weight: 800;
}
.hero-tagline { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 400; margin-bottom: 1rem; letter-spacing: 0.01em; }
.hero-sub { color: rgba(255,255,255,0.5); font-size: 0.92rem; font-style: italic; margin-bottom: 2.5rem; line-height: 1.8; }

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-primary {
  background: var(--accent); color: var(--navy);
  padding: 0.9rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }
.btn-secondary {
  border: 2px solid rgba(255,255,255,0.35); color: var(--white);
  padding: 0.9rem 2.2rem; border-radius: 50px;
  font-weight: 500; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); background: rgba(201,168,76,0.08); }

.hero-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 2.4rem; color: var(--accent); opacity: 0.85;
}

/* Hero stats strip */
.hero-stats {
  position: relative; z-index: 1;
  display: flex; gap: 1px; margin-top: 4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius); overflow: hidden;
}
.hero-stat {
  flex: 1; padding: 1.2rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(201,168,76,0.12);
  transition: background 0.2s;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(201,168,76,0.07); }
.hstat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--accent); font-weight: 700; }
.hstat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-weight: 500; }

.hero-scroll { position: absolute; bottom: 2rem; color: rgba(255,255,255,0.3); font-size: 1.4rem; animation: bounce 2.2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(9px)} }

/* ── SHARED ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
section:nth-child(even) { background: var(--light); }

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem;
}
.section-label.centered { text-align: center; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--navy); margin-bottom: 3rem; line-height: 1.25;
}
.section-title.centered { text-align: center; }

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 5rem; align-items: start; }

.about-photo-col { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 1rem; }
.about-photo-wrap {
  width: 220px; height: 220px; border-radius: 50%;
  overflow: hidden; border: 4px solid var(--accent);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.12), var(--shadow-lg);
  background: var(--navy); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.about-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.photo-placeholder-text {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  text-align: center; line-height: 1.6;
}
.about-photo-wrap.no-photo .about-photo { visibility: hidden; }
.about-photo-wrap.no-photo .photo-placeholder-text { display: flex; }
.about-photo-name { font-family: 'Dancing Script', cursive; font-size: 1.5rem; color: var(--accent); }
.about-photo-title { font-size: 0.78rem; color: var(--muted); text-align: center; font-weight: 500; }

.about-right { padding-top: 0.5rem; }
.about-text p { margin-bottom: 1.1rem; font-size: 1.05rem; color: var(--text); }
.about-text p:last-child { margin-bottom: 1.75rem; }

.about-highlights { display: flex; flex-direction: column; gap: 0.85rem; }
.highlight-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--light); border-radius: 10px; padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--accent);
}
.hi-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.highlight-item strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 600; }
.highlight-item span { font-size: 0.82rem; color: var(--muted); }

/* ── VALUE ── */
#value { background: var(--navy); }
#value .section-label { color: var(--accent); }
#value .section-title { color: var(--white); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: background 0.25s, transform 0.25s;
}
.value-card:hover { background: rgba(201,168,76,0.08); transform: translateY(-4px); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1rem; color: var(--white); font-weight: 700; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ── EXPERIENCE ── */
#experience { background: var(--light); }
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 0; width: 2px; background: var(--border); }

.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: -2.15rem; top: 1.4rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-dot.current { background: var(--accent); box-shadow: 0 0 0 4px rgba(201,168,76,0.25); }

.timeline-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-card:hover { transform: translateX(5px); box-shadow: var(--shadow-lg); }

.job-current-badge {
  display: inline-block; background: rgba(201,168,76,0.15);
  color: var(--accent); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.3); margin-bottom: 0.4rem;
}
.job-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.job-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.job-company { font-size: 0.88rem; color: var(--accent); font-weight: 600; margin-top: 3px; }
.job-date { font-size: 0.8rem; color: var(--muted); background: var(--light); padding: 0.3rem 0.85rem; border-radius: 50px; white-space: nowrap; }
.job-summary { font-size: 0.95rem; color: var(--muted); font-style: italic; margin-bottom: 1rem; line-height: 1.65; border-left: 2px solid var(--accent); padding-left: 1rem; }

.job-bullets { list-style: none; }
.job-bullets li { padding: 0.3rem 0 0.3rem 1.3rem; position: relative; font-size: 0.93rem; color: var(--text); }
.job-bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); font-size: 0.78rem; top: 0.42rem; }

/* ── SKILLS ── */
#skills { background: var(--white); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.skill-group { background: var(--light); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); }
.skill-group.highlight-group { background: var(--navy); border-color: rgba(201,168,76,0.3); }
.skill-group-icon { font-size: 1.5rem; margin-bottom: 0.6rem; }
.skill-group-title {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--navy);
  margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--accent);
}
.highlight-group .skill-group-title { color: var(--accent); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tags span {
  background: var(--white); color: var(--blue);
  padding: 0.32rem 0.8rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 500; border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.skill-tags span:hover { background: var(--navy); color: var(--white); }
.skill-tags span.tag-gold { background: rgba(201,168,76,0.15); color: var(--accent); border-color: rgba(201,168,76,0.3); }
.skill-tags span.tag-gold:hover { background: var(--accent); color: var(--navy); }

/* ── EDUCATION ── */
#education { background: var(--light); }
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.edu-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform 0.2s; }
.edu-card:hover { transform: translateY(-4px); }
.edu-card.cpa-card { border: 2px solid var(--accent); background: linear-gradient(135deg, #fff 60%, rgba(201,168,76,0.05)); }
.cpa-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.edu-badge { display: inline-block; background: var(--accent); color: var(--navy); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 0.6rem; }
.edu-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.3rem; font-weight: 700; }
.edu-field { font-size: 0.92rem; color: var(--accent); font-weight: 600; margin-bottom: 0.4rem; }
.edu-school { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.edu-location { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.6rem; }
.edu-courses { font-size: 0.78rem; color: var(--muted); line-height: 1.7; }

.cpa-progress { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cpa-section { display: flex; align-items: center; gap: 0.6rem; font-size: 0.87rem; }
.cpa-section.passed { color: var(--navy); font-weight: 600; }
.cpa-section.pending { color: var(--muted); }
.cpa-check { color: #16a34a; font-size: 1rem; font-weight: 700; }
.cpa-dot { color: var(--border); font-size: 0.9rem; }

/* ── CONTACT ── */
#contact { background: var(--navy); }
#contact .section-label { color: var(--accent); }
#contact .section-title { color: var(--white); }

.contact-intro { color: rgba(255,255,255,0.6); font-size: 1rem; text-align: center; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.8; }

.contact-main-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  max-width: 500px; margin: 0 auto 1.5rem;
  display: flex; justify-content: center;
}
.contact-email-btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--accent); color: var(--navy);
  padding: 0.95rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-email-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }

.contact-bottom-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.contact-outline-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);
  padding: 0.75rem 1.75rem; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.contact-outline-btn:hover { border-color: var(--accent); color: var(--accent); }
.resume-btn { border-color: rgba(201,168,76,0.4); color: var(--accent); }
.resume-btn:hover { background: var(--accent); color: var(--navy); }

.contact-signature { font-family: 'Dancing Script', cursive; font-size: 2.2rem; color: var(--accent); text-align: center; opacity: 0.8; }

/* ── FOOTER ── */
footer { background: #050d1a; color: rgba(255,255,255,0.35); text-align: center; padding: 1.5rem; font-size: 0.82rem; }

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-col { flex-direction: row; align-items: center; gap: 1.5rem; }
  .skills-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-resume-btn { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .job-header { flex-direction: column; }
  .hero-stats { flex-direction: column; border-radius: var(--radius); }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.12); }
  .hero-stat:last-child { border-bottom: none; }
}
