:root {
  --color-brand-accent: #2563eb;
}

/* Base Styles */
.services {
  padding: 4rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1e293b;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-card {
  position: relative;
  min-width: 100%;
  height: 600px;
}

.card-image {
  position: relative;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.card-heading{
  color: white;
}
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  color: white;
  background:linear-gradient(to top, #ff5e15, transparent);
}

.card-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.card-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.6;
}

.card-features {
  columns: 2;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  gap: 2rem;
}

.card-features li {
  margin-bottom: 1rem;
  font-weight: 500;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #5a52e6;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.carousel-control:hover {
  background: #5a52e6;
}

.prev { left: 2rem; }
.next { right: 2rem; }

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #5a52e6;
  border-color: #5a52e6;
}

@media (max-width: 768px) {
  .carousel-card { height: 700px; }
  .card-content { padding: 2rem; }
  .card-content h3 { font-size: 1.75rem; }
  .card-features { columns: 1; }
  .carousel-control { width: 40px; height: 40px; }
}
