.sap-services-section {
  position: relative;
  padding: 100px 0;
  background: #ffffff;
  color: #000000;
  overflow: hidden;
}

.sap-services-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sap-services-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(51, 12, 179, 0.05) 2px,
    transparent 2px
  );
  background-size: 30px 30px;
  pointer-events: none;
}

.sap-services-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.sap-services-header .sap-section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  color: #330cb3;
}

.sap-services-header .sap-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #330cb3;
  border-radius: 2px;
}

.sap-services-header .sap-section-subtitle {
  font-size: 1.25rem;
  color: #000000;
  max-width: 800px;
  margin: 25px auto 0;
  line-height: 1.6;
}

.sap-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.sap-service-card {
  background: #ffffff;
  border: 1px solid rgba(51, 12, 179, 0.15);
  border-radius: 24px;
  padding: 45px 35px;
  text-align: center;
  transition: transform 0.1s ease-out, box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.05);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(51, 12, 179, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}

.sap-service-card:hover .card-glow {
  opacity: 1;
}

.sap-service-card .sap-service-icon-box,
.sap-service-card h3,
.sap-service-card p,
.sap-service-card .sap-service-links {
  position: relative;
  z-index: 2;
}

.sap-service-card:hover {
  transform: translateY(-10px);
  background: #ffffff;
  border-color: rgba(51, 12, 179, 0.4);
  box-shadow: 0 20px 40px rgba(51, 12, 179, 0.15);
}

.sap-service-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(51, 12, 179, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.sap-service-card:hover .sap-service-icon-box {
  background: #330cb3;
  transform: rotate(5deg);
  box-shadow: 0 10px 20px rgba(51, 12, 179, 0.2);
}

.sap-service-icon {
  width: 40px;
  height: 40px;
  filter: invert(14%) sepia(85%) saturate(4529%) hue-rotate(253deg)
    brightness(81%) contrast(100%);
  transition: all 0.3s ease;
}

.sap-service-card:hover .sap-service-icon {
  filter: brightness(0) invert(1);
}

.sap-service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000000;
}

.sap-service-card p {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 30px;
}

.sap-service-links {
  margin-top: auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.sap-service-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #330cb3;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(51, 12, 179, 0.05);
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 1px solid rgba(51, 12, 179, 0.15);
}

.sap-service-links a:hover {
  background: #330cb3;
  color: #fff;
  transform: scale(1.05);
}

/* ================================
   EXCELLENCE SECTION
   ================================ */

.sap-excellence-section {
  margin-top: 80px;
  padding: 50px 40px;
  background: #f8f9fa; /* Light grey background for contrast */
  border: 1px solid rgba(51, 12, 179, 0.2);
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.08);
  border-radius: 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.sap-excellence-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #330cb3, transparent);
}

.sap-excellence-content {
  position: relative;
  z-index: 1;
}

.sap-excellence-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  color: #330cb3;
  margin-bottom: 15px;
  background: none;
  -webkit-text-fill-color: initial;
  background-clip: border-box;
}

.sap-excellence-text {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
}

.sap-excellence-accent {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(51, 12, 179, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .sap-services-grid {
    grid-template-columns: 1fr;
  }

  .sap-excellence-section {
    margin-top: 60px;
    padding: 40px 30px;
  }

  .sap-excellence-title {
    font-size: 1.7rem;
  }

  .sap-excellence-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .sap-services-section {
    padding: 60px 0;
  }
  .sap-services-header .sap-section-title {
    font-size: 2.5rem;
  }
  .sap-services-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .sap-service-card {
    padding: 35px 25px;
  }

  .sap-excellence-section {
    margin-top: 50px;
    padding: 35px 25px;
  }

  .sap-excellence-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .sap-excellence-text {
    font-size: 0.95rem;
  }

  .sap-excellence-accent {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -20%;
  }
}

@media (max-width: 480px) {
  .sap-services-header .sap-section-title {
    font-size: 1.8rem;
  }

  .sap-excellence-section {
    margin-top: 40px;
    padding: 25px 20px;
  }

  .sap-excellence-title {
    font-size: 1.2rem;
  }

  .sap-excellence-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .sap-excellence-accent {
    width: 200px;
    height: 200px;
    top: -20%;
    right: -30%;
  }
}

.services-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(51, 12, 179, 0.03) 2px,
    transparent 2px
  );
  background-size: 30px 30px;
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.services-header .section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  color: #330cb3; /* Consultant Title Color */
}

.services-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #330cb3;
  border-radius: 2px;
}

.services-header .section-subtitle {
  font-size: 1.25rem;
  color: #6b7280; /* Consultant Subtitle Color */
  max-width: 800px;
  margin: 25px auto 0;
  line-height: 1.6;
}

.services-grid-sap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.service-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(51, 12, 179, 0.1);
  border-radius: 24px; /* Updated radius to match consultants */
  padding: 45px 35px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.05);
}

