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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  background-attachment: fixed;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  min-height: 100vh;
}

.main-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Hero and About Row */
.hero-about-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

/* Hero Section */
.hero {
  flex-shrink: 0;
  text-align: center;
  padding-bottom: 32px;
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
}

.profile-image-wrapper {
  margin-bottom: 24px;
}

.profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
}

.hero .title {
  font-size: 1.25rem;
  color: #555;
  font-weight: 400;
}

/* About Section */
.about {
  width: 100%;
  text-align: center;
}

.about h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #000;
}

.about p {
  font-size: 1.125rem;
  color: #2a2a2a;
  line-height: 1.7;
}

/* Experience Carousel Section */
.experience-section {
  width: 100%;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

.experience-section h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

.carousel-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-nav {
  background: none;
  border: none;
  color: #333;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
  line-height: 1;
  flex-shrink: 0;
}

.carousel-nav:focus {
  outline: none;
}

.carousel-nav:hover {
  color: #000;
  transform: scale(1.15);
}

.carousel-nav:active {
  transform: scale(1);
}

.carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 8px 8px 16px 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.project-item {
  flex: 0 0 calc(100% - 16px);
  width: calc(100% - 16px);
  margin: 0 8px;
  background: #f8f8f8;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 24px;
  padding: 24px;
  align-items: center;
  box-sizing: border-box;
}

.project-image {
  flex-shrink: 0;
}

.project-image img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #d0d0d0;
}

.project-content {
  flex: 1;
}

.project-content h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #000;
}

.project-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #4b5563;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: #374151;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 40px 20px;
  }

  .main-card {
    padding: 32px 24px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .profile-image {
    width: 120px;
    height: 120px;
  }

  .about h2 {
    font-size: 1.375rem;
  }

  .about p {
    font-size: 1rem;
  }

  .experience-section h2 {
    font-size: 1.5rem;
  }

  .project-item {
    flex-direction: column;
    text-align: center;
  }

  .project-image img {
    width: 100px;
    height: 100px;
  }

  .project-content h3 {
    font-size: 1.25rem;
  }

  .project-content p {
    font-size: 0.95rem;
  }

  .carousel-nav {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 24px 16px;
  }

  .main-card {
    padding: 24px 20px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .profile-image {
    width: 100px;
    height: 100px;
  }

  .carousel-nav {
    font-size: 24px;
  }
}
