:root {
  --primary: #7c3aed;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --border: #e5e7eb;
  --section-bg: #f3e8ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #ffffff;
}

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

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

section {
  padding: 100px 0;
  scroll-margin-top: 90px;
}

/* ================= HEADER ================= */
header {
  position: sticky;
  top: 0;
  height: 64px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav a {
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
}

/* ================= HERO / ABOUT ================= */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
  padding: 60px 0 80px;
}

.hero-content {
  max-width: 560px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124,58,237,0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

.hero h2 {
  font-size: 56px;
  margin: 20px 0;
  line-height: 1.15;
}

.primary {
  color: var(--primary);
}

.hero-desc {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
}

/* ================= HERO IMAGE ================= */
.hero-image-wrapper {
  width: 400px;
  height: 520px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.hero-image {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 40px rgba(0,0,0,0.25))
    drop-shadow(0 0 20px rgba(124,58,237,0.18));
}

/* fade bottom so image does not look cut */
.hero-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

/* ================= ABOUT STATS ================= */
.about-stats {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 22px;
  text-align: center;
  min-width: 140px;
}

.stat-card h3 {
  font-size: 24px;
  color: var(--primary);
}

.stat-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ================= SECTION TITLES ================= */
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 220px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ================= EXPERIENCE ================= */
/* EXPERIENCE CLEAN STYLE */

.experience-section{
  background:#f3e8ff;
  padding:80px 20px;
}

.exp-card{
  background:#ffffff;
  padding:28px 32px;
  border-radius:18px;
  margin-bottom:30px;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;

  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  border-left:5px solid var(--primary);
  transition:0.3s;
}

.exp-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

.exp-top{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted);
  margin-bottom:10px;
}

.exp-card h3{
  font-size:20px;
  margin:8px 0 4px;
}

.exp-card h4{
  color:var(--primary);
  font-weight:600;
  margin-bottom:12px;
}

.exp-card p{
  color:var(--muted);
  line-height:1.6;
}

.exp-skills{
  margin-top:10px;
  font-size:14px;
}


/* ================= PROJECTS ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.project-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.project-card p {
  font-size: 14px;
  color: var(--muted);
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tags span {
  background: #ede9fe;
  color: var(--primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ================= SKILLS ================= */
.skills-section {
  background: var(--section-bg);
}

.skills-highlight {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 56px;
}

.skills-columns {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.skills-col h4 {
  margin-bottom: 16px;
}

.skills-col li {
  list-style: none;
  margin: 10px 0;
  color: var(--muted);
}

/* ================= CONTACT ================= */
.connect-section {
  max-width: 700px;
  margin: auto;
}

.connect-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #c084fc;
}

.connect-row:last-child {
  border-bottom: 1px solid #c084fc;
}

.connect-row i {
  color: var(--primary);
}

/* ================= FOOTER ================= */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
}

/* ================= ANIMATION ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero-image-wrapper {
    width: 260px;
    height: 340px;
  }

  .skills-columns {
    grid-template-columns: 1fr;
  }

  .about-stats {
    justify-content: center;
  }
}
