/* =======ABOUT_US PAGE=================== */



.about-page {
  
  background-position: bottom;
  animation: 4s linear 0s infinite bp;
}

@keyframes bp {
  from {
    background-position: 198px 0;
  }
  to {
    background-position: 0 198px;
  }
}

html, body {
  height: 100%;
  margin: 0;
}

/* COMMON SECTION LAYOUT */
.round-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 70px 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

/* FLIPPED SECTION */
.round-section.reverse {
  flex-direction: row-reverse;
  padding-top: 20px;
}

/* ROUND IMAGE */
.round-img {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out forwards;
  position: relative;
  z-index: 2;
}

/* Overlap image slightly with text box */
.round-section:not(.reverse) .round-img {
  transform: translateX(40px) translateY(50px);
}
.round-section.reverse .round-img {
  transform: translateX(-40px) translateY(50px);
}

.round-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT BOX */
.round-text {
  padding: 40px 35px;
  width: 470px;
  border-radius: 12px;
  text-align: left;
 
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.2s;
  position: relative;
  z-index: 1;
}

.round-text h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #222;
  font-family: 'Montserrat', sans-serif;
}

.round-text h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #555;
  font-family: 'Montserrat', sans-serif;
}

.round-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}

.round-text em {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #777;
  font-family: 'Montserrat', sans-serif;
}

/* FADE-UP ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .round-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 60px 20px;
  }

  .round-section.reverse {
    flex-direction: column;
  }

  .round-img {
    width: 320px;
    height: 320px;
    transform: none !important;
    animation-delay: 0s;
  }

  .round-text {
    width: 100%;
    max-width: 500px;
    animation-delay: 0.2s;
    text-align: center;
  }
}



