body {
  background: var(--bg-color) !important;
}
.heading-about {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 0px auto;
  margin-bottom: 20px;
}

.heading-about h1 {
  font-size: 50px;
  color: #c09751;
  margin-bottom: 25px;
  position: relative;
  font-family: "Gini", sans-serif;
}

.heading-about h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: #a5af4c25;
}

.heading-about p {
  font-size: 18px;
  color: #d2aa63;
  margin-bottom: 35px;
}

.container-about {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}

.about-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1600px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
}

.about-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.2);
}
.about-content {
  flex: 1;
}
.about-content p {
  font-size: 18px;
  line-height: 1.5;
  color: #cac3c3;
}

#about-text-container {
  scroll-margin-top: 65px;
}

.button2 {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #ffffff;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0.5em;
  background: #aa944ba4;
  border: 1px solid #ffffff;
  margin-top: 15px;
  font-family: "Nino", sans-serif;
}
.button2:hover {
  background: rgba(59, 59, 59, 0.507);
  box-shadow:
    5px 5px 15px #fafd504f,
    -1px -1px 7px #f7e70565;
}
.text-box-section {
  display: block;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  width: 70%;
  max-width: 1500px;
  height: auto;
  background: transparent;
  border-radius: 20px;
  background-color: #ffffff23;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.text-box-title {
  color: #d4ab62;
  text-align: center;
  font-size: 28px;
  margin-top: 30px;
  font-family: "Nino", sans-serif;
}

.text-box {
  color: #fffffd;
  margin: 45px;
  word-wrap: break-word;
  line-height: 1.6 !important;
  text-indent: 10px;
}
.text-box p {
  padding-bottom: 10px;
}
.text-box p a {
  color: #d2aa63;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 10px;
}
.text-box p a:hover {
  color: #c9b755;
}

.team-area {
  padding: 5% 0;
}
.profile-box {
  position: relative;
  width: 350px;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.profile-box .img-area,
.profile-box .img-text {
  width: 100%;
  height: 100%;
  position: absolute;
  box-sizing: border-box;
  transition: 0.8s;
}
.profile-box:hover .img-area {
  -webkit-transform: translate3d(350px, 0, 0) rotate3d(0, 1, 0, -10deg);
}
.img-text {
  background: #262626;
  top: 0;
  left: 100%;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}

.img-text h2 {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 30px;
  margin: 0;
}
.img-text h3 {
  font-family: "Nino", sans-serif !important;
  margin: 25px 0;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 100;
  letter-spacing: 3px;
}
.img-text p {
  line-height: 1.9;
}
.img-text i {
  padding: 10px 10px;
  font-size: 27px;
}

.img-text a {
  color: #b6a336;
}
.img-text a:hover {
  color: #f7e062;
}

.profile-box:hover .img-text {
  -webkit-transform: translate3d(-350px, 0, 0) rotate3d(0, 1, 0, 10deg);
}

.img-area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  overflow: hidden;
}

.img-area img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.2);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.team-area {
  display: flex;
  justify-content: center;
}

.about-row {
  display: flex;
  justify-content: center;
  gap: 200px;
}

.about-col-md-4 {
  flex: 1 1 300px;
  max-width: 300px;
  box-sizing: border-box;
}

@media screen and (max-width: 1001px) {
  .about-row {
    gap: 100px;
  }
  .profile-box {
    position: relative;
    width: 300px;
    height: 370px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  }
  .profile-box .img-area,
  .profile-box .img-text {
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    transition: 0.8s;
  }
  .profile-box:hover .img-area {
    -webkit-transform: translate3d(350px, 0, 0) rotate3d(0, 1, 0, -10deg);
  }
  .img-text {
    background: #262626;
    top: 0;
    left: 100%;
    padding: 35px 20px;
    text-align: center;
    color: #fff;
  }

  .img-text h2 {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 25px;
    margin: 0;
  }
  .img-text h3 {
    margin: 20px 0;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 3px;
  }
  .img-text p {
    line-height: 1.9;
  }
  .img-text i {
    padding: 10px 10px;
    font-size: 29px;
  }

  .profile-box:hover .img-text {
    -webkit-transform: translate3d(-299px, 0, 0) rotate3d(0, 1, 0, 10deg);
  }

  .img-area {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    overflow: hidden;
  }

  .img-area img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transform: scale(1.3);
  }
}

@media screen and (max-width: 865px) {
  .about-image {
    margin-left: 0;
  }
  .container-about {
    padding: 0px;
  }
  .about-page {
    padding: 20px;
    flex-direction: column;
  }
  .about-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .about-content p {
    padding: 0px;
    font-size: 16px;
  }
}

@media screen and (max-width: 773px) {
  .about-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
  }
}

@media screen and (max-width: 768px) {
  .heading-about {
    padding: 0px 20px;
  }
  .heading-about h1 {
    font-size: 36px;
  }
  .heading-about p {
    font-size: 17px;
    margin-bottom: 0px;
  }
  .container-about {
    padding: 0px;
  }
  .about-page {
    padding: 20px;
    flex-direction: column;
  }
  .about-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .about-content p {
    padding: 0px;
    font-size: 16px;
  }
  .about-content .read-more {
    font-size: 16px;
  }
  .text-box-section {
    margin-left: 25px;
    margin-right: 25px;
    height: auto;
    width: auto;
  }
  .text-box {
    margin: 30px;
  }
}

@media screen and (max-width: 365px) {
  .heading-about h1 {
    font-size: 34px;
  }
}
