/* ========== Hero Carousel ========== */
.c-item {
  height: 650px;
  position: relative;
}

.c-img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: auto;
  right: auto;
  text-align: center;
  max-width: 720px;
  width: 90%;
  padding: 0;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(119, 33, 46, 0.9);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 5%;
}

#hero-carousel:hover .carousel-control-prev,
#hero-carousel:hover .carousel-control-next {
  opacity: 0.6;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  width: 28px;
  border-radius: 5px;
  background-color: white;
}

/* ========== Section Shared ========== */
.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--gray-50);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Services Grid ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  color: white;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  border-radius: 50%;
  padding: 0.65rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ========== Before/After ========== */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}

.ba-card {
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ba-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* ========== Testimonials ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4a1520 100%);
  padding: 4.5rem 0;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .c-item {
    height: 500px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .cta-banner {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-text {
    font-size: 0.95rem;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.25rem 0.75rem;
  }

  .service-card-icon {
    width: 44px;
    height: 44px;
    padding: 0.5rem;
  }

  .service-card h3 {
    font-size: 0.9rem;
  }

  .service-card p {
    display: none;
  }

  .c-item {
    height: 420px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .carousel-caption {
    width: 95%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .service-card {
    padding: 1rem 0.5rem;
  }

  .service-card-icon {
    width: 36px;
    height: 36px;
    padding: 0.35rem;
    margin-bottom: 0.5rem;
  }

  .service-card h3 {
    font-size: 0.8rem;
  }
}
