* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.transparent {
  background: transparent;
  box-shadow: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  cursor: pointer;
}

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

.nav-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2563eb;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu-icon {
  width: 25px;
  height: 3px;
  background: #111827;
  position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background: #111827;
  transition: all 0.3s;
}

.mobile-menu-icon::before {
  top: -8px;
}

.mobile-menu-icon::after {
  bottom: -8px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #fae8ff 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.05;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: #2563eb;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  color: #111827;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-role {
  font-size: 1.8rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: white;
  color: #374151;
  border: 2px solid #d1d5db;
}

.btn-secondary:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #374151;
  transition: all 0.3s;
}

.social-link:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
}

/* Section Styles */
section {
  padding: 5rem 2rem;
}

.section-light {
  background: white;
}

.section-dark {
  background: #f9fafb;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 1rem;
}

.section-underline {
  width: 80px;
  height: 4px;
  background: #2563eb;
  margin: 0 auto;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s;
}

.about-card:nth-child(2) {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.about-card:nth-child(3) {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.icon-blue {
  background: #2563eb;
  color: white;
}

.icon-purple {
  background: #9333ea;
  color: white;
}

.icon-green {
  background: #16a34a;
  color: white;
}

.about-card h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 1rem;
}

.about-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.skill-category:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  font-size: 1.3rem;
  color: #111827;
  margin-bottom: 1.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  border: 1px solid;
}

.tag-blue {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}

.tag-purple {
  background: #f3e8ff;
  color: #7e22ce;
  border-color: #e9d5ff;
}

.tag-green {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.tag-orange {
  background: #ffedd5;
  color: #c2410c;
  border-color: #fed7aa;
}

.tag-pink {
  background: #fce7f3;
  color: #be185d;
  border-color: #fbcfe8;
}

.tag-indigo {
  background: #e0e7ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: 1px solid #f3f4f6;
}

.project-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #dbeafe 0%, #c7d2fe 100%);
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #10b981;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.75rem;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.project-card:hover h3 {
  color: #2563eb;
}

.project-content p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.3rem 0.7rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s;
}

.project-link:hover {
  color: #1d4ed8;
}

/* Experience Section */
.experience-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563eb;
  border: 4px solid #dbeafe;
}

.timeline-line {
  position: absolute;
  left: 11px;
  top: 2rem;
  width: 2px;
  height: calc(100% - 2rem);
  background: #bfdbfe;
}

.experience-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.experience-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-title h3 {
  font-size: 1.4rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.experience-company {
  color: #2563eb;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.experience-period {
  color: #6b7280;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.experience-description {
  color: #4b5563;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.experience-highlights {
  list-style: none;
}

.experience-highlights li {
  color: #374151;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.experience-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.education-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #bfdbfe;
  transition: all 0.3s;
}

.education-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.education-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.education-icon {
  width: 48px;
  height: 48px;
  background: #2563eb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.education-info h3 {
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.education-institution {
  color: #2563eb;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.education-location {
  color: #6b7280;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.education-period {
  color: #4b5563;
  font-size: 0.85rem;
}

.education-footer {
  padding-top: 1rem;
  border-top: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

/* Achievements Section */
.achievement-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 2px solid #bfdbfe;
  transition: all 0.3s;
}

.achievement-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.achievement-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.achievement-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.achievement-info h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.achievement-info p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-section h3 {
  font-size: 1.8rem;
  color: #111827;
  margin-bottom: 2rem;
}

.contact-item {
  background: #eff6ff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-item:hover {
  background: #dbeafe;
  transform: translateX(5px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #2563eb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-details p:first-child {
  color: #6b7280;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.contact-details p:last-child {
  color: #111827;
  font-size: 0.95rem;
}

.contact-social {
  margin-top: 2rem;
}

.contact-social p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
}

.contact-social-link {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #374151;
  transition: all 0.3s;
}

.contact-social-link:hover {
  background: #2563eb;
  color: white;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #374151;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #1d4ed8;
}

/* Footer */
footer {
  margin-top: 5rem;
  padding: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

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

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-role {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .achievement-content {
    flex-direction: column;
    text-align: center;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #6b7280;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #6b7280;
  border-radius: 4px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}
