
/* Background Colours*/

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

.transparent_background {
  background-color: #ffffff1f;
}

.light_background {
  background-color: #ffffff;
}

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

.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, rgb(26, 26, 26));
}

/* dividing line */
.divider {
  background: #0496FF;
  height:5px;
}

/* ==== 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;
}

.growing_button:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}


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

.z_999 {
  z-index: 999;
}

/* ==== 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;
}

.max_width_400 {
  max-width: 400px;
}

.max_width_900 {
  max-width: 900px;
}

.max_width_1200 {
  max-width: 1200px;
}

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

.min_height_300 {
  min-height: 300px;
}

.height_200 {
  height: 200px;
}

.height_101pc {
  height: 101%;
}


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

.center_text {
  text-align: center;
}

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

.large_card_heading {
  font-size: 2rem;
}
@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;
  }
}
@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;
  }
}

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


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

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

.border_radius_15 {
  border-radius: 15px;
}

.border_radius_20 {
  border-radius: 20px;
}

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

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

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

.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: 950px) {
  .page_title_text_6 {
    font-size: 4.5rem !important;
  }
}
@media (max-width: 875px) {
  .page_title_text_6 {
    font-size: 4rem !important;
  }
}
@media (max-width: 768px) {
  .page_title_text_6 {
    font-size: 3.5rem !important;
  }
}
@media (max-width: 650px) {
  .page_title_text_6 {
    font-size: 3rem !important;
  }
}
@media (max-width: 550px) {
  .page_title_text_6 {
    font-size: 2.5rem !important;
  }
}
@media (max-width: 455px) {
  .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;
}

/* ==== 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); 
}

/* Transforms */

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

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

.transform_y_up_a_bit {
  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;
  }
}

/* ==== 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;
  }
  .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;
}

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

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


/* === Images === */

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

.card_gd_image {
  max-width: 200px;
}

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

.contain {
  object-fit: contain;
}

.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;
  }
}

/* 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;
}

.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: 525px) {
  .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; }
}