* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f0f2f5;
  color: #333;
}

.container {
  display: flex;
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.sidebar {
  width: 30%;
  background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 30px 24px;
}

.photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.8);
  display: block;
  margin: 0 auto 18px;
}

.top h1 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}

.top h2 {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.acc a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background 0.25s;
}

.acc a:hover {
  background: #ff6600;
}

.sidebar h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 6px;
  margin: 22px 0 10px;
}

.sidebar p {
  font-size: 13px;
  margin: 7px 0;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

.main {
  width: 70%;
  padding: 36px 40px;
}

section {
  margin-top: 26px;
}

section:first-child {
  margin-top: 0;
}

section h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1e3c72;
  border-bottom: 2px solid #1e3c72;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

section p {
  font-size: 14px;
  line-height: 1.65;
  color: #444;
}

.education-card {
  background: #bedee9;
  border-left: 4px solid #2a5298;
  padding: 12px 16px;
  margin: 10px 0;
  border-radius: 0 6px 6px 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.education-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.education-card b {
  font-size: 14px;
  color: #1e3c72;
}

.education-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

section.projects h3 {
  border-bottom-color: #ff6600;
  color: #1e3c72;
}

.project-card {
  background: #bedee9;
  border: 1px solid #dce8f5;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 10px 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.09);
}

.project-card p {
  margin: 0;
}

.project-card b {
  font-size: 14px;
  color: #1e3c72;
  display: block;
  margin-bottom: 8px;
}

section a {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 6px 0 0;
  background: #1e3c72;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

section a:hover {
  background: #ff6600;
  transform: translateY(-1px);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.course-item {
  background: #eef4ff;
  border-left: 4px solid #2a5298;
  border-radius: 0 6px 6px 0;
  padding: 12px 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.course-item.full-width {
  grid-column: 1 / -1;
}

.course-item span {
  font-size: 13px;
  font-weight: 600;
  color: #1e3c72;
  display: block;
}

.course-item small {
  font-size: 12px;
  color: #666;
  margin-top: 3px;
  display: block;
}

.cert-badge {
  display: inline-block;
  background: #e2f5e2;
  color: #2a7a2a;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 12px;
  margin-top: 7px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.cert-badge:hover {
  background: #2a7a2a;
  color: #fff;
}