table td {
  font-size: inherit; /* Ensures it matches the default paragraph text */
  color: #666666 !important; /* Sets the font color to a dark grey while preserving table borders */
  line-height: 1.5; /* Matches paragraph line height */
  border-color: inherit; /* Ensures table and cell borders are not overridden */
}
.overlay-text-blue {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(25, 170, 255, 0.8); /* Blue background with 80% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-alt-blue {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(0, 144, 197, 0.8); /* Alternative blue background with 80% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-yellow {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(255, 199, 0, 0.8); /* Yellow background with 80% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-green {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(55, 79, 47, 0.8); /* Green background with 80% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-navy {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(0, 60, 105, 0.8); /* Navy background with 80% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-blue-2 {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(25, 170, 255); /* Blue background */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-alt-blue-2 {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(0, 144, 197); /* Alternative blue background with 80% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-yellow-2 {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(255, 199, 0); /* Yellow background */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-green-2 {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(55, 79, 47); /* Green background */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-navy-2 {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(0, 60, 105); /* Navy background */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-ielts-red {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: #D22B2B; /* Red background */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}
.overlay-text-black {
  display: inline-block; /* Ensures the box only wraps around the text */
  background: rgba(0, 0, 0, 0.5); /* black background with 50% opacity */
  color: #ffffff; /* White text for readability */
  padding: 10px 15px; /* Adjusts spacing around text */
  border-radius: 3px; /* Optional rounded corners */
  text-align: left; /* Ensures all text is centered */
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hover-card-border {
  border: 2px solid white;
  border-radius: 3px;
}

/* Buttons */
.cta-tertiary {
  width: 250px;
  text-align: center;
  margin: 0.5rem auto;
  box-sizing: border-box;
  font-weight: normal !important;
}
.c-cta-con {
  text-align: center;
}

.week-slider {
  margin: 2rem auto;
  max-width: 450px;
  text-align: left;
}

.week-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: normal;
  font-size: 1rem;
}

.week-slider input[type=range] {
  width: 100%;
}
.lesson-slider {
  margin: 2rem auto;
  max-width: 450px;
  text-align: left;
}

.lesson-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: normal;
  font-size: 1rem;
}

.lesson-slider input[type=range] {
  width: 100%;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  color: #555;
}

.slider-ticks span {
  flex: 1;
  text-align: center;
}

#lesson-custom {
  width: 100%;
  padding: 0.4rem;
  font-size: 1rem;
}

.cefr-slider {
  margin: 2rem auto;
  max-width: 450px;
  text-align: left;
}

.cefr-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: normal;
  font-size: 1rem;
}

.cefr-ticks {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  color: #555;
  padding: 0;
  width: 100%;
}

.cefr-ticks span {
  flex: 1;
  text-align: center;
}

.cefr-slider input[type=range] {
  width: 100%;
}

.instalment-slider {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 2rem auto;
  max-width: 500px;
  text-align: left;
}

.instalment-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: normal;
  font-size: 1rem;
  width: 100%;
}

.instalment-slider input[type=range] {
  width: 100%;
}

.slider-button-wrapper {
  width: 100%;
  text-align: right;
}

.custom-submit-button {
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: #19aaff;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.custom-submit-button h4 {
  margin: 0;
  font-weight: normal;
  font-size: 1.1rem;
  color: #ffffff; /* lock in text color */
}

.custom-submit-button:hover {
  transform: scale(1.02);
}

.custom-quote-button {
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: #ffc700;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

a.lang_switcher_link {
  position: relative;
}

.hhs-lang-switch .lang_list_class li a {
  padding-left: 33px!important;
}

.hhs-lang-switch .lang_list_class:after {
  left: 103px!important;
}

.hhs-lang-switch .lang_list_class li a:before {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  left: 3px;
  top: 7px;
  background-size: 20px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hhs-lang-switch .lang_list_class li a {
    font-size: 14px!important;
    font-weight: 400!important;
}

.sticky-menu .lang_switcher_class::after {
    color: #444444!important;
}

.lang_list_class a[data-language="en"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/United%20Kingdom%20%28GB%29.png') !important;
}

.lang_list_class a[data-language="de"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/Germanyarab.png') !important;
}

.lang_list_class a[data-language="es"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/Spain.png') !important;
}

.lang_list_class a[data-language="fr"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/France.png') !important;
}

.lang_list_class a[data-language="pt"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/Portugal%20%28PT%29.png') !important;
}

.lang_list_class a[data-language="ar"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/Saudi%20Arabia.png') !important;
}

.lang_list_class a[data-language="ja"]:before {
  background: url('https://145347428.fs1.hubspotusercontent-eu1.net/hubfs/145347428/Flags/JAPAN.svg') !important; 
}
html[lang="en"] .lang_switcher_class::after {
  content: 'LANGUAGE';
}

html[lang="de"] .lang_switcher_class::after {
  content: 'Sprache';
}

html[lang="es"] .lang_switcher_class::after {
  content: 'Idioma';
}

html[lang="fr"] .lang_switcher_class::after {
  content: 'Langue';
}

html[lang="pt"] .lang_switcher_class::after {
  content: 'Idioma';
}

html[lang="ar"] .lang_switcher_class::after {
  content: 'اللغة';
}

html[lang="ja"] .lang_switcher_class::after {
  content: '言語';
}
.lang_switcher_class::after {
  color: #FFFFFF;
  font-size: 18px;
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
  font-weight: 400;
}
@media (min-width: 762px){
  .hhs-lang-switch .lang_list_class {
    left: 65px !important;
  }
}
.hhs-lang-switch .lang_list_class:after {
  border: 0   !important;
}
.custom-quote-button h4 {
  margin: 0;
  font-weight: normal;
  font-size: 1.1rem;
  color: #ffffff;
}

.custom-quote-button:hover {
  transform: scale(1.02);
}

.custom-greyscale-button {
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: #cccccc;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.custom-greyscale-button h4 {
  margin: 0;
  font-weight: normal;
  font-size: 1.1rem;
  color: #ffffff;
}

.custom-greyscale-button:hover {
  transform: scale(1.02);
}

.ambition-button {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 10px 20px;
  border: 2px solid #444444;
  border-radius: 10px;
  background-color: transparent;
  color: #444444;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ambition-button:hover,
.ambition-button:focus {
  background-color: rgba(199, 207, 214, 0.5);

}

@media (max-width: 768px) {
  .ambition-button {
    width: 95%;
  }

  .custom-slider-submit {
    display: inline-block;
    background: transparent;
    border: 2px solid #444444;
    color: #444444;
    padding: 5px 15px;
    border-radius: 10px;
    font-weight: normal;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 0.75rem;
    float: right !important;
    transition: transform 0.2s ease;
  }

  .custom-slider-submit p {
    margin: 0;
    color: #444444;
    font-weight: normal;
    font-size: 1rem;
  }

  .custom-slider-submit:hover,
  .custom-slider-submit:focus {
    background-color: rgba(238, 238, 238, 0.5);
  }

  .equal-height-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }


  .elc-fullscreen-bg,
  .elc-fullscreen-bg .widget-type-rich_text,
  .elc-fullscreen-bg .dnd-section,
  .elc-fullscreen-bg .dnd-row {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  @media (max-width: 768px) {
    .elc-fullscreen-bg,
    .elc-fullscreen-bg .widget-type-rich_text,
    .elc-fullscreen-bg .dnd-section,
    .elc-fullscreen-bg .dnd-row {
      height: 100vh !important;
      min-height: 100vh !important;
      padding: 0 !important;
      margin: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
    }
  }

  .my-masonry img {
    border-radius: 3px;
  }

  @media (max-width: 768px) {
    .my-masonry {
      margin-left: -25px !important;
      margin-right: -25px !important;
      width: calc(100% + 50px) !important;
    }

    .my-masonry img {
      width: 100%;
      height: auto;
    }
  }


  .hide-on-mobile {
    display: block;
  }

  @media (max-width: 767px) {
    .hide-on-mobile {
      display: none !important;
    }
  }

  .custom-accordion {
    border-top: 1px solid #ccc;
    margin-bottom: 16px;
  }

  .custom-accordion .accordion-button {
    width: 100%;
    background-color: #003C69;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 4px;
  }

  .custom-accordion .accordion-button i {
    margin-left: 10px;
    color: white;
  }

  .custom-accordion .accordion-panel {
    display: none;
    padding: 12px 0 0 0;
  }

  .custom-accordion .accordion-panel a {
    display: block;
    font-weight: bold;
    color: #003C69;
    text-decoration: none;
    margin-bottom: 2px;
  }

  .custom-accordion .accordion-panel p {
    font-size: 12px;
    color: #333;
    margin: 0 0 12px 0;
  }

  .hhs-side-menu__mobile {
    padding: 0px !important;
    display: none !important;
  }


  .hhs-side-menu {
    max-height: 90vh!important;
  }

  .hhs-side-menu__ctas {
    padding: 1.88em 2em 0em;
    display: none!important;
  }