@font-face {
  font-family: "Montserrat_Regular";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Bupa/lp/fonts/Montserrat-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Montserrat_SemiBold";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Bupa/lp/fonts/Montserrat-SemiBold.ttf")
    format("truetype");
}

@font-face {
  font-family: "Montserrat_Bold";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Bupa/lp/fonts/Montserrat-Bold.ttf")
    format("opentype");
}

/* General */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
}

body {
  font-family: "Montserrat_Regular";
  color: #000000;
  background-color: #ffffff;
}

.container {
  width: 1400px;
  max-width: 90%;
  margin: 0 auto;
}

h1 {
  font-family: "Montserrat_Bold";
  font-size: 80px;
}

h2 {
  font-family: "Montserrat_Bold";
  font-size: 56px;
  color: #ffffff;
}

h3 {
  font-family: "Montserrat_SemiBold";
  font-size: 25px;
}

p {
  font-family: "Montserrat_Regular";
  font-size: 20px;
  line-height: 1.4;
}

a {
  color: #000;
}

a:hover {
  color: #004d71;
}

/* Header Section */
header {
  background-color: #ffffff;
  position: sticky;
  top: 0px;
  z-index: 1001;
  width: 100%;
}

.nav-bar {
  width: 73.6%;
  margin: 0 13.94% 0 12.46%;
  padding: 36px 0 38px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo > a > img,
.logo {
  height: 40px;
}

body > header > div > div > a {
  height: 40px;
  display: block;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 79px;
  align-items: center;
}

nav li a {
  font-family: "Montserrat_SemiBold";
  text-decoration: none;
  font-size: 18px;
  color: #0d1846;
  padding-bottom: 5px;
}

nav li a:hover,
nav li a.actived {
  border-bottom: 4px solid #0079c8;
  color: #0d1846;
}

.btn-log {
  margin-left: -35px;
  padding: 15px 61px 17px 61px;
  border-radius: 4px;
  background-color: #0079c8;
  font-family: "Montserrat_SemiBold";
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.btn-log:hover {
  background-color: #00548c;
  color: #ffffff;
}

#burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

#burger div {
  width: 27px;
  height: 5px;
  background-color: #0d1846;
  margin: 2px 0;
}

#burger:hover div {
  background-color: #084281;
}

#burger.active div {
  background-color: #084281;
}

/* Home Section */
.home-section {
  padding: 196px 0 191px 0;
  background-image: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Bupa/lp/media/back_home_bupa.png");
  background-position: top center;
}

.home-section-container {
  display: flex;
  width: 520px;
  margin: 0 0 0 12.48%;
  align-items: flex-start;
}

.home-section-content {
  flex: 1;
  max-width: 541px;
}

.home-section-content h1 {
  font-family: "Montserrat_Bold";
  font-size: 80px;
  margin-top: 44px;
  margin-bottom: 31px;
  margin-left: -5px;
  color: #00398a;
  line-height: 0.9;
}

.home-section-content p {
  font-size: 15px;
  margin-bottom: 13px;
  margin-left: -4px;
  color: #21272a;
  line-height: 1.53;
}

.home-section-content p:first-of-type{
  margin-top: 21px;
} 

.home-section-content p:last-of-type {
  margin-bottom: 47px;
}

.btn-sign {
  padding: 15px 0 17px 0;
  width: 166px;
  text-align: center;
  border-radius: 4px;
  background-color: #0079c8;
  font-family: "Montserrat_SemiBold";
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}

.btn-sign.btn-home-page {
  margin-left: -4px;
  margin-right: 34px;
}

.btn-sign:hover {
  background-color: #00548c;
  color: #ffffff;
}

.btn-log.btn-home-page {
  padding: 15px 0 17px 0;
  width: 166px;
  margin: 0;
  text-align: center;
  border-radius: 4px;
  background-color: #0079c8;
  font-family: "Montserrat_SemiBold";
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}

.btn-log.btn-home-page:hover {
  background-color: #00548c;
  color: #ffffff;
}

/* About Section */
.about {
  background-color: #ffffff;
}

.about h2 {
  margin-bottom: 28px;
}

.about-container {
  background: linear-gradient(to right, #0079c8 50%, #ffffff 50%);
  display: flex;
  justify-content: center;
  padding: 159px 0 134px 0;
}

.about-box-left {
  width: 717px;
  max-width: 90%;
  max-height: 403px;
  padding: 60px 83px 59px 77px;
  background-color: #00398a;
}

.about-box-left .btn-sign {
  width: 173px;
}

.about-box-right {
  width: 718px;
  max-width: 90%;
  max-height: 506px;
}

.about-box-right img {
  margin-top: 78px;
  width: 686px;
}

.about p {
  font-size: 12.66px;
  margin-bottom: 13px;
  color: #ffffff;
}

#about > div > p:last-of-type {
  margin-bottom: 73px;
}

