@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");

/* Main Section */

.about-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 50px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: "Mulish", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Left Content */
.about-content {
  flex: 1;
}

.about-content h1 {
  font-size: 42px;
  color: #8b5e3c;
  margin-bottom: 25px;
  position: relative;
}

.about-content h1::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #c89b6d, #8b5e3c);
  display: block;
  margin-top: 10px;
  border-radius: 5px;
}

.about-content p {
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: justify;
}

.about-content strong {
  color: #8b5e3c;
}

/* Right Image */

.about-image {
  text-align: center;
  position: sticky;
  top: 140px;
  align-self: flex-start;
  background: linear-gradient(-45deg, #010a34, #43230b, #43230b, #03081f);
  background-size: 400% 400%;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  transition: transform 0.4s ease;
  margin: 0 auto;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Hidden Content */
.more-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-15px);
  transition:
    max-height 0.6s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Show Content */
.more-text.show {
  max-height: 550px;
  opacity: 1;
  transform: translateY(0);
}

/* Button */

#readMoreBtn {
  padding: 10px 22px;
  background: #8b5e3c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 15px;
  transition: all 0.4s ease;
}

/* Button Hover */

#readMoreBtn:hover {
  background: #6f472b;
  transform: translateY(-2px);
}

/* Hide Button Animation */

#readMoreBtn.hide-btn {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* Responsive */

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    padding: 30px 20px;
  }

  .about-content h1 {
    font-size: 34px;
    text-align: center;
  }

  .about-content h1::after {
    margin: 10px auto 0;
  }

  .about-content p {
    text-align: left;
  }

  .about-image img {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .about-section {
    margin: 0;
  }
}
