/* =====================================================
   style.css — Shivanand Bharti Portfolio
   Palette:
     --bg:        #F9F7F4  (off-white)
     --white:     #FFFFFF
     --navy:      #0D1B2A
     --gold:      #B8952A
     --burgundy:  #7A1E2E
     --warm-grey: #EAE6DF
     --muted:     #6B6B6B
   ===================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: #F9F7F4;
  color: #0D1B2A;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ─── CSS VARIABLES ─────────────────────────────────── */
:root {
  --bg:        #F9F7F4;
  --white:     #FFFFFF;
  --navy:      #0D1B2A;
  --gold:      #B8952A;
  --gold-light: #D4AF60;
  --burgundy:  #7A1E2E;
  --warm-grey: #EAE6DF;
  --muted:     #6B6B6B;
  --container: 1160px;
  --section-pad: 100px;
  --radius:    10px;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
}

/* Alternating section backgrounds for rhythm */
.about      { background: var(--white); }
.experience { background: var(--bg); }
.education  { background: var(--white); }
.skills     { background: var(--bg); }
.certificates { background: var(--white); }
.contact    { background: var(--navy); color: var(--white); }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 26px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
}

/* Gold fill */
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #9a7a20;
  border-color: #9a7a20;
}

/* Navy fill */
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: #1a3350;
  border-color: #1a3350;
}

/* Outline / ghost */
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Large CTA variant */
.btn--large {
  padding: 16px 32px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
  width: 100%;
  justify-content: center;
}

/* ─── SECTION HEADER ──────────────────────────────────── */
.section__header {
  margin-bottom: 60px;
}

.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.contact .section__subtitle {
  color: rgba(255,255,255,0.7);
}

.section__rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
}


/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.07);
  border-bottom-color: var(--warm-grey);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}

.navbar__monogram {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.navbar__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 0.2s;
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.navbar__links a:hover {
  opacity: 1;
}
.navbar__links a:hover::after {
  width: 100%;
}

.navbar__hire {
  flex-shrink: 0;
  margin-left: 16px;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu drawer */
.navbar__mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--warm-grey);
  padding: 20px 32px 28px;
  gap: 18px;
  box-shadow: 0 8px 24px rgba(13,27,42,0.08);
}

.navbar__mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.8;
}

.mobile-hire {
  margin-top: 6px;
  text-align: center;
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle architectural background accents */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border: 1px solid var(--warm-grey);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border: 1px solid var(--warm-grey);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 80px;
  padding-top: 68px; /* offset navbar */
}

/* ── Left: Text ── */
.hero__text {
  padding: 60px 0;
}

.hero__availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero__roles {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--navy);
  opacity: 0.75;
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-style: italic;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* Socials row */
.hero__socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--warm-grey);
  color: var(--muted);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero__socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 149, 42, 0.06);
}

/* ── Right: Photo ── */
.hero__photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 0;
}

.hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Gold offset border decoration */
.hero__photo-gold-border {
  position: absolute;
  top: 18px;
  right: -18px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  display: block;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
  animation: bounce-down 2.2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

.about__bio p {
  color: var(--navy);
  opacity: 0.85;
  margin-bottom: 20px;
  font-size: 1.025rem;
  line-height: 1.8;
}

.about__resume-btn {
  margin-top: 10px;
}

.about__facts {
  padding: 40px 36px;
  background: var(--bg);
  border-left: 2px solid var(--gold);
}

.about__facts-heading {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--navy);
  line-height: 1.5;
}

.facts-list__icon {
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  text-align: center;
}

.facts-list em {
  color: var(--muted);
  font-style: normal;
}


/* ═══════════════════════════════════════════════════════
   EXPERIENCE — TIMELINE
═══════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 28px;
}

/* Vertical gold line */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--gold), rgba(184,149,42,0.1));
}

.timeline__entry {
  position: relative;
  display: flex;
  gap: 36px;
  margin-bottom: 64px;
}

.timeline__entry:last-child {
  margin-bottom: 0;
}

