/* ═══════════════════════════════════════════════════════
   CORE SERVICES PAGE — ORIGINAL COLORS, IMPROVED LAYOUT
   ═══════════════════════════════════════════════════════ */

/* ── 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: 16px;
}

/* ── SDl ITEM — MUCH DARKER BACKGROUND ─────────────── */
.sdl-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(5,18,34,.95) 0%, rgba(3,10,20,1) 100%);
  border: 1px solid rgba(16,180,232,.2);
  border-left: 3px solid rgba(16,180,232,.4);
  border-radius: 0 10px 10px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sdl-item:hover {
  background: linear-gradient(135deg, rgba(8,26,48,.97) 0%, rgba(4,13,26,1) 100%);
  border-left-color: rgba(16,180,232,.9);
  border-color: rgba(16,180,232,.4);
  transform: translateX(6px);
  box-shadow: -4px 0 20px rgba(16,180,232,.15), 4px 4px 24px rgba(0,0,0,.6);
}

.sdl-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(16,180,232,.1);
  border: 1px solid rgba(16,180,232,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #10b4e8;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.sdl-item:hover .sdl-icon {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  transform: scale(1.08);
}

.sdl-content { flex: 1; }

.sdl-title {
  font-size: 1rem;
  font-weight: 700;
  color: #deeef8;
  margin-bottom: 6px;
  line-height: 1.4;
}

.sdl-text {
  font-size: 0.88rem;
  color: rgba(160, 195, 225, 0.72);
  line-height: 1.7;
  margin: 0;
}


/* ── TWO-COLUMN SERVICE SECTION LAYOUT ─────────────── */
/*
   Info col (text) on one side, detail list on other.
   Alternating sides handled via .svc-row--flip
*/
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Flip: detail list goes LEFT, info goes RIGHT */
.svc-row--flip .svc-col-info  { order: 2; }
.svc-row--flip .svc-col-list  { order: 1; }

.svc-col-info { padding-top: 4px; }

.svc-area-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(16,180,232,.45);
  text-transform: uppercase;
  margin-bottom: 6px;
}


/* ── 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; border-color: var(--cyan);
  transform: scale(1.1);
}

.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: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);
}

.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; }


/* ══════════════════════════════════════════════════════
   IMPROVED SECTION LAYOUT HELPERS
══════════════════════════════════════════════════════ */

/* Section eyebrow / heading / rule — consistent tokens */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.title-line {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  margin: 14px 0 20px;
}
.title-line.mx-auto { margin-left: auto; margin-right: auto; }

/* Service area number badge */
.service-area-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(16,180,232,.45);
  margin-bottom: 6px;
}


/* ── 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); }


/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 991px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .svc-row--flip .svc-col-info,
  .svc-row--flip .svc-col-list { order: unset; }

  .service-detail-list { gap: 14px; }
  .sdl-item { padding: 18px 20px; }
  .sdl-icon { width: 40px; height: 40px; min-width: 40px; font-size: 1.2rem; }

  .sector-card, .emerging-card, .bess-card { padding: 26px 22px; }
  .process-step-card { padding: 26px 18px; }
}

@media (max-width: 767px) {
  .service-overview-card,
  .sector-card,
  .emerging-card,
  .bess-card { padding: 22px 18px; }

  .soc-title, .sector-title, .ec-title, .bess-title { font-size: 1.1rem; }

  .sdl-item { flex-direction: column; gap: 14px; padding: 18px 16px; }
  .sdl-icon { width: 44px; height: 44px; }

  .bess-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .process-step-card { padding: 22px 16px; }
  .psc-number { font-size: 2rem; }
  .psc-icon { width: 54px; height: 54px; font-size: 1.5rem; }
}