/* ═══════════════════════════════════════════════════════
   CORE SERVICES PAGE STYLES — CONTRAST-FIXED
   ═══════════════════════════════════════════════════════ */

/* ── SERVICE OVERVIEW CARDS ────────────────────────── */
.service-overview-card {
  background: linear-gradient(135deg, rgba(11,94,168,.25) 0%, rgba(7,24,40,1) 100%);
  border: 1px solid rgba(16,180,232,.3);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16,180,232,.6);
  box-shadow: 0 12px 40px rgba(0,152,198,.35);
}

.service-overview-card:hover::before {
  transform: scaleX(1);
}

.soc-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(16,180,232,.3);
}

.service-overview-card:hover .soc-icon {
  transform: scale(1.1) rotate(-5deg);
}

.soc-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.soc-desc {
  font-size: 0.94rem;
  color: rgba(200, 220, 240, 0.92);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.soc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #10b4e8;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.soc-link i {
  transition: transform 0.3s ease;
}

.soc-link:hover {
  color: #ffffff;
  gap: 12px;
}

.soc-link:hover i {
  transform: translateX(4px);
}

/* ── SERVICE DETAIL LIST ───────────────────────── */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sdl-item {
  display: flex;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: linear-gradient(135deg, rgba(11,94,168,.35) 0%, rgba(7,24,40,1) 100%);
  border: 1px solid rgba(16,180,232,.25);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sdl-item:hover {
  background: linear-gradient(135deg, rgba(11,94,168,.45) 0%, rgba(7,24,40,1) 100%);
  border-color: rgba(16,180,232,.5);
  transform: translateX(8px);
}

.sdl-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16,180,232,.25);
}

.sdl-item:hover .sdl-icon {
  transform: scale(1.1);
}

.sdl-content {
  flex: 1;
}

.sdl-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.sdl-text {
  font-size: 0.92rem;
  color: rgba(200, 220, 240, 0.9);
  line-height: 1.7;
  margin: 0;
}

/* ── SECTOR CARDS ──────────────────────────────── */
.sector-card {
  background: linear-gradient(135deg, rgba(11,94,168,.28) 0%, rgba(7,24,40,1) 100%);
  border: 1px solid rgba(16,180,232,.25);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.sector-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16,180,232,.08));
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,180,232,.55);
  box-shadow: 0 10px 30px rgba(16,180,232,.2);
}

.sector-card:hover::after {
  transform: translateX(0);
}

.sector-icon {
  width: 54px;
  height: 54px;
  background: rgba(16,180,232,.18);
  border: 2px solid rgba(16,180,232,.45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #10b4e8;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.sector-card:hover .sector-icon {
  background: var(--cyan);
  color: #fff;
  transform: scale(1.1);
  border-color: var(--cyan);
}

.sector-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.sector-desc {
  font-size: 0.93rem;
  color: rgba(200, 220, 240, 0.9);
  line-height: 1.75;
  margin-bottom: 18px;
}

.sector-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16,180,232,.2);
  border: 1px solid rgba(16,180,232,.5);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #10b4e8;
  letter-spacing: 0.3px;
}

/* ── EMERGING INDUSTRY CARDS ───────────────────── */
.emerging-card {
  background: linear-gradient(135deg, rgba(11,94,168,.3) 0%, rgba(7,24,40,1) 100%);
  border: 1px solid rgba(16,180,232,.3);
  border-radius: 14px;
  padding: 36px 32px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.emerging-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16,180,232,.6);
  box-shadow: 0 16px 48px rgba(16,180,232,.25);
}

.ec-icon {
  width: 62px;
  height: 62px;
  background: var(--cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 22px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(16,180,232,.35);
}

.emerging-card:hover .ec-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 8px 24px rgba(16,180,232,.5);
}

.ec-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.ec-desc {
  font-size: 0.96rem;
  color: rgba(210, 228, 245, 0.92);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ec-deliverables {
  padding: 18px;
  background: rgba(7,24,40,.85);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  font-size: 0.88rem;
  color: rgba(210, 228, 245, 0.85);
  line-height: 1.7;
}

.ec-deliverables strong {
  display: block;
  color: #10b4e8;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* ── BESS CARDS ────────────────────────────────── */
.bess-card {
  background: linear-gradient(135deg, rgba(11,94,168,.28) 0%, rgba(7,24,40,1) 100%);
  border: 1px solid rgba(16,180,232,.3);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.bess-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,180,232,.55);
  box-shadow: 0 12px 40px rgba(16,180,232,.22);
}

.bess-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.bess-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(16,180,232,.3);
}

.bess-card:hover .bess-icon {
  transform: scale(1.1) rotate(-5deg);
}

.bess-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.bess-desc {
  font-size: 0.95rem;
  color: rgba(210, 228, 245, 0.9);
  line-height: 1.8;
  margin-bottom: 20px;
}

.bess-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bess-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: rgba(210, 228, 245, 0.88);
  line-height: 1.6;
  border-bottom: 1px solid rgba(16,180,232,.14);
}

.bess-list li:last-child {
  border-bottom: none;
}

.bess-list li i {
  color: #10b4e8;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── PROCESS STEP CARDS ────────────────────────── */
.process-step-card {
  background: rgba(11,94,168,.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,.06), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.process-step-card:hover {
  transform: translateY(-8px);
  background: rgba(11,94,168,.35);
  border-color: rgba(16,180,232,.55);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.process-step-card:hover::before {
  left: 100%;
}

.psc-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.28);
  line-height: 1;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.process-step-card:hover .psc-number {
  color: rgba(255,255,255,.42);
  transform: scale(1.1);
}

.psc-icon {
  width: 64px;
  height: 64px;
  background: rgba(16,180,232,.2);
  border: 2px solid rgba(16,180,232,.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.process-step-card:hover .psc-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.1);
}

.psc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.psc-text {
  font-size: 0.9rem;
  color: rgba(210, 228, 245, 0.88);
  line-height: 1.7;
  margin: 0;
}

/* ── RESPONSIVE ADJUSTMENTS ────────────────────── */
@media (max-width: 991px) {
  .service-detail-list {
    gap: 20px;
  }

  .sdl-item {
    padding: 20px;
  }

  .sdl-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.2rem;
  }

  .sector-card,
  .emerging-card,
  .bess-card {
    padding: 28px 24px;
  }

  .process-step-card {
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {
  .service-overview-card,
  .sector-card,
  .emerging-card,
  .bess-card {
    padding: 24px 20px;
  }

  .soc-title,
  .sector-title,
  .ec-title,
  .bess-title {
    font-size: 1.15rem;
  }

  .sdl-item {
    flex-direction: column;
    gap: 16px;
    padding: 20px 18px;
  }

  .sdl-icon {
    width: 48px;
    height: 48px;
  }

  .bess-header {
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }

  .bess-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .process-step-card {
    padding: 24px 18px;
  }

  .psc-number {
    font-size: 2rem;
  }

  .psc-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

/* ── ANIMATION HELPERS ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}