/* ==========================================================================
   SERVICE PAGE STYLES
   Only what is specific to the service page lives here. Header, buttons,
   headings, hero base, testimonials, FAQ and footer come from style.css.

   CONTENTS
   01. Hero
   02. Why Choose Us (numbered cards)
   03. Assessment Process (zig-zag timeline)
   04. Other Services (tab list + featured panel)
   05. Free Case Review CTA
   06. FAQ (intro spacing)

   COLOURS USED
   navy #0f2d5c · deep navy #0a1f44 · blue #1e54e0 · light blue #e8efff
   border #e1e8f3 · mist #f3f6fc · slate text #55647d

   CONVENTIONS
   - Property order: layout -> box -> typography -> effects.
   - Each section: base rules, then states (hover/focus), then media queries
     (largest breakpoint first).
   ========================================================================== */


/* ==========================================================================
   01. HERO
   The long headline needs a slightly smaller size than the homepage hero.
   ========================================================================== */

.svc-hero .cfr-hero-title {
  font-size: 48px;

}

.service-banner-span{
    color:#bdd0f6;
}

@media (max-width: 991px) {
  .svc-hero .cfr-hero-title {
    font-size: 37px;
    letter-spacing: -1px;
  }
}

@media (max-width: 767px) {
  .svc-hero .cfr-hero-title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }
}


/* ==========================================================================
   02. WHY CHOOSE US
   ========================================================================== */

/* Card */
.svc-card {
  height: 100%;
  padding: 38px 34px 34px;
  background: #ffffff;
  border: 1px solid #e1e8f3;
  border-radius: 18px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.svc-card:hover {
  box-shadow: 0 22px 48px rgba(15, 45, 92, 0.11);
  transform: translateY(-4px);
}

.svc-card .cfr-service-text {
  margin-bottom: 0;
}

/* Number badge */
.svc-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #e8efff;
  color: #1e54e0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .svc-card {
    padding: 30px 24px 28px;
  }
}


/* ==========================================================================
   03. ASSESSMENT PROCESS
   Steps alternate left and right of a centre line. Step 06 is filled navy.
   Under 768px the timeline collapses to one column along a left line.
   ========================================================================== */

.svc-process {
  background: #f3f6fc;
}

/* Timeline wrapper and centre line */
.svc-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.svc-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #c9d6ee;
  transform: translateX(-50%);
}

/* Step row (default = card on the left, .svc-step-right = card on the right) */
.svc-step {
  position: relative;
  display: flex;
  justify-content: flex-start;
}

.svc-step:last-child {
  margin-bottom: 0;
}

.svc-step-right {
  justify-content: flex-end;
}

/* Dot on the centre line */
.svc-step::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  box-sizing: border-box;
  border: 4px solid #f3f6fc;
  border-radius: 50%;
  background: #1e54e0;
}

/* Step card */
.svc-step-card {
  position: relative;
  width: 46%;
  padding: 34px 36px;
  background: #ffffff;
  border: 1px solid #e1e8f3;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 45, 92, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.svc-step-card:hover {
  box-shadow: 0 22px 48px rgba(15, 45, 92, 0.11);
  transform: translateY(-4px);
}

.svc-step-card .cfr-card-title,
.svc-step-card .cfr-card-text {
  position: relative; /* keeps text above the big background number */
}

.svc-step-card .cfr-card-title {
  display: block;
  margin: 0 0 12px;
}

/* Big faint number behind the text */
.svc-step-num {
  position: absolute;
  top: 14px;
  right: 24px;
  color: #eaf0fb;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

/* Final step (navy variant) */
.svc-step-final .svc-step-card {
  background: #0f2d5c;
  border-color: #0f2d5c;
  box-shadow: 0 18px 40px rgba(15, 45, 92, 0.22);
}

.svc-step-final .svc-step-num {
  color: rgba(255, 255, 255, 0.1);
}

.svc-step-final .cfr-card-title {
  color: #ffffff;
}

.svc-step-final .cfr-card-text {
  color: #c3d1ec;
}

@media (max-width: 767px) {
  .svc-timeline::before {
    left: 14px;
    transform: none;
  }

  .svc-step,
  .svc-step-right {
    justify-content: flex-start;
    margin-bottom: 24px;
    padding-left: 44px;
  }

  .svc-step::after {
    top: 30px;
    left: 14px;
  }

  .svc-step-card {
    width: 100%;
    padding: 26px 22px;
  }

  .svc-step-num {
    top: 12px;
    right: 18px;
    font-size: 52px;
  }
}


/* ==========================================================================
   04. OTHER SERVICES
   Left: navy tab list. Right: featured panel that updates on click
   (behaviour is in the <script> at the bottom of service.php).
   ========================================================================== */

/* Two-column layout */
.svc-tabs {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  align-items: stretch;
}

/* --- Tab list (left) --- */
.svc-tablist {
  padding: 28px;
  border-radius: 20px;
  background: #0f2d5c;
}

.svc-tablist-title {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.svc-tab {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.svc-tab:last-child {
  margin-bottom: 0;
}

.svc-tab span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  opacity: 0.7;
}

.svc-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

.svc-tab.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f2d5c;
  transform: none;
}

.svc-tab:focus-visible {
  outline: 3px solid #6f9bff;
  outline-offset: 2px;
}

/* --- Featured panel (right) --- */

/* Plain text note (separate class, not a button) */
/* "Step 1 of 5" label */
  .svc-step-label {
    display: inline-block;
    margin: 25px 0px 25px 0px;
    padding: 6px 14px;
    border-radius: 50px;
    background: #0f2d5c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;

  }


  .svc-note {
   display: block;
    width: fit-content;        
  max-width: 100%; 
    padding: 14px 14px;
    border-radius: 14px;
    background: #e9ecef;
    border: 1px solid #6c757d;
    color: #55647d;
    font-size: 15px;
    line-height: 1.6;
   
  }
 
  .svc-note strong {
  font-weight: 700;
    color: #0a1f44;
  }

.svc-panel {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid #e1e8f3;
  border-radius: 20px;
  background: #f3f6fc;
}

.svc-panel-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: #0f2d5c;
  font-size: 38px;
}

