.rf-home-template {
  background: #ffffff;
}

.rf-section {
  padding: 110px 0;
}

.rf-hero.rf-section {
  padding: 0;
}

.rf-container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

.rf-hero-buttons a {
  text-decoration: none;
  display: inline-block;
}

.rf-slide img,
.rf-img-main,
.rf-img-small,
.rf-service-slide img {
  display: block;
  max-width: 100%;
}

.rf-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.rf-hero-slider {
  position: absolute;
  inset: 0;
}

.rf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.rf-slide.rf-active {
  opacity: 1;
}

.rf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(34, 40, 49, 0.88), rgba(34, 40, 49, 0.45));
}

.rf-hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.rf-hero-tag {
  width: max-content;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.rf-hero h1 {
  font-size: 5rem;
  line-height: 1.05;
  margin-bottom: 26px;
  max-width: 800px;
  color: #ffffff;
}

.rf-hero p {
  max-width: 650px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
}

.rf-hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.rf-btn-primary,
.rf-btn-secondary {
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s;
}

.rf-btn-primary {
  background: #00adb5;
  color: #ffffff;
}

.rf-btn-primary:hover,
.rf-btn-primary:focus {
  transform: translateY(-3px);
  color: #ffffff;
}

.rf-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.rf-btn-secondary:hover,
.rf-btn-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rf-section-tag {
  color: #00adb5;
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.rf-section-heading {
  text-align: center;
  margin-bottom: 70px;
}

.rf-section-heading h2 {
  font-size: 3rem;
  margin: 16px 0;
  color: #222831;
}

.rf-section-heading p {
  max-width: 760px;
  margin: auto;
  color: #59646b;
}

.rf-about-left h2 {
  font-size: 3rem;
  margin: 18px 0 24px;
  color: #222831;
}

.rf-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rf-about-left p {
  margin-bottom: 18px;
  color: #59646b;
}

.rf-image-stack {
  position: relative;
}

.rf-img-main {
  border-radius: 30px;
  height: 560px;
  object-fit: cover;
  width: 100%;
}

.rf-img-small {
  position: absolute;
  width: 260px;
  right: -40px;
  bottom: -40px;
  border-radius: 24px;
  border: 8px solid #ffffff;
}

.rf-services {
  background: #dfe5e6;
}

.rf-service-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.rf-service-track::-webkit-scrollbar {
  display: none;
}

.rf-service-slide {
  min-width: 380px;
  scroll-snap-align: start;
}

.rf-service-slide img {
  height: 460px;
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.rf-service-content {
  padding-top: 24px;
}

.rf-service-content span {
  color: #00adb5;
  font-weight: 700;
}

.rf-service-content h3 {
  font-size: 1.8rem;
  margin: 10px 0 14px;
  color: #222831;
}

.rf-service-content p {
  color: #556067;
}

.rf-why {
  background: #222831;
  color: #ffffff;
}

.rf-why .rf-section-heading h2 {
  color: #ffffff;
}

.rf-why-intro {
  color: rgba(255, 255, 255, 0.7);
}

.rf-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.rf-why-item h3 {
  color: #00adb5;
  margin-bottom: 14px;
}

.rf-why-item p {
  color: rgba(255, 255, 255, 0.75);
}

.rf-testimonial-section {
  background: #eeeeee;
}

.rf-testimonial-wrapper {
  position: relative;
  max-width: 950px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.rf-testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 260px;
}

.rf-testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: all 0.6s ease;
  text-align: center;
  padding: 0 30px;
}

.rf-testimonial.rf-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.rf-testimonial p {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #222831;
}

.rf-testimonial h4 {
  color: #00adb5;
  font-weight: 600;
}

.rf-testimonial-arrow {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #222831;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.rf-testimonial-arrow:hover,
.rf-testimonial-arrow:focus {
  background: #00adb5;
  color: #ffffff;
}

.rf-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.rf-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b6c1c5;
  cursor: pointer;
  transition: 0.3s;
}

.rf-dot.rf-active {
  width: 34px;
  border-radius: 20px;
  background: #00adb5;
}

.rf-cta-box {
  background: linear-gradient(135deg, #222831, #393e46);
  border-radius: 40px;
  padding: 80px;
  color: #ffffff;
}

.rf-cta-content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.rf-cta-box h2 {
  font-size: 3rem;
  margin-top: 14px;
  color: #ffffff;
}

.rf-cta-box p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
}

.rf-contact-form {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rf-contact-form input,
.rf-contact-form textarea {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  outline: none;
}

.rf-contact-form textarea {
  grid-column: span 2;
  min-height: 150px;
  resize: none;
}

.rf-contact-form button {
  width: max-content;
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  background: #00adb5;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.rf-contact-form button:hover,
.rf-contact-form button:focus {
  background: #01939a;
}

@media (max-width: 991px) {
  .rf-hero h1 {
    font-size: 3.3rem;
  }

  .rf-about-grid,
  .rf-why-grid,
  .rf-contact-form {
    grid-template-columns: 1fr;
  }

  .rf-cta-box {
    padding: 50px 30px;
  }

  .rf-img-small {
    display: none;
  }

  .rf-contact-form textarea {
    grid-column: span 1;
  }

  .rf-testimonial p {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .rf-hero h1 {
    font-size: 2.5rem;
  }

  .rf-section-heading h2,
  .rf-about-left h2,
  .rf-cta-box h2 {
    font-size: 2rem;
  }

  .rf-testimonial-wrapper {
    gap: 10px;
  }

  .rf-testimonial {
    padding: 0 10px;
  }

  .rf-testimonial p {
    font-size: 1.1rem;
  }

  .rf-testimonial-arrow {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}
