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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #2b1345 0, #05010a 45%, #050608 100%);
  color: #f7f3ff;
  line-height: 1.6;
}

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

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 7vw;
  background: rgba(5, 1, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo span {
  font-weight: 400;
  color: #e0b3ff;
  margin-left: 0.3rem;
}

.top-nav nav a {
  margin-left: 1.2rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.top-nav nav a:hover {
  opacity: 1;
  color: #e0b3ff;
}

.hero {
  padding: 4rem 7vw 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  margin-bottom: 0.4rem;
}

.tagline {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8e2ff;
  margin-bottom: 1rem;
}

.intro {
  max-width: 36rem;
  color: #f2f7ff;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #b36bff, #ff7cc4);
  color: #0c0414;
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn.outline {
  border-color: #e5f1ff;
  color: #f7f3ff;
  background: transparent;
}

.btn.outline:hover {
  background: rgba(200, 220, 255, 0.18);
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.95;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-photo-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-image: url("img/profile-photo.png");
  background-size: cover;
  background-position: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.hero-role {
  font-size: 0.9rem;
  color: #f0f7ff;
  background: rgba(7, 18, 45, 0.8);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section {
  padding: 3.5rem 7vw 3rem;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.section-intro {
  max-width: 36rem;
  color: #d3c6ff;
  margin-bottom: 1.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

.about-facts {
  display: grid;
  gap: 0.7rem;
}

.fact {
  background: rgba(16, 6, 40, 0.9);
  border-radius: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.fact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a699d9;
}

.fact-value {
  display: block;
  font-weight: 500;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.skill-card {
  background: rgba(16, 6, 40, 0.9);
  padding: 1.3rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.skill-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.skill-card ul {
  list-style: none;
  font-size: 0.92rem;
  color: #dcd2ff;
}

.skill-card li::before {
  content: "• ";
  color: #ffbde3;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: rgba(16, 6, 40, 0.9);
  padding: 1.2rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.cert-card h3 {
  margin-bottom: 0.2rem;
}

.cert-meta {
  font-size: 0.8rem;
  color: #bdafff;
  margin-bottom: 0.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: rgba(16, 6, 40, 0.9);
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.project-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.project-card p {
  font-size: 0.92rem;
  color: #d3c6ff;
}

.timeline {
  display: grid;
  gap: 1.3rem;
}

.timeline-item {
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  padding-left: 1rem;
  margin-left: 0.4rem;
}

.timeline-item h3 {
  font-size: 1.03rem;
}

.timeline-item .time {
  font-size: 0.85rem;
  color: #b4a3ff;
}

.timeline-item p {
  font-size: 0.92rem;
  color: #d6ccff;
  margin-top: 0.3rem;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.download-card {
  background: rgba(16, 6, 40, 0.9);
  padding: 1.2rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 2rem;
}

.contact-list {
  list-style: none;
  font-size: 0.96rem;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.contact-form {
  background: rgba(16, 6, 40, 0.9);
  padding: 1.4rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 3, 20, 0.9);
  color: #f7f3ff;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e0b3ff;
}

.contact-form button {
  margin-top: 0.6rem;
}

.form-note {
  font-size: 0.75rem;
  color: #bba7ff;
  margin-top: 0.4rem;
}

.footer {
  padding: 1.5rem 7vw 1.8rem;
  font-size: 0.8rem;
  text-align: center;
  color: #bba7ff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 1, 15, 0.96);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .hero {
    padding-top: 3rem;
  }
  .two-col,
  .contact-grid,
  .downloads-grid,
  .cert-grid,
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .top-nav nav {
    display: none;
  }
}


.project-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #ffbde3;
}

.project-link:hover {
  text-decoration: underline;
}
