/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Inter', 'Roboto', 'Poppins', Arial, sans-serif;
  background: #FAFAFA;
  color: #2C2C2C;
  scroll-behavior: smooth;
}

nav.navbar {
  background: #EDEBFF;
  padding: 0.75rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(124,131,253,0.08);
}
nav.navbar a {
  color: #7C83FD;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
nav.navbar a:hover {
  color: #2EC4B6;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem 1rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 0 2rem 0;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(124,131,253,0.07);
  margin-bottom: 2.5rem;
  animation: fadeIn 1.2s;
}
.hero-pic {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #EDEBFF;
  box-shadow: 0 4px 24px rgba(124,131,253,0.15);
  margin-bottom: 1.2rem;
}
.hero-tagline {
  font-size: 1.2rem;
  color: #7C83FD;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.button {
  background: linear-gradient(90deg, #1E2A78 60%, #7C3AED 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30,42,120,0.10);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}
.button:hover {
  background: linear-gradient(90deg, #7C3AED 60%, #1E2A78 100%);
  transform: translateY(-2px) scale(1.04);
}
.hero-subtext {
  color: #555;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* About Section */
.about-section {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(124,131,253,0.06);
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1.2s 0.2s backwards;
}
.about-section h2 {
  color: #7C83FD;
  margin-bottom: 1rem;
}
.about-section p {
  color: #2C2C2C;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

/* Skills Section */
.skills-section {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(124,131,253,0.06);
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1.2s 0.4s backwards;
}
.skills-section h2 {
  color: #7C83FD;
  margin-bottom: 1.2rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}
.skill-card {
  background: #F5F7FA;
  border-radius: 1rem;
  padding: 0.7rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: #1E2A78;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(30,42,120,0.04);
  transition: box-shadow 0.2s;
}
.skill-card:hover {
  box-shadow: 0 4px 16px rgba(124,58,237,0.10);
}
.skill-icon {
  font-size: 1.3rem;
}

/* Skills Section - Categories */
.skills-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.skills-category {
  flex: 1 1 220px;
  min-width: 200px;
  background: #EDEBFF;
  border-radius: 1rem;
  padding: 1rem 1rem 0.5rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(124,131,253,0.06);
}
.skills-category h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #7C83FD;
  font-size: 1.08rem;
  font-weight: 600;
}
.skills-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #2C2C2C;
  font-size: 1rem;
}
.skills-category li {
  margin-bottom: 0.4rem;
  padding-left: 1.1em;
  position: relative;
}
.skills-category li:before {
  content: '•';
  color: #2EC4B6;
  position: absolute;
  left: 0;
}

/* Experience Section */
.experience-section {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(124,131,253,0.06);
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1.2s 0.6s backwards;
}
.experience-section h2 {
  color: #7C83FD;
  margin-bottom: 1.2rem;
}
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.experience-card {
  background: #EDEBFF;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 1px 4px rgba(124,131,253,0.04);
}
.experience-card h3 {
  margin: 0 0 0.5rem 0;
  color: #7C83FD;
  font-size: 1.1rem;
}
.exp-date {
  color: #2C2C2C;
  font-weight: 400;
  font-size: 0.95rem;
}
.exp-role {
  color: #2EC4B6;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.experience-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #2C2C2C;
  line-height: 1.6;
}

/* Certifications Section */
.certifications-section {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(124,131,253,0.06);
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1.2s 0.8s backwards;
}
.certifications-section h2 {
  color: #7C83FD;
  margin-bottom: 1.2rem;
}
.certifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.cert-card {
  background: linear-gradient(90deg, #7C83FD 60%, #2EC4B6 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(124,131,253,0.08);
  display: flex;
  align-items: center;
}

/* Contact Section */
.contact-section {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(124,131,253,0.06);
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1.2s 1s backwards;
}
.contact-section h2 {
  color: #7C83FD;
  margin-bottom: 1.2rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  color: #2C2C2C;
  font-size: 1.05rem;
}
.contact-list li {
  margin-bottom: 0.7rem;
}
.contact-list a {
  color: #2EC4B6;
  text-decoration: none;
  font-weight: 500;
}
.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
  margin: 2rem 0 0 0;
  padding-bottom: 1rem;
  background: transparent;
}
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.footer-buttons .button {
  background: linear-gradient(90deg, #7C83FD 60%, #2EC4B6 100%);
  color: #fff;
  border: none;
  border-radius: 2.5rem;
  padding: 0.8rem 2rem;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(124,131,253,0.13);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
}
.footer-buttons .button:hover {
  background: linear-gradient(90deg, #2EC4B6 60%, #7C83FD 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(46,196,182,0.13);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
  .skills-categories {
    flex-direction: column;
    gap: 1.2rem;
  }
}
@media (max-width: 700px) {
  main {
    padding: 1rem 0.2rem;
  }
  .hero-section, .about-section, .skills-section, .experience-section, .certifications-section, .contact-section {
    padding: 1.2rem 0.5rem;
  }
  .skills-category {
    min-width: 0;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
}
@media (max-width: 500px) {
  nav.navbar {
    gap: 1rem;
    font-size: 0.95rem;
  }
  .hero-pic {
    width: 100px;
    height: 100px;
  }
  .footer-buttons .button {
    padding: 0.7rem 1.1rem;
    font-size: 0.98rem;
  }
}
