* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --primary: #b9a7e8;
  --primary-dark: #9e89d6;
  --dark: #3f3652;
  --text: #71687f;
  --light: #f7f2ff;
  --white: #ffffff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  padding: 0 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 15px rgba(0,0,0,.07);
}

.logo {
  color: var(--dark);
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-btn {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  background: linear-gradient(135deg, #f3edff 0%, #faf8ff 55%, #ffffff 100%);
}

.hero-text {
  max-width: 690px;
}

.eyebrow,
.section-heading p {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}

h1 {
  margin: 12px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.12;
}

h1 span {
  color: var(--primary);
}

.intro {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.profile {
  width: 320px;
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 15px 45px rgba(150, 125, 190, 0.18);
  flex-shrink: 0;
}

.profile-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #e8ddfa;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile h2 {
  margin-bottom: 5px;
}

.profile p {
  color: #71687f;
}

.section {
  padding: 90px 10%;
}

.light {
  background: var(--light);
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: 38px;
  margin-top: 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
}

.content-card,
.card,
.contact-card,
.skills-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.content-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.content-card p {
  margin-bottom: 13px;
  color: var(--text);
}

.biodata p {
  border-bottom: 1px solid #eeeeef;
  padding-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  text-align: center;
  transition: .25s;
}

.card:hover {
  transform: translateY(-7px);
}

.icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text);
}

.skills-box {
  max-width: 800px;
  margin: auto;
}

.skill {
  margin-bottom: 24px;
}

.skill:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-weight: 700;
}

.bar {
  height: 11px;
  border-radius: 20px;
  background: #e9e2f3;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 20px;
}

.contact-card {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.contact-card > p {
  color: var(--text);
}

.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 28px 0;
}

.contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  text-align: left;
  color: var(--dark);
  text-decoration: none;
  border: 1px solid #e4e4eb;
  border-radius: 12px;
}

.contacts a:hover {
  border-color: var(--primary);
}

.contacts a > span {
  display: inline-block;
}

footer {
  padding: 25px;
  text-align: center;
  color: white;
  background: var(--dark);
}

@media (max-width: 950px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 750px) {
  .navbar {
    padding: 0 6%;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 20px;
    display: none;
    flex-direction: column;
    text-align: center;
    background: #ffffff;
  }

  .nav-links.show {
    display: flex;
  }

  .hero {
    padding: 60px 7%;
    flex-direction: column;
    text-align: center;
  }

  .profile {
    width: 100%;
    max-width: 330px;
  }

  .section {
    padding: 70px 7%;
  }

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