/* ===========================================
   LABEBO SERVICE PAGE ENHANCEMENTS
   Additional styles - DO NOT MODIFY custom.css
   =========================================== */

/* ============ Hero Slider Section ============ */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-top: 100px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(35, 99, 36, 0.92) 0%, rgba(136, 197, 64, 0.85) 100%);
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 650px;
  color: #fff;
  z-index: 10;
}

.hero-slide-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-slide-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
  background: #88C540;
  border-color: #88C540;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

.slider-arrow:hover {
  background: #88C540;
  border-color: #88C540;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

[dir="rtl"] .slider-arrow.prev { left: auto; right: 20px; }
[dir="rtl"] .slider-arrow.next { right: auto; left: 20px; }

/* ============ Info Banner ============ */
.info-banner {
  background: linear-gradient(135deg, #f5f9f0 0%, #e8f5d8 100%);
  padding: 30px 0;
  border-bottom: 2px solid #88C540;
}

.info-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.info-banner-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-banner-item i {
  font-size: 1.3rem;
  color: #88C540;
}

.info-banner-item span {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

/* ============ Features Section ============ */
.features-showcase {
  padding: 60px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.9rem;
  color: #236324;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
  border: 1px solid #e5edd8;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(136, 197, 64, 0.12);
  border-color: #88C540;
}

.feature-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #88C540 0%, #6B9F3C 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: #236324;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ============ Process Steps ============ */
.process-section {
  padding: 60px 0;
  background: #f9faf7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 850px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  padding: 20px 12px;
}

.process-step-number {
  width: 45px;
  height: 45px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #88C540 0%, #236324 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.process-step h4 {
  color: #236324;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.process-step p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============ Testimonials ============ */
.testimonials-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #236324 0%, #1a4d1a 100%);
}

.testimonials-section .section-header h2 {
  color: #fff;
}

.testimonials-section .section-header p {
  color: rgba(255,255,255,0.8);
}

.testimonials-slider {
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-quote {
  font-size: 2rem;
  color: #88C540;
  margin-bottom: 5px;
}

.testimonial-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #88C540 0%, #236324 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-info h4 {
  color: #236324;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  color: #888;
  font-size: 0.8rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: #88C540;
}

/* ============ FAQ ============ */
.faq-section {
  padding: 60px 0;
  background: #fff;
}

.faq-grid {
  max-width: 650px;
  margin: 0 auto;
}

.faq-item {
  background: #f9faf7;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #e8edd8;
}

.faq-question {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: #236324;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #88C540;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #88C540;
  font-size: 0.85rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.faq-answer p {
  padding: 0 20px 16px;
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ============ CTA Enhanced ============ */
.cta-enhanced {
  padding: 70px 0;
  background: linear-gradient(135deg, #236324 0%, #1a4d1a 100%);
  text-align: center;
}

.cta-enhanced h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
}

.cta-enhanced p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: #88C540;
  color: #fff;
}

.cta-btn.primary:hover {
  background: #6B9F3C;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ============ Animation ============ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    height: 350px;
    margin-top: 80px;
  }
  .hero-slide-content h1 {
    font-size: 1.9rem;
  }
  .hero-slide-content p {
    font-size: 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .info-banner-content {
    gap: 25px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-slider-section {
    height: 300px;
  }
  .hero-slide-content h1 {
    font-size: 1.5rem;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .info-banner-item {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .features-showcase,
  .testimonials-section,
  .faq-section,
  .process-section {
    padding: 45px 0;
  }
}

/* Hide original hero */
.has-slider .page-hero {
  display: none;
}
