/* Homepage banner */

.hero {
  position: relative;
  top: 0;
  z-index: 10;
  border-top: 15px solid var(--bodyBackground);
  background-color: var(--bodyBackground);
  min-height: 650px;
  overflow: hidden;
  color: var(--headingText);
  border-radius: var(--headerRadius) var(--headerRadius) 0 0;
  isolation: isolate;
}

.hero .heroBackground {
  position: absolute;
  inset: 0;
  width: 98%;
  height: 100%;
  margin: 0 auto;
  max-height: 920px;
  background-size: cover;
  background-position: bottom;
  z-index: 0;
  background-repeat: no-repeat;
  border-top-left-radius: var(--headerRadius);
  border-top-right-radius: var(--headerRadius);
}

.hero .heroLeftContent {
  position: absolute;
  z-index: 1;
  top: 3rem;
  left: 5rem;
}

.hero .heroLeftContent p {
  font-size: clamp(36px, 1.2vw, 56px);
  line-height: clamp(46px, 1.2vw, 66px);
}

.hero .heroRightContent {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  right: 5rem;
}

.hero .heroRightContent h2 {
  font-size: clamp(24px, 1.2vw, 34px);
  line-height: clamp(34px, 1.2vw, 44px);
  color: var(--headingText);
  font-weight: 400;
}

.hero .heroRightContent p {
  font-size: clamp(24px, 1.2vw, 34px);
  line-height: clamp(34px, 1.2vw, 44px);
  color: var(--headingText);
}

.hero video {
  height: 50vh;
  width: 98vw;
  display: block;
  object-fit: cover;
  border-bottom-left-radius: var(--headerRadius);
  border-bottom-right-radius: var(--headerRadius);
  margin: 0 auto;
}

.hero .accentImage {
  background: url("../images/videoBanner.svg");
  height: 100px;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 45%;
}

/* Key Points Block */

.keyPoints {
  margin: 5rem auto;
}

.keyPoints .keyPoint {
  padding: 0 2rem 0 3.5rem;
  border-right: 1px solid var(--border);
}

.keyPoints .keyPoint:last-child {
  border-right: none;
}

.keyPoints img {
  max-width: 77px;
  margin-bottom: 0.75rem;
}

.keyPoints span {
  font-size: clamp(14px, 1.2vw, 26px);
  line-height: clamp(24px, 1.2vw, 36px);
  color: var(--headingText);
  margin-bottom: 0.6rem;
}

/* Product Blocks */

.ourProducts {
  background: var(--blockBackground);
  padding: 3rem 0;
}

.ourProducts .productCard {
  min-height: 430px;
  border-radius: 40px;
  isolation: isolate;
  overflow: hidden;
}

.productCardText h3 a {
  color: inherit;
  text-decoration: none;
}

.ourProducts .productCard p {
  color: var(--white);
}

.ourProducts .productCard span {
  color: var(--white);
}

.ourProducts .productCard .productHeading {
  font-size: clamp(14px, 1.2vw, 24px);
  line-height: clamp(24px, 1.2vw, 34px);
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 22px;
}

.ourProducts .productCard .productHeading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 10%;
  height: 1px;
  background: var(--white);
}

.ourProducts .productCard .productCardImage {
  object-fit: cover;
  object-position: center;
  inset: 0;
  z-index: -2;
}

.ourProducts .productCard .productCardOverlay {
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0) 70%
  );
}

.ourProducts .productCard h2 {
  font-size: clamp(28px, 1.2vw, 52px);
  line-height: clamp(28px, 1.2vw, 52px);
  font-weight: 500;
  color: var(--white);
}

.ourProducts .productCard .productCardArrow {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  transition: 0.5s;
  border: 2px solid var(--white);
  transform: rotate(-90deg);
  position: absolute;
  bottom: 2rem;
}

.ourProducts .productCard .productCardArrow span {
  font-size: 38px;
  line-height: 38px;
  font-weight: 300;
  transform: translateY(-5px);
  position: relative;
  top: 5px;
  right: -18px;
}

.ourProducts .productCard .productCardText {
  max-width: 250px;
  font-size: clamp(16px, 1.2vw, 27px);
  line-height: clamp(22px, 1.2vw, 40px);
  font-weight: 400;
  padding-top: 22px;
}

.ourProducts .productCard .productCardText h3 {
  color: var(--white);
}

.homepageProducts.productCard .productCardArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #8581a4
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12H18M14 8L18 12L14 16' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 20px 20px;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
/*
@media (min-width: 768px) {
*/
.homepageProducts.productCard .productCardArrow {
  position: absolute;
  right: 32px;
  bottom: 32px;
  margin: 0;
  transform: rotate(0deg);
}