/* Dot on line */
.timeline__marker {
  flex-shrink: 0;
  position: absolute;
  left: -28px;
  top: 8px;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline__body {
  flex: 1;
}

.timeline__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline__period {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
}

.timeline__tag--gold {
  background: rgba(184, 149, 42, 0.12);
  color: var(--gold);
  border: 1px solid rgba(184, 149, 42, 0.3);
}

.timeline__tag--navy {
  background: rgba(13, 27, 42, 0.07);
  color: var(--navy);
  border: 1px solid rgba(13, 27, 42, 0.15);
}

.timeline__company-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.timeline__company-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(184, 149, 42, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.timeline__company-icon--navy {
  background: rgba(13, 27, 42, 0.07);
  color: var(--navy);
}

.timeline__company {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}

.timeline__company a {
  color: inherit;
  transition: color 0.2s;
}
.timeline__company a:hover {
  color: var(--gold);
}

.timeline__location {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.timeline__location i {
  margin-right: 4px;
}

.timeline__role {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin: 10px 0 12px;
}

.timeline__desc {
  font-size: 0.97rem;
  color: var(--navy);
  opacity: 0.78;
  line-height: 1.8;
  max-width: 680px;
}


/* ═══════════════════════════════════════════════════════
   EDUCATION
═══════════════════════════════════════════════════════ */
.edu__grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.edu__entry {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 36px;
  border-left: 2px solid var(--warm-grey);
  transition: border-color 0.25s;
}

.edu__entry:hover {
  border-left-color: var(--gold);
}

.edu__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.edu__body {
  flex: 1;
}

.edu__period {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.edu__institution {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.edu__program {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.edu__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(184, 149, 42, 0.1);
  color: var(--gold);
  border: 1px solid rgba(184, 149, 42, 0.3);
}


/* ═══════════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════════ */
.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.skills__group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 7px 16px;
  border-radius: 40px;
  border: 1px solid var(--warm-grey);
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, color 0.2s;
}

.pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pill--lang {
  background: rgba(13, 27, 42, 0.04);
  border-color: rgba(13, 27, 42, 0.12);
}

.pill--lang em {
  color: var(--muted);
  font-style: normal;
}


/* ═══════════════════════════════════════════════════════
   CERTIFICATES
═══════════════════════════════════════════════════════ */
.cert__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cert__card {
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s;
}

.cert__card:hover {
  box-shadow: 0 8px 32px rgba(13,27,42,0.07);
}

/* Marriott image card */
.cert__img-wrap {
  position: relative;
  overflow: hidden;
}

.cert__img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.cert__card:hover .cert__img {
  transform: scale(1.02);
}

.cert__view-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(13, 27, 42, 0.82);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.cert__view-btn:hover {
  background: var(--navy);
}

.cert__info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-top: 1px solid var(--warm-grey);
}

/* Emporium text card */
.cert__card--text {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 28px;
}

.cert__text-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.cert__issuer-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(13, 27, 42, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cert__issuer-icon--gold {
  background: rgba(184, 149, 42, 0.1);
  color: var(--gold);
}

.cert__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.cert__issuer {
  font-size: 0.88rem;
  color: var(--muted);
}

.cert__sub-issuer {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

.cert__date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.cert__text-body {
  flex: 1;
  margin-bottom: 24px;
}

.cert__quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  line-height: 1.6;
}

.cert__text-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cert__text-details li {
  font-size: 0.875rem;
  color: var(--navy);
  opacity: 0.8;
}

.cert__text-details li span {
  font-weight: 600;
  opacity: 1;
  margin-right: 6px;
}

.cert__download-btn {
  margin-top: auto;
}


/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact .section__rule {
  background: rgba(184, 149, 42, 0.5);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__details-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 28px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__list a {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  transition: color 0.2s;
  word-break: break-all;
}

.contact__list a:hover {
  color: var(--gold);
}

.contact__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Override outline button colors inside dark contact section */
.contact .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.contact .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1.5px solid var(--gold);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__socials a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer__socials a:hover {
  color: var(--gold);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.88);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.22);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .hero__inner {
    gap: 48px;
  }

  .about__grid {
    gap: 48px;
  }

  .skills__grid {
    gap: 36px 40px;
  }

  .cert__grid {
    gap: 28px;
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .navbar__links,
  .navbar__hire {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__inner {
    height: 60px;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 60px;
  }

  .hero__photo-wrap {
    order: -1;
    padding: 32px 0 0;
  }

  .hero__photo-frame {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero__text {
    padding: 32px 0 48px;
  }

  .hero__name {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .hero__ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero__ctas .btn {
    text-align: center;
    justify-content: center;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__facts {
    padding: 28px 24px;
  }

  /* Skills */
  .skills__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Certs */
  .cert__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Timeline */
  .timeline {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .hero__name {
    font-size: 2.4rem;
  }

  .section__title {
    font-size: 1.9rem;
  }

  .timeline__entry {
    gap: 20px;
  }

  .edu__entry {
    padding: 24px 20px;
  }
}
