body{
  font-family: Arial, sans-serif;
  background:#FAFAFA;
  color:#1F2937;
  margin:0;
}

html{
  scroll-behavior:smooth;
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 40px;
  background:rgba(250,250,250,0.78);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(229,231,235,0.75);
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 6px 18px rgba(15,23,42,0.04);
}

.navbar h2{
  margin:0;
  color:#111827;
  font-size:2.1rem;
  letter-spacing:0.5px;
}

.navbar a{
  color:#4B5563;
  margin-left:18px;
  text-decoration:none;
  font-weight:600;
  transition:color 0.25s ease, opacity 0.25s ease;
}

.navbar a:hover{
  color:#2563EB;
  opacity:1;
}

.logo-link{
  color:#111827;
  text-decoration:none;
}

.hero{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:110px 60px 90px;
  gap:60px;
  overflow:hidden;
}

.hero-divider{
  height:1px;
  background:linear-gradient(
    to right,
    rgba(229,231,235,0),
    rgba(209,213,219,0.9),
    rgba(229,231,235,0)
  );
  margin:0 60px;
}

.hero::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,0.10) 0%, rgba(37,99,235,0.04) 35%, rgba(37,99,235,0) 72%);
  top:-120px;
  left:-120px;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(139,92,246,0.09) 0%, rgba(139,92,246,0.03) 35%, rgba(139,92,246,0) 72%);
  right:-80px;
  bottom:-100px;
  pointer-events:none;
}

.profile-photo{
  width:220px;
  border-radius:28px;
  border:3px solid rgba(255,255,255,0.75);
  box-shadow:0 18px 40px rgba(15,23,42,0.10);
  position:relative;
  z-index:1;
}

.hero-text{
  max-width:560px;
  position:relative;
  z-index:1;
}

.hero-text h1{
  font-size:3rem;
  line-height:1.05;
  margin-bottom:12px;
  color:#111827;
}

.hero-text h3{
  font-size:1.2rem;
  font-weight:600;
  color:#2563EB;
  margin-bottom:20px;
}

.hero-text p{
  font-size:1.05rem;
  line-height:1.8;
  color:#6B7280;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
  margin-bottom:8px;
}

.hero-badge{
  background:#FFFFFF;
  color:#4B5563;
  border:1px solid #E5E7EB;
  padding:8px 14px;
  border-radius:999px;
  font-size:0.92rem;
  font-weight:600;
  box-shadow:0 4px 10px rgba(0,0,0,0.04);
}

.hero-buttons{
  margin-top:20px;
}

.btn{
  background:#FFFFFF;
  color:#2563EB;
  padding:11px 18px;
  text-decoration:none;
  border-radius:12px;
  margin-right:10px;
  display:inline-block;
  font-weight:600;
  border:1px solid #D1D5DB;
  transition:all 0.25s ease;
}

.btn:hover{
  background:#2563EB;
  color:#FFFFFF;
  transform:translateY(-2px);
  border-color:#2563EB;
}

.about-shell{
  position:relative;
  padding:40px 0 80px;
  overflow:hidden;
  isolation:isolate;
}

.about-shell::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(
    circle,
    rgba(37,99,235,0.10) 0%,
    rgba(37,99,235,0.04) 35%,
    rgba(37,99,235,0) 72%
  );
  top:-120px;
  left:-120px;
  pointer-events:none;
  z-index:0;
}

.about-shell::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(
    circle,
    rgba(139,92,246,0.09) 0%,
    rgba(139,92,246,0.03) 35%,
    rgba(139,92,246,0) 72%
  );
  right:-80px;
  bottom:-100px;
  pointer-events:none;
  z-index:0;
}

.about-section{
  position:relative;
  max-width:900px;
  margin:0 auto;
  padding:0 60px;
  line-height:1.8;
  z-index:1;
}

.section-divider{
  height:1px;
  background:linear-gradient(
    to right,
    rgba(229,231,235,0),
    rgba(209,213,219,0.9),
    rgba(229,231,235,0)
  );
  margin:0 60px;
}

.about-section > *{
  position:relative;
  z-index:1;
}

.about-section p,
#contact p{
  color:#6B7280;
  font-size:1.02rem;
  line-height:1.8;
}

.skills-section{
  max-width:900px;
  margin:0 auto;
  padding:80px 60px;
}

.skills-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:25px;
  margin-top:30px;
}

.skill-card{
  background:#FFFFFF;
  padding:22px;
  border-radius:18px;
  text-align:center;
  border:1px solid #E5E7EB;
  box-shadow:0 8px 20px rgba(0,0,0,0.04);
}

.skill-card h3{
  color:#2563EB;
  margin-bottom:10px;
}

.projects-section{
  max-width:900px;
  margin:0 auto;
  padding:80px 60px;
}

.projects-section h2{
  margin-bottom:30px;
  font-size:2rem;
  color:#111827;
}

.projects{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:28px;
}

.project-card{
  min-height:320px;
  border-radius:28px;
  padding:30px;
  display:flex;
  align-items:flex-end;
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
  transition:transform 0.30s ease, box-shadow 0.30s ease, background 0.30s ease;
}

