/* About Us Hero Section */
.about-us-hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

/* Swiper container */
.about-us-hero .swiper {
  width: 100%;
  height: 500px; /* default height */
}

/* Swiper slides */
.about-us-hero .swiper-slide {
  background-size: cover;        /* cover entire slide */
  background-position: center;   /* center the image */
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

/* Optional overlay for better text readability */
.about-us-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2); /* subtle dark overlay */
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .about-us-hero .swiper {
    height: 450px;
  }
}

@media (max-width: 992px) {
  .about-us-hero .swiper {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-us-hero .swiper {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .about-us-hero .swiper {
    height: 300px;
  }
}


/* ===== About Us Section ===== */
.about-us-section {
  background: #ffffff;
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 !important;
}

.about-us-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
}

/* Left Image */
.about-us-image {
  flex: 1 1 300px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.about-us-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.about-us-image img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Right Content */
.about-us-content {
  flex: 1 1 450px;
  margin-top: 20px;
}

.about-us-content h2 {
  font-family: 'Marcellus', sans-serif;
  font-size: 40px;
  line-height: 52px;
  font-weight: 400;
  color: rgb(2, 81, 87);
  margin-bottom: 20px;
}

.about-us-content p {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  line-height: 31px;
  font-weight: 400;
  color: rgb(0, 0, 0);
  margin-bottom: 30px;
}

/* Button */
.learn-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 400;
  color: rgb(2, 81, 87);
  border: 2px solid rgb(2, 81, 87);
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.learn-btn:hover {
  background: rgb(2, 81, 87);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(2, 81, 87, 0.3);
}

/* Hidden Content (dynamic expand) */
.hidden-content {
   
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.hidden-content h3 {
  font-family: 'Marcellus', serif;
  font-size: 28px;
  color: rgb(2, 81, 87);
  margin-bottom: 12px;
  text-transform: none;   /* prevent uppercase distortion */
  letter-spacing: 0.5px;  /* add breathing space */
  line-height: 1.4;       /* fix cutting issue */
}
.hidden-content p {
  font-family: 'Jost', sans-serif;
  font-size: 17px;
  line-height: 28px;
  color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .about-us-container {
    flex-direction: column;
    text-align: center;
  }
  .about-us-content h2 {
    font-size: 32px;
    line-height: 42px;
  }
  .about-us-content p {
    font-size: 16px;
    line-height: 28px;
  }
}








/* Section Background */
.about-ati-jong {
  background: #ffffff;
  padding: 80px 20px;
  margin-bottom: 40px;
}

/* Flex container */
.about-ati-jong .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

/* Left text */
.about-ati-jong .text-content {
  flex: 1 1 500px;
  color: #333;
}

.about-ati-jong .title {
  font-family: 'Marcellus', serif;
  font-size: 40px;
  line-height: 52px;
  font-weight: 400;
  color: rgb(2, 81, 87);
  margin-bottom: 20px;
}

.about-ati-jong p {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  line-height: 31px;
  font-weight: 400;
  color: #000;
  margin-bottom: 30px;
}

/* Read More Toggle */
.about-ati-jong .more-text {
  display: none;
}

.about-ati-jong .learn-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 400;
  color: rgb(2, 81, 87);
  border: 2px solid rgb(2, 81, 87);
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.about-ati-jong .learn-btn:hover {
  background: rgb(2, 81, 87);
  color: #fff;
}

/* Right images */
.about-ati-jong .image-content {
  flex: 1 1 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-ati-jong .tilted-img {
  width: 100%;
  max-width: 350px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}

.about-ati-jong .tilted-img.left {
  transform: rotate(-0deg);
  align-self: flex-start;
}

.about-ati-jong .tilted-img.right {
  transform: rotate(0deg);
  align-self: flex-end;
}

/* Hover effect */
.about-ati-jong .tilted-img:hover {
  transform: scale(1.05) rotate(0deg);
}

/* Responsive */
@media (max-width: 992px) {
  .about-ati-jong .container {
    flex-direction: column;
    text-align: center;
  }
  .about-ati-jong .title {
    font-size: 36px;
  }
  .about-ati-jong .image-content {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .about-ati-jong .tilted-img {
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .about-ati-jong .title {
    font-size: 30px;
  }
  .about-ati-jong .tilted-img {
    max-width: 100%;
  }
}

