.about-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  animation: fadeIn 2s ease-in-out forwards;
}

.about-hero img,
.about-img img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.about-hero img:hover,
.about-img img:hover {
  transform: scale(1.03);
  filter: brightness(0.8);
}

.about-text h2,
.about-text3 h2,
.about-text li {
  transition: color 0.3s ease;
}

.about-text h2:hover,
.about-text3 h2:hover {
  color: #1d4ed8;
}

.about-text li:hover {
  color: #1e90ff;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}



[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}



.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  animation: fadeInUp 0.95s ease-in-out forwards;
}

.hero-text p {
  font-size: 1.2rem;
  margin-top: 10px;
  animation: fadeInUp 1s ease-in-out forwards;
}

.hero-text .btn {
  font-size: 1rem;
  padding: 15px;
}

/* About Section */
.about-content {
  padding: 3rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(2px);
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  height: fit-content;
}

.about-content .container {
  max-width: 1200px;
  margin: auto;
}

.about-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 35rem 0px -1rem;
}

.about-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 5rem 35rem 0px -1rem;
}

.about-row3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 20rem;
  color: white;
  align-items: center;
}

.about-row3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6); /* optional: makes overlay pop more */
}


.about-text {
  flex: 1 1 50%;
  max-width: 50rem;
}

.about-text3 h2 {
  width: 30rem;
  font-family: 'Playfair Display';
  color: white;
  font-size: 3rem;
  text-align: center;
  padding: 0 5rem 0 0;
}

.about-text3 p {
  color: whitesmoke;
  font-family: 'Poppins';
  font-size: 1.2rem;
  text-align: left;
  width: 30rem;
  text-align: center;
  padding: 0 5rem 0 0;
}

.about-text h2 {
  font-family: 'Playfair Display';
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  animation: fadeIn 2s ease-in-out forwards;
}

.about-text p {
  text-align: justify;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  animation: fadeInUp 1s ease-in-out forwards;
}

.about-text p {
  margin-bottom: 2rem;
}

.about-text ul {
  list-style: none;
  padding-left: 0;
}

.about-text li::before {
  content: '✔';
  margin-right: 8px;
  color: green;
}

.about-img {
  flex: 1 1 40%;
  text-align: center;
}

.about-img img {
  display: flex;
  flex-direction: column;
  max-width: 30%;
  height: 15rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}


.about-img .abt-img1 {
  left: 40rem;
  top: 34rem;
}

.about-img .abt-img2 {
  left: 55rem;
  top: 32rem;
}

.about-img .abt-img3 {
  left: 55rem;
  top: 5rem;
}

@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.about-img.in-view img {
  animation: zoomInOut 6s ease-in-out infinite;
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




@media (max-width: 768px) {
  
}






/* Responsive Design */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1rem;
    padding: 0 20px;
    padding: 0 20px 0 20px;
  }

  .about-row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text, .about-img {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-text ul {
    text-align: left;
    padding-left: 1rem;
  }


  .about-content {
    text-align: center;
    height: fit-content;
    
  }

  .about-content .container {
    margin-top: 0;
  }

  .about-content .container p {
    margin: 0 5px 50px 5px;
  }
}

@media (max-width: 425px) {
  .hero-text {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
    padding: 0 5px 0 5px;

  }

  .hero-text .btn {
    width: 100px;
    height: 40px;
    font-size: 10px;
    padding: 5px 0 0 0;
    animation: fadeInUp 2s ease-in-out forwards;

  }

  .about-content {
    padding: 0 0 80px 0;
    height: fit-content;
  }
  .about-content .container {
    text-align: center;
    margin-top: 30px;
  }

  .about-content .container p {
    margin: 0 25px 50px 25px;
  }

  .about-content h2 {
    margin-bottom: 20px;
  }

  .about-content h2 {
    margin: 0 0 10px 0;
  }

  .about-content p {
    margin: 0 25px 50px 25px;
  }

}

@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 3rem;
    width: 200px;
  }

  .hero-text p {
    margin: 0 0 5px 0;
  }

  .hero-text .btn {
    border-radius: 20px;
    padding: 5px 0 0 0;
  }

}