.project-card:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 40px rgba(0,0,0,0.10);
}

.project-content{
  display:flex;
  flex-direction:column;
  gap:14px;
  width:100%;
}

.project-tag{
  display:inline-block;
  width:fit-content;
  padding:7px 14px;
  border-radius:999px;
  font-size:0.85rem;
  font-weight:700;
  letter-spacing:0.2px;
  background:rgba(255,255,255,0.55);
  color:inherit;
}

.project-card h3{
  font-size:2rem;
  line-height:1;
  margin:0;
  font-weight:800;
}

.project-card p{
  font-size:1rem;
  line-height:1.6;
  margin:0;
  max-width:95%;
}

.project-link{
  margin-top:14px;
  text-decoration:none;
  font-weight:800;
  font-size:1rem;
  color:inherit;
  display:inline-block;
  transition:transform 0.25s ease, opacity 0.25s ease;
}

.project-card:hover .project-link{
  transform:translateX(6px);
}

#contact{
  max-width:900px;
  margin:0 auto;
  padding:80px 60px;
}

h2{
  font-size:2rem;
  margin-bottom:18px;
  color:#111827;
}

footer{
  padding:28px 20px;
  text-align:center;
  color:#6B7280;
  border-top:1px solid #E5E7EB;
  margin-top:20px;
  background:#FAFAFA;
}

/* Project card theme colors */
.card-ztna{
  background:#DDF4FF;
  color:#0F4C81;
}

.card-ztna:hover{
  background:#BFE8FF;
}

.card-finance{
  background:#E8F7EE;
  color:#1F6B4F;
}

.card-finance:hover{
  background:#D2F0DF;
}

.card-coffee{
  background:#F8EEDF;
  color:#8A5A2B;
}

.card-coffee:hover{
  background:#F2E0C8;
}

.card-avatar{
  background:#EEE9FF;
  color:#5B4CB2;
}

.card-avatar:hover{
  background:#E0D7FF;
}

/* Detail pages */
.detail-page{
  padding:48px 20px 90px;
  background:#FAFAFA;
}

.detail-container{
  max-width:1100px;
  margin:0 auto;
}

.back-link{
  display:inline-block;
  margin-bottom:22px;
  color:#4B5563;
  text-decoration:none;
  font-weight:600;
  transition:color 0.25s ease;
}

.back-link:hover{
  color:#2563EB;
}

.detail-image{
  width:100%;
  max-height:520px;
  object-fit:cover;
  border-radius:24px;
  border:1px solid #E5E7EB;
  box-shadow:0 14px 30px rgba(0, 0, 0, 0.08);
  margin-bottom:24px;
  background:#FFFFFF;
}

.detail-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(
    to bottom,
    #ffffff 30%,
    var(--project-soft-color) 100%
  );
  border-radius:24px;
  padding:34px;
  box-shadow:0 14px 30px rgba(0, 0, 0, 0.06);
  border-left:6px solid var(--project-color, #2563EB);
}

.detail-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:72px;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.02),
    rgba(0,0,0,0)
  );
  pointer-events:none;
}

.detail-card h1{
  font-size:2.4rem;
  margin-bottom:14px;
  color:#111827;
}

.detail-card h2{
  margin-top:24px;
  margin-bottom:14px;
  font-size:1.35rem;
  color:#111827;
}

.detail-desc{
  font-size:1.05rem;
  line-height:1.85;
  color:#6B7280;
}

.detail-buttons{
  margin-top:26px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.detail-buttons .btn{
  min-width:130px;
  text-align:center;
}

.detail-list{
  padding-left:20px;
  line-height:1.9;
  color:#4B5563;
}

.detail-list li{
  margin-bottom:8px;
}

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

.tag{
  background:#F3F4F6;
  color:#374151;
  border:1px solid #E5E7EB;
  padding:8px 14px;
  border-radius:999px;
  font-size:0.95rem;
  font-weight:600;
}

hr{
  border:none;
  border-top:1px solid #E5E7EB;
  margin:28px 0;
}

@media (max-width: 900px){
  .skills-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px){
  .navbar{
    flex-direction:column;
    gap:14px;
    padding:18px 20px;
  }

  .hero{
    flex-direction:column;
    text-align:center;
    padding:60px 24px;
    gap:30px;
  }

  .hero-text h1{
    font-size:2.3rem;
  }

@media (max-width: 768px){
  .about-shell{
    padding:60px 0;
  }

  .about-section,
  .skills-section,
  .projects-section,
  #contact{
    max-width:none;
    padding:0 24px;
  }

  .skills-section,
  .projects-section,
  #contact{
    padding-top:60px;
    padding-bottom:60px;
  }
}

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

  .project-card{
    min-height:280px;
    padding:24px;
  }

  .project-card h3{
    font-size:1.8rem;
  }

  .detail-card{
    padding:22px;
  }

  .detail-card h1{
    font-size:1.8rem;
  }

  .detail-image{
    max-height:320px;
  }
}
