:root {
  --primary-color: #c78e3d;
  --font-style: "Playfair Display", serif;
}
.ourStory p {
  color: #57585a;
}
.ourStoryImgContainer {
  background-image: url("../images/ourStory/ourstorydesktop.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 section4 */
.osSection1,
.osSection4 {
  padding: 80px 162px;
  width: 100%;
  position: relative;
  /* border: 1px solid black; */
}
.osSection1TopLeft,
.osSection4TopLeft {
  position: absolute;
  top: 0;
  left: 0;
}
.osSection1TopRight,
.osSection4TopRight {
  position: absolute;
  top: 0;
  right: 0;
}
.osSection4Logo {
  margin: auto;
  display: block;
}

.osSection1 div,
.osSection4 div {
  text-align: center;
  width: 70%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.osSection1 div h3,
.osSection4 div h3 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  width: 70%;
  margin: auto;
}
.osSection1 div p,
.osSection4 div p {
  font-size: 16px;
  line-height: 24px;
}

/* section2 */
.osSection2 {
  background-image: url("../images/backgrounds/blueFrame.png");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  margin: 80px 0;
}
.osSection2Container {
  width: 70%;
  background-color: white;
  margin: auto;
  padding: 0 100px;
  position: relative;
  /* border: 1px solid black; */
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.osSection2Content {
  position: relative;
  /* border: 1px solid black; */
}
.osSection2Img {
  width: 100%;
  border: 4px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 40px 40px -7px;
}
.osSection2TopLeft {
  position: absolute;
  top: -6.9%;
  left: -4.7%;
  width: 20%;
}
.osSection2TopRight {
  position: absolute;
  top: -9%;
  right: -4%;
  width: 20%;
}
.osSection2Text {
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
}

/* section3 */
.osSection3 {
  width: 100%;
  background-color: #f2f9f8;
  padding: 80px 160px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.osSection3Heading {
  color: var(--primary-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  align-items: center;
  gap: 8px;
  /* border: 1px solid black; */
}
.osSection3Heading h3 {
  margin: 0;
}
.osSection3Content1 {
  grid-area: osSection3Content;
  position: relative;
  /* border: 1px solid black; */
}
.osSection3Text1 {
  grid-area: osSection3Text;
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  /* border: 1px solid black; */
}
.osSection3Container1 {
  /* border: 1px solid black; */
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas: "osSection3Text osSection3Content";
  gap: 80px;
}
.osSection3TopRight {
  position: absolute;
  top: -9%;
  right: -4%;
  width: 20%;
}
.osSection3Content2 {
  grid-area: osSection3Content;
  position: relative;
  /* border: 1px solid black; */
}
.osSection3Text2 {
  grid-area: osSection3Text;
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  /* border: 1px solid black; */
}
.osSection3Container2 {
  /* border: 1px solid black; */
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-areas: "osSection3Content osSection3Text";
  gap: 80px;
}
.osSection3TopLeft {
  position: absolute;
  top: -6.9%;
  left: -4.7%;
  width: 20%;
}

.osSection3Img {
  width: 100%;
  border: 4px solid var(--primary-color);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 40px 40px -7px;
  border-radius: 8px;
}

/* media queries */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media all and (min-width: 993px) and (max-width: 1400px) {
  /* section1 and section4 */

  .osSection1TopLeft,
  .osSection4TopLeft {
    width: 20%;
  }
  .osSection1TopRight,
  .osSection4TopRight {
    width: 20%;
  }
  .osSection1,
  .osSection4 {
    padding: 80px 60px;
  }
  .osSection1 div,
  .osSection4 div {
    width: 70%;
  }

  /* section2 */
  .osSection2Container {
    width: 75%;
    padding: 0 64px;
    gap: 60px;
  }
  .osSection2Img {
    border: 3px solid var(--primary-color);
  }

  /* section3 */
  .osSection3 {
    padding: 80px 100px;
  }
  .osSection3Container1 {
    grid-template-columns: 1fr;
    grid-template-areas: "osSection3Content" "osSection3Text";
    gap: 40px;
  }
  .osSection3Container2 {
    grid-template-columns: 1fr;
    grid-template-areas: "osSection3Content" "osSection3Text";
    gap: 40px;
  }
  .osSection3Img {
    border: 3px solid var(--primary-color);
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media all and (min-width: 481px) and (max-width: 992px) {
  .ourStoryImgContainer {
    background-image: url("../images/ourStory/ourstorymobile.webp");
  }
  /* section1 and section4 */

  .osSection1TopLeft,
  .osSection4TopLeft {
    width: 25%;
  }
  .osSection4TopLeft {
    display: none;
  }
  .osSection1TopRight,
  .osSection4TopRight {
    width: 25%;
  }
  .osSection4TopRight {
    display: none;
  }
  .osSection1,
  .osSection4 {
    padding: 80px 24px;
  }
  .osSection1 div,
  .osSection4 div {
    width: 90%;
  }

  /* section2 */
  .osSection2Container {
    width: 75%;
    padding: 0 32px;
    gap: 52px;
  }
  .osSection2Img {
    border: 2px solid var(--primary-color);
  }

  /* section3 */
  .osSection3 {
    padding: 80px 80px;
    gap: 80px;
  }
  .osSection3Container1 {
    grid-template-columns: 1fr;
    grid-template-areas: "osSection3Content" "osSection3Text";
    gap: 40px;
  }
  .osSection3Container2 {
    grid-template-columns: 1fr;
    grid-template-areas: "osSection3Content" "osSection3Text";
    gap: 40px;
  }
  .osSection3Img {
    border: 2px solid var(--primary-color);
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media all and (max-width: 480px) {
  .ourStoryImgContainer {
    background-image: url("../images/ourStory/ourstorymobile.png");
  }
  /* section1 and section4 */

  .osSection1TopLeft,
  .osSection4TopLeft {
    width: 35%;
  }
  .osSection4TopLeft {
    display: none;
  }
  .osSection1TopRight,
  .osSection4TopRight {
    width: 35%;
  }
  .osSection4TopRight {
    display: none;
  }
  .osSection1,
  .osSection4 {
    padding: 80px 24px 0px;
  }
  .osSection1 div,
  .osSection4 div {
    width: 90%;
  }
  /* section2 */
  .osSection2Container {
    width: 80%;
    padding: 0 16px;
    gap: 32px;
  }
  .osSection2Img {
    border: 2px solid var(--primary-color);
  }
  .osSection2{
    margin: 52px 0px;
  }

  /* section3 */
  .osSection3 {
    padding: 80px 24px;
    gap: 60px;
  }
  .osSection3Container1 {
    grid-template-columns: 1fr;
    grid-template-areas: "osSection3Content" "osSection3Text";
    gap: 40px;
  }
  .osSection3Container2 {
    grid-template-columns: 1fr;
    grid-template-areas: "osSection3Content" "osSection3Text";
    gap: 40px;
  }
  .osSection3Img {
    border: 2px solid var(--primary-color);
  }
}