/* Why Section */
.why {
  padding: 84px 0 25px 0;
  margin: 0;
  background: #afd2eb;
  text-align: center;
}

.why > .container {
  margin: 0;
  max-width: 90%;
  margin: auto;
}

.why h2 {
  color: #0079c8;
  margin-bottom: 32px;
}

.why > .container > p {
  font-family: "Montserrat_Regular";
  font-size: 15px;
  color: #0d1846;
  margin: auto;
  margin-bottom: 52px;
  width: 759px;
  max-width: 90%;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 67px;
  flex-wrap: wrap;
  text-align: start;
}

.card {
  background-color: #f4f5f8;
  padding: 42px 51px 0 34px;
  width: 400px;
  height: 344px;
  box-sizing: border-box;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  height: 40px;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: "Montserrat_Bold";
  font-size: 25px;
  color: #0d1946;
  margin-top: 28px;
  margin-bottom: 9px;
}

.card p {
  font-size: 12.66px;
  color: #21272a;
  line-height: 1.5;
}

.cta-button {
  text-align: center;
  margin-top: 73px;
}

.cta-button .btn-sign {
  width: 172px;
}

/* FAQ Section */
.faq {
  padding-top: 132px;
  padding-bottom: 100px;
  background-color: #afd2eb;
}

.faq-container {
  width: 1403px;
  max-width: 90%;
  margin: 0 auto;
}

.faq-container > h2 {
  margin-bottom: 64px;
  text-align: center;
  color: #0079c8;
}

.faq-box {
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-box > h3 {
  font-family: "Montserrat_SemiBold";
  font-size: 34px;
  margin-top: 38px;
  text-decoration: underline;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  cursor: pointer;
  padding: 36px 33px 36px 48px;
  font-family: "Montserrat_SemiBold";
  font-size: 24px;
  color: #ffffff;
  background-color: #0079c8;
}

.faq-question.open-question {
  background-color: #0d1846;
  padding-bottom: 25px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0px 22px 0px 48px;
  color: #ffffff;
  background-color: #0d1846;
  font-size: 20px;
}

.faq-answer p {
  line-height: 1.15;
}

#faqs > div > div > div > div.faq-answer > p {
  max-width: 1120px;
}

.faq-answer.open-answer {
  max-height: 400px;
  padding: 0px 22px 61px 48px;
}

.faq-question img {
  height: 21px;
  transition: transform 0.4s ease;
}

.faq-question img.rotate {
  transform: rotate(180deg);
}

/* Image Section */

.contact-image img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 90px;
}

/* Contact Section */
.contact-section {
  padding-bottom: 98px;
  background-color: #0079c8;
}

.form-info {
  text-align: center;
}

.form-info h2 {
  margin-bottom: 32px;
}

.form-info p {
  font-size: 36px;
  color: #ffffff;
  line-height: 1.3;
}

#contact > div > div > p > a {
  font-family: "Montserrat_Bold";
  color: #ffffff;
  text-decoration: none;
}

#contact > div > div > p > a:hover {
  text-decoration: underline;
}

.contact-form {
  display: none;
}

/* Log Page */

.log-container {
  display: flex;
  justify-content: space-evenly;
  min-height: 100vh;
  padding: 182px 0 189px 0;
  background: linear-gradient(to right, #ffffff 50%, #f1efeb 50%);
}

.log-box-left {
  width: 50%;
  max-height: 490px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.log-box-left-text {
  width: 90%;
  max-width: 529px;
  margin-top: -27px;
  margin-left: 43px;
}

.log-box-left h2 {
  font-size: 32px;
  color: #00398a;
  margin-bottom: 28px;
}

.log-box-left p {
  margin-bottom: 25px;
  font-size: 15px;
}

.log-box-left a {
  color: #1279bf;
}

.log-box-left a:hover {
  color: #0d1846;
}

.log-box-right {
  width: 50%;
}

.log-box {
  width: 580px;
  max-width: 90%;
  margin-left: 106px;
  padding: 53px 93px 83px 72px;
  background-color: #fcfcfb;
  text-align: start;
}

.log-box h2 {
  font-size: 32px;
  margin-bottom: 26px;
  color: #0079c8;
}

.log-box input {
  height: 48px;
  width: 417px;
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 13px;
  padding: 10px 21px;
  font-size: 18px;
  border: none;
}

#user_session_login,
#user_session_password {
  border: solid 1px #dde1e6;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-family: "Montserrat_SemiBold";
  font-size: 15px;
}

.password-field.flex-row.form-group {
  display: block;
}

.log-box .btn-login {
  display: block;
  width: 100%;
  height: 43px;
  margin: 0;
  margin-top: 15px;
  margin-bottom: 27px;
  text-align: center;
  border-radius: 4px;
  background-color: #0079c8;
  font-family: "Montserrat_SemiBold";
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.log-box .btn-login:hover {
  background-color: #00548c;
  color: #ffffff;
}

#new_user_session > div.password-field-container > div.password-eye.hide-icon.hidden {
    display: none;
}

div.password-field-container div.password-eye {
    right: -6px !important;
    bottom: 24px !important;
}

.forgot-pass {
  display: block;
  font-size: 15px;
  color: #333333;
  font-family: "Montserrat_SemiBold";
}

.forgot-pass:hover {
  color: #0079c8;
}

#new_user_session > div.alert.alert-danger.errorExplanation > p {
  padding: 5px;
  font-size: 15px;
  color: #ff4545;
  font-weight: bold;
}

