/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 8rem 2rem 4rem;
}
.hero-glow {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.13) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px; font-size: 0.8rem;
  color: var(--accent2); font-weight: 500; margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800; letter-spacing: -2px; line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero h1 span {
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted); max-width: 580px;
  margin: 0 auto 2.5rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.stat        { text-align: center; }
.stat-num    { font-size: 2rem; font-weight: 800; color: var(--accent2); line-height: 1; }
.stat-label  { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ─── ABOUT ─── */
#about { background: var(--bg2); }

.about-grid  { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; }
.about-left  { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.about-avatar {
  width: 180px; height: 180px; min-width: 180px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.3);
  border: 3px solid rgba(59, 130, 246, 0.4);
  background: #cfe0f7;
}
.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 5%;
  mix-blend-mode: multiply;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.about-card   { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.about-text   { color: var(--muted); line-height: 1.85; margin-bottom: 1.1rem; font-size: 0.95rem; }
.about-text:last-child  { margin-bottom: 0; }
.about-text strong      { color: var(--text); }

/* ─── EDUCATION ─── */
#education { background: var(--bg); }

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.edu-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 2rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  transition: border-color 0.3s;
}
.edu-card:hover { border-color: rgba(59, 130, 246, 0.4); }
.edu-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.edu-institution { font-size: 0.75rem; color: var(--accent2); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.25rem; }
.edu-course      { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; }
.edu-period      { font-size: 0.8rem; color: var(--muted); }

.edu-highlights {
  margin-top: 1.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
}
.edu-highlights-title { font-weight: 700; margin-bottom: 1rem; font-size: 0.95rem; }
.edu-highlights-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.edu-highlight-item   { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); font-size: 0.86rem; }
.edu-highlight-item .arrow { color: var(--accent); margin-top: 1px; flex-shrink: 0; }

/* ─── SKILLS ─── */
#skills { background: var(--bg2); }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.skill-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.skill-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.4); }
.skill-icon      { font-size: 1.9rem; margin-bottom: 0.85rem; }
.skill-name      { font-weight: 700; font-size: 1rem; margin-bottom: 0.45rem; }
.skill-desc      { color: var(--muted); font-size: 0.845rem; line-height: 1.6; }
.skill-bar-wrap  { margin-top: 1.1rem; }
.skill-bar-label { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-bottom: 0.3rem; }
.skill-bar       { height: 4px; background: rgba(255, 255, 255, 0.06); border-radius: 2px; overflow: hidden; }
.skill-bar-fill  { height: 100%; background: var(--accent-g); border-radius: 2px; }

/* ─── SERVICES ─── */
#services { background: var(--bg); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; transition: all 0.3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.4); }
.service-icon {
  width: 50px; height: 50px; border-radius: 10px;
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
}
.service-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.6rem; }
.service-desc  { color: var(--muted); font-size: 0.865rem; line-height: 1.7; }
.service-tags  { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.service-tag   { padding: 0.25rem 0.65rem; background: rgba(255, 255, 255, 0.05); border-radius: 4px; font-size: 0.72rem; color: var(--muted); }

/* ─── PROJECTS ─── */
#projects { background: var(--bg2); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.project-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.4); }
.project-img {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem; position: relative;
}
.project-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 0.2rem 0.65rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
}
.project-body  { padding: 1.4rem; }
.project-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.45rem; }
.project-desc  { color: var(--muted); font-size: 0.855rem; line-height: 1.65; margin-bottom: 1.2rem; }
.project-links { display: flex; gap: 0.65rem; }
.project-link {
  padding: 0.4rem 0.9rem; border-radius: 6px; font-size: 0.78rem;
  font-weight: 600; text-decoration: none; transition: opacity 0.2s;
}
.project-link.primary   { background: var(--accent); color: #fff; }
.project-link.secondary { border: 1px solid var(--border); color: var(--muted); }
.project-link:hover     { opacity: 0.75; }
.projects-cta           { text-align: center; margin-top: 2.5rem; }

/* ─── CONTACT ─── */
#contact { background: var(--bg); }

.contact-grid       { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.contact-info-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
.contact-info-desc  { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; line-height: 1.75; }
.contact-channels   { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1rem; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: all 0.2s;
}
.contact-channel:hover { border-color: var(--accent); transform: translateX(4px); }
.channel-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.channel-label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.channel-value { font-weight: 600; font-size: 0.875rem; }