.svc-panel-title {
  position: relative;
  margin: 14px 0 20px;
  color: #0a1f44;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.svc-panel-text {
  position: relative;
  max-width: 640px;
  margin: 0;
  color: #55647d;
  font-size: 18px;
  line-height: 30px;
}

.svc-panel .cfr-btn {
  position: relative;
}

/* Tablet and below: tabs become a compact grid sitting directly above the panel */
@media (max-width: 991px) {
  .svc-tabs {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .svc-tablist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    border-radius: 18px;
  }

  /* Heading repeats the section title, so hide it visually (still read by screen readers) */
  .svc-tablist-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .svc-tab {
    margin-bottom: 0;
  }

  .svc-tab:hover {
    transform: none;
  }

  .svc-panel {
    padding: 40px 32px;
  }


  .svc-panel-title {
    font-size: 34px;
  }
}

/* Large phones: two columns */
@media (max-width: 767px) {
  .svc-tablist {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small phones: one swipeable row of chips, panel visible right below */
@media (max-width: 575px) {
  .svc-tablist {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    border-radius: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .svc-tablist::-webkit-scrollbar {
    display: none;
  }

  .svc-tab {
    flex: 0 0 auto;
    width: auto;
    padding: 12px 16px;
    font-size: 12px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .svc-tab span {
    display: inline;
    margin: 0 8px 0 0;
  }

  .svc-panel {
    padding: 28px 22px;
  }

  .svc-panel-icon {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }


  .svc-panel-title {
    font-size: 27px;
    letter-spacing: -0.6px;
  }

  .svc-panel-text {
    font-size: 16px;
    line-height: 27px;
  }


}


/* ==========================================================================
   05. FREE CASE REVIEW CTA
   ========================================================================== */

.svc-cta-section .btn-white {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  background: #ffffff;
  color: #0f2d5c;
  font-weight: 600;
  cursor: pointer;
}

.svc-cta-section {
  padding: 40px 0 100px;
}

/* Navy panel */
.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 52px;
  border-radius: 24px;
  background: #0f2d5c;
  box-shadow: 0 28px 60px rgba(15, 45, 92, 0.2);
}

/* Left: icon + text */
.svc-cta-body {
  display: flex;
  flex: 1 1 520px;
  align-items: center;
  gap: 28px;
}

.svc-cta-icon {
  display: flex;
  flex: 0 0 88px;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #0a1f44;
  font-size: 36px;
}

.svc-cta .cfr-eyebrow {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #9db8f5;
}

.svc-cta-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.svc-cta-text {
  max-width: 640px;
  margin: 0;
  color: #c3d1ec;
  font-size: 16px;
  line-height: 27px;
}

/* Right: buttons */
.svc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.svc-btn-white {
  background: #ffffff;
  color: #0f2d5c;
}

.svc-btn-white:hover {
  background: #1e54e0;
  color: #ffffff;
}

.svc-btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.svc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 991px) {
  .svc-cta-section {
    padding: 20px 0 76px;
  }

  .svc-cta {
    padding: 36px 30px;
  }
}

@media (max-width: 575px) {
  .svc-cta-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .svc-cta-title {
    font-size: 26px;
  }

  .svc-cta-actions,
  .svc-cta-actions .cfr-btn {
    width: 100%;
  }
}


/* ==========================================================================
   06. FAQ
   Accordion styling comes from style.css. The intro block has no
   .cfr-heading wrapper, so it needs its own space above the first question.
   ========================================================================== */

.cfr-faq .text-center {
  margin-bottom: 56px;
}

@media (max-width: 991px) {
  .cfr-faq .text-center {
    margin-bottom: 42px;
  }
}

@media (max-width: 767px) {
  .cfr-faq .text-center {
    margin-bottom: 32px;
  }
}