/* Footer Section */
footer {
  background-color: #0d1846;
  color: #ffffff;
  padding: 84px 0 88px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left > img {
  width: 114px;
  height: auto;
  margin-bottom: 28px;
}

footer a {
  color: #ffffff;
}

footer a:hover {
  color: #1280c1;
}

footer > .container {
  display: flex;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-left > p {
  display: none;
  font-size: 14px;
  text-align: start;
  line-height: 1.3;
}

.footer-right {
  margin-top: 28px;
}

.footer-right > p {
  font-size: 14px;
  text-align: end;
}

/* Legals Pages */
.legals-box {
  margin-top: 60px;
  margin-bottom: 80px;
  min-height: 100vh;
}

.legals-box h1 {
  font-size: 56px;
  margin-bottom: 30px;
  color: #ffffff;
}

.legals-box h2 {
  font-size: 26px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #ffffff;
}

.legals-box h4 {
  color: #ffffff;
}

.legals-box p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
}

.legals-box a,
.legals-box li {
  font-size: 16px;
  color: #ffffff;
}

.legals-box a:hover {
  color: #0d1846;
}

.legals-box ul {
  font-size: 16px;
  margin-bottom: 15px;
  margin-left: 40px;
}

.legals-box > div > table {
  width: 100%;
}

.legals-box > div > table > tbody > tr {
  text-align: center;
}

.legals-box > div > table > tbody > tr > th {
  padding: 20px;
}

.legals-box > div > table > tbody > tr > td {
  padding: 5px 10px;
}

/* Reg Page */
.container-reg > p {
  margin-bottom: 20px;
}

#new_user > .form-group {
  margin-bottom: 20px;
}

#user_title {
  width: 100px;
  height: 50px;
  padding: 10px;
  font-size: 16px;
  font-family: "Montserrat_Regular";
  border: 1px solid #0079c8;
}

#user_fname,
#user_sname,
#email,
#passwordNew {
  width: 50%;
  height: 50px;
  padding: 10px;
  font-family: "Montserrat_Regular";
  font-size: 16px;
  border: 1px solid #0079c8;
}

#registration_submit {
  padding: 15px 61px 17px 61px;
  border-radius: 4px;
  background-color: #0d1846;
  font-family: "Montserrat_SemiBold";
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  border: none !important;
}

#registration_submit:hover {
  background-color: #022540;
  color: #ffffff;
}

@media (min-width: 1921px) {
  /* Mobile General */
  .container {
    width: 66.272%;
    margin: auto;
  }

  .nav-bar {
    width: 66.272%;
    margin: 0 17.814% 0 15.914%;
  }

  /* Mobile Home Section */

  .home-section-container {
    width: 66.272%;
    margin: 0 17.814% 0 15.914%;
  }

  .home-section {
    background-size: cover;
  }
}

@media (max-width: 1875px) {
  /* Mobile General */
  .container {
    width: 90%;
    margin: auto;
  }

  /* Mobile Header Section */
  .nav-bar {
    width: 90%;
    margin: auto;
  }

  /* Mobile Home Section */

  .home-section-container {
    width: 90%;
    margin: auto;
  }

  .container.legals-box {
    margin-top: 60px;
    margin-bottom: 80px;
  }
}

