/* ════════════════════════════════════════
   GREENPILL — PREMIUM SERVICE DETAIL PAGES
   ════════════════════════════════════════ */

.service-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--dark);
  color: white;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.service-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(20, 20, 20, 0.7) 100%);
  z-index: 1;
}

.service-hero .container {
  position: relative;
  z-index: 2;
}

/* Floating Stats in Hero */
.hero-floating-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: gentleFloat 5s ease-in-out infinite;
}
.hero-floating-stat h4 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--green-light);
  line-height: 1.1;
}
.hero-floating-stat p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Timeline / Process */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: rgba(5, 150, 105, 0.2);
}
.process-step-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}
.process-step-item:last-child {
  margin-bottom: 0;
}
.process-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
  z-index: 2;
}
.process-content {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.process-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Key Offerings / Benefit Grids */
.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}
.benefit-card:hover {
  border-color: var(--green);
  box-shadow: 0 16px 30px rgba(5, 150, 105, 0.1);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Glassmorphism Specs Table */
.specs-container {
  background: var(--dark);
  border-radius: 24px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 2;
}
.spec-item {
  border-left: 2px solid rgba(5, 150, 105, 0.5);
  padding-left: 20px;
}
.spec-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.spec-value {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

/* Accordion FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  background: white;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--gray);
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 400px; /* arbitrary high number */
}
.faq-item.active .faq-question {
  color: var(--green);
}
.icon-rotate {
  transition: transform 0.3s ease;
}
.faq-item.active .icon-rotate {
  transform: rotate(180deg);
}

/* Trust Badges */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-badge {
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.trust-badge svg {
  color: var(--green);
  margin-bottom: 16px;
}

/* ── Process List (Service Overview) ── */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--gray);
  font-weight: 500;
}
.process-list li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ════════════════════════════════════════
   SERVICE LIST / CATALOG ENHANCEMENTS
   ════════════════════════════════════════ */

/* Service Filter Tabs */
.service-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.service-filter-btn {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.service-filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.service-filter-btn.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

/* Service Catalog Card */
.service-catalog-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 420px 1fr;
  margin-bottom: 32px;
}
.service-catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.service-catalog-card.hidden {
  display: none !important;
}

.catalog-card-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-catalog-card:hover .catalog-card-media img {
  transform: scale(1.05);
}
.catalog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(2, 44, 34, 0.75) 100%);
  pointer-events: none;
}
.catalog-card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(2, 44, 34, 0.85);
  backdrop-filter: blur(8px);
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.catalog-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.catalog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.catalog-card-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--green-pale);
  line-height: 1;
}
.catalog-card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.catalog-card-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Feature Pills / Badges Strip */
.catalog-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.catalog-badge {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.catalog-badge svg {
  color: var(--green);
}

.catalog-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Comparison Matrix Table */
.comparison-table-wrap {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 760px;
}
.comparison-table th {
  background: var(--dark);
  color: white;
  padding: 18px 24px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray);
  vertical-align: middle;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:hover td {
  background: rgba(5, 150, 105, 0.03);
}
.table-highlight-cell {
  font-weight: 700;
  color: var(--dark) !important;
}

@media (max-width: 991px) {
  .service-catalog-card {
    grid-template-columns: 1fr;
  }
  .catalog-card-media {
    min-height: 240px;
  }
  .catalog-card-body {
    padding: 28px 20px;
  }
  .catalog-card-title {
    font-size: 22px;
  }
}


