/* ===================== COLORS ===================== */
:root {
  --bg-main: #fdf2f8;     /* soft pink background */
  --bg-card: #ffffff;     /* card surfaces */
  --text-main: #1e293b;   /* dark slate text */
  --text-muted: #475569;  /* secondary text */
  --accent: #7c3aed;      /* violet accent */
  --border-soft: #f3e8ff; /* soft borders / dividers */
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-hover: 0 18px 40px rgba(0,0,0,0.12);
}

/* ===================== GLOBAL ===================== */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 500;
}

a {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

/* ===================== NAVIGATION ===================== */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(30,41,59,0.95); /* dark slate */
  padding: 16px 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 28px;
}

nav ul li a {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #000000;
}

nav ul li a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  margin-top: 6px;
}

/* ===================== HEADER CARD ===================== */
.header-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #ffe4f0; /* very soft pink */
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  margin: 120px auto 80px;
  max-width: 1100px;
}

.header-card * {
  color: var(--text-main);
}

.profile-pic img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
}

.header-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
}

.header-text .title {
  margin-top: 8px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.header-text .objective {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* ===================== SECTIONS ===================== */
.section {
  background: #ffffff; /* cards remain neutral over pink bg */
  margin: 80px auto;
  padding: 50px;
  border-radius: 22px;
  max-width: 1000px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.section::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50px;
  width: 5px;
  height: 70px;
  background: var(--accent);
  border-radius: 6px;
}

.section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
}

/* ===================== TEXT ===================== */
p {
  color: var(--text-muted);
}

/* ===================== LISTS / PROJECTS ===================== */
ul {
  list-style: none;
  padding: 0;
}

li {
  background: #ffffff;
  margin: 18px 0;
  padding: 26px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

li a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.project-desc {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===================== BUTTON ===================== */
.button {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* ===================== CERTIFICATES ===================== */
.certificates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.certificates img {
  width: 300px;
  height: 160px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificates img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

/* ===================== MODAL ===================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  z-index: 2000;
}

.modal-content {
  max-width: 85%;
  max-height: 85%;
  margin: auto;
  border-radius: 16px;
}

.close {
  position: absolute;
  top: 28px;
  right: 38px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
}

/* ===================== RESPONSIVE ===================== */
@media screen and (max-width: 768px) {
  .header-card {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .section {
    margin: 60px 20px;
    padding: 35px;
  }

  .section::before {
    display: none;
  }

  .certificates img {
    width: 250px;
    height: 130px;
  }

  nav ul li {
    margin: 0 16px;
  }
}

