/* ===========================
   FONT IMPORTS
=========================== */
@font-face {
  font-family: "CabinetGrotesk";
  src: url("../fonts/CabinetGrotesk-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Against";
  src: url("../fonts/against_Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Team-istana */
.about-section {
  display: flex;
  align-items: stretch;
  gap: 40px;
  background: url("../images/about/PatternRight.png") no-repeat;
  background-position: right top;
  font-family: "CabinetGrotesk", sans-serif;
  color: #6b4f3f;
  background-size: contain;
}

.about-content {
  flex: 1;
  text-align: center;
  padding: 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-images img {
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 20px;
  margin-bottom: 20px;
  /* font-family: "CabinetGrotesk", sans-serif; */
  font-weight: normal;
}

.about-content p {
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 20px;
  font-family: "CabinetGrotesk";
  color: #3f2516;
}

.team-name {
  margin-top: 30px;
  font-size: 20px;
  color: #6b4f3f;
  letter-spacing: 1px;
  text-align: center;
  font-family: "Against";
  font-weight: 900;
}

/* builder-section */
.builders-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #ffffff;
}

.builders-text {
  flex: 1;
  text-align: right;
  color: #3d2a1f;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
  padding: 80px 50px;
  font-family: "CabinetGrotesk", sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.builders-text h2 {
  font-size: 20px;
  margin-bottom: 20px;
  font-family: "Against";
  color: #6b4f3f;
  font-weight: 600;
}

.builders-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.builders-img img {
  width: 100%;
  /* max-width: 450px; */
  object-fit: cover;
  /* border-radius: 8px; */
  background: #ddd;
}

/* COMMON SECTION STYLE */
.section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 80px 8%;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

/* FOR REVERSE SECTIONS (Image Left, Text Right) */
.section.reverse {
  flex-direction: row-reverse;
}

/* TEXT BLOCK */
.section .text {
  width: 55%;
  color: #5d4634;
  font-family: "CabinetGrotesk", sans-serif;
}

.section .text h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #6b4f3f;
  font-family: "Against";
  font-weight: normal;
}

.section .text h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #6e4d39;
  font-family: "Against";
  font-weight: normal;
}

.section .text p {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: "CabinetGrotesk", sans-serif;
}

/* IMAGE BLOCK */
.section .image {
  width: 45%;
}

.section .image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

/* Portrait style images (Founders) */
.section .image.portrait img {
  height: 450px;
}

.teamMemberWrapper {
  padding: 50px 0;
}

.teamMemberWrapper.right {
  background: url(../images/about/PatternRight.png) no-repeat;
  background-position: right top;
  font-family: "CabinetGrotesk", sans-serif;
  color: #6b4f3f;
  background-size: contain;
}

.teamMemberWrapper.left {
  background: url(../images/about/PatternLeft.png) no-repeat;
  background-position: left top;
  font-family: "CabinetGrotesk", sans-serif;
  color: #6b4f3f;
  background-size: contain;
}

.teamMemberContent {
  padding: 50px 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teamMemberTop {
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.teamMemberTop h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-family: "Against";
  color: #6b4f3f;
  font-weight: 600;
}
.teamMemberTop h4 {
  color: #6b4f3f;
  font-size: 22px;
}
.teamMemberBottom p {
  color: #6b4f3f;
  font-weight: 500;
}

.teamMemberphoto {
  display: flex;
  align-items: center;
  height: 100%;
}

.teamMemberphoto img {
  width: 100%;
}

.aboutAbhGroup img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .teamMemberTop h2 {
    font-size: 20px;
  }
  .about-content {
    padding: 30px 0;
  }
  .about-content p {
    margin-bottom: 10px;
  }

  .builders-text {
    text-align: center;
    padding: 50px 30px;
  }
  .aboutAbhGroup p,
  .aboutAbhGroup h2 {
    text-align: center;
  }

  .teamMemberContent {
    padding: 30px 30px;
  }

  .teamMemberWrapper {
    padding: 0;
  }

  .teamMemberWrapper + .teamMemberWrapper {
    padding-bottom: 50px;
  }
}

@media (min-width: 1366px) {
  .teamMemberTop h2 {
    font-size: 42px;
  }
}
@media (min-width: 1600px) {
  .builders-text h2 {
    font-size: 32px;
  }
  .teamMemberTop h2 {
    font-size: 42px;
  }
  .teamMemberTop h4 {
    font-size: 26px;
  }
  .teamMemberBottom p,
  .builders-text p {
    font-size: 22px;
  }
}
