/*
* Center Images with absolute positioning
*/
body {
  font-family: Arial, sans-serif;
}

.bir-cta-block .cta-block-link {
  display: block;
  transition: filter 0.3s, transform 0.3s;
  transform: translateY(0) translateZ(0) scale(1, 1);
  backface-visibility: hidden;
}
.bir-cta-block .cta-block-link:hover {
  filter: drop-shadow(0px 16px 24px rgba(21, 47, 78, 0.16));
  transform: translateY(-3px) translateZ(0) scale(1, 1);
}
.bir-cta-block .cta-block-link:hover .cta-block-title {
  text-decoration: underline;
}
.bir-cta-block .cta-block-image {
  position: relative;
  aspect-ratio: 6/4;
}
.bir-cta-block .cta-block-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bir-cta-block .cta-block-content {
  padding: 25px;
  background: #152f4e;
  height: 6rem;
}
.bir-cta-block .cta-block-title {
  font-size: clamp(1.5rem, 2vw, 1.6rem);
  color: #fff;
  font-weight: 400;
}

.w-slider.our-actions {
  filter: drop-shadow(0px 16px 24px rgba(21, 47, 78, 0.16));
}
.w-slider.our-actions .royalSlider .rsArrow {
  background: rgba(21, 47, 78, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.w-slider.our-actions .rsContent,
.w-slider.our-actions .rsOverflow,
.w-slider.our-actions .royalSlider {
  height: clamp(400px, 50vw, 500px) !important;
}
.w-slider.our-actions img.rsImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
}
.w-slider.our-actions .w-slider-item-title {
  display: none;
}
.w-slider.our-actions .w-slider-item-description {
  padding: 0;
  margin: 0;
  color: #1a1a1a;
  opacity: 1;
  line-height: 1.4;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.4rem);
}
.w-slider.our-actions .rsABlock {
  background: #fff;
  padding: 30px;
}

.h4-cta-links h4 {
  margin-bottom: 1rem;
}
.h4-cta-links h4 a {
  position: relative;
  background: #fff;
  display: inline-block;
  color: #152f4e;
  font-size: 18px;
  padding: 20px;
  padding-left: 35px;
  filter: drop-shadow(0px 16px 24px rgba(21, 47, 78, 0.16));
  transition: all 0.3s;
  transform: translateY(0) translateZ(0) scale(1, 1);
  border-bottom: 2px solid transparent;
}
.h4-cta-links h4 a:hover {
  color: #152f4e;
  border-bottom: 2px solid #007eb3 !important;
  transform: translateY(-3px) translateZ(0) scale(1, 1);
}
.h4-cta-links h4 a:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent !important;
  border-bottom: 5px solid transparent !important;
  border-left: 5px solid #152f4e !important;
  transform: translateY(-50%);
  border-radius: 10px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, sans-serif !important;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .bir-cta-block .cta-block-link,
  .bir-cta-block .cta-block-image img {
      transform: scale(0.9);
  }
  .bir-cta-block .cta-block-content,
  .w-slider.our-actions .rsABlock {
      padding: 15px; /* Reduced padding on mobile for better space utilization */
  }
  .h4-cta-links h4 a {
      font-size: 16px; /* Smaller font size for mobile devices */
      padding: 10px;
  }
}

/* Existing styles for desktop */
#HeroSliderHeading {
  font-family: 'arial', serif;
  font-size: 60px;
  line-height: 102px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  z-index: 9;
}

/* Add responsive styles for mobile devices */
@media (max-width: 768px) {
  #rev_slider_2_1_wrapper {
    max-width: 100%; /* Full width on mobile */
  }
  
  #HeroSliderHeading {
    font-size: 30px; /* Smaller font size for mobile */
    line-height: 36px; /* Adjust line height for mobile */
    left: 10%; /* Adjust left position for better spacing */
    text-align: left; /* Align text to the left on mobile */
  }
  
  /* Adjust the video size if necessary */
  #rev_slider_2_1_wrapper video {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
  }
  
  /* Optional: Adjust the video-overlay size if you have such an element */
  .video-overlay {
    padding-left: 10%; /* Increase padding for mobile */
  }
}

/* Add more responsive styles if needed for different mobile devices */
@media (max-width: 480px) {
  #HeroSliderHeading {
    font-size: 24px; /* Even smaller font size for very small screens */
    line-height: 28px; /* Adjust line height for smaller screens */
    left: 5%; /* Adjust left position for better spacing */
  }
  
  /* Adjust the video-overlay padding for very small screens if needed */
  .video-overlay {
    padding-left: 5%;
  }
}
