footer {
  background: #004246;
  border-top-right-radius: 40px;
  border-top-left-radius: 40px;
  padding: 40px;
}
.rp-cta__wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}
.rp-cta__wrapper .rp-title {
  margin-bottom: 20px;
  color: #fff;
}
.rp-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-block: 16px 50px;
}
.rp-cta__buttons .rp-button {
  background: #ffd500;
  color: #000;
  padding: 12px 16px;
  border-radius: 12px;
  min-width: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.rp-cta__buttons .rp-button:before {
  transition: 0.3s ease;
  background-color: #d9fc50;
  position: absolute;
  content: "";
  width: 100%;
  z-index: -1;
  bottom: 0;
  height: 0;
  left: 0;
}
.rp-cta__buttons .rp-button:hover {
  opacity: 0.99;
  color: #000;
}
.rp-cta__buttons .rp-button:hover::before {
  height: 100%;
}
.rp-cta__buttons .rp-button.white {
  background-color: #fff;
  color: #000;
}

.rp-cta__buttons .rp-button.white:hover {
  opacity: 0.99;
  color: #000;
}
.rp-cta__buttons .rp-button.white:hover::before {
  height: 100%;
}
.rp-cta__wrapper p {
  margin-bottom: 20px;
}
.footer__links__container {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
}
.footer__links__container ul li {
  margin-bottom: 16px;
}
.footer__links__container ul li a {
  font-size: 15px;
  color: #666;
}
.footer__links__container .branding {
  flex: 1 1 15%;
}
.footer__links__container .branding img {
  width: auto;
  height: 100px;
}
.footer__links__container .footer__wrapper__nav {
  flex: 1 1 85%;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

footer ul.rp-footer-menu-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
}
.footer__wrapper__nav ul.rp-footer-menu-list .rp-footer-menu-col {
  flex: 1 1 20%;
  padding: 0 20px;
}
footer ul.rp-footer-menu-list .rp-footer-menu-col__heading {
  color: #004246;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rp-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  margin: 40px -20px 30px;
}
.rp-footer__contacts-email {
  flex: 1 1 20%;
  padding: 0 20px;
  color: #000;
}
.rp-footer__contacts-phone {
  flex: 1 1 50%;
  padding: 0 20px;
}
.rp-footer__contacts-phone a {
  padding: 0 10px;
  color: #000;
}

.rp-footer__contacts-social {
  flex: 1 1 20%;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}
.rp-footer__copyright {
  padding-top: 25px;
  border-top: 1px solid #e9e7f3;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

/* related programs starts */
.related__programs h3 {
  letter-spacing: 0;
  color: #000;
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}
.related__programs .related__block {
  position: relative;
  min-height: 296px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  height: 296px;
}
.related__programs .related__block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 128px;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.51) 29%,
    #000
  );
  z-index: 1;
}
.related__programs .related__block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related__programs .related__block p {
  color: #fff;
  z-index: 2;
  position: absolute;
  bottom: 20px;
  left: 20px;
}
#related__programs__slider .owl-nav button {
  background-color: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 106, 194, 0.2);
  border-radius: 32px;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#related__programs__slider .owl-nav button svg {
  width: 24px;
}
#related__programs__slider .owl-nav button.owl-next {
  right: -20px;
  left: auto;
  display: block;
  position: absolute;
  top: 50%;
}
#related__programs__slider .owl-nav button.owl-prev {
  left: -20px;
  right: auto;
  display: block;
  position: absolute;
  top: 50%;
}
/* related programs ends */

/* media queries */
@media (max-width: 600px) {
  footer {
    padding-inline: 10px;
    margin-top: 30px;
  }
  .rp-cta__buttons {
    gap: 12px;
  }
  .footer__links__container {
    padding: 20px;
  }
  .footer__links__container .branding {
    margin-bottom: 20px;
    flex: 0 0 100%;
  }
  .footer__wrapper__nav ul.rp-footer-menu-list .rp-footer-menu-col {
    flex: 1 1 100%;
  }
  .rp-footer__contacts {
    gap: 20px;
  }
  .rp-footer__contacts-email,
  .rp-footer__contacts-phone,
  .rp-footer__contacts-social {
    flex: 0 0 100%;
    padding-inline: 0;
  }
  .rp-footer__contacts {
    margin: 20px 0;
  }
}
