/* Service Page Specific Styles */
.service-page .service-section,
.service-section {
  display: block;
  width: 100%;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

/* Color Variables */
:root {
  --teal-primary: #00c9a7;
  --teal-hover: #00b395;
  --slate-dark: #0f172a;
  --slate-body: #475569;
  --slate-muted: #64748b;
  --border-light: #f1f5f9;
}

/* ----------------------------------------------------
   Curved Image Wrapper Component
---------------------------------------------------- */
.curved-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.curved-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.curved-img-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(90deg, #00c9a7 0%, #10b981 50%, #059669 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ----------------------------------------------------
   1. Top Activity Report Block
---------------------------------------------------- */
.service-top-block {
  padding: clamp(60px, 8vw, 60px) 0;
  background: #ffffff;
}

.service-top-block .curved-img-box {
  max-height: 420px;
}

.service-top-content {
  padding-left: clamp(0px, 3vw, 36px);
}

.service-top-content h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.service-top-content p {
  color: var(--slate-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 32px;
}

.btn-service-teal {
  display: inline-block;
  background-color: var(--teal-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-service-teal:hover {
  background-color: var(--teal-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 201, 167, 0.3);
}

/* ----------------------------------------------------
   2. Middle Cards / Swiper Carousel Block
---------------------------------------------------- */
.service-middle-block {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: #f8fafc;
}

.service-middle-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px auto;
}

.service-middle-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-middle-header p {
  color: var(--slate-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Service Cards Horizontal Grid */
.service-card-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  height: 100%;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.service-card-img {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  flex: 1;
  min-width: 0;
}

.service-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 0.85rem;
  color: var(--slate-muted);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-link-more:hover {
  color: var(--teal-primary);
}

/* Slider Controls */
.service-nav-controls {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.service-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.service-nav-btn.prev-btn {
  background-color: var(--teal-primary);
  color: #ffffff;
}

.service-nav-btn.prev-btn:hover {
  background-color: var(--teal-hover);
  transform: scale(1.05);
}

.service-nav-btn.next-btn {
  background-color: #e2e8f0;
  color: var(--slate-dark);
}

.service-nav-btn.next-btn:hover {
  background-color: #cbd5e1;
  transform: scale(1.05);
}

/* ----------------------------------------------------
   3. Bottom Stats & Counter Block
---------------------------------------------------- */
.service-bottom-block {
  padding: clamp(60px, 8vw, 60px) 0;
  background: #ffffff;
  position: relative;
}

.service-bottom-content {
  padding-right: clamp(0px, 3vw, 36px);
}

.service-bottom-content h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.service-bottom-content .subtext {
  color: var(--slate-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.stats-row {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  align-items: flex-start;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-muted);
  font-weight: 500;
  white-space: nowrap;
}

.service-bottom-block .curved-img-box {
  max-height: 440px;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
  .service-top-content,
  .service-bottom-content {
    padding-left: 0;
    padding-right: 0;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .service-card-item {
    flex-direction: column;
  }

  .service-card-img {
    width: 100%;
    height: 160px;
    flex: none;
  }

  .service-middle-header {
    text-align: left;
  }

  .service-middle-header h2 {
    text-align: left;
  }

  .service-middle-header p {
    text-align: left;
  }
}
