@font-face {
  font-family: 'Inter';
  src: url('https://8277878.fs1.hubspotusercontent-na1.net/hubfs/8277878/RSN%20-%20Inbound/Fonts/Inter-Light.otf');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('https://8277878.fs1.hubspotusercontent-na1.net/hubfs/8277878/RSN%20-%20Inbound/Fonts/Inter-Regular.otf');
  font-weight: 400;
  font-style: normal;
}
{#
@font-face {
    font-family: 'Inter';
    src: url('https://https://8277878.fs1.hubspotusercontent-na1.net/hubfs/8277878/RSN%20-%20Inbound/Fonts/Inter-Medium.otf');
    font-weight: 500;
    font-style: normal;
}
#}

@font-face {
  font-family: 'Inter';
  src: url('https://8277878.fs1.hubspotusercontent-na1.net/hubfs/8277878/RSN%20-%20Inbound/Fonts/Inter-Bold.otf');
  font-weight: bold;
  font-style: normal;
}


/* General styling for hero module */
#hero {
  position: relative;
  overflow: hidden;
}

.hero-background-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-background-image.active {
  opacity: 1;
  animation: fadeIn 1s ease forwards;
}

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

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

/* Carousel navigation arrows */

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  color: #4c4c4c;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 100000000;
  border: none;
  background: rgba(255, 255, 255, .5);
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  border-radius: 25px;
  height: 50px;
  width: 25px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  transition: all .3s;
}

.hero-carousel-arrow.left {
  left: 10px;
}

.hero-carousel-arrow.right {
  right: 10px;
}

.right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 36%;
  width: 11px;
  height: 11px;
  border-top: 1px solid #4c4c4c;
  border-right: 1px solid #4c4c4c;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 0px;
}

.left::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 65%;
  width: 11px;
  height: 11px;
  border-bottom: 1px solid #4c4c4c;
  border-left: 1px solid #4c4c4c;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 0px;
}

.hero-carousel-arrow:hover {
  background: #b4b4b4;
}

/* Carousel indicators styling */
.hero-carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.hero-carousel-indicator {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-carousel-indicator.active {
  background-color: #ffffff;
}

/* Carousel content: text and button */
.carousel-content {
  position: absolute;
  top: 50%; /* Centered vertically */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5; /* Ensure it's above the image */
  display: none; /* Hidden by default */
  width: 90%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap:8px;
  padding: 26px;
}

.carousel-content.active {
  display: flex; /* Show when active */
}

/* Text above the CTA */
.carousel-text {
  font-weight: 400;
  line-height: normal;
  color: #fff;
  font-size: 65px;
  text-align: left;
  font-family: "Inter";
}
.carousel-subtitle{
  font-weight: 400;
  color: #fff;
  text-align: left;
  font-family: "Inter";
  font-size: 26px;
  line-height: 26px;
  margin-bottom: 12px;
}

/* Call-to-action button styling */
.carousel-button {
  color: #ffffff;
}
.carousel-button:hover {
  color: #ffffff;
}
.cta-button {
  font-family: "Inter";
  text-transform: uppercase;
  display: inline-block;
  background-color: #38484e;
  color: #ffffff;
  padding: 13px 26px;
  font-size: clamp(0.8rem, 1vw,1rem);
  letter-spacing: 2px;
  border: none;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #2f3c41;
  transform: scale(1.02);
  color: #ffffff;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .carousel-text {
    font-size: 55px;
  }


}

@media (max-width: 480px) {
  .carousel-text {
    font-size: 34px;
  }
  .carousel-subtitle{
    font-size: 18px;
  }
}
