
/* Background Colours*/

.dark_background {
  background-color: #2b2b2b;
}

.black_background {
  background-color: #080808;
}

.transparent_background {
  background-color: #ffffff1f;
}

.light_background {
  background-color: #ffffff;
}

.pink_background {
  background-color: #ff345f;
}

.blue_background {
  background-color: #0496FF;
}

.off_white_background {
  background-color: #e2dffd;
}

.off_white_text {
  color: #e2dffd;
}

.semi_transparent_background {
  background-color: rgb(255, 255, 255, 0.15);
}

.gradient_background_diag {
  background-image: linear-gradient(45deg, rgb(12, 12, 12), #2b2b2b);
}

.gradient_background_diag_other_way {
  background-image: linear-gradient(-45deg, #0a0a0aff, #2b2b2b);
}

.gradient_background_vert{
  background-image: linear-gradient(#2b2b2b, #2b2b2b, rgb(26, 26, 26));
}

/* dividing line */
.divider {
  height: 5px;
  width: 100%;
  background: linear-gradient(
    270deg,
    #ff0000, #ff7f00, #ffff00, #00ff00, 
    #0000ff, #4b0082, #8f00ff, #ff0000, 
    #ff7f00, #ffff00, #00ff00, #0000ff
  );
  background-size: 300% 300%; 
  animation: rainbow-slide 15s linear infinite;
}

@keyframes rainbow-slide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==== Centering ==== */

.center_absolute {
  left: 50%;
  transform: translateX(50%);
}


/* ==== Buttons ==== */

.static_button {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  text-align: center;
}

.growing_button {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  text-align: center;
  transition: transform 0.2s ease;
}

.white_border_button {
  color: #ffffff;
  border: 1px solid #ffffff;
  display: inline-block;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
.white_border_button:hover {
  border: 1px solid #ff345f;
  color: #ffffff;
  transform: scale(1.05);
}
@media (max-width:800px) {
  .white_border_button {
      font-size: 14px;
  }
}

.growing_button:hover {
  transform: scale(1.05);
}


/* ==== z-index ====  */
.z_1 {
  z-index: 1;
}

.z_2 {
  z-index: 2;
}


.z_999 {
  z-index: 999;
}

.z_1000 {
  z-index: 1000 !important;
}

/* ==== Width ==== */

.width_55vw {
  width: 55vw;
}

.width_60vw {
  width: 60vw;
}

.width_300 {
  width:300px;
}

.min_width_300 {
  min-width:300px;
}

.min_width_350 {
  min-width:350px;
}

.width_350 {
  width:350px;
}

.width_400 {
  width:400px;
}

.max_width_350 {
  max-width: 350px;
}

.max_width_400 {
  max-width: 400px;
}

.max_width_450 {
  max-width: 450px;
}

.max_width_500 {
  max-width: 500px;
}

.max_width_750 {
  max-width: 750px;
}

.max_width_900 {
  max-width: 900px;
}

.max_width_1200 {
  max-width: 1200px;
}

/* ==== Height ==== */

.min_height_600 {
  min-height: 500px;
}
.min_height_300 {
  min-height: 300px;
}

.height_200 {
  height: 200px;
}

.height_101pc {
  height: 101%;
}


/* ==== Text ==== */

.center_text {
  text-align: center;
}

.bordered_images_text {
  font-size:1.2rem;
  max-width:300px;
  margin: 0 auto; 
}

@media (max-width: 426px) {
  .centre_text_on_mobile{
    text-align: center !important;
  }
}

.large_card_heading {
  font-size: 2rem;
}

@media (max-width: 610px) {
  .large_card_heading {
    font-size: 1.4rem !important;
  }
}
@media (max-width: 745px) {
  .large_card_heading {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 426px) {
  .large_card_heading {
    font-size: 1.2rem !important;
  }
}

.section_title_text {
  font-size: 3rem;
}
@media (max-width: 768px) {
  .section_title_text {
    font-size: 2.5rem !important;
  }
  .bordered_images_text {
    font-size:1rem;
  }
}
@media (max-width: 425px) {
  .section_title_text {
    font-size: 1.5rem !important;
  }
}

.small_description_text {
  font-size: 0.9rem;
}
@media (max-width: 425px) {
  .small_description_text {
    font-size: 0.8rem !important;
  }
}




/* ==== borders ==== */

.white_border_6 {
  border: 6px solid #ffffff;
}

.white_border_1 {
  border: 1px solid #ffffff;
}

.pink_border_1 {
  border: 1px solid #ff345f;
}

.pink_border_3 {
  border: 3px solid #ff345f;
}

.border_radius_10 {
  border-radius: 10px;
}

.border_radius_15 {
  border-radius: 15px;
}

.border_radius_20 {
  border-radius: 20px;
}

.white_border_bottom_1 {
  border-bottom: 1px solid #ffffff;
}

.pink_border_bottom_1 {
  border-bottom: 1px solid #ff346094;
}

/* less rounded on smaller screens */
@media (max-width:700px) {
  .border_radius_15 {
    border-radius: 8px !important;
  }
  .border_radius_20 {
    border-radius: 10px !important;
  }
}

.border_radius_clamped {
  border-radius: clamp(20px, 2vw, 50px)
}

.border_radius_clamped_inner {
  border-radius: clamp(15px, 1.8vw, 45px)
}

/* ==== Title ==== */

.page_title_text_5 {
  font-size: 5rem; 
}
.page_title_text_6 {
  font-size: 6rem; 
}
.page_title_text_8 {
  font-size: 8rem; 
  line-height: 0.9; 
}
@media (max-width: 1200px) {
  .page_title_text_6 {
    font-size: 5rem !important;
  }
}
@media (max-width: 1005px) {
  .page_title_text_6 {
    font-size: 4rem !important;
  }
}
@media (max-width: 926px) {
  .page_title_text_6 {
    font-size: 3.5rem !important;
  }
}
@media (max-width: 875px) {
  .page_title_text_6 {
    font-size: 3rem !important;
  }

}
@media (max-width: 650px) {
  .page_title_text_6 {
    font-size: 2.5rem !important;
  }
  .white_border_6 {
    border: 4px solid #ffffff;
  }
}
@media (max-width: 550px) {
  .page_title_text_6 {
    font-size: 2rem !important;
  }
}
/* ==== Flex ==== */

.flex_row {
  display: flex;
  flex-direction: row;
}

.flex_end {
  align-items: flex-end;
}

.inline_block {
  display: inline-block;
}

.flex_row_footer {
  display: flex;
  justify-content: center;
}

.flex_row_footer > div {
  flex: 1 1 20%;
  max-width: 350px;
}

@media (max-width: 768px) {
  .flex_row_footer {
    flex-wrap: wrap;  
  }
  .flex_row_footer > div {
    flex: 1 1 33.33%;
    max-width: 33.33%;
  }
}

@media (max-width: 800px) {
  .flex_wrap_at_800 {
    flex-wrap: wrap;
  }
}

/* ==== Useful header things ===== */

.main_video_aspect_ratio {
  width: 100vw; 
  height: 40vw;
}

.main_image_aspect_ratio {
  width: 100vw; 
  height: 35vw;
}

.quote_aspect_ratio {
  width: 100vw; 
  height: 30vw;
}

.cover_video {
  width: 100vw; 
  height: 40.1vw;
}

.transparent_gradient_filter {
  position: absolute;
  top: 0;
  background: linear-gradient(
    #3b3b3b0e,
    #3b3b3b10,
    #3b3b3b69,
    #2b2b2b
  );
  z-index: 5;
}

.dark_overlay {
  top: 0; 
  left: 0; 
  background: rgba(0,0,0,0.5); 
}

.dark_overlay_2 {
  top: 0; 
  left: 0; 
  background: rgba(0,0,0,0.2); 
}

/* Transforms */

.transform_y_minus_half {
  transform: translateY(-65%) !important;
}

.transform_y_down_a_bit {
  transform: translateY(10%) !important;
}

.transform_y_up_6 {
  transform: translateY(-6%) !important;
}

.transform_y_up_a_bit {
  transform: translateY(-8%) !important;
}

.transform_y_up_10 {
  transform: translateY(-10%) !important;
}

.transform_centre {
  left: 50%;
  transform: translate(-50%, -65%);
  z-index: 999;
}

.title_boxes_transform {
  transform: translate(-50%, -55%);
  left: 50%;
  margin-bottom: -150px;
}
@media (max-width: 1350px) {
  .title_boxes_transform {
    transform: translate(-50%, 0%) !important;
    margin-bottom: 0 !important;
  }
}

.no_obligation_transform {
    transform: translateY(60%) !important;
}
@media (max-width: 768px) {
  .no_obligation_transform {
    transform: translateY(0) !important;
  }
}

/* ==== Background image stuff ==== */

.cover_no_repeat {
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center; 
}

/* ==== Containers ==== */

.margin_0_auto {
  margin: 0 auto;
}

.images_container {
  display:flex; 
  flex-direction: row;
  justify-content: center; 
  margin: auto;
}


@media (max-width:768px){
  .column_below_768 {
    flex-direction: column !important;
  }
}

.absolute_relative_below_780 {
  position: absolute;
}
@media (max-width:768px){
  .absolute_relative_below_780 {
    position: relative !important;
  }
}


.title_box_container {
  display:flex; 
  flex-direction: row;
  justify-content: center; 
  margin: auto;
}

@media (max-width: 767px) {
  .full_width_below_767 {
    max-width: 100% !important;
  }
  @media (max-width: 1024px) {
  .full_width_below_1024 {
    max-width: 100% !important;
    min-width: 50% !important;
  }
}
  .title_box_container {
    flex-direction: column !important;
  }
}

.container_image {
  width: 95%;
  max-width: 350px;
}

.grow_on_hover:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}


/* Testimonial card rainbow */
.testimonial_card {
  position: relative;
  overflow: visible;
  width: 95%;
  max-width: 950px;
}
.testimonial_card .has-glow {
  width: 100%;
  height: 100%;
  position: relative;
}
.testimonial_card_wrapper {
  width: 100%;
  transition: all 0.3s ease;
  z-index: 100;
  background-color: #ffffff;
  flex-direction :row;
}
@media (max-width: 750px) {
  .testimonial_card_wrapper {
    flex-direction : column;
  }
}
.testimonial_card_wrapper.content {
  border-radius: 20px;
}
.testimonial_card_wrapper.content:hover {
  box-shadow: 0 0 5px #ffffffd5, 0 0 3px #ffffffde, 0 0 20px #ffffff8e;
}
.testimonial_card_wrapper.content:hover ~ .glow,
.testimonial_card .has-glow:hover .glow {
  transform: scale(1.0175);
  transition: transform 0.2s ease;
}
.testimonial_card .glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 0;
}
.testimonial_card .has-glow:hover .glow {
  opacity: 1;
}
.testimonial_card_wrapper.content:hover img {
  filter: brightness(1.1) saturate(1.1);
}
.testimonial_logo {
  object-fit: contain; 
  max-width: 200px; 
  max-height: 150px;
}

/* Highlight cards rainbow */
.highlight_image {
  width: 100%;
  margin: 0;
  padding: 0;
}
.highlight_image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0;
  border-radius: 10px 10px 0 0;
}
.highlights_container {
  display:flex;
  gap:40px;
  margin: auto;
  width:80%;
  padding:20px;
  justify-content:center;
}
.highlight_container {
  flex: 1 1 calc(33.333% - 40px);
  min-width:350px !important;
  max-width:350px !important;
  box-sizing: border-box; 
  display: flex;
  flex-direction: column;        
  align-items: center; 
  justify-content: flex-start; 
  border-radius: 25px;
  transition: all 0.3s ease;
  padding-bottom: 5px;
  overflow: visible;
  position: relative;
}
.highlight_container .has-glow {
  width: 100%;
  height: 100%;
  border-radius: 25px;
}
.highlight_container_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.08);
}
.highlight_container_wrapper.content {
  border-radius: 25px;
  z-index: 100;
}
.highlight_container_wrapper.content:hover {
  box-shadow: 0 0 5px #ffffffd5, 0 0 3px #ffffffde, 0 0 20px #ffffff8e; 
}
.highlight_container_wrapper.content:hover ~ .glow,
.highlight_container .has-glow:hover .glow {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}
.highlight_container .glow {
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.highlight_container .has-glow:hover .glow {
  opacity: 1;
}
.highlight_container_wrapper.content:hover img {
  filter: brightness(1.1) saturate(1.1);
}
.highlight_text_container {
  flex: 1; 
  max-width: 550px; 
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  background: #2b2b2b;
}
.highlight_title {
  font-size:1.5rem;
  font-weight:bold;
  margin:0 10px 10px 0
}
@media (max-width:1150px){
  .highlights_container {
    flex-wrap: wrap !important;
  }
}

.container_card {
  border: 1px solid white;
  background-color: rgb(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  width: 95%;
  max-width: 350px;
  transition: all 0.2s ease;
}
.container_card > p {
  line-height: 1.2;
}
.container_card:hover {
  border: 1px solid #FF345F;
  box-shadow: 0px 2px 12px 0px #FF345F, 0px 4px 20px 0px rgba(255, 52, 95, 0.5);
  transform: scale(1.025);
}

.force_centre {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}


/* === Images === */

.card_small_image {
  max-height: 50px; 
  max-width: 80px;
  opacity: 90%;
}

.card_gd_image {
  max-width: 300px;
}

.crm_image {
  max-width: 100px;
}

@media only screen and (min-width: 1001px) {
  .width_55vw_above_1000 {
    width: 55vw !important;
  }
}

.contain {
  object-fit: contain;
}

.flex_gap_0_5 {
  gap: 0.5rem;
}
.flex_gap_1 {
  gap: 1rem;
}
.flex_gap_3 {
  gap: 3rem;
}
.flex_gap_5 {
  gap: 5rem;
}

.scroll_box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1300px) {
  .scroll_box {
    max-height:120px !important;
  }
}

.scroll_item {
  width: 20vw;
  min-width: 150px;
  max-width: 300px;
  max-height:220px;
  border: 5px solid #ffffff;
  border-radius: 20px;
  background-color: #ffffff;
  margin-right: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.crm_image {
  max-height:60px;
  margin:20px;
}
@media (max-width: 650px) {
  .crm_image {
    max-height:30px !important;
    margin:10px !important;
  }
}

/* === Video Popup === */

.video_popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.video_popup_container {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.close_button {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.904);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video_popup_iframe {
  width: 90%;
  height: 80%;
  border: none;
  left: 50%;
  top: 50%;
  position: relative;
  transform: translate(-50%, -50%);
  border-radius: 20px;    
}

@media (max-width:425px) {
  .video_popup_container {
    width: 95% !important;
    height: 60% !important;
  }
}

.bordered_images_text {
  font-size:1.2rem;
  max-width:300px;
  margin: 0 auto; 
}
@media (max-width:1024px) {
  .bordered_images_text {
    font-size:0.8rem !important;
  }
}

/* Number counters */

/* This is stuff for the counters */
.numbers_container {
  grid-column: 1 / 4; 
  display: flex; 
  justify-content: center; 
  /* gap: 60px;  */
  padding-bottom: 40px;
}

 .figure_text {
    font-size: 4.5rem;
    margin: 0;
    padding-bottom: 0;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-variant-numeric: tabular-nums;
}

.figure_text.visible {
  opacity: 1;
}

.figure_description {
  font-size: 1rem;
}
.figure_description.sparkle::after {
  content: '';
  position: absolute;
  top:0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: sparkle-sweep 1s ease forwards;
}

@keyframes sparkle-sweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 2px 2px #FAF9F6;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 8px 2px #FAF9F6;
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 2px 2px #FAF9F6;
    transform: scale(1);
  }
}

/* Laptop */
@media (max-width: 1024px) {
  .figure_description {
    font-size: 0.9rem;
  }
  .figure_text {
    font-size: 3rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .figure_text {
    font-size: 2rem;
  }
  .figure_description {
    font-size: 0.8rem;
  }
}

/* Mobile optimisation */
@media (max-width: 375px) {
  .numbers_container {
    flex-direction: column !important;
    /* gap: 20px !important; */
    align-items: center !important;
  }
}

/* Image modal - overlay for enlarged scroller images */
.image_modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}
.image_modal.show {
  display: flex;
  animation: show_overlay 0.3s ease;
}
.image_modal img {
  max-width: 75%;
  max-height: 75%;
  border-radius: 20px;
}
.close_button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #ff0000;
  cursor: pointer;
  margin: 20px;
  width: 30px;
  height: 30px;
  text-align: center;
}

