<style>
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #0f1e3c;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-pale: #dbeafe;
    --green: #10b981;
    --bg: #f8faff;
    --bg2: #eef2ff;
    --white: #ffffff;
    --text: #1e2d4e;
    --muted: #64748b;
    --border: #e2e8f0;
    --card-bg: rgba(255,255,255,0.85);
    --radius: 16px;
    --shadow: 0 4px 32px rgba(37,99,235,0.07);
    --shadow-lg: 0 12px 60px rgba(37,99,235,0.13);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    background: rgba(248,250,255,0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Fraunces', serif;
    font-weight: 700; font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--blue); }

  .nav-links {
    display: flex; gap: 4px; list-style: none;
  }
  .nav-links a {
    display: block; padding: 6px 14px; border-radius: 8px;
    text-decoration: none; font-size: 0.88rem; font-weight: 500;
    color: var(--muted); transition: all 0.2s;
  }
  .nav-links a:hover, .nav-links a.active {
    background: var(--blue-pale); color: var(--blue);
  }

  /* ── SECTIONS ── */
  section { padding: 110px 5%; }

  .section-header {
    text-align: center; margin-bottom: 64px;
  }
  .section-header h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: var(--navy);
    letter-spacing: -0.03em; margin-bottom: 12px;
  }
  .section-rule {
    width: 48px; height: 3px;
    background: var(--blue);
    border-radius: 4px;
    margin: 0 auto 18px;
  }
  .section-header p {
    color: var(--muted); max-width: 520px; margin: 0 auto; font-size: 1rem;
  }

  /* ── HERO ── */
  #home {
    min-height: 100vh;
    display: flex; align-items: center;
    background:
      radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.10) 0%, transparent 70%),
      radial-gradient(ellipse 50% 40% at 90% 50%, rgba(16,185,129,0.06) 0%, transparent 70%),
      var(--bg);
    padding-top: 88px;
    text-align: center;
  }

  .hero-inner {
    max-width: 700px; margin: 0 auto;
    animation: fadeUp 0.8s ease both;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue-pale); color: var(--blue);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 28px;
  }
  .hero-badge::before {
    content: ''; width: 7px; height: 7px; background: var(--blue);
    border-radius: 50%; animation: pulse 2s infinite;
  }

  .hero-inner h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.8rem, 2vw, 5rem);
    font-weight: 700; color: var(--navy);
    letter-spacing: -0.04em; line-height: 1.1;
    margin-bottom: 10px;
  }

  .hero-inner h1 em {
    font-style: italic; font-weight: 300; color: var(--blue);
  }

  .hero-subtitle {
    font-size: 1.15rem; color: var(--muted);
    max-width: 660px; margin: 0 auto 36px;
  }

  .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 10px;
    font-weight: 600; font-size: 0.93rem;
    text-decoration: none; transition: all 0.22s; cursor: pointer;
    border: none;
  }
  .btn-primary {
    background: var(--blue); color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.3);
  }
  .btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.4); }

  .btn-secondary {
    background: var(--white); color: var(--navy);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
  }
  .btn-secondary:hover { border-color: var(--blue-light); color: var(--blue); transform: translateY(-2px); }

  .hero-socials {
    display: flex; gap: 14px; justify-content: center; margin-top: 40px;
  }
  .social-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--white); border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); text-decoration: none;
    transition: all 0.2s; box-shadow: var(--shadow);
    font-size: 1.1rem;
  }
  .social-icon:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

  .scroll-hint {
    margin-top: 60px; color: var(--muted); font-size: 0.8rem;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
  }
  .scroll-arrow {
    width: 28px; height: 28px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); animation: bounce 1.8s infinite;
    border-radius: 2px;
  }

  /* ── ABOUT ── */
  #about { background: var(--white); }

  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center; max-width: 1100px; margin: 0 auto;
  }

  .about-photo-wrap {
    position: relative;
  }
  .about-photo {
    width: 100%; aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--bg2) 0%, var(--blue-pale) 100%);
    border-radius: 24px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 6rem; position: relative;
  }
  .about-photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(37,99,235,0.08) 100%);
  }

  .about-photo-badge {
    position: absolute; bottom: -16px; right: -16px;
    background: var(--blue); color: #fff;
    padding: 16px 20px; border-radius: 16px;
    font-family: 'Fraunces', serif;
    font-size: 1.8rem; font-weight: 700; line-height: 1;
    box-shadow: var(--shadow-lg); text-align: center;
  }
  .about-photo-badge small { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 400; opacity: 0.85; margin-top: 2px; }

  .about-text h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--navy); letter-spacing: -0.03em; margin-bottom: 18px;
  }
  .about-text p { color: var(--muted); margin-bottom: 20px; font-size: 0.98rem; }

  .about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .tag {
    padding: 7px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 500;
    background: var(--bg2); color: var(--blue); border: 1px solid var(--blue-pale);
  }
  .tag.green { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }

  .about-stats {
    display: flex; gap: 32px; margin-top: 32px; padding-top: 28px;
    border-top: 1px solid var(--border);
  }
  .stat { text-align: center; }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1;
  }
  .stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

  /* ── SKILLS ── */
  #skills { background: var(--bg); }

  .skills-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 1000px; margin: 0 auto;
  }

  .skill-card {
    background: var(--white); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

  .skill-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem; color: var(--navy); margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px;
  }
  .skill-card h3 .icon { font-size: 1.3rem; }

  .skill-row { margin-bottom: 18px; }
  .skill-row:last-child { margin-bottom: 0; }
  .skill-meta { display: flex; justify-content: space-between; font-size: 0.87rem; margin-bottom: 7px; }
  .skill-name { font-weight: 500; color: var(--text); }
  .skill-pct { color: var(--muted); font-weight: 600; }

  .bar-track {
    height: 7px; background: var(--bg2); border-radius: 100px; overflow: hidden;
  }
  .bar-fill {
    height: 100%; border-radius: 100px;
    background: var(--blue);
    width: 0; transition: width 1.2s cubic-bezier(.22,1,.36,1);
  }
  .bar-fill.green { background: var(--green); }

  /* ── PROJECTS ── */
  #projects { background: var(--white); }

  .filter-bar {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px;
  }
  .filter-btn {
    padding: 8px 20px; border-radius: 8px; border: 1.5px solid var(--border);
    background: var(--white); color: var(--muted); font-weight: 600; font-size: 0.85rem;
    cursor: pointer; transition: all 0.2s;
  }
  .filter-btn.active, .filter-btn:hover {
    background: var(--blue); color: #fff; border-color: var(--blue);
  }

  .projects-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px; max-width: 1100px; margin: 0 auto;
  }

  .project-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
  }
  .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .project-card[data-cat]:not([data-cat*="all"]) { display: none; }
  .project-card.visible { display: block; }

  .project-img {
    height: 190px; background: linear-gradient(135deg, #e0e7ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; position: relative; overflow: hidden;
  }
  .project-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,30,60,0.05) 100%);
  }

  .project-body { padding: 24px; }
  .project-body h3 {
    font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--navy);
    margin-bottom: 10px; letter-spacing: -0.02em;
  }
  .project-body p { color: var(--muted); font-size: 0.87rem; margin-bottom: 16px; }

  .project-features { list-style: none; margin-bottom: 18px; }
  .project-features li {
    font-size: 0.83rem; color: var(--muted);
    padding: 3px 0; padding-left: 14px; position: relative;
  }
  .project-features li::before {
    content: '·'; position: absolute; left: 0; color: var(--blue); font-weight: 700; font-size: 1.2rem; line-height: 1.3;
  }

  .tech-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
  .tech-tag {
    padding: 3px 11px; border-radius: 6px; font-size: 0.75rem; font-weight: 500;
    background: var(--bg2); color: var(--blue);
  }

  .project-actions { display: flex; gap: 10px; }
  .project-actions .btn { padding: 9px 18px; font-size: 0.83rem; }

  /* ── SERVICES ── */
  #services { background: var(--bg); }

  .services-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px; max-width: 1100px; margin: 0 auto;
  }

  .service-card {
    background: var(--white); border-radius: var(--radius); padding: 32px 28px;
    border: 1px solid var(--border); box-shadow: var(--shadow);
    transition: all 0.25s; position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--blue); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

  .service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--blue-pale); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
  }
  .service-card h3 {
    font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--navy);
    margin-bottom: 10px; letter-spacing: -0.02em;
  }
  .service-card p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

  /* ── TESTIMONIALS ── */
  #testimonials { background: var(--navy); }

  #testimonials .section-header h2 { color: #fff; }
  #testimonials .section-header p { color: rgba(255,255,255,0.55); }

  .testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px; max-width: 1100px; margin: 0 auto;
  }

  .testimonial-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius); padding: 32px;
    transition: transform 0.22s, background 0.22s;
  }
  .testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.10); }

  .stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
  .testimonial-text { color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.7; margin-bottom: 22px; font-style: italic; }
  .testimonial-author { display: flex; align-items: center; gap: 12px; }
  .author-avatar {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; background: var(--blue); color: #fff;
    flex-shrink: 0;
  }
  .author-name { font-weight: 600; color: #fff; font-size: 0.9rem; }
  .author-role { color: rgba(255,255,255,0.45); font-size: 0.78rem; }

  /* ── CONTACT ── */
  #contact { background: var(--white); }

  .contact-wrap {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
    max-width: 1000px; margin: 0 auto; align-items: start;
  }

  .contact-info h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.02em;
  }
  .contact-info p { color: var(--muted); font-size: 0.93rem; margin-bottom: 32px; }

  .contact-items { display: flex; flex-direction: column; gap: 20px; }
  .contact-item {
    display: flex; gap: 14px; align-items: flex-start;
  }
  .contact-item-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: var(--blue-pale); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  }
  .contact-item-text strong { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
  .contact-item-text span { font-size: 0.92rem; color: var(--text); }

  .contact-form { display: flex; flex-direction: column; gap: 18px; }

  .form-group { display: flex; flex-direction: column; gap: 7px; }
  .form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); letter-spacing: 0.03em; }
  .form-group input, .form-group textarea {
    padding: 13px 16px; border-radius: 10px;
    border: 1.5px solid var(--border); background: var(--bg);
    font-family: 'DM Sans', sans-serif; font-size: 0.93rem; color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  }
  .form-group input:focus, .form-group textarea:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  /* ── FOOTER ── */
  footer {
    background: var(--navy); color: rgba(255,255,255,0.45);
    text-align: center; padding: 28px;
    font-size: 0.82rem; letter-spacing: 0.02em;
  }
  footer span { color: var(--blue-light); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
  }

  .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    nav { padding: 0 4%; }
    .nav-links { display: none; }
    section { padding: 80px 5%; }
    .about-grid, .skills-grid, .contact-wrap { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { gap: 20px; }
  }



  /* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.project-hero-modern {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 140px 5% 80px;
  background: #f8faff;
  align-items: center;
}

/* LEFT SIDE */
.project-tag {
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 1px;
}

.project-left h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.project-desc {
  color: #64748b;
  max-width: 500px;
  font-size: 16px;
}

/* RIGHT SIDE */
.project-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARDS */
.info-card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #eee;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card span {
  display: block;
  font-size: 13px;
  color: #64748b;
}

.info-card strong {
  font-size: 20px;
  margin-top: 5px;
  display: block;
}

/* HIGHLIGHT METRICS */
.highlight {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
}

.highlight span {
  color: rgba(255,255,255,0.8);
}



@media (max-width: 768px) {
  .project-hero-modern {
    grid-template-columns: 1fr;
  }

  .project-right {
    grid-template-columns: 1fr;
  }

  .project-left h1 {
    font-size: 32px;
  }
}

.project-hero-modern {
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.1), transparent),
    #f8faff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tech-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #eee;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tech-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  background: #eef2ff;
  color: #2563eb;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
</style>