
:root {
  --bg: linear-gradient(135deg, #0080ff 0%, #0f719b 100%);
  --card: #ffffff;
  --accent: #6c5ce7;
  --text: #000000;
  --muted: #1f4185;
  --radius: 14px;
  --container-width: 1060px;
  --shadow-sm: 0 6px 18px rgba(108, 92, 231, 0.12);
  --shadow-md: 0 8px 22px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.12);
}
* {
  box-sizing: border-box;
}
html,body 
 {
  height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial;
  color: var(--text);
  background: var(--bg);
 }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.4px;
}
.hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(19, 13, 38, 0.08);
  border: 6px solid rgba(255, 255, 255, 0.6);
  object-fit: cover;
}
.intro h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}
.lead {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
}
.meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.cta {
  margin-top: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 600;
  margin-right: 8px;
  cursor: cursor;
  transition: all 0.18s ease;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), #a29bfe);
  color: white;
  box-shadow: var(--shadow-sm);
}
.skills,
.courses,
.contact,
.interests {
  margin-top: 36px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
  border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(16, 24, 40, 0.05);
}

.skills h3,
.courses h3,
.interests h3 {
  margin-top: 0;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.skill-list li {
  background: var(--card);
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 6px solid var(--accent);
  font-weight: 600;
}
.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.interest-list .chip {
  background: var(--card);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.cards {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 24px;
  margin: 20px auto 0;
  max-width: 980px; 
  padding: 4px;
}

.course-preview {
  max-width: 100%;
  width: auto; 
  height: auto; 
  max-height: 70vh; 
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 18px auto 0;
  border: 1px solid rgba(0,0,0,0.04);
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
}


.card {
  background: var(--card);
  padding: 28px; 
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.36s cubic-bezier(.2,.9,.2,1), opacity .28s ease, box-shadow .18s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card h4{
  margin: 0;
  font-size: 1.25rem;
  text-align: center;
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 16px;
  }

  .skill-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .skill-list {
    grid-template-columns: 1fr;
  }
}
:root[data-theme='dark'] {
  --bg: linear-gradient(180deg, #07103a, #00121a);
  --card: #071127;
  --accent: #7c5cff;
  --muted: #9aa4b2;
  --text: #e6eef8;
}