/* ===== HERO SECTION ===== */
.hero-premium {
  margin-top: -80px;
  padding-top: 80px;
  font-family: "Inter", "Segoe UI", sans-serif;
  overflow: hidden;
  position: relative;
}

/* Full-height carousel */
.hero-premium .carousel,
.hero-premium .carousel-inner,
.hero-premium .carousel-item {
  height: 100vh;
}

/* Background images */
.hero-premium .carousel-item {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Smooth fade effect for slides */
.hero-premium.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 5s ease-in-out;
}

.hero-premium.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Gradient overlay */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 110, 253, 0.85) 0%,
    rgba(13, 110, 253, 0.55) 45%,
    rgba(13, 110, 253, 0.2) 100%
  );
  z-index: 1;
}

/* Hero content animation */
.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Hero tag */
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* Headline */
.hero-premium h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero-premium h1 span {
  color: #2f2f2f;
}

/* Paragraph */
.hero-premium p {
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 520px;
  margin-bottom: 35px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-premium .btn-primary {
  background-color: #2f2f2f;
  border: none;
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-premium .btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 30px;
  padding: 12px 36px;
  background: transparent;
  transition: all 0.3s ease;
}

/* Carousel indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.carousel-indicators .active {
  background-color: #2f2f2f;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-premium h1 {
    font-size: 2.8rem;
  }
  .hero-premium p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-premium {
    margin-top: -70px;
    padding-top: 70px;
  }
  .hero-premium h1 {
    font-size: 2.2rem;
  }
  .hero-premium p {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-tag {
    padding: 5px 12px;
    font-size: 0.8rem;
  }
}

/* Custom Styles for About Section */
.about img {
  border-radius: 16px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about img:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.about-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about-card:hover {
  background: #0d6efd; 
  color: #ffffff;
  transform: translateY(-6px);
}

.about-card:hover h5,
.about-card:hover p {
  color: #ffffff;
}

.about-card i {
  color: #0d6efd;
  transition: color 0.3s ease;
}

.about-card:hover i {
  color: #ffffff;
}

/* 6D Process Hover Effect */
.process-step {
  background: #ffffff;
  border-radius: 12px;
  transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  cursor: default; /* Non-clickable */
  color: #333; /* Default text color */
}

.process-step:hover {
  background: #0d6efd; /* Change background on hover */
  color: #ffffff; /* Change text color on hover */
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Change text colors for inner elements on hover */
.process-step:hover h4,
.process-step:hover p,
.process-step:hover .step-number {
  color: #ffffff;
}

/* Services Section Styles */
.service-item {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.service-item .icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  transition: background 0.3s ease;
}

.service-item:hover .icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-item p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.service-item .btn {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* Specialties Section Styles (Non-clickable) */
.specialty-item {
  background: #f1f8ff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: default; /* Remove clickable cursor */
}

.specialty-item i {
  font-size: 32px;
  color: #1a3d7c;
  margin-bottom: 8px;
  display: block;
}

.specialty-item p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #1a3d7c;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .specialty-item {
    margin-bottom: 20px;
  }
}

/* Revenue Cycle Section Styles */
#Revenue-Cycle-Management .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#Revenue-Cycle-Management h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

#Revenue-Cycle-Management p {
  color: #555;
}

.rcm-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default; /* Non-clickable */
  color: #333;
  display: flex;
  gap: 15px;
}

.rcm-box:hover {
  background: #0d6efd; /* Hover background */
  color: #ffffff; /* Hover text color */
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Change inner elements text on hover */
.rcm-box:hover h5,
.rcm-box:hover p {
  color: #ffffff;
}

/* Image styling */
.rcm-box img.rcm-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.rcm-box:hover img.rcm-img {
  transform: scale(1.05);
}

/* RCM Boxes */
.rcm-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rcm-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Process Steps */
.process-step {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-step .step-icon {
  font-size: 40px;
  color: #4facfe;
}

.process-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-step ul {
  list-style: disc;
  text-align: left;
}

.process-step li {
  margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .process-step h4 {
    font-size: 16px;
  }
}

/* Credentialing and Contracting Section */
#credentialing-contracting .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#credentialing-contracting .rcm-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#credentialing-contracting .rcm-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#credentialing-contracting h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

#credentialing-contracting ul {
  list-style: disc;
  padding-left: 20px;
  color: #555;
}

#credentialing-contracting .process-step {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#credentialing-contracting .process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#credentialing-contracting .process-step .step-icon {
  font-size: 32px;
  color: #4facfe;
}

#credentialing-contracting .process-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

@media (max-width: 991px) {
  #credentialing-contracting .process-step h4 {
    font-size: 14px;
  }
}

/* EHR, PM & Clearing House Setup Section */
#ehr-pm-clearing .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#ehr-pm-clearing .rcm-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ehr-pm-clearing .rcm-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#ehr-pm-clearing h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

#ehr-pm-clearing ul {
  list-style: disc;
  padding-left: 20px;
  color: #555;
}

#ehr-pm-clearing .process-step {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ehr-pm-clearing .process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#ehr-pm-clearing .process-step .step-icon {
  font-size: 32px;
  color: #4facfe;
}

#ehr-pm-clearing .process-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

@media (max-width: 991px) {
  #ehr-pm-clearing .process-step h4 {
    font-size: 14px;
  }
}

/* Electronic Transactions Section Styles */
#electronic-transactions .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#electronic-transactions .process-step {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#electronic-transactions .process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#electronic-transactions .process-step .step-icon {
  font-size: 40px;
  color: #4facfe;
}

#electronic-transactions .process-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

#electronic-transactions .process-step p {
  color: #555;
  text-align: left;
}

@media (max-width: 991px) {
  #electronic-transactions .process-step p {
    text-align: left;
  }
}

@media (max-width: 767px) {
  #electronic-transactions .process-step h4 {
    font-size: 16px;
  }
}

/* Vertical Card Layout */
.rcm-box-vertical {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

/* Image Wrapper */
.rcm-img-wrapper {
  position: relative;
  overflow: hidden;
}

/* Top Image */
.rcm-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Icon Overlay */
.rcm-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 36px;
  background: #0d6efd;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Content */
.rcm-content {
  padding: 20px;
}

/* Hover Effects */
.rcm-box-vertical:hover .rcm-img-top {
  transform: scale(1.08);
}

.rcm-box-vertical:hover .rcm-icon {
  background: #ffffff;
  color: #0d6efd;
  transform: scale(1.1);
}

/* Mobile Optimization */
@media (max-width: 767px) {
  .rcm-img-top {
    height: 160px;
  }
}

/* Process Card Vertical Layout */
.process-vertical {
  padding: 0;
  overflow: hidden;
}

/* Image Wrapper */
.process-img-wrapper {
  position: relative;
  overflow: hidden;
}

/* Image */
.process-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Icon Overlay */
.process-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 34px;
  background: #0d6efd;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Hover Effects */
.process-step:hover .process-img {
  transform: scale(1.08);
}

.process-step:hover .process-icon {
  background: #ffffff;
  color: #0d6efd;
  transform: scale(1.1);
}

/* Mobile Optimization */
@media (max-width: 767px) {
  .process-img {
    height: 160px;
  }
}
