.about-section {
  padding: 100px 20px;
  background-color: #FAF7F2;
  color: #1A121E;
  font-family: 'Zilla Slab', serif;
}

.journey-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.journey-icons img {
  width: 60px;
  height: auto;
}

.plane-icon {
  width: 50px;
  animation: fly 3s infinite ease-in-out;
}

@keyframes fly {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.about-title {
  text-align: left;
  font-family: 'Unbounded', cursive;
  font-size: 2.5rem;
  color: #1A121E;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.bio-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-img {
  width: 240px;
  max-width: 100%;
  border-radius: 10px;
}

.bio-text {
  flex: 1;
  min-width: 280px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.bio-text h2 {
  font-family: 'Unbounded', cursive;
  margin-bottom: 15px;
  color: #1A121E;
}

.bio-text .highlight {
  color: #8B2E3C;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .bio-card {
    flex-direction: column;
    align-items: center;
  }

  .about-title {
    font-size: 2rem;
    text-align: center;
  }

  .bio-text {
    text-align: center;
  }

  .bio-text h2 {
    font-size: 1.4rem;
  }
}

/* Skills Section */
.skills-section {
  padding: 60px 20px;
  background-color: #FAF7F2;
  color: #1A121E;
  font-family: 'Zilla Slab', serif;
  animation: fadeUp 1s ease-in-out;
}

.about-title.left-aligned {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.skills-category {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.skills-category h3 {
  font-family: 'Unbounded', cursive;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1A121E;
}

.skills-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.skills-logos img {
  max-width: 80px; /* was 60px */
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.skills-logos img:hover {
  transform: scale(1.2); /* was 1.1 */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
  .skills-logos img {
    max-width: 70px; /* mobile version bump too */
  }
}

/* Personal Info Section */
.personal-info {
  padding: 60px 20px;
  background-color: #FAF7F2;
  color: #1A121E;
  font-family: 'Zilla Slab', serif;
}

.personal-info-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .personal-info-content {
    font-size: 1rem;
    padding-inline: 10px;
    text-align: center;
  }
}

/* fun facts */
.fun-facts {
  padding: 60px 20px;
  background-color: #FAF7F2;
  font-family: 'Zilla Slab', serif;
  color: #1A121E;
}

.fun-facts-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cards-stack {
  position: relative;
  width: 250px;
  height: 340px;
}

.fact-card {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  cursor: grab;
  transition: transform 0.4s ease, opacity 0.3s ease;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.fact-card:nth-child(1) { transform: rotate(-5deg); z-index: 1; }
.fact-card:nth-child(2) { transform: rotate(3deg); z-index: 2; }
.fact-card:nth-child(3) { transform: rotate(-7deg); z-index: 3; }
.fact-card:nth-child(4) { transform: rotate(5deg); z-index: 4; }
.fact-card:nth-child(5) { transform: rotate(-3deg); z-index: 5; }
.fact-card:nth-child(6) { transform: rotate(2deg); z-index: 6; }
.fact-card:nth-child(7) {
  transform: rotate(0deg);
  z-index: 999;
}

.fact-text {
  flex: 1;
  max-width: 50%;
  min-height: 200px; /* ensures all text areas are the same height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 1.2rem;
  color: #1A121E;
  font-family: 'Zilla Slab', serif;
  line-height: 1.6;
  text-align: center;
  box-sizing: border-box;
  animation: fadeIn 0.6s ease-in-out;
}


.fact-text p {
  background: #fff;
  padding: 20px;
  border-left: 5px solid #8B2E3C;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .fun-facts-container {
    flex-direction: column;
    gap: 20px;
  }

  .fact-text {
    text-align: center;
    max-width: 100%;
  }
}

