/* Hero section reuse with slight variation */
.about-hero {
  height: 60vh;
  background: url('../images/about-hero.png') center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-hero .hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.about-hero h1 {
  font-size: 3.5rem;
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

.about-hero p {
  font-size: 1.3rem;
  margin-top: 1rem;
  opacity: 0.9;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
}

/* About content sections */
.about-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  color: #EDEDED;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  font-family: 'Inter', sans-serif;
}

.about-section img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}


.about-text {
  width: 60%;
}

.about-text h2 {
  font-size: 2rem;
  color: #FFD700;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: #DDDCDC;
  text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

/* Footer */
footer {
  background-color: #111;
  color: #FFD700;
  padding: 1.5rem 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
  user-select: none;
}

/* Responsive */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  .about-section img,
  .about-text {
    width: 100%;
  }
  .about-section img {
    margin-bottom: 1.5rem;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }
  .about-hero p {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .about-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 2rem;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.about-section.animate-left {
  transform: translateX(-50px);
}

.about-section.animate-right {
  transform: translateX(50px);
}

.about-section.visible {
  opacity: 1;
  transform: translateX(0);
}
/* Responsive for tablets and medium screens */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .about-section img,
  .about-text {
    width: 100%;
    height: auto; /* Keep image aspect ratio */
  }

  .about-section img {
    margin-bottom: 1.5rem;
    object-fit: cover;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }
}

/* Responsive for smaller phones */
@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-section {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }
}
