/* Services page - Cartoon Blue Style */

.credimetric-services-overview {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-services-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="3" fill="rgba(116,185,255,0.1)"/><circle cx="75" cy="75" r="4" fill="rgba(116,185,255,0.1)"/><circle cx="75" cy="25" r="2" fill="rgba(116,185,255,0.1)"/><circle cx="25" cy="75" r="3.5" fill="rgba(116,185,255,0.1)"/></svg>')
    repeat;
  animation: float 20s infinite linear;
}

.credimetric-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.credimetric-service-card {
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(116, 185, 255, 0.15);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 3px solid transparent;
}

.credimetric-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
}

.credimetric-service-card:hover {
  transform: translateY(-20px) rotate(3deg);
  box-shadow: 0 35px 70px rgba(116, 185, 255, 0.25);
  border-color: #74b9ff;
}

.credimetric-service-featured {
  border-color: #74b9ff;
  position: relative;
}

.credimetric-service-featured::after {
  content: "⭐ POPULAR";
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 10;
}

.credimetric-service-header {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-service-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="10" cy="10" r="1" fill="rgba(116,185,255,0.2)"/><circle cx="40" cy="40" r="1.5" fill="rgba(116,185,255,0.2)"/></svg>')
    repeat;
}

.credimetric-service-icon {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.credimetric-service-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.credimetric-service-icon img {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 10px 20px rgba(116, 185, 255, 0.3));
  transition: transform 0.3s ease;
}

.credimetric-service-card:hover .credimetric-service-icon img {
  transform: scale(1.15) rotate(-10deg);
}

.credimetric-service-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c3e50;
  position: relative;
  z-index: 1;
}

.credimetric-service-content {
  padding: 3rem;
}

.credimetric-service-description {
  color: #7f8c8d;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.credimetric-service-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.credimetric-service-features li {
  padding: 0.8rem 0;
  color: #7f8c8d;
  position: relative;
  padding-left: 2rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.credimetric-service-features li::before {
  content: "🎯";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.credimetric-service-features li:hover {
  color: #2c3e50;
  transform: translateX(5px);
}

.credimetric-service-process {
  padding: 100px 0;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  position: relative;
}

.credimetric-service-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20 L30 10 L40 20 L30 30 Z" fill="rgba(255,255,255,0.1)"/><path d="M70 70 L80 60 L90 70 L80 80 Z" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.credimetric-service-process .credimetric-section-title {
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.credimetric-service-process .credimetric-section-title::after {
  background: white;
}

.credimetric-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.credimetric-process-step {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.4s ease;
  color: #2c3e50;
  overflow: hidden;
}

.credimetric-process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
}

.credimetric-process-step:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.credimetric-process-number {
  display: inline-block;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(116, 185, 255, 0.4);
  position: relative;
}

.credimetric-process-number::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid rgba(116, 185, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.credimetric-process-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.credimetric-process-description {
  color: #7f8c8d;
  line-height: 1.7;
  font-size: 1.1rem;
}

.credimetric-service-benefits {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-service-benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,30 80,30 65,45 70,65 50,55 30,65 35,45 20,30 40,30" fill="rgba(116,185,255,0.05)"/></svg>')
    repeat;
  background-size: 120px 120px;
  animation: rotate 30s infinite linear;
}

.credimetric-benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.credimetric-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.credimetric-benefit-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: white;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(116, 185, 255, 0.1);
  border: 3px solid transparent;
}

.credimetric-benefit-item:hover {
  transform: translateX(15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(116, 185, 255, 0.2);
  border-color: #74b9ff;
}

.credimetric-benefit-icon {
  position: relative;
}

.credimetric-benefit-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.credimetric-benefit-icon img {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 8px 16px rgba(116, 185, 255, 0.3));
  transition: transform 0.3s ease;
}

.credimetric-benefit-item:hover .credimetric-benefit-icon img {
  transform: scale(1.2) rotate(15deg);
}

.credimetric-benefit-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.credimetric-benefit-description {
  color: #7f8c8d;
  font-size: 1.1rem;
  line-height: 1.6;
}

.credimetric-benefits-image {
  position: relative;
}

.credimetric-benefits-image::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  border-radius: 35px;
  z-index: -1;
  opacity: 0.1;
}

.credimetric-benefits-image img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(108, 92, 231, 0.2);
  transition: transform 0.3s ease;
}

.credimetric-benefits-image:hover img {
  transform: scale(1.05) rotate(3deg);
}

/* Services page mobile responsive */
@media (max-width: 768px) {
  .credimetric-benefits-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .credimetric-benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .credimetric-services-grid {
    grid-template-columns: 1fr;
  }

  .credimetric-process-steps {
    grid-template-columns: 1fr;
  }
}
