:root {
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #9aa4b2;
  --accent: #7c3aed;
  --accent-rgb: 124,58,237;
  --green-rgb: 34,197,94;
  --indigo-rgb: 99,102,241;
  --glass: rgba(255,255,255,0.04);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.btn .more-projects-btn {
    margin-top: 32px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
main {
    z-index: 0!important;
}
.hero {
    z-index: 0!important;
}
body {
  font-family: var(--font);
  background:
    linear-gradient(180deg, rgba(8,12,20,1) 0%, rgba(15,23,36,1) 100%);
  color: #e6eef8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 15% 18%, rgba(var(--accent-rgb),0.24) 0 130px, transparent 240px),
        radial-gradient(circle at 55% 72%, rgba(var(--indigo-rgb),0.14) 0 165px, transparent 330px),
        radial-gradient(circle at 30% 62%, rgba(var(--accent-rgb),0.09) 0 95px, transparent 175px);
    filter: blur(40px) saturate(130%);
    mix-blend-mode: screen;
    animation: orbDrift1 28s ease-in-out infinite alternate;
    will-change: transform;
}

body::after {
    content: "";
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 80% 22%, rgba(var(--green-rgb),0.20) 0 150px, transparent 275px),
        radial-gradient(circle at 18% 55%, rgba(var(--green-rgb),0.07) 0 100px, transparent 195px),
        radial-gradient(circle at 78% 78%, rgba(var(--indigo-rgb),0.11) 0 125px, transparent 235px);
    filter: blur(44px) saturate(120%);
    mix-blend-mode: screen;
    animation: orbDrift2 34s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes orbDrift1 {
    0%   { transform: translate(0,    0)    scale(1);    opacity: 1; }
  30%  { transform: translate(7.5%, 4.5%)   scale(1.04); opacity: 0.92; }
  65%  { transform: translate(-6%,  8.5%)   scale(0.97); opacity: 1; }
  100% { transform: translate(6.5%, -6.5%)  scale(1.02); opacity: 0.95; }
}

@keyframes orbDrift2 {
    0%   { transform: translate(0,     0)    scale(1);    opacity: 1; }
  30%  { transform: translate(-6.5%, -5%)  scale(1.03); opacity: 0.90; }
  65%  { transform: translate(5%,    -8%)  scale(0.98); opacity: 1; }
  100% { transform: translate(-4.5%, 7%)   scale(1.04); opacity: 0.94; }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
    }
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  position: relative;
  z-index: 1;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

header .logo {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #e6eef8;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: fixed!important;
  left: 85vw!important;
}

.hamburger div {
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

nav ul.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  right: 32px;
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(2,6,23,0.6);
  z-index: 1000;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 32px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.9), rgba(var(--indigo-rgb),0.9));
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2,6,23,0.5);
}

footer {
  text-align: center;
  padding: 24px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 1;
}

footer a {
  color: #e6eef8;
  text-decoration: underline;
}

footer a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.8);
  background: rgba(var(--accent-rgb), 0.15);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #e6eef8;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.resume-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 32px;
  text-align: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.resume-section h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.resume-section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.resume-image {
  max-width: 100%;
  width: 400px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255,255,255,0.05);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.resume-image:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(2,6,23,0.6);
}

.resume-section a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .resume-section {
    padding: 48px 16px;
    gap: 16px;
  }

  .resume-section h1 {
    font-size: 32px;
  }

  .resume-section p {
    font-size: 14px;
  }

  .resume-image {
    width: 100%;
  }
}

.certificates-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  text-align: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.certificates-section h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.certificates-section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.certificates-intro {
  max-width: 900px;
  line-height: 1.6;
}

.certificate-list {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.certificate-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(2,6,23,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(2,6,23,0.6);
}

.certificate-card img {
  width: 240px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 24px rgba(2,6,23,0.45);
}

.certificate-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  flex: 1;
}

.certificate-content h2 {
  font-size: 28px;
  color: #fff;
}

.certificate-importance {
  color: #e6eef8;
  margin-bottom: 0;
  line-height: 1.6;
}

.certificate-highlights {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.certificate-content .btn {
  margin-top: 8px;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.certificate-gallery a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 6px 20px rgba(2,6,23,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.certificate-gallery a img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.certificate-gallery a:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(2,6,23,0.6);
}

.certificate-gallery a::after {
  content: "Download PDF";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 16px;
}

.certificate-gallery a:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .certificates-section {
    padding: 48px 16px;
    gap: 24px;
  }

  .certificates-section h1 {
    font-size: 32px;
  }

  .certificates-section p {
    font-size: 14px;
  }

  .certificate-card {
    flex-direction: column;
    padding: 20px;
  }

  .certificate-card img {
    width: 100%;
  }

  .certificate-content h2 {
    font-size: 24px;
  }

  .certificate-highlights {
    margin-left: 18px;
    gap: 4px;
  }

  .certificate-gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }
}

.work-samples {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 64px 32px;
  position: relative;
  z-index: 1;
}

.work-samples h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.work-samples p {
  font-size: 16px;
  color: var(--muted);
}

.sample {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--glass);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 24px rgba(2,6,23,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 1200px;
}

.sample:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(2,6,23,0.6);
}

.sample-text {
  flex: 1;
  min-width: 280px;
}

.sample-text h2 {
  font-size: 28px;
  margin-bottom: 6px;
  color: #fff;
}

.sample-text h3 {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.sample-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #e6eef8;
}

.image-gallery {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.image-gallery img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(2,6,23,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-gallery img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(2,6,23,0.6);
}

.project-btn {
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.85), rgba(var(--indigo-rgb),0.85));
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-block;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.gallery-tabs .tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.gallery-tabs .tab:hover {
  background: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-1px);
}

.gallery-tabs .tab.active {
  background: rgba(var(--accent-rgb), 0.6);
  border-color: rgba(var(--accent-rgb), 0.8);
}

@media (max-width: 1024px) {
  .sample {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .sample-text h2 {
    font-size: 24px;
  }

  .sample-text h3 {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .work-samples {
    padding: 48px 16px;
    gap: 48px;
  }

  .sample-text p {
    font-size: 14px;
  }

  .image-gallery img {
    width: 100%;
  }
}