:root {
  --primary-color: #c78e3d;
  --font-style: "Playfair Display", serif;
}
.ourTeam p {
  color: #57585a;
}
.ourTeamImgContainer {
  background-image: url("../images/ourTeam/ourteamdesktop.webp");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  /* border: 1px solid black; */
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* section1 and section3 and section5 */
.otSection1Heading,
.otSection3Heading,
.otSection5Heading {
  color: var(--primary-color);
  display: flex;
  flex-direction: row;
  /* border: 1px solid black; */
  justify-content: center;
  font-weight: 400;
  align-items: center;
  gap: 8px;
}
.otSection1Heading h2,
.otSection3Heading h2,
.otSection5Heading h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin: 0;
}
.otSection1,
.otSection3,
.otSection5 {
  padding: 80px 162px;
  width: 100%;
  position: relative;
  /* border: 1px solid black; */
}
.otSection1TopLeft,
.otSection3TopLeft,
.otSection5TopLeft {
  position: absolute;
  top: 0;
  left: 0;
}
.otSection1TopRight,
.otSection3TopRight,
.otSection5TopRight {
  position: absolute;
  top: 0;
  right: 0;
}
.otSection3Logo {
  margin: auto;
  display: block;
}

.otSection1Container,
.otSection3Container,
.otSection5Container {
  text-align: center;
  width: 70%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.otSection5Container {

  gap: 40px;
}
.otSection5Container {
  width: 100% !important;
  text-align: left !important;
}
.otSection1Container h3,
.otSection3Container h3,
.otSection5Container h3 {
  color: var(--primary-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 52px;
  width: 70%;
  margin: auto;
  /* border: 1px solid black; */
  margin-top: -50px;
}
.otSection5Container h3 {
  
  margin-top: -30px;
}
.otSection5Container h3 {
  width: 50% !important;
  text-align: center !important;
}
.otSection1Container p,
.otSection3Container p,
.otSection5Container p {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.otSection5Content {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  grid-template-areas: "card1 card2 card3";
}
.otSection5Card:nth-child(1) {
  grid-area: card1;
}
.otSection5Card:nth-child(2) {
  grid-area: card2;
}
.otSection5Card:nth-child(3) {
  grid-area: card3;
}
.otSection5Card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px;
  background: #fff8f0;
  border: none;
  border-bottom: var(--primary-color) 2px solid;
}

/* section2 */
.otSection2 {
  background-image: url("../images/backgrounds/mustardFrame.png");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 240px;
}
.otSection2Container {
  display: flex;
  gap: 142px;
  margin: auto;
  /* border: 1px solid black; */
  justify-content: center;
  position: relative;
  bottom: 200px;
}
.otSection2Card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 348px;
  height: 452px;
  /* border: 1px solid black; */
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
    rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
    rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
    rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
    rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
    rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px,
    rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}
.otSection2Card img {
  transform: scale(1.01);
  width: 348px;
  height: 452px;
  object-fit: cover;
  transition: all 0.5s ease;
}
.otSection2Card:hover img {
  transform: scale(1.11);
  transition: all 0.5s ease;
}
.otSection2Card h2 {
  position: absolute;
  bottom: -50px;
  color: white;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  width: 100%;
  text-align: center;
  letter-spacing: 0.4px;
  transition: all 0.5s ease;
}
.otSection2Card:hover h2 {
  bottom: 20px;
  transition: all 0.5s ease;
}

/* section4 */
.owl-carousel {
  padding: 8px;
}
.owl-carousel .item {
  border-radius: 4px;
  overflow: hidden;
}
.owl-carousel .item img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.owl-one {
  position: relative;
}
.owl-nav button {
  background-color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.owl-nav button.owl-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  font-size: 20px !important;
  background: transparent !important;
  opacity: 0.8 !important;
  backdrop-filter: blur(10px) !important;
  color: #c78e3d !important;
}
.owl-nav button.owl-prev:hover {
  background-color: #57585a !important;
}

.owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  font-size: 20px !important;
  background: transparent !important;
  opacity: 0.8 !important;
  backdrop-filter: blur(10px) !important;
  color: #c78e3d !important;
}

