.rx-team-img{
        width: 258.667px;
    }
    .topper-card{
        margin-left: 4rem;
    }

/* Navbar layout */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  max-width: 100%;
}

/* Buttons container */
.nav-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Make the layout responsive */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-buttons {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .pushable .front {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}


/* Section base styles */
.section-hero {
  position: relative;
  overflow: hidden;
  height: 640px; }

/* Wrapper to position image + content */
.hero-wrapper {
  position: relative;
  height: 100%;
}

/* Animate the image left to right */
.animated-image {
  position: absolute;
  top: 0;
  right: -100%;
  height: 100%;
  width: 100%;
  animation: scroll-right 40s linear infinite;
  z-index: 1;
}

/* Image styling */
.hero-img {
  width: 200%; 
  height: 100%;
  object-fit: cover;
}

/* Overlay text container */
.rx-hero-contact {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); 
  padding: 1rem;
  color: white;
}

/* Animated image keyframes */
@keyframes scroll-right {
  0% {
    left: -100%;
  }
  100% {
    left: 0%;
  }
}

/* Optional: responsiveness */
@media (max-width: 768px) {
  .section-hero {
    height: 400px;
  }
  .hero-img {
    width: 350%; 
  }
}

/* Buttons fixed over hero */
.nav-buttons-on-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
  text-align: center;
}

/* Logo */
.hero-logo {
  max-width: 150px;
  height: auto;
  transition: all 0.3s ease;
}

/* Buttons */
.pushable {
  width: auto;
  height: 50px;
  padding: 0;
}

.pushable .front {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-buttons-on-hero {
    top: auto;
    bottom: 120px;
    transform: translateX(-50%);
    gap: 12px;
  }

  .hero-logo {
    max-width: 120px;
  }

  .pushable {
    width: auto;
    height: 44px;
  }

  .pushable .front {
    font-size: 0.9rem;
  }
}