/* hero */
.hero {
  background-color: #fff;
  padding: 20px 0 0;
}

@media (max-width: 768px) {
  .hero .wrapper {
    padding: 20px 20px;
  }
}

@media (min-width: 1216px) {
  .hero .wrapper {
    padding-top: 50px;
  }
}

.hero h1 {
  margin-bottom: 28px;
}

svg {
  width: 25px;
  height: 25px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.hero-img {
  display: grid;
  gap: inherit;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(1, 1fr);
  grid-row: 1 / span 2;
}

.hero-img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
}

.hero-img > img {
  height: 100%;
}

/* product */

.product-cards-mobile {
  display: none;
  flex-direction: row;
  width: 100%;
  box-shadow: rgb(0 0 0 / 7%) 0px 0px 12px;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
}

.product-cards-img {
  display: block;
  overflow: hidden;
  position: relative;
  text-align: left;
  height: 0px;
  padding-bottom: 50%;
}

.product-cards-img > img {
  height: auto;
}

.product-mobile-img {
  width: 80px;
  position: relative;
}

.product-mobile-img > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.product-mobile-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  padding: 21px 15px;
}

.product-mobile-text > p {
  color: rgb(97, 104, 113);
}

.product-mobile-link {
  margin-left: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgb(248, 249, 251);
}

.product-mobile-link > svg {
  fill: rgb(31, 111, 229);
}

.product-mobile-head {
  display: flex;
  margin-bottom: 5px;
  -webkit-box-align: center;
  align-items: center;
}

.product-mobile-head > h3 {
  font-weight: 700;
}

.product-mobile-svg {
  width: 30px;
  height: 30px;
  border-radius: 25%;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img > img,
.product-cards-img > img {
  width: 100%;
  object-fit: cover;
}

.text-wrapper {
  padding-bottom: 15px;
}

/* program */
.program-container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1296px;
  padding: 48px 0;
}

.program-innercontainer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.program-detail-heading {
  display: flex;
  flex-direction: row;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: start;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.program-detail-header {
  padding-right: 15px;
  margin-right: 15px;
  border-right: 1px solid rgba(181, 187, 198, 0.5);
}

.program p {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.program li {
  display: flex;
  align-items: center;
  margin-bottom: 31px;
}

.program-img {
  grid-area: 1 / 1 / span 1 / span 9;
  display: block;
  overflow: hidden;
  position: relative;
  text-align: left;
  height: 0px;
  padding-bottom: 56.25%;
  margin-top: 0px;
}

.program img,
.cta img {
  object-fit: cover;
  width: 100%;
  position: absolute;
  height: 100%;
}

.program-detail-innerwrapper {
  height: 100%;
  position: relative;
  flex: 1 1 0%;
  padding: 48px;
}

.program-detail-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: rgb(0 0 0 / 7%) 0px 0px 12px;
  overflow: hidden;
  border-radius: 16px;
  z-index: 1;
  background-color: rgb(255, 255, 255);
  margin-top: 0px;
  grid-area: 1 / 9 / span 1 / span 4;
  align-self: center;
}

.program-img-2 {
  grid-area: 1 / 4 / span 1 / span 9;
}

.program-detail-innerwrapper2 {
  grid-area: 1 / 1 / span 1 / span 4;
}

.program2 > .wrapper {
  padding-right: 48px;
  padding-left: 48px;
}

.program2 .section-header {
  color: #ec3c3c;
  margin-top: 34px;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
}

.program-grid h2 {
  color: rgb(31, 38, 45);
  margin-bottom: 15px;
}

.program2 p {
  color: rgb(97, 104, 113);
  font-weight: normal;
  font-size: 1rem;
  text-transform: none;
}

.program-grid-img {
  display: block;
  overflow: hidden;
  position: relative;
  text-align: left;
  height: 0px;
  padding-bottom: 66.6667%;
  border-radius: 8px;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

@media (min-width: 768px) {
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
  }

  .text-wrapper {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 46px;
  }

  .hero {
    padding: 0;
  }
}

@media (min-width: 1216px) {
  .program-grid {
    gap: 103px;
  }

  .product-cards-grid > a:hover {
    transform: scale(1.05);
    z-index: 1;
  }
}

/* quote */
.quote {
  background: rgb(19, 57, 108);
  padding: 60px 0;
}

.quote-wrapper {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 750px;
  padding-left: 24px;
  padding-right: 24px;
}

.quote svg {
  display: block;
  margin: 0px auto 40px;
  fill: rgb(119, 208, 252);
  width: 60px;
  height: 60px;
}

/* media */
.media {
  background-color: rgb(248, 249, 251);
  padding: 75px 0px;
}

.media-img-wrapper {
  display: flex;
  justify-content: space-evenly;
  -webkit-box-align: center;
  align-items: center;
  flex-wrap: wrap;
}

.media-img {
  margin: 30px;
}

.media-img > img {
  width: 124px;
}

@media (min-width: 768px) {
  .hero-img-wrapper {
    border-radius: 8px;
  }

  .text-wrapper {
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
  }
}

.product-cards {
  background-color: rgb(19, 57, 108);
}

.product-cards h2 {
  color: rgb(255, 255, 255);
  margin-bottom: 13px;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1072px;
  padding-top: 58px;
}

.product-cards-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: rgb(0 0 0 / 7%) 0px 0px 12px;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  border-radius: 16px;
}

.product-cards-text {
  padding: 32px 20px;
}

.product-cards-text > h3 {
  margin-bottom: 13px;
  color: #ec3c3c;
  font-weight: 700;
}

.product-cards-text > p {
  color: rgb(97, 104, 113);
}

.section-header {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}

.section-title > h2 {
  color: #1f262d;
}

@media (min-width: 768px) {
  .product-cards-grid > a {
    height: 100%;
    width: 100%;
    transition: transform 500ms ease-out;
  }
}

@media (max-width: 1216px) {
  .product-cards-box {
    display: none;
  }

  .product-cards-mobile {
    display: flex;
  }

  .product-cards-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .program-innercontainer {
    position: relative;
    display: block;
    grid-template-columns: none;
  }

  .program-container {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .program-detail-wrapper {
    border-radius: 0 0 16px 16px;
    box-shadow: rgb(0 0 0 / 35%) 0px 0px 12px;
  }
}