.owl-nav button.owl-next:hover {
  background-color: #57585a !important;
}

.owl-one .owl-nav button.owl-prev {
  left: 10px !important;
}
.owl-one .owl-nav button.owl-next {
  right: 10px !important;
}

.owl-two .owl-nav button.owl-next {
  left: 10px !important;
}
.owl-two .owl-nav button.owl-prev {
  right: 10px !important;
}

/* media queries */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media all and (min-width: 993px) and (max-width: 1400px) {
  /* section1 and section3 and section5 */

  .otSection1TopLeft,
  .otSection3TopLeft,
  .otSection5TopLeft {
    width: 20%;
  }
  .otSection1TopRight,
  .otSection3TopRight,
  .otSection5TopRight {
    width: 20%;
  }
  .otSection1,
  .otSection3,
  .otSection5 {
    padding: 80px 60px;
  }
  .otSection1Container,
  .otSection3Container {
    width: 70%;
  }
  .otSection5Content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    grid-template-areas:
      "card1 card1 card2 card2"
      ". card3 card3 .";
  }

  /* section2 */
  .otSection2Container {
    gap: 40px;
    padding: 0px 30px;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media all and (min-width: 481px) and (max-width: 992px) {
  .ourTeamImgContainer {
    background-image: url("../images/ourTeam/ourteammobile.webp");
  }
  /* section1 and section3 and section5 */

  .otSection1TopLeft,
  .otSection3TopLeft,
  .otSection5TopLeft {
    width: 25%;
  }
  .otSection3TopLeft,
  .otSection5TopLeft {
    width: 25%;
    display: none;
  }
  .otSection1TopRight,
  .otSection3TopRight,
  .otSection5TopRight {
    width: 25%;
  }
  .otSection3TopRight,
  .otSection5TopRight {
    width: 25%;
    display: none;
  }
  .otSection1,
  .otSection3,
  .otSection5 {
    padding: 80px 24px;
  }
  .otSection1Container,
  .otSection3Container {
    width: 90%;
  }
  .otSection5Content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    grid-template-areas:
      "card1"
      "card2"
      "card3";
  }

  /* section2 */
  .otSection2 {
    height: calc((452px * 3) - 100px);
    margin-bottom: 200px;
  }
  .otSection2Container {
    flex-direction: column;
    align-items: center;
  }
  .otSection2Card h2 {
    bottom: 10px;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media all and (max-width: 480px) {
  .ourTeamImgContainer {
    background-image: url("../images/ourTeam/ourteammobile.png");
  }
  .ourTeam h3 {
    font-size: 32px;
    line-height: 36px;
  }
  /* section1 and section3 */

  .otSection1TopLeft,
  .otSection3TopLeft,
  .otSection5TopLeft {
    width: 35%;
  }
  .otSection3TopLeft,
  .otSection5TopLeft {
    width: 35%;
    display: none;
  }
  .otSection1TopRight,
  .otSection3TopRight,
  .otSection5TopRight {
    width: 35%;
  }
  .otSection3TopRight,
  .otSection5TopRight {
    width: 35%;
    display: none;
  }
  .otSection1,
  .otSection3,
  .otSection5 {
    padding: 80px 24px;
  }
  .otSection5 {
    padding: 80px 24px 40px;
  }
  .otSection1Container,
  .otSection3Container {
    width: 90%;
  }
  .otSection1Container h3,
  .otSection3Container h3 {
    width: 100%;
  }
  .otSection5Content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    grid-template-areas:
      "card1"
      "card2"
      "card3";
  }

  /* section2 */
  .otSection2 {
    height: calc((452px * 3) - 200px);
    margin-bottom: 200px;
  }
  .otSection2Container {
    flex-direction: column;
    align-items: center;
    gap: 100px;
  }
  .otSection2Card h2 {
    bottom: 10px;
  }
}
