.services-page-section ul {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.services-page-section ul li {
  color: var(--rv-black);
  position: relative;
  margin-bottom: 12px;
  padding: 12px 16px 12px 50px;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.services-page-section ul li:hover {
  background: var(--rv-primary);
  color: var(--rv-black);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-page-section ul li::after {
  content: "\f270";
  position: absolute;
  font-family: "bootstrap-icons";
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--rv-primary);
  transition: color 0.3s ease;
}

.services-page-section ul li:hover::after {
  color: var(--rv-primary);
}

.services-page-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: var(--rv-primary);
  border-radius: 5px 0 0 5px;
  transition: background-color 0.3s ease;
}

.services-page-section ul li:hover::before {
  background-color: var(--rv-black);
}

/* nth-child alternates */
.services-page-section ul li:nth-child(odd) {
  background: #f2f6ff;
}

.services-page-section ul li:nth-child(even) {
  background: #ffffff;
}

/* Hidden box (tabs content) */
.services-page-section .nevdisc-box {
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.services-page-section .nevdisc-box.show {
  display: block;
}

.services-page-section .nevdisc-box ul li {
  color: var(--rv-black);
}

/* Image Section Styling */
.services-page-section .image {
  float: right;
  padding: 0;
  margin-left: 25px;
  border-radius: 10px;
  border: 2px solid var(--rv-primary);
  overflow: hidden;
  animation: slideIn 0.8s ease;
}

.services-page-section .image img {
  width: 100%;
  border-radius: 10px;
  transform: translate(-10px, 10px);
  transition: transform 0.4s ease;
}

.services-page-section .image img:hover {
  transform: scale(1.03);
}

/* Tab Navigation */
.services-page-section .costom-nev {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
  padding-bottom: 30px;
  gap: 10px;
}

.services-page-section .costom-nev .tebHendlers {
  padding: 10px;
}

.services-page-section .costom-nev .tebHendlers span {
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--rv-primary);
  font-weight: 600;
  cursor: pointer;
  color: var(--rv-primary);
  transition: all 0.3s ease;
}

.services-page-section .costom-nev .tebHendlers.active span,
.services-page-section .costom-nev .tebHendlers span:hover {
  background: var(--rv-primary);
  color: var(--rv-black);
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}