/* Partnership */

.partnership {
  margin: 5rem auto;
}

.partnership h2 {
  font-weight: 500;
  font-size: clamp(36px, 1.2vw, 54px);
  line-height: clamp(48px, 1.2vw, 72px);
  letter-spacing: -2%;
  margin-bottom: 0;
}

.partnership h3 {
  color: var(--bodyText);
  margin: 3rem auto;
  font-weight: 400;
  font-size: clamp(22px, 1.2vw, 42px);
  line-height: clamp(28px, 1.2vw, 48px);
}

.partnership li {
  border-top: 1px solid var(--border);
}

.partnership li:last-child {
  border-bottom: 1px solid var(--border);
}

.partnership li h4 {
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 26px);
  line-height: clamp(22px, 1.2vw, 34px);
  letter-spacing: -2%;
  padding: 2rem 0;
  color: var(--bodyText);
}

.enquiryBox {
  margin: 5rem auto 0;
}

.enquiryBox p {
  max-width: 540px;
  margin-inline: auto;
}

.hero-mobile-content {
  display: none;
}

/* 1200px */

@media (min-width: 1800px) {
  .ourProducts .productCard {
    max-height: 600px;
  }

  .aboutUs {
    margin-bottom: 2rem;
  }
}

/* 992px */

@media (max-width: 992px) {
  .aboutUs p {
    max-width: 540px;
    margin-bottom: 1rem;
    margin-inline: auto;
  }

  .home-product-card-wrap {
    padding: 0px;
    width: calc(50% - 12px);
  }

  .ourProducts .productCard:first-child {
    margin-right: 0;
  }

  .ourProducts .row {
    gap: 12px;
    margin-left: 0px;
  }

  .ourProducts .productCard {
    width: 100%;
  }

  .hero .heroLeftContent {
    left: 0;
    padding-left: 5rem;
    max-width: 460px;
  }

  .hero .heroRightContent {
    display: none;
  }

  .hero-mobile-content {
    display: block;
    padding-top: 48px;
    margin-left: 12px;
    margin-right: 12px;
    padding-bottom: 24px;
  }

  .hero-mobile-content h2 {
    font-size: clamp(24px, 1.2vw, 34px);
    line-height: clamp(34px, 1.2vw, 44px);
    color: var(--headingText);
    font-weight: 400;
  }
  .partnership-heading {
    padding-bottom: 24px;
  }
  .partnership-list {
    justify-content: center;
  }

  .partnership-list ul {
    list-style: none;
    padding-left: 0px;
  }
}

@media (max-width: 992px) {
  .ourProducts .row p {
    max-width: 540px;
    margin-inline: auto;
  }

  .keyPoints .keyPoint {
    border: none;
  }
  .home-product-wrap {
    margin-left: -0.5rem;
  }
}

/* 768px */

@media (max-width: 768px) {
  .hero .heroLeftContent {
    padding-left: 2.5rem;
    max-width: 430px;
  }

  .home-product-wrap {
    margin-left: initial;
  }

  .partnership-list ul {
    margin: 0 auto;
  }
  .partnership-heading {
    padding-bottom: 0px;
  }

  .home-product-wrap:first-child .productCard {
    margin-bottom: 0px;
  }

  .home-product-card-wrap {
    padding: 0px;
    width: 100%;
  }

  .ourProducts .row {
    flex-direction: column;
    margin-left: -12px;
  }

  .ourProducts .productCard {
    width: 100%;
  }

  .keyPoints .keyPoint {
    text-align: center;
    position: relative;
    padding: 0 15px;
    margin: 0 auto;
  }

  .keyPoints .keyPoint::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: var(--border);
  }

  .keyPoints img {
    margin: 0 auto;
  }

  .ourProducts .productCard {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .ourProducts .productCard .productHeading {
    padding-top: 1rem;
  }

  .partnership ul {
    list-style: none;
    padding-left: 0;
  }

  .partnership .siiButton {
    margin-bottom: 3.5rem;
  }

  .aboutUs p {
    width: 100%;
    max-width: 100%;
  }

  .ourProducts .productCard .productCardImage {
    object-fit: cover;
    object-position: right;
  }
  .ourProducts .productCard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #f1effe;
    background: linear-gradient(
      137deg,
      rgba(0, 0, 0, 0.2) 24%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

/* 767.98px */

@media (max-width: 767.98px) {
  .ourProducts .productCard {
    min-height: 450px;
    border-radius: 30px;
  }
}
