/* Code Generated by Sidekick is for learning and experimentation purposes only. */

/* =========================
   Base / Tokens
   ========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #4f46e5;
  --accent-color: #8b5cf6;

  /* Alias to prevent broken refs (you used --primary later) */
  --primary: var(--primary-color);

  --text-dark: #1f2937;
  --text-light: #6b7280;

  --bg-light: #f9fafb;
  --bg-white: #ffffff;

  --border-color: #e5e7eb;
  --success-color: #10b981;

  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* fixed navbar offset */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Accessibility
   ========================= */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  z-index: 1100;
}
.skip-link:focus {
  top: 0;
}

a:focus,
button:focus,
[role="menuitem"]:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   Layout Sections
   ========================= */
section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* =========================
   Navigation
   ========================= */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
@supports (backdrop-filter: blur(10px)) {
  .navbar {
    backdrop-filter: blur(10px);
  }
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* =========================
   Hero
   ========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-1);
  color: #fff;
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>')
    bottom center / cover no-repeat;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  animation: fadeInUp 0.8s ease-out;
}
.highlight {
  color: #fbbf24;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  display: inline-block;
}
.btn-primary {
  background: #fff;
  color: var(--primary-color);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-secondary:hover {
  background: #fff;
  color: var(--primary-color);
}

/* =========================
   About
   ========================= */
.about {
  background: var(--bg-light);
}
.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.stat h3 {
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.stat p {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

/* =========================
   Timeline / Experience
   ========================= */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}
.timeline-dot {
  position: absolute;
  left: 10px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--primary-color);
  z-index: 1;
}
.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.timeline-date {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}
.timeline-content h4 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}
.timeline-content > p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.achievements {
  list-style: none;
}
.achievements li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.6;
}
.achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
  font-size: 1.2rem;
}

/* =========================
   Skills
   ========================= */
.skills {
  background: var(--bg-light);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.skill-category {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.skill-category h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.3rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tag {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid var(--border-color);
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.tag:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* =========================
   Achievements Cards
   ========================= */
.achievements-section {
  background: #fff;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.achievement-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.achievement-card h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.achievement-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* =========================
   Education
   ========================= */
.education {
  background: var(--bg-light);
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.education-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.education-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
}
.education-header h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  flex: 1;
}
.year {
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.education-card h4 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.education-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =========================
   Contact
   ========================= */
.contact {
  background: #fff;
}
.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.contact-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.contact-item {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-item h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.contact-item p {
  color: var(--text-light);
}
.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.contact-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* =========================
   Footer
   ========================= */
.footer {
  background: var(--text-dark);
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}
.footer-tagline {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-buttons {
    flex-direction: column;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 10px;
  }
  .timeline-item {
    padding-left: 40px;
  }
  .timeline-dot {
    left: 1px;
  }

  .skills-grid,
  .achievements-grid,
  .education-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }
}
