@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

p {
  margin: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
}

body.popup-open {
  overflow: hidden;
}

body.popup-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(31, 26, 23, 0.72);
  z-index: 999;
}

/* Common classes */

.default-button {
  min-height: 53px;
  background-color: #627EB3;
  color: #ffffff;
  font-size: 20px;
  padding: 12px 20px;
  border: 0;
  border-radius: 48px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  text-align: center;
}

a.default-button {
  display: flex;
  text-decoration: none;
  align-items: center;
}

.default-button_break {
  display: none;
}

.white-button {
  font-size: 24px;
  background-color: #ffffff;
  color: #3E4765;
}

.white-button:hover {
  background-color: #e6e5e6 !important;
}

.default-button:hover {
  background-color: #4d699d;
}

.section_confidence_info-side,
.section_confidence_image-side,
.section_education_image-wrapper,
.section_education-info,
.section_integrate_img-wrapper,
.section_integrate_items {
  width: 50%;
}

.semi-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.light-blue {
  color: #B0DEF8;
}

.link {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .default-button {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .default-button_break {
    display: inline;
  }
}

@media (max-height: 800px) {
  .default-button {
    font-size: 16px;
  }
}

/* Header */

.header {
  background-color: #ffffff;
  padding: 30px 40px;
}

.header_top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.header_top-info_text {
  text-align: right;
  font-size: 15px;
}

.header_sub-info {
  border: 2px solid #000000;
  padding: 25px 40px;
}

.header_sub-info_text {
  font-size: 20px;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .header_top-info {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .header_sub-info {
    padding: 16px; 
  }

  .header_top-info_text {
    font-size: 13px;
    text-align: left;
  }

  .header_sub-info_text {
    font-size: 14px;
  }

  .section_confidence_title {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .header_logo {
    width: 100%;
  }
}

/* Section Confidence */

.section_confidence {
  width: 100%;
  display: flex;
  background-image: linear-gradient(to right, #222E3F , #84C9F9);
}

.section_confidence_info-side {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  padding: 0 40px;
}

.section_confidence_info-side-wrapper {
  text-align: left;
  margin-bottom: 40px;
}

.section_confidence_image {
  width: 100%;
  height: 100%;
}

.section_confidence_mobile-image {
  display: none;
}

.section_confidence_title {
  font-size: 50px;
  color: #ffffff;
}

@media (max-width: 900px) {
  .section_confidence {
    padding-top: 16px;
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .section_confidence_image {
    display: none;
  }

  .section_confidence_mobile-image {
    display: block;
    width: 100%;
    height: 100%;
  }

  .section_confidence_info-side {
    width: 100%;
  }

  .section_confidence_image-side {
    width: 100%;
    height: 100%;
  }

  .section_confidence_title {
    font-size: 28px;
  }
}

/* Opioid Info */

.opioid_info {
  background-color: #ffffff;
  padding: 40px;
}

.opioid_info-text {
  font-size: 20px;
}

@media (max-width: 900px) {
  .opioid_info-text {
      font-size: 14px;
  }
}

/* Section Education */

.section_education {
  display: flex;
  background-color: #3E4765;
}

.section_education-info {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  padding: 40px;
  gap: 40px;
}

.section_education-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section_education-info_button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section_education_title {
  font-size: 26px;
  font-weight: bold;
  color: #B1DFF9;
}

.section_education_subtitle {
  font-size: 20px;
  color: #ffffff;
}

.section_education_image {
  display: block;
  width: 100%;
  height: 100%;
}

.section_education_mobile-image {
  display: none;
}

@media (max-height: 900px) {
  .section_education_image {
    display: none;
  }

  .section_education_mobile-image {
    display: block;
    width: 80%;
  }
}

@media (max-width: 900px) {
  .section_education {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .section_education-info {
    width: 100%;
    padding-bottom: 16px;
  }

  .section_education_title {
    font-size: 18px;
  }

  .section_education_subtitle {
    font-size: 14px;
  }

  .section_education_image-wrapper {
    width: 100%;
    height: 100%;
  }

  .section_education_image {
    display: none;
  }

  .section_education_mobile-image {
    display: block;
    width: 100%;
    height: 100%;
  }
}

/* Section Education Programme */

.section_education-programme {
  background-color: #ffffff;
  padding: 40px;
}

.section_education-programme-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.section_education-programme_title {
  font-size: 36px;
  font-style: italic;
  font-weight: 600;
  color: #3E4765;
}

.section_education-programme_subtitle {
  font-size: 26px;
  font-weight: 700;
  color: #3E4765;
}

.section_education-programme_additional-text {
  font-size: 20px;
}

.section_education-programme_items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
}

.section_education-programme_items > div {
  flex: 0 1 calc((100% - 140px) / 6);
  display: flex;
  justify-content: center;
}

.section_education-programme_items img {
  max-width: 100%;
  height: auto;
}

.section_education-programme_button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .section_education-programme_items > div {
    flex-basis: calc(50% - 12px);
  }

  .section_education-programme_items {
    margin-bottom: 0;
  }

  .section_education-info-wrapper {
    gap: 24px;
  }

  .section_education-info {
    gap: 30px;
  }

  .section_education-programme_title {
    font-size: 24px;
  }

  .section_education-programme_subtitle {
    font-size: 18px;
  }

  .section_education-programme-image {
    width: 140px;
    height: 140px;
  }

  .section_education-programme_additional-text {
    font-size: 14px;
  }

  .section_education-programme-wrapper {
    margin-bottom: 30px;
  }
}

/* Section Integrate */

.section_integrate {
  background-color: #EFF5F8;
  padding: 60px 40px;
}

.section_integrate_title {
  font-size: 36px;
  font-style: italic;
  font-weight: 600;
  color: #3E4765;
  margin-bottom: 60px;
}

.section_integrate_content {
  display: flex;
  gap: 24px;
}

.section_integrate_items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section_integrate_item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.section_integrate_item-description {
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  color: #3E4765;
}

.section_integrate_item-description-subtext {
  font-size: 20px;
  color: #3E4765;
  margin-top: 40px;
}

.section_integrate_img-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.section_integrate_img {
  width: 100%;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
}

.section_integrate_img img {
  display: block;
  width: 80%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .section_integrate_content {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }

  .section_integrate_items {
    width: 100%;
  }

  .section_integrate_item-description {
    font-size: 14px;
  }

  .section_integrate_title {
    font-size: 24px;
  }

  .section_integrate_item-image {
    width: 140px;
    height: 140px;
  }

  .section_integrate_item-description-subtext {
    font-size: 12px;
    max-width: 160px;
  }

  .section_integrate_img-wrapper {
    flex-direction: column-reverse;
    width: 100%;
  }

  .section_integrate_img {
    margin-bottom: 0;
    margin-top: 24px;
  }
}

@media (max-width: 500px) {
  .section_integrate_last-item {
    align-items: start;
  }
}  

@media (max-width: 380px) {
  .section_integrate_item {
    flex-direction: column;
    gap: 16px;
    align-items: start;
  }
}

/* Section Modules */

.section_modules {
  background-color: #ffffff;
  padding: 40px;
}

.section_modules_title {
  font-size: 36px;
  font-style: italic;
  font-weight: 600;
  color: #3E4765;
  margin-bottom: 30px;
}

.section_modules_subtitle {
  font-size: 26px;
  font-weight: 700;
  color: #3E4765;
  margin-bottom: 30px;
}

.section_modules_subtext {
  font-size: 20px;
  color: #3E4765;
  margin-bottom: 20px;
}


.section_modules_items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.section_modules_item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section_modules_item-image {
  margin-bottom: 24px;

}

.section_modules_item-title {
  font-size: 26px;
  font-weight: 700;
  color: #3E4765;
  margin-bottom: 12px;
}

.section_modules_item-description {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 50px;
}

.section_modules_item-info {
  padding: 12px 30px;
  background-color: #3E4765;
  border-radius: 32px 0 48px 0;
}

.section_modules_item-info:has(.section_modules_item-info-arrow[aria-expanded="false"]) {
  background-color: #627EB3;
}

.section_modules_item-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section_modules_item-info-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  font-style: italic;
}

.section_modules_item-info-arrow {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  transition: transform 0.2s ease;
}

.section_modules_item-info-arrow[aria-expanded="false"] {
  transform: rotate(-90deg);
}

.section_modules_item-list-wrapper {
  font-size: 20px;
  color: #ffffff;
  padding-top: 16px;
  padding-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.section_modules_item-list-wrapper[hidden] {
  display: none;
}

.section_modules_item-list {
  list-style-type: disc;
  padding-left: 24px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #ffffff;
  font-weight: 300;
}

.section_modules_item-list li + li {
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .section_modules_items {
    grid-template-columns: 1fr;
  }
}

.section_modules_image {
  width: 100%
}

.section_modules_mobile-image {
  display: none;
}

.section_modules_button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .section_modules_title {
    font-size: 24px;
  }

  .section_modules_subtitle,
  .section_modules_item-title,
  .section_modules_item-info-title {
    font-size: 18px;
  }

  .section_modules_subtext,
  .section_modules_item-description,
  .section_modules_item-list-wrapper {
    font-size: 14px;
  }

  .section_modules_item-description {
    margin-bottom: 16px;
    line-height: 22px;
  }

  .section_modules_items {
    gap: 24px;
  }
}

@media (max-width: 500px) {
  .section_modules_image {
    display: none;
  }

  .section_modules_mobile-image {
    display: block;
    width: 100%;
    height: 100%;
  }
}

/* What's New */

.whats_new {
  background-color: #EFF5F8;
  padding: 40px;
}

.whats_new_title {
  font-size: 36px;
  font-style: italic;
  font-weight: 600;
  color: #3E4765;
  margin-bottom: 24px;
}

.whats_new_subtitle {
  font-size: 26px;
  font-weight: 700;
  color: #3E4765;
}

.whats_new_link {
  font-weight: 700;
  color: #627EB3;
  text-decoration: underline;
  cursor: pointer;
}

a.whats_new_link {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .whats_new_title {
    font-size: 24px;
  }

  .whats_new_subtitle {
    font-size: 18px;
  }
}

/* Footer */

.footer {
  background-color: #3E4765;
  padding: 50px 40px;
}

.footer_info-text {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer_sub-info {
  border: 2px solid #ffffff;
  padding: 25px 40px;
  margin-bottom: 46px;
}

.footer_sub-info_text {
  font-size: 20px;
  color: #ffffff;
  overflow-wrap: break-word;
}

.footer_logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 46px 0;
}

.footer_help-text-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer_additional-info {
  text-align: end;
  font-size: 12px;
  color: #ffffff;
}

@media (max-width: 900px) {
  .footer_info-text {
    font-size: 13px;
  }

  .footer_sub-info_text {
    font-size: 14px;
  }

  .footer_sub-info {
   padding: 16px; 
  }

  .footer_logos { 
    margin-top: 24px;
    margin-bottom: 16px;
  }

  .footer_logos,
  .footer_help-text-wrapper {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .footer_additional-info {
    text-align: start;
    font-size: 11px;
  }

  .footer_info-text-mobile {
    margin-bottom: 0;
  }
}

@media (max-width: 500px) {
  .footer_logo {
    width: 80%;
  }
}

/* Entry popup */

.entry-popup {
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-image: linear-gradient(to right, #222E3F , #84C9F9);
}

.entry-popup[hidden] {
  display: none;
}

.entry-popup_info {
  width: 44%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 40px;
}

.entry-popup_info_logo-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
}

.entry-popup_info_logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.entry-popup_info_title {
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 60px;
  margin-bottom: 40px;
}

.entry-popup_info_description {
  font-size: 26px;
  color: #ffffff;
  font-weight: 300;
  line-height: 39px;
}

.entry-popup_info_actions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.entry-popup_info_footer {
  width: 100%;
  margin-top: auto;
}

.entry-popup_info_disclaimer {
  font-size: 15px;
  color: #ffffff;
  font-weight: 300;
}

.entry-popup_info_additional {
  font-size: 11px;
  color: #ffffff;
  font-weight: 300;
  margin-top: 16px;
}

.entry-popup_image-side {
  width: 56%;
  height: 100%;
  overflow: hidden;
}

.entry-popup_image {
  display: block;
  width: 100%;
  height: 100%;
}

.entry-popup_mobile-image {
  display: none;
}

@media (max-width: 900px) {
  .entry-popup {
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .entry-popup_info,
  .entry-popup_image-side {
    width: 100%;
  }

  .entry-popup_image-side {
    display: flex;
    align-items: end;
  }

  .entry-popup_info_actions {
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 16px;
  }

  .entry-popup_info_title {
    font-size: 28px !important;
    margin-top: 20px;
    margin-bottom: 16px;
  }

  .entry-popup_info_description {
    font-size: 14px !important;
    line-height: 18px !important;
  }

  .entry-popup_info_disclaimer {
    font-size: 13px !important;
  }

  .entry-popup_info_additional {
    font-size: 11px !important;
  }

  .entry-popup_image {
    display: none;
  }

  .entry-popup_mobile-image {
    display: block;
    width: 100%;
    height: 100%;
  }
}

@media (max-height: 900px) {
  .entry-popup_info_title {
    font-size: 40px;
    }
  .entry-popup_info_actions {
    gap: 30px;
    margin-top: 24px;
  }

  .entry-popup_info_description {
    font-size: 22px;
    line-height: 28px;
  }

  .default-button {
    font-size: 18px;
  }
}

@media (max-height: 799px) {
  .entry-popup_info_title {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .entry-popup_info_actions {
    gap: 30px;
    margin-top: 24px;
  }

  .entry-popup_info_description {
    font-size: 22px;
    line-height: 28px;
  }

  .default-button {
    font-size: 13px;
  }
}

@media (max-height: 699px) {
  .entry-popup_info_actions {
    gap: 16px;
    margin-top: 16px;
  }

  .entry-popup_mobile-image {
    height: 100%;
  }
}
