
/* pattern css */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.services-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.services-heading h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.services-heading p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layout */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styles */
.service-card {
  background: light;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0.9;
  transform: translateY(0);
}

.service-card:hover {
  opacity: 1;
  transform: translateY(10px);
}

.service-card .icon {
  background: #c82833;
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.service-card h1 {
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;

}

.hover-border {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #c82833;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

.service-card:hover .hover-border {
  transform: scaleX(1);
}


/* Animation */
@keyframes movePartners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Wrapper */
.page-wrapper {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #E3E3E3; */
  /* margin: 0px; */
}

/* Carousel Box */
.partner-carousel {
  background: #fff;
  /* box-shadow: 10px 10px 20px -5px rgba(0, 0, 0, .125); */
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partner-carousel::before,
.partner-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.partner-carousel::after {
  right: 0;
  transform: rotateZ(180deg);
}

.partner-carousel::before {
  left: 0;
}

/* Track of Partners */
.partner-track {
  display: flex;
  width: calc(200%);
  animation: movePartners 17s linear infinite;
}

/* Har ek partner item */
.partner-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  padding: 0 10px;
}

.partner-item img {
  max-width: 100%;
  max-height: 60px;
  height: auto;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 768px) {
  .partner-carousel { height: 70px; }
  .partner-item { width: 120px; }
  .partner-item img { max-height: 50px; }
}

/* Mobile */
@media (max-width: 480px) {
  .partner-carousel { height: 60px; }
  .partner-item { width: 90px; }
  .partner-item img { max-height: 40px; }
}
