:root {
  --bg-1: #ffd6e7;
  --bg-2: #f8b7cf;
  --bg-3: #f6c9d6;
  --glass: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.28);
  --border: rgba(255, 255, 255, 0.35);
  --text: #3d2a36;
  --muted: rgba(61, 42, 54, 0.78);
  --shadow: 0 18px 50px rgba(133, 72, 95, 0.18);
  --shadow-soft: 0 10px 30px rgba(133, 72, 95, 0.12);
  --radius: 28px;
  --radius-lg: 36px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.55), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.35), transparent 26%),
    linear-gradient(180deg, #ffd5e4 0%, #f7b8cb 42%, #f4b1c9 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 125px 0;
}

.navbar {
  position: fixed;
  inset: 16px 16px auto 16px;
  z-index: 1000;
  border-radius: 999px;
  transition: all 0.35s ease;
  background: rgba(255, 233, 240, 0.28);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.navbar.scrolled {
  background: rgba(255, 230, 239, 0.72);
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(255,255,255,0.65), rgba(255,255,255,0.18));
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 24px rgba(120, 50, 70, 0.12);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 80%;
  height: 80%;
  object-fit: contain; /* keeps proportions */
  border-radius: 50%;
  transition: transform 0.3s ease;
  opacity: 0.4;
}

.logo:hover img {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(255,255,255,0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.33), transparent 34%),
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.18), transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.16), transparent 20%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
  padding: 40px 20px;
}

.eyebrow {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
  font-weight: 700;
  margin: 0 0 16px;
}

.hero-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe9f1 0%, #ffd4e4 40%, #f6a6c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 22px rgba(120, 40, 70, 0.2);
}

.hero-subtitle {
  margin: 18px auto 0;
  max-width: 680px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: rgba(61, 42, 54, 0.88);
}

.social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.17);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.34);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.social-btn svg {
  width: 23px;
  height: 23px;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.26);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  font-weight: 700;
  white-space: nowrap;
}

.section-heading .line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(255,255,255,0));
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  align-items: center;
}

.profile-wrap {
  display: grid;
  place-items: center;
}

.profile-ring {
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.65), rgba(255,255,255,0.14));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.4);
}

.profile-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.profile-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.7);
  opacity: 0.8;
}

.glass-card,
.project-card,
.arch-card,
.info-card,
.contact-form {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.about-card {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.about-card h3,
.cert-card h3,
.project-card h3,
.arch-content h3 {
  margin-top: 0;
  font-family: "Poppins", sans-serif;
}

.about-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.about-card p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: var(--muted);
}

.skill-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.skill-pills span,
.chip {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  font-weight: 600;
  font-size: 0.92rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.arch-card {
  position: relative;
  min-height: 290px;
  border-radius: 34px 34px 28px 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.10));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px 34px 28px 28px;
  border: 1px solid rgba(255,255,255,0.35);
  pointer-events: none;
}

.arch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.arch-content {
  /* position: absolute; */
  /* inset: 16px 16px 16px 16px; */
  top: 16px;
  right: 16px;
  left: 16px;
  border-radius: 999px 999px 28px 28px;
  padding: 34px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06));
}

.arch-content h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.arch-content ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  color: var(--muted);
}

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

.project-card {
  min-height: 180px;
  border-radius: 26px;
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.10));
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.project-badge {
  width: 72px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.38);
}

.project-top a {
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0.9;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.more-projects {
  text-align: center;
  margin-top: 30px;
}

.more-projects-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #ffb6c1; /* pastel pink vibe */
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-projects-btn:hover {
  background: #ff9eb5;
  transform: translateY(-2px);
}

.cert-grid {
  display: grid;
  gap: 18px;
}

.cert-card {
  padding: 26px 28px;
  border-radius: var(--radius);
}

.cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cert-row h3 {
  margin: 0;
  font-size: 1.08rem;
}

.cert-date {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.35);
  font-weight: 700;
  font-size: 0.9rem;
}

.cert-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.38);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.20));
  color: var(--text);
  margin-top: 10px;
}

.btn-secondary {
  background: rgba(255,255,255,0.22);
}

.contact-form {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea,
.info-card input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.24);
  color: var(--text);
  border-radius: 18px;
  outline: none;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
  margin-bottom: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(61, 42, 54, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus,
.info-card input:focus {
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.6);
}

.contact-info {
  display: grid;
  gap: 14px;
}

.info-card {
  border-radius: 24px;
  padding: 18px;
}

.info-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.info-card input[readonly] {
  cursor: default;
  opacity: 0.95;
}

.info-link {
  display: inline-block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;

  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.35);

  color: var(--text);
  font-weight: 600;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);

  transition: all 0.25s ease;
}

.info-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.35);
  box-shadow: 0 10px 25px rgba(133, 72, 95, 0.18);
}

.info-link:active {
  transform: scale(0.98);
}

.resume-download {
  text-align: center;
  margin-top: 30px;
}

.resume-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #ffb6c1; /* pastel pink vibe */
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resume-btn:hover {
  background: #ff9eb5;
  transform: translateY(-2px);
}

.footer {
  text-align: center;
  padding: 10px 10px 40px 10px;
  margin-top: -50px;
  font-size: 14px;
  color: #666;
  background: transparent; /* or match your theme */
  /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
}

.footer p {
  transition: color 0.3s ease;
}

.footer:hover p {
  color: #000;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 980px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .section {
    padding: 88px 0;
  }

  .navbar {
    inset: 12px 12px auto 12px;
    border-radius: 24px;
  }

  .nav-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 233, 240, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.42);
  }

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

  .hero {
    padding-top: 118px;
  }

  .hero-content {
    padding-inline: 0;
  }

  .hero-subtitle {
    letter-spacing: 0.04em;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading h2 {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    white-space: normal;
    text-align: center;
  }

  .arch-card {
    min-height: 260px;
  }

  .cert-row {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-title {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .social-btn {
    width: 48px;
    height: 48px;
  }

  .about-card,
  .contact-form,
  .cert-card {
    padding: 20px;
  }

  .project-card {
    min-height: 160px;
  }
}