/* ================= SERVICES PAGE ONLY ================= */

.services-hero {
  min-height: 92vh;
  background:
    radial-gradient(circle at top right, rgba(79,195,247,0.14), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255,140,120,0.10), transparent 55%),
    linear-gradient(180deg, #071b34, #051225);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 120px;
  padding-bottom: 70px;
}

.services-hero-bg {
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 45%),
    radial-gradient(circle at 30% 20%, rgba(79,195,247,0.10), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(180,140,255,0.09), transparent 55%);
  filter: blur(0px);
  opacity: 0.55;
  transform-origin: 50% 50%;
  animation: heroDrift 40s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroDrift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-90px, 70px, 0) rotate(2deg) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 56px;
  position: relative;
  z-index: 1;
  align-items: start;
}

.page-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.page-breadcrumb span { margin: 0 6px; opacity: 0.7; }

.services-hero-content h1 {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 18px;
}
.services-hero-content h1 span {
  background: linear-gradient(90deg, #4fc3f7, #7dd3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-hero-content p {
  color: rgba(255,255,255,0.80);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.services-hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.services-hero-panel .panel-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}
.panel-card h4 { margin-bottom: 14px; font-size: 16px; }
.panel-card ul { list-style: none; padding: 0; margin: 0; }
.panel-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  color: rgba(255,255,255,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.panel-card li:last-child { border-bottom: none; }
.panel-card i { color: #4fc3f7; }
.panel-cta { margin-top: 16px; }

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(12px);
}
.metric-val { font-size: 24px; font-weight: 800; }
.metric-label { font-size: 13px; opacity: 0.75; }

/* ===== Sticky category pills ===== */
.services-nav {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(7,27,52,0.65);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
}
.services-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.pill {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.80);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.pill:hover { transform: translateY(-1px); border-color: rgba(79,195,247,0.35); }
.pill.active { background: rgba(79,195,247,0.18); border-color: rgba(79,195,247,0.35); color: #fff; }

/* ===== Sections ===== */
.services-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at top, rgba(79,195,247,0.08), transparent 60%),
    linear-gradient(180deg, #051225, #030c18);
}
.services-section-alt {
  background:
    radial-gradient(circle at top, rgba(150,100,255,0.08), transparent 60%),
    linear-gradient(180deg, #030c18, #020814);
}

.services-core-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.svc-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79,195,247,0.25);
  box-shadow: 0 30px 60px rgba(0,0,0,0.40);
}
.svc-card h4 { font-size: 18px; margin-bottom: 10px; }
.svc-card p { color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 16px; }
.svc-link { color: #4fc3f7; font-weight: 600; font-size: 14px; }
.svc-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.svc-meta span { font-size: 12px; color: rgba(255,255,255,0.70); }
.svc-meta i { color: rgba(79,195,247,0.85); }

.svc-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-icon i { font-size: 18px; }
.svc-icon.blue { background: rgba(79,195,247,0.25); }
.svc-icon.purple { background: rgba(150,100,255,0.25); }
.svc-icon.orange { background: rgba(255,170,80,0.25); }
.svc-icon.green { background: rgba(0,200,150,0.25); }
.svc-icon.red { background: rgba(255,90,90,0.25); }

/* Clouds */
.cloud-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cloud-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cloud-card i { color: #4fc3f7; font-size: 18px; }
.cloud-card:hover { transform: translateY(-4px); border-color: rgba(79,195,247,0.25); }

/* Industries */
.industry-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.industry-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.industry-card:hover { transform: translateY(-6px); box-shadow: 0 25px 55px rgba(0,0,0,0.35); }
.industry-card h4 { font-size: 16px; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.industry-card h4 i { color: #4fc3f7; }
.industry-card p { color: rgba(255,255,255,0.75); line-height: 1.6; }

/* Delivery timeline */
.delivery-timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(14px);
}
.step-badge {
  width: 34px; height: 34px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79,195,247,0.18);
  border: 1px solid rgba(79,195,247,0.22);
  margin-bottom: 14px;
  font-weight: 800;
  color: #fff;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,0.75); line-height: 1.6; font-size: 14px; }

/* Models */
.models-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.model-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.model-card:hover { transform: translateY(-6px); box-shadow: 0 25px 55px rgba(0,0,0,0.35); }
.model-card h4 { font-size: 18px; margin-bottom: 10px; }
.model-card p { color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 14px; }
.model-card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.78); }

/* FAQ */
.faq-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(14px);
}
.faq-item h4 { font-size: 16px; margin-bottom: 8px; }
.faq-item p { color: rgba(255,255,255,0.75); line-height: 1.6; }

/* Final CTA */
.services-final-cta {
  background: linear-gradient(135deg, #173a6a, #0a84c1);
  padding: 80px 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .services-hero-grid { grid-template-columns: 1fr; }
  .services-core-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .services-hero-content h1 { font-size: 40px; }
  .services-core-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

.services-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 16px;
  padding: 22px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-card-icon {
  font-size: 22px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.hero-card.blue { background: linear-gradient(135deg,#1e88e5,#1565c0); }
.hero-card.purple { background: linear-gradient(135deg,#6a5acd,#483d8b); }
.hero-card.green { background: linear-gradient(135deg,#2e7d32,#1b5e20); }
.hero-card.dark { background: linear-gradient(135deg,#263238,#102027); }

/* Section spacing */
.service-category {
  margin-top: 80px;
}

.category-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.category-badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.category-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-subtitle {
  font-size: 15px;
  opacity: 0.75;
  line-height: 1.6;
}

/* Grid spacing */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.03)
  );
  border-radius: 18px;
  padding: 26px;
  text-decoration: none;
  color: #fff;
  position: relative;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.09),
    rgba(255,255,255,0.04)
  );
}

/* Icon */
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(79,195,247,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

/* Title */
.service-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Description */
.service-card p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.8;
  margin-bottom: 18px;
}

/* CTA */
.service-link {
  font-size: 14px;
  font-weight: 500;
  color: #4fc3f7;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-category {
    margin-top: 60px;
  }
}


/* ================= FAQ ACCORDION ================= */

.service-faq {
  padding: 40px 0;
}

.service-faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .icon {
  font-size: 22px;
  color: #4fd1c5;
  transition: transform .3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 26px;
}

.faq-answer p {
  padding: 18px 0 26px;
  color: #cbd5e1;
  line-height: 1.6;
}

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

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}