@keyframes show_overlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Trial overlay */
#check_eligibility:hover {
  background-color: #ff4069f5;
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px #ff2e5ba2
}
#close_trial_popup {
  background-color: transparent;
  color: white;
  border: none;
}
#close_trial_popup:hover {
  background-color: transparent;
  color: #ff345f;
  border: none;
}
#no_obligation_overlay {
  background-color: rgba(41, 41, 41, 0.73); 
  backdrop-filter: blur(10px); 
}
#no_obligation_overlay .closeable_overlay {
  background-image: linear-gradient(45deg, rgb(12, 12, 12), #2b2b2b);
}

.animate-fade-in {
  animation: fade-in 1s forwards;
}

.animate-fade-in-long {
  animation: fade-in 2s forwards;
}

.animate-fade-in-xlong {
  animation: fade-in 3.5s forwards;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-out {
  animation: fade-out 1s forwards;
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Custom delays */
.animation-delay-250 { animation-delay: 0.25s; }
.animation-delay-500 { animation-delay: 0.5s; }
.animation-delay-1000 { animation-delay: 1s; }
.animation-delay-1500 { animation-delay: 1.5s; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-2500 { animation-delay: 2.5s; }
.animation-delay-3000 { animation-delay: 3s; }

.opacity_0 {
  opacity: 0;
}

/* Rainbow */
 .has-glow {
    display: inline-flex;
    position: relative;
    isolation: isolate;
    width: min-content;
    margin: 0 auto;
  }
  .glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
  }
  .glow-bg {
    --color: oklch(0.85 0.37 145.75);
    animation: spin 3s linear infinite;
    aspect-ratio: 1;
    background: conic-gradient(in oklch longer hue, var(--color), var(--color));
    left: 50%;
    position: absolute;
    top: 50%;
    translate: -50% -50%;
    width: 200%;
  }
  @keyframes spin {
    to {
      rotate: 1turn;
    }
  }