.service-card-v2:hover {
  transform: translateY(-10px);
  background: #ffffff;
  border-color: rgba(51, 12, 179, 0.3);
  box-shadow: 0 20px 40px rgba(51, 12, 179, 0.1);
}

.service-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(51, 12, 179, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: none; /* Removed border to match consultant icon style more closely */
}

.service-card-v2:hover .service-icon-box {
  background: #330cb3;
  transform: rotate(5deg);
  box-shadow: 0 10px 20px rgba(51, 12, 179, 0.2);
}

.service-icon {
  width: 40px;
  height: 40px;
  /* Deep purple filter matching #330cb3 */
  filter: invert(14%) sepia(85%) saturate(4529%) hue-rotate(253deg)
    brightness(81%) contrast(100%);
  transition: all 0.3s ease;
}

.service-card-v2:hover .service-icon {
  filter: brightness(0) invert(1); /* White on hover */
}

.service-card-v2 h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1f2937; /* Consultant Role Color */
}

.service-card-v2 p {
  font-size: 0.95rem;
  color: #4b5563; /* Consultant Desc Color */
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-links {
  margin-top: auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #330cb3;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(51, 12, 179, 0.05);
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 1px solid rgba(51, 12, 179, 0.1);
}

.service-links a:hover {
  background: #330cb3;
  color: #fff;
  transform: scale(1.05);
}

/* ================================
   EXCELLENCE SECTION
   ================================ */

.excellence-section {
  margin-top: 80px;
  padding: 50px 40px;
  background: #ffffff;
  border: 1px solid rgba(51, 12, 179, 0.1);
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.05);
  border-radius: 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.excellence-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #330cb3, transparent);
}

.excellence-content {
  position: relative;
  z-index: 1;
}

.excellence-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  color: #330cb3;
  margin-bottom: 15px;
  background: none;
  -webkit-text-fill-color: initial;
  background-clip: border-box;
}

.excellence-text {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.excellence-accent {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(51, 12, 179, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .services-grid-sap {
    grid-template-columns: 1fr;
  }

  .excellence-section {
    margin-top: 60px;
    padding: 40px 30px;
  }

  .excellence-title {
    font-size: 1.7rem;
  }

  .excellence-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .services-header .section-title {
    font-size: 2.5rem;
  }
  .services-grid-sap {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .service-card-v2 {
    padding: 35px 25px;
  }

  .excellence-section {
    margin-top: 50px;
    padding: 35px 25px;
  }

  .excellence-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .excellence-text {
    font-size: 0.95rem;
  }

  .excellence-accent {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -20%;
  }
}

@media (max-width: 480px) {
  .services-header .section-title {
    font-size: 1.8rem;
  }

  .excellence-section {
    margin-top: 40px;
    padding: 25px 20px;
  }

  .excellence-title {
    font-size: 1.2rem;
  }

  .excellence-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .excellence-accent {
    width: 200px;
    height: 200px;
    top: -20%;
    right: -30%;
  }
}

.services-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(139, 92, 246, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.services-header .section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  color: #fff;
}

.services-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  border-radius: 2px;
}

.services-header .section-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin: 25px auto 0;
  line-height: 1.6;
}

.services-grid-sap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.service-card-v2 {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 45px 35px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card-v2:hover {
  transform: translateY(-15px);
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-card-v2:hover .service-icon-box {
  background: #8b5cf6;
  transform: rotate(10deg);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.service-icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.service-card-v2 h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.service-card-v2 p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-links {
  margin-top: auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8b5cf6;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-links a:hover {
  background: #8b5cf6;
  color: #fff;
  transform: scale(1.05);
}

/* ================================
   EXCELLENCE SECTION
   ================================ */

.excellence-section {
  margin-top: 80px;
  padding: 50px 40px;
  background: rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 25px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.excellence-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.excellence-content {
  position: relative;
  z-index: 1;
}

.excellence-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.excellence-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.excellence-accent {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .services-grid-sap {
    grid-template-columns: 1fr;
  }

  .excellence-section {
    margin-top: 60px;
    padding: 40px 30px;
  }

  .excellence-title {
    font-size: 1.7rem;
  }

  .excellence-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .services-header .section-title {
    font-size: 2.5rem;
  }
  .services-grid-sap {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .service-card-v2 {
    padding: 35px 25px;
  }

  .excellence-section {
    margin-top: 50px;
    padding: 35px 25px;
  }

  .excellence-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .excellence-text {
    font-size: 0.95rem;
  }

  .excellence-accent {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -20%;
  }
}

@media (max-width: 480px) {
  .services-header .section-title {
    font-size: 1.8rem;
  }

  .excellence-section {
    margin-top: 40px;
    padding: 25px 20px;
  }

  .excellence-title {
    font-size: 1.2rem;
  }

  .excellence-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .excellence-accent {
    width: 200px;
    height: 200px;
    top: -20%;
    right: -30%;
  }
}
