:root {
  --primary-color: #c78e3d;
  --font-style: "Playfair Display", serif;
}
/* .videoContainer {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid black;
}
.videoContainer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.ourOfferingsImgContainer {
  background-image: url("../images/backgrounds/backgroundImg.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 */
.hpSection1 {
  padding: 80px 162px;
  width: 100%;
  position: relative;
  /* border: 1px solid black; */
}
.hpSection1TopLeft {
  position: absolute;
  top: 0;
  left: 0;
}
.hpSection1TopRight {
  position: absolute;
  top: 0;
  right: 0;
}

.hpSection1Logo {
  margin: auto;
  display: block;
}
.hpSection1 div {
  text-align: center;
  width: 50%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hpSection1 div h3 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}
.hpSection1 div p {
  font-size: 16px;
  line-height: 24px;
}

/* section2 */
#hpSection2HeadingSmallScreen {
  display: none;
}
.hpSection2 {
  background-image: url("../images/backgrounds/redFrame.png");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  /* border: 1px solid black; */
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.hpSection2 h2 {
  color: white;
  font-size: 48px;
  text-align: center;
  line-height: 52px;
  font-weight: 700;
}
.hpSection2Container {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
  /* border: 1px solid black; */
  width: fit-content;
  margin: auto;
}
.hpSection2Container div {
  background-color: white;
  width: 410px;
  height: 296px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 40px 40px;
  /* border: 1px solid black; */
  text-align: center;
  border-radius: 4px;
  position: relative;
}
.hpSection2Container div h3 {
  color: #d3203f;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
.centerImg {
  width: 50px;
  height: 50px;
}
.hpSection2Container div p {
  font-size: 16px;
  line-height: 24px;
  color: #57585a;
}
.hpSection2Container > div:nth-child(1) .cornerDesign {
  position: absolute;
  top: 2px;
  left: -2px;
  rotate: 90deg;
  border-radius: 0 0 0 4px;
}

.hpSection2Container > div:nth-child(2) .cornerDesign {
  position: absolute;
  top: 0;
  right: -1px;
  rotate: 180deg;
  border-radius: 0 0 0 4px;
}

.hpSection2Container > div:nth-child(3) .cornerDesign {
  position: absolute;
  bottom: 0;
  left: 0;
  rotate: 0deg;
  border-radius: 0 0 0 4px;
}

.hpSection2Container > div:nth-child(4) .cornerDesign {
  position: absolute;
  bottom: 2px;
  right: -2.5px;
  rotate: -90deg;
  border-radius: 0 0 0 4px;
}

/* section3 */
.hpSection3TopRight {
  position: absolute;
  top: -30px;
  right: 0;
  z-index: -1;
}
.hpSection3 {
  width: 100%;
  position: relative;
  /* border: 1px solid black; */
  padding: 100px 162px;
}
.hpSection3Heading {
  color: var(--primary-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-weight: 400;
  align-items: center;
  gap: 8px;
}
.hpSection3Heading h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin: 0;
}
.hpSection3 h2 {
  width: 50%;
  font-size: 48px;
  line-height: 52px;
  font-weight: 700;
  text-align: center;
  margin: 20px auto 80px;
  color: var(--primary-color);
}

.card1 {
  grid-area: card1;
}
.card2 {
  grid-area: card2;
}
.card3 {
  grid-area: card3;
}
.card4 {
  grid-area: card4;
}
.card5 {
  grid-area: card5;
}
.card6 {
  grid-area: card6;
}
.card7 {
  grid-area: card7;
}
.hpSection3Container {
  display: grid;
  gap: 80px 40px;
  grid-template-areas:
    "card1 card1 card2 card2 card3 card3 card4 card4"
    ".  card5 card5 card6 card6 card7 card7 .";
  /* border: 1px solid black; */
  grid-template-columns: repeat(8, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  padding: 70px 0;
  background: #fff8f0;
  border: none;
  border-bottom: var(--primary-color) 2px solid;
  /* border: 1px solid black; */
  overflow: hidden;
  width: 260px;
  margin: auto;
  transition: all 0.5s ease;
}
.card h3 {
  font-size: 20px;
  font-weight: 400;
  color: #57585a;
  transition: all 0.25s ease;
}
.card:hover h3 {
  font-weight: 700;
  color: black;
  transition: all 0.25s ease;
}
.card:hover {
  border: none;
  box-shadow: 3px 3px 0px 0px var(--primary-color);
  padding: 65px 0;
  transition: all 0.5s ease;
}
.arrow {
  transition: all 0.25s ease;
}
.card:hover .arrow {
  fill: var(--primary-color);
}
.cardImage {
  transition: all 0.25s ease;
}
.card:hover .cardImage {
  width: 110px;
  height: 102px;
  transition: all 0.25s ease;
}
.cardTopLeft {
  position: absolute;
  top: -68px;
  left: -68px;
  width: 90px;
  transition: all 0.5s ease;
}
.card:hover .cardTopLeft {
  top: 0;
  left: 0;
  transition: all 0.5s ease;
}
.cardBottomRight {
  position: absolute;
  bottom: -68px;
  right: -68px;
  width: 90px;
  rotate: 180deg;
  transition: all 0.5s ease;
}
.card:hover .cardBottomRight {
  bottom: 0;
  right: 0;
  transition: all 0.5s ease;
}

/* section4 */
.hpSection4 {
  width: 100%;
  position: relative;
  /* border: 1px solid black; */
  padding: 100px 162px;
  /* overflow-x: hidden; */
}
.hpSection4TopLeft {
  position: absolute;
  top: -300px;
  left: 0px;
  z-index: -1;
}
.hpSection4TopRight {
  position: absolute;
  top: -300px;
  right: 0px;
  rotate: 180deg;
  z-index: -1;
}
.hpSection4Container {
  background-image: url("../images/backgrounds/redFrame.png");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 40px;
  border-radius: 8px;
  width: 75%;
  margin: auto;
}
.hpSection4Heading {
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-weight: 400;
  align-items: center;
  gap: 8px;
}
.hpSection4Heading h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin: 0;
}
.hpSection4Container h2 {
  width: 70%;
  font-size: 48px;
  line-height: 52px;
  font-weight: 700;
  text-align: center;
  margin: 20px auto 80px;
  color: white;
}
.formData {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: auto;
  gap: 20px;
}
.formData div {
  display: flex;
  gap: 16px;
}
.formData input,
.formData textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 4px;
  border: none;
  outline: none;
  color: #c78e3d;
}
.formData input::placeholder,
.formData textarea::placeholder {
  color: var(--primary-color);
}
.formData button {
  margin: auto;
  border: none;
  background-color: #fff8f0;
  padding: 14px 16px;
  width: 50%;
  font-size: 16px;
  margin-top: 20px;
}

/* section5 */
.hpSection5 {
  width: 100%;
  position: relative;
  padding: 100px 162px;
  /* border: 1px solid black; */
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 40px;
  align-items: center;
}
.hpSection5 iframe {
  width: clamp(10px, 100%, 784px);
}
.hpSection5Container {
  display: flex;
  flex-direction: column;
  /* border: 1px solid black; */
  gap: 24px;
}
.hpSection5Card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  /* border: 1px solid black; */
  padding: 16px 56px;
  text-align: center;
  background: #fff8f0;
  /* border: none; */
  width: clamp(10px, 100%, 678px);
  height: 120px;
  border-bottom: var(--primary-color) 2px solid;
  border-radius: 4px;
  color: #57585a;
  transition: all 0.35s ease;
}
.hpSection5Card h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin: 0;
  transition: all 0.25s ease;
}
.hpSection5Card svg {
  /* border: 1px solid black; */
  width: auto;
  transition: all 0.25s ease;
}
.hpSection5Card div {
  /* border: 1px solid black; */
  width: 100%;
}
.hpSection5Card:hover {
  border: none;
  box-shadow: 3px 3px 0px 0px var(--primary-color);
  transition: all 0.5s ease;
  color: black;
}
.hpSection5Card:hover svg {
  width: 64px;
  height: 64px;
  transition: all 0.25s ease;
}
.hpSection5Card:hover h3 {
  color: black;
  font-weight: 700;
  transition: all 0.25s ease;
}
/* media queries */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media all and (min-width: 993px) and (max-width: 1400px) {
  /* section1 */
  .hpSection1TopLeft {
    width: 20%;
  }
  .hpSection1TopRight {
    width: 20%;
  }
  .hpSection1 {
    padding: 80px 60px;
  }
  .hpSection1 div {
    width: 70%;
  }

  /* section2 */
  #hpSection2HeadingSmallScreen {
    display: none;
  }
  .hpSection2 {
    padding: 80px 40px;
    /* border: 1px solid black; */
  }

  /* section3 */
  .hpSection3TopRight {
    width: 20%;
  }
  .hpSection3 {
    padding: 80px 60px;
  }
  .hpSection3 h2 {
    width: 70%;
  }
  .hpSection3Container {
    display: grid;
    gap: 80px 40px;
    grid-template-areas:
      "card1 card2 card3"
      "card4 card5 card6"
      ". card7 .";
    /* border: 1px solid black; */
    grid-template-columns: repeat(3, 1fr);
  }
  .hpSection4Container h2 {
    width: 90%;
    margin: 20px auto 60px;
  }

  /* section4 */
  .hpSection4TopLeft {
    width: 30%;
    top: -250px;
  }
  .hpSection4TopRight {
    width: 30%;
    top: -250px;
  }
  .hpSection4 {
    padding: 80px 60px;
  }
  .hpSection4Container {
    padding: 40px 20px;
    width: 80%;
    margin: auto;
  }

  /* section5 */
  .hpSection5 {
    flex-direction: column;
    padding: 80px 60px;
    gap: 80px;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media all and (min-width: 481px) and (max-width: 992px) {
  /* section1 */
  .hpSection1TopLeft {
    width: 25%;
  }
  .hpSection1TopRight {
    width: 25%;
  }
  .hpSection1 {
    padding: 80px 24px;
  }
  .hpSection1 div {
    width: 90%;
  }

  /* section2 */
  #hpSection2HeadingSmallScreen {
    display: block;
  }
  #hpSection2HeadingLargeScreen {
    display: none;
  }
  .hpSection2 {
    padding: 80px 24px;
    /* border: 1px solid black; */
  }
  .hpSection2Container {
    grid-template-columns: 1fr;
  }
  .hpSection2Container div {
    width: clamp(10px, 100%, 410px);
    height: auto;
  }

  /* section3 */
  .hpSection3TopRight {
    width: 25%;
    display: none;
  }
  .hpSection3 {
    padding: 80px 24px;
  }
  .hpSection3 h2 {
    width: 90%;
  }
  .hpSection3Container {
    display: grid;
    gap: 52px 0px;
    grid-template-columns: repeat(4, minmax(clamp(80px, 100%, 130px), 1fr));
    grid-template-areas:
      "card1 card1 card2 card2"
      "card3 card3 card4 card4"
      "card5 card5 card6 card6"
      ". card7 card7 .";
    /* border: 1px solid black; */
  }
  .card {
    width: clamp(80px, 100%, 260px);
  }

  /* section4 */
  .hpSection4TopLeft {
    width: 35%;
    top: -200px;
    display: none;
  }
  .hpSection4TopRight {
    width: 35%;
    top: -200px;
    display: none;
  }
  .hpSection4 {
    padding: 40px 12px;
  }
  .hpSection4Container {
    padding: 40px 20px;
    width: 80%;
    margin: auto;
  }
  .hpSection4Container h2 {
    width: 90%;
    margin: 20px auto 40px;
  }
  .formData {
    width: 90%;
  }
  .formData div {
    flex-direction: column;
    gap: 20px;
  }
  .formData input,
  .formData textarea {
    width: 100%;
  }
  .formData button {
    width: 70%;
  }

  /* section5 */
  .hpSection5 {
    flex-direction: column;
    padding: 80px 24px;
    gap: 80px;
  }
  .hpSection5 iframe {
    height: 350px;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media all and (max-width: 480px) {
  .homePage h2 {
    font-size: 32px;
    line-height: 40px;
  }
  /* section1 */
  .hpSection1TopLeft {
    width: 35%;
  }
  .hpSection1TopRight {
    width: 35%;
  }
  .hpSection1 {
    padding: 80px 24px;
  }
  .hpSection1 div {
    width: 90%;
  }

  /* section2 */
  #hpSection2HeadingSmallScreen {
    display: block;
  }
  #hpSection2HeadingSmallScreen h2:nth-child(2),
  #hpSection2HeadingSmallScreen h2:nth-child(4) {
    margin-top: -16px !important;
    margin-bottom: -4px !important;
  }
  #hpSection2HeadingLargeScreen {
    display: none;
  }
  .hpSection2 {
    padding: 80px 24px;
    /* border: 1px solid black; */
  }
  .hpSection2Container {
    grid-template-columns: 1fr;
  }
  .hpSection2Container div {
    width: clamp(10px, 100%, 410px);
    height: auto;
  }

  /* section3 */
  .hpSection3TopRight {
    width: 35%;
    display: none;
  }
  .hpSection3 {
    padding: 80px 24px;
  }
  .hpSection3 h2 {
    width: 90%;
  }
  .hpSection3Container {
    display: grid;
    gap: 32px 0px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "card1"
      "card2"
      "card3"
      "card4"
      "card5"
      "card6"
      "card7";
    /* border: 1px solid black; */
  }

  /* section4 */
  .hpSection4TopLeft {
    width: 45%;
    top: -120px;
    display: none;
  }
  .hpSection4TopRight {
    width: 45%;
    top: -120px;
    display: none;
  }
  .hpSection4 {
    padding: 40px 12px;
  }
  .hpSection4Container {
    padding: 28px 20px;
    width: 90%;
    margin: auto;
  }
  .hpSection4Container h2 {
    width: 90%;
    margin: 20px auto 20px;
  }
  .formData {
    width: 90%;
  }
  .formData div {
    flex-direction: column;
    gap: 20px;
  }
  .formData input,
  .formData textarea {
    width: 100%;
  }
  .formData button {
    width: 80%;
  }

  /* section5 */
  .hpSection5 {
    flex-direction: column;
    padding: 80px 24px;
    gap: 80px;
  }
  .hpSection5 iframe {
    height: 250px;
  }
  .hpSection5Card {
    height: auto;
  }
}
