/* =====================================================
   ALEX MORGAN — PORTFOLIO CSS
   Design: Dark editorial with lime-acid accent
   Fonts: Syne (display) + DM Sans (body)
   ===================================================== */

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

:root {
  /* Color palette */
  --bg:          #0b0c10;    /* Near-black background */
  --bg-2:        #111218;    /* Card / surface */
  --bg-3:        #18191f;    /* Elevated surface */
  --border:      rgba(255,255,255,0.07);
  --text:        #e8e8ee;    /* Primary text */
  --text-muted:  #7a7a9a;    /* Secondary text */
  --accent:      #c8ff00;    /* Lime accent */
  --accent-dim:  rgba(200,255,0,0.12);
  --accent-glow: 0 0 24px rgba(200,255,0,0.25);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-gap: clamp(5rem, 10vw, 9rem);
  --container:   1200px;
  --radius:      14px;
  --radius-sm:   8px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.3s;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== UTILITY ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 5vw, 2.5rem); }
.accent { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--font-display); font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; border: none; transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #000;
}
.btn-primary:hover { background: #d4ff33; transform: translateY(-2px); box-shadow: var(--accent-glow); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* Section layout */
.section { padding: var(--section-gap) 0; }
.section-header { margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; color: var(--accent); font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Staggered children */
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem clamp(1rem, 5vw, 2.5rem);
  background: transparent;
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease),
              padding var(--dur) var(--ease);
}
.navbar.scrolled {
  background: rgba(11,12,16,.85);
  backdrop-filter: blur(16px);
  padding-top: .85rem; padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--text); text-decoration: none;
}
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: .88rem;
  font-weight: 500; transition: color var(--dur) var(--ease); white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-cta {
  background: var(--accent); color: #000;
  padding: .5rem 1.2rem; border-radius: 50px; font-weight: 700;
}
.nav-links a.nav-cta:hover { background: #d4ff33; color: #000; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0; top: 0;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.2rem; background: var(--bg);
    transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 800;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  position: relative; overflow: hidden;
  padding: 7rem clamp(1rem, 5vw, 2.5rem) 4rem;
}

/* Dot-grid background */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,255,0,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(66,133,244,.05) 0%, transparent 40%),
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px;
}

.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 4rem;
}

.hero-eyebrow { color: var(--text-muted); font-size: 1rem; margin-bottom: .5rem; }