@media (max-width: 1499px) {
  /* Mobile General */
  h1 {
    font-size: 73px;
  }

  h2 {
    font-size: 51px;
  }

  /* Mobile Header Section */
  .logo > a > img,
  .logo {
    height: 35px;
  }

  .nav-bar {
    padding: 25px 0;
    margin: auto;
  }

  nav ul {
    gap: 25px;
  }

  nav li a {
    font-size: 16px;
  }

  .btn-log {
    margin-left: 0px;
    font-size: 20px;
    padding: 8px 40px 12px 40px;
  }

  /* Mobile Home Section */
  .home-section {
    padding: 100px 0 150px 0;
    background-position: top left;
  }

  .home-section-container {
    gap: 20px;
    margin: auto;
  }

  .home-section-content h1 {
    font-size: 73px;
    margin-top: 0;
  }

  /*Mobile Abou Section */

  .about-box-right {
    display: none;
  }

  /* Mobile Why Section */
  .why {
    padding-left: 0;
  }

  /*Mobile Faq Section */
  .faq-answer.open {
    max-height: 400px;
    padding: 0px 22px 50px 25px;
  }

  .faq-question img {
    height: 19px;
  }

  /*Mobile Contact Section */
  .submit-btn {
    padding: 10px 80px;
    font-size: 30px;
  }

  /*Mobile Footer Section */
  .footer-left > img {
    width: 90px;
  }

  /*Reg Mobile */
  #registration_submit {
    font-size: 16px;
  }

  .container.legals-box {
    margin-top: 60px;
    margin-bottom: 80px;
  }

  /*Log page Mobile */
  .log-box {
    margin: auto;
    padding: 10%;
  }

  .log-box h2 {
    font-size: 32px;
  }

  .log-box input {
    width: 100%;
  }

  .forgot-pass {
    font-size: 18px;
  }

  .log-box-left-text {
    margin: auto;
  }
}

@media (max-width: 1010px) {
  /* Mobile General */
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 39px;
  }

  p {
    font-size: 16px;
  }

  /* Hide navigation links for mobile, and show burger menu */
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #084281;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 85px;
    right: 0;
    width: 100%;
    text-align: center;
  }

  nav ul.active {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  nav ul.active > li > a {
    color: #ffffff;
  }

  nav li a.actived {
    border-bottom: none;
    color: #ffffff;
  }

  nav li a.actived:hover {
    border-bottom: 4px solid #0079c8;
    color: #ffffff;
  }

  #burger {
    display: flex;
  }

  /* Mobile Log Section */
  .home-section {
    padding: 10% 0 10% 0;
  }

  .home-section-container {
    justify-content: normal;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    gap: 0;
  }

  .home-section-content {
    max-width: 100%;
    text-align: center;
  }

  .log-box h2 {
    font-size: 32px;
  }

  .home-section-content h1,
  .home-section-content p:last-of-type {
    margin-bottom: 53px;
  }

  .btn-sign {
    display: block;
    margin: auto !important;
    margin-bottom: 20px !important;
  }

  .btn-log.btn-home-page {
    display: block;
    margin: auto;
  }

  .forgot-pass {
    font-size: 16px;
  }

  /* Mobile about Section */
  .about-container {
    padding: 10% 0 10% 0;
  }

  .about-box-left {
    max-height: unset;
    padding: 10%;
  }

  .about h2 {
    margin-bottom: 40px;
  }

  .about p {
    margin-bottom: 30px;
  }

  #about > div > p:last-of-type {
    margin-bottom: 40;
  }

  /* Mobile why Section */
  .why {
    padding: 10% 0 10% 0;
  }

  .why h2 {
    margin-bottom: 53px;
  }

  /* Mobile faq Section */
  .faq {
    padding: 10% 0 10% 0;
  }

  .faq-box {
    padding: 0 1%;
  }

  .faq-container > h2 {
    margin-bottom: 53px;
  }

  .faq-box > h3 {
    font-family: "Montserrat_SemiBold";
    font-size: 28px;
    margin-top: 5%;
    text-decoration: underline;
  }

  .faq-question {
    font-size: 20px;
  }

  .faq-question img {
    height: 16px;
    margin-left: 4px;
  }

  /* Mobile Contact Section */
  .contact-section {
    padding: 0 0 10% 0;
  }

  .contact-image img {
    margin-bottom: 10%;
  }

  .form-container {
    flex-direction: column;
    align-items: center;
  }

  .form-info h2 {
    margin-bottom: 53px;
  }

  .form-info p {
    font-size: 26px;
  }

  /* Mobile Footer Section */

  footer {
    padding: 10% 0 10% 0;
  }

  .footer-left {
    width: 50%;
  }

  /* Legals Section */
  .legals-box h1 {
    font-size: 40px;
    margin-bottom: 30px;
  }

  /*Mobile Reg Page */
  .log-container {
    min-height: unset;
    padding: 0;
    flex-direction: column;
    background: unset;
  }

  .log-box-left,
  .log-box-right {
    width: 100%;
    padding: 100px 0;
    text-align: center;
  }

  .log-box-left{
    background-color: #ffffff;
  }

  .log-box-right{
    background-color: #f1efeb ;
  }

  #user_fname,
  #user_sname,
  #email,
  #passwordNew {
    width: 100%;
  }

  #registration_submit {
    font-size: 18px;
  }
}

@media (max-width: 517px) {
  /* Main styles Section */
  .container {
    max-width: 91%;
  }

  h2 {
    font-size: 43px;
  }

  .form-info h2 {
    margin-bottom: 13px;
  }

  .form-info p {
    font-size: 14px;
  }
}
