*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-light: #E0F4FF;
  --accent: #87C4FF;
  --primary: #39A7FF;
  --accent-warm: #FFEDD9;
  --dark: #1e293b;
  --text: #475569;
  --text-light: #64748b;
  --white: #ffffff;
  --border: #cce4f5;
}
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-light);
  overflow: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #1e90ff; }
h1, h2, h3 { color: var(--dark); }

.app { display: grid; grid-template-columns: 280px 1fr; height: 100vh; }
@media (max-width: 991px) {
  .app { grid-template-columns: 1fr; }
}

.sidebar {
  background: var(--white);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.sidebar .profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(57, 167, 255, 0.2);
}
.sidebar .name { font-size: 1.5rem; font-weight: 700; text-align: center; color: var(--dark); margin-bottom: 0.25rem; }
.sidebar .location { color: var(--text-light); font-size: 0.9rem; text-align: center; margin-bottom: 2rem; }
.sidebar nav { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: inherit;
}
.sidebar nav button:hover { background: var(--bg-light); color: var(--primary); }
.sidebar nav button.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(57, 167, 255, 0.35);
}
.sidebar nav button i { width: 1.25rem; text-align: center; }

.content {
  padding: 2.5rem 3rem;
  overflow-y: auto;
  position: relative;
}
@media (max-width: 991px) {
  .sidebar { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    flex-direction: row;
    padding: 0.75rem 1rem;
    height: auto;
    z-index: 100;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .sidebar .profile-img, .sidebar .name, .sidebar .location { display: none; }
  .sidebar nav { flex-direction: row; justify-content: space-around; gap: 0; }
  .sidebar nav button { flex-direction: column; gap: 0.25rem; padding: 0.5rem 0.75rem; font-size: 0.7rem; text-align: center; }
  .sidebar nav button i { width: auto; }
  .content { padding: 1.5rem; padding-bottom: 5rem; }
}

.section { display: none; }
.section.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--dark); display: flex; align-items: center; gap: 0.75rem; }
h2 i { color: var(--primary); }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.25rem; }

.card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(57, 167, 255, 0.1);
  border: 1px solid var(--border);
}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.card-company { color: var(--text-light); font-size: 0.95rem; }
.card-date { color: var(--primary); font-weight: 600; font-size: 0.85rem; background: var(--bg-light); padding: 0.25rem 0.6rem; border-radius: 1rem; }

.card ul { padding-left: 0; }
.card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.card li i {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.card li:last-child { margin-bottom: 0; }

.about-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(57, 167, 255, 0.1);
  border: 1px solid var(--border);
}
.about-content p { margin-bottom: 1rem; }
.about-content p:last-child { margin-bottom: 0; }

.strengths { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.strengths span {
  background: var(--bg-light);
  color: var(--primary);
  padding: 0.4rem 0.85rem;
  border-radius: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.strengths-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-light); }

.accordion-group { margin-bottom: 1.5rem; }
.accordion-header {
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 0.6rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  border: none;
}
.accordion-header:hover { background: #2d9bef; }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-header.open i { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition: max-height 0.4s ease, padding-top 0.4s ease;
}
.accordion-content.open {
  max-height: 500px;
  padding-top: 1rem;
}
.accordion-content .card:last-child { margin-bottom: 0; }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.skill-category {
  background: var(--white);
  padding: 1.25rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(57, 167, 255, 0.08);
}
.skill-category h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-category h4 i { color: var(--primary); }
.skill-category ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.skill-category ul li i { color: var(--accent); font-size: 0.7rem; }

.icon-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.icon-grid i { font-size: 1.75rem; color: var(--text-light); }

.achievement { background: var(--white); padding: 1.5rem 2rem; border-radius: 0.75rem; box-shadow: 0 2px 12px rgba(57, 167, 255, 0.1); border: 1px solid var(--border); }
.achievement li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.achievement li:last-child { margin-bottom: 0; }
.achievement li i {
  color: #f59e0b;
  font-size: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.education-grid { display: grid; gap: 1rem; }