.hero-name {
  font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800; line-height: .95; letter-spacing: -.03em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--accent);
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.5rem;
}

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

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--accent);
}
.stat p { font-size: .78rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Avatar */
.hero-visual { position: relative; flex-shrink: 0; }
.avatar-ring {
  width: 320px; height: 320px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), transparent 70%, var(--accent));
  padding: 3px; animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-img {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  animation: spin 8s linear infinite reverse; /* counter-rotate to keep avatar upright */
}
.avatar-img svg { width: 100%; height: 100%; }
.avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Floating badges */
.badge {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  background: var(--bg-3); border: 1px solid var(--border);
  padding: .6rem 1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; font-family: var(--font-display);
  backdrop-filter: blur(8px); white-space: nowrap;
}
.badge i { color: var(--accent); font-size: 1rem; }
.badge-1 { top: 5%; right: -18%; animation: float 3s ease-in-out infinite; }
.badge-2 { bottom: 20%; right: -22%; animation: float 3s ease-in-out infinite .8s; }
.badge-3 { bottom: 5%; left: -12%; animation: float 3s ease-in-out infinite 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Scroll indicator */
.scroll-down {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: 1.4rem; z-index: 1;
  animation: bounce 2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-text strong { color: var(--text); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
.info-card:hover { border-color: var(--accent); }
.info-card i { font-size: 1.6rem; color: var(--accent); flex-shrink: 0; }
.info-card div { display: flex; flex-direction: column; }
.info-card strong { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.info-card span { font-size: .92rem; font-weight: 500; }
.available { color: var(--accent) !important; }

/* ===== EDUCATION ===== */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.col-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 2rem; display: flex; align-items: center; gap: .6rem;
}
.col-title i { color: var(--accent); font-size: 1.3rem; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 1.5rem; position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 12px; height: 12px; background: var(--accent); border-radius: 50%;
  flex-shrink: 0; margin-top: .6rem;
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.timeline-item::before {
  content:''; position: absolute; left: 5px; top: 20px;
  bottom: 0; width: 2px; background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.tl-year { font-size: .78rem; color: var(--accent); font-weight: 600; letter-spacing: .06em; font-family: var(--font-display); }
.tl-content h4 { font-family: var(--font-display); font-weight: 700; margin: .2rem 0 .3rem; }
.tl-content p { color: var(--text-muted); font-size: .9rem; }
.tl-note { font-size: .84rem !important; margin-top: .4rem; font-style: italic; }

/* Certs */
.cert-list { display: flex; flex-direction: column; gap: .9rem; }
.cert-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 1rem 1.3rem; border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cert-card:hover { border-color: var(--accent); transform: translateX(6px); }
.cert-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-icon i { font-size: 1.2rem; color: var(--c, var(--accent)); }
.cert-card div:last-child { display: flex; flex-direction: column; }
.cert-card strong { font-size: .9rem; font-weight: 600; }
.cert-card span { font-size: .78rem; color: var(--text-muted); }

/* ===== SKILLS ===== */
.skills { background: var(--bg-2); }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
.skill-group {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color var(--dur) var(--ease);
}
.skill-group:hover { border-color: rgba(200,255,0,.3); }
.skill-group h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.8rem;
}
.skill-group h3 i { color: var(--accent); font-size: 1.2rem; }

.skill-bars { display: flex; flex-direction: column; gap: 1.3rem; }
.skill-label { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .85rem; }
.skill-label span:last-child { color: var(--accent); font-weight: 600; }
.skill-track { background: rgba(255,255,255,.06); border-radius: 50px; height: 6px; overflow: hidden; }
.skill-fill {
  height: 100%; width: 0; border-radius: 50px;
  background: linear-gradient(90deg, var(--accent), #90ff00);
  transition: width 1.2s var(--ease);
}

.skill-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  background: var(--accent-dim); border: 1px solid rgba(200,255,0,.2);
  color: var(--accent); padding: .4rem .9rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  transition: background var(--dur) var(--ease);
}
.chip:hover { background: rgba(200,255,0,.25); }

/* ===== PROJECTS ===== */
.project-filters { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .5rem 1.3rem; border-radius: 50px; border: 1.5px solid var(--border);
  background: transparent; color: var(--text-muted); cursor: pointer;
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.project-card:hover {
  border-color: rgba(200,255,0,.4); transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.project-card.hidden { display: none; }
.project-header { display: flex; justify-content: space-between; align-items: flex-start; }
.project-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
}
.project-icon i { font-size: 1.5rem; color: var(--accent); }
.project-links { display: flex; gap: .8rem; }
.project-links a {
  color: var(--text-muted); font-size: 1.3rem; text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.project-links a:hover { color: var(--accent); }
.project-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.project-card > p { color: var(--text-muted); font-size: .9rem; flex: 1; }
.project-meta { font-size: .82rem; color: var(--text-muted); display: flex; flex-direction: column; gap: .3rem; }
.project-meta strong { color: var(--text); }
.project-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.project-tags span {
  background: rgba(255,255,255,.06); border-radius: 4px;
  padding: .25rem .6rem; font-size: .75rem; font-weight: 500; color: var(--text-muted);
}

/* ===== EXPERIENCE ===== */
.experience { background: var(--bg-2); }
.exp-timeline { display: flex; flex-direction: column; gap: 0; }
.exp-item { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding-bottom: 3rem; position: relative; }
.exp-item:last-child { padding-bottom: 0; }
.exp-aside { display: flex; flex-direction: column; align-items: flex-end; padding-top: .4rem; }
.exp-year { font-family: var(--font-display); font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-align: right; }
.exp-line { width: 2px; flex: 1; background: var(--border); margin-top: .8rem; margin-right: -1px; }
.exp-item:last-child .exp-line { display: none; }
.exp-body {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; position: relative;
  transition: border-color var(--dur) var(--ease);
}
.exp-body:hover { border-color: rgba(200,255,0,.3); }
/* Arrow pointing left */
.exp-body::before {
  content:''; position: absolute; left: -8px; top: 22px;
  width: 14px; height: 14px; background: var(--bg-3);
  border-left: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.exp-header { display: flex; flex-direction: column; margin-bottom: 1rem; }
.exp-header h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.exp-company { color: var(--accent); font-size: .85rem; font-weight: 600; margin-top: .2rem; }
.exp-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.2rem; }
.exp-list li { color: var(--text-muted); font-size: .92rem; padding-left: 1.2rem; position: relative; }
.exp-list li::before { content:'→'; position: absolute; left: 0; color: var(--accent); }
.exp-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.exp-tags span {
  background: var(--accent-dim); border: 1px solid rgba(200,255,0,.15);
  color: var(--accent); padding: .25rem .7rem; border-radius: 4px; font-size: .75rem; font-weight: 600;
}

/* ===== ACHIEVEMENTS ===== */
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ach-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: .8rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ach-card:hover { border-color: rgba(200,255,0,.4); transform: translateY(-4px); }
.ach-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
}
.ach-icon i { font-size: 1.6rem; color: var(--accent); }
.ach-card h4 { font-family: var(--font-display); font-weight: 700; }
.ach-card p { color: var(--text-muted); font-size: .88rem; flex: 1; }
.ach-year { font-size: .78rem; color: var(--accent); font-weight: 600; font-family: var(--font-display); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-2); }
.testimonials-track-wrapper { position: relative; overflow: hidden; padding: 0 0 3rem; }
.testimonials-track { display: flex; transition: transform .5s var(--ease); }
.testimonial-card {
  min-width: calc(50% - 1rem); margin-right: 2rem;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem;
  transition: border-color var(--dur) var(--ease);
}
.testimonial-card:hover { border-color: rgba(200,255,0,.3); }
.quote-mark { font-size: 4rem; color: var(--accent); font-family: Georgia, serif; line-height: .7; }
.testimonial-card > p { color: var(--text-muted); font-size: .97rem; line-height: 1.75; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.testimonial-author div:nth-child(2) { flex: 1; }
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }
.stars { color: var(--accent); font-size: .9rem; }

/* Carousel controls */
.carousel-btn {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--bg-3); color: var(--text); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease); z-index: 10;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; position: absolute; bottom: 0; left: 0; right: 0; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer;
  transition: background var(--dur), width var(--dur);
}
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.blog-card:hover { border-color: rgba(200,255,0,.4); transform: translateY(-6px); }
.blog-img {
  height: 200px; position: relative; display: flex; align-items: flex-start; padding: 1rem;
}
.blog-img-1 { background: linear-gradient(135deg, #1a1a4e, #0f3460); }
.blog-img-2 { background: linear-gradient(135deg, #1a2e1a, #0d3320); }
.blog-img-3 { background: linear-gradient(135deg, #2e1a1a, #3d1b0b); }
.blog-category {
  background: var(--accent); color: #000; padding: .3rem .8rem;
  border-radius: 50px; font-size: .75rem; font-weight: 700; font-family: var(--font-display);
}
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.blog-date { font-size: .78rem; color: var(--text-muted); }
.blog-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.4; }
.blog-body p { color: var(--text-muted); font-size: .88rem; }
.blog-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent); font-size: .85rem; font-weight: 600; text-decoration: none;
  margin-top: .4rem; transition: gap var(--dur) var(--ease);
}
.blog-link:hover { gap: .7rem; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.02rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  color: var(--text-muted); text-decoration: none; font-size: .95rem;
  transition: color var(--dur) var(--ease);
}
.contact-link i { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }
.contact-link:hover { color: var(--accent); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .82rem; color: var(--text-muted); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.form-group input, .form-group textarea {
  background: var(--bg-3); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body); font-size: .95rem;
  padding: .9rem 1.1rem; transition: border-color var(--dur) var(--ease);
  resize: vertical; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-success {
  background: rgba(200,255,0,.1); border: 1px solid rgba(200,255,0,.3);
  color: var(--accent); padding: 1rem; border-radius: var(--radius-sm);
  text-align: center; font-weight: 600;
}

/* ===== FOOTER ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 3.5rem 0 0; }
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; padding-bottom: 3rem;
}
.footer-left { display: flex; flex-direction: column; gap: 1rem; }
.footer-left p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: .9rem; transition: color var(--dur); }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.1rem; text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.2rem clamp(1rem, 5vw, 2.5rem);
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: var(--text-muted); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #000; border: none; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: all var(--dur) var(--ease);
}
.back-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-top:hover { background: #d4ff33; transform: translateY(-3px); }

/* ===== CERT EMPTY STATE ===== */
.cert-empty {
  background: var(--bg-3); border: 1.5px dashed rgba(200,255,0,.25);
  border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.cert-empty-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
}
.cert-empty-icon i { font-size: 1.8rem; color: var(--accent); }
.cert-empty h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.cert-empty p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; max-width: 320px; }

/* ===== SINGLE COLUMN SKILLS ===== */
.skills-single { grid-template-columns: 1fr !important; max-width: 640px; }

/* ===== TWO COLUMN PROJECTS ===== */
.projects-two-col { grid-template-columns: 1fr 1fr !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .ach-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-content  { grid-template-columns: 1fr; text-align: center; }
  .hero-text     { align-items: center; display: flex; flex-direction: column; }
  .hero-intro    { text-align: center; }
  .hero-visual   { display: none; }
  .hero-stats    { justify-content: center; }
  .about-grid    { grid-template-columns: 1fr; }
  .about-cards   { grid-template-columns: 1fr 1fr; }
  .edu-grid      { grid-template-columns: 1fr; }
  .skills-grid   { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .exp-item      { grid-template-columns: 1fr; }
  .exp-aside     { flex-direction: row; align-items: center; }
  .exp-line      { display: none; }
}

@media (max-width: 700px) {
  .projects-grid, .projects-two-col  { grid-template-columns: 1fr !important; }
  .ach-grid       { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .skills-grid    { grid-template-columns: 1fr; }
  .testimonial-card { min-width: calc(100% - 1rem); }
  .form-row       { grid-template-columns: 1fr; }
  .hero-btns      { flex-direction: column; align-items: center; }
  .footer-inner   { flex-direction: column; align-items: center; text-align: center; }
  .about-cards    { grid-template-columns: 1fr; }
}
