/* ============================================================
   SWIFTPATH SEN EDUCATION
   GLOBAL DESIGN SYSTEM
============================================================ */

:root {
  /* ----------------------------------------------------------
     BRAND COLOURS
  ---------------------------------------------------------- */

  --sp-navy: #082a4a;
  --sp-navy-dark: #041c32;
  --sp-navy-soft: #0d3b63;

  --sp-teal: #319d8c;
  --sp-teal-dark: #247a6d;
  --sp-teal-light: #e5f4f1;

  --sp-blue: #35b0e9;
  --sp-blue-light: #e9f7fd;

  /* ----------------------------------------------------------
     BACKGROUNDS
  ---------------------------------------------------------- */

  --sp-white: #ffffff;
  --sp-cream: #f7faf9;
  --sp-light: #eef5f4;
  --sp-light-blue: #f4f9fc;

  /* ----------------------------------------------------------
     TEXT
  ---------------------------------------------------------- */

  --sp-text: #183247;
  --sp-text-dark: #0c2437;
  --sp-muted: #667887;
  --sp-muted-light: #9aabb7;

  /* ----------------------------------------------------------
     BORDERS
  ---------------------------------------------------------- */

  --sp-border: #dce8e5;
  --sp-border-light: #eaf1ef;

  /* ----------------------------------------------------------
     SHADOWS
  ---------------------------------------------------------- */

  --sp-shadow-sm: 0 4px 20px rgba(8, 42, 74, 0.06);

  --sp-shadow: 0 15px 45px rgba(8, 42, 74, 0.1);

  --sp-shadow-lg: 0 25px 70px rgba(8, 42, 74, 0.15);

  /* ----------------------------------------------------------
     RADIUS
  ---------------------------------------------------------- */

  --sp-radius-sm: 10px;
  --sp-radius: 18px;
  --sp-radius-lg: 28px;

  /* ----------------------------------------------------------
     TRANSITIONS
  ---------------------------------------------------------- */

  --sp-transition: all 0.3s ease;

  /* ----------------------------------------------------------
     TYPOGRAPHY
  ---------------------------------------------------------- */

  --sp-heading-font: "Manrope", sans-serif;
  --sp-body-font: "Inter", sans-serif;
}

/* ============================================================
   RESET
============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: var(--sp-body-font);

  color: var(--sp-text);

  background: var(--sp-white);

  font-size: 15px;

  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

p {
  color: var(--sp-muted);
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sp-heading-font);

  color: var(--sp-text-dark);

  font-weight: 800;

  line-height: 1.2;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

.section-content h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);

  margin-bottom: 22px;
}

.section-content h2 span,
.section-heading h2 span {
  color: var(--sp-teal);
}

.section-heading {
  max-width: 760px;

  margin: 0 auto;
}

.section-heading p {
  max-width: 650px;

  margin: 0 auto;

  font-size: 16px;
}

/* ============================================================
   SECTION SYSTEM
============================================================ */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--sp-cream);
}

.section-label {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 18px;

  color: var(--sp-teal);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.16em;
}

.section-label::before {
  content: "";

  width: 28px;

  height: 2px;

  background: var(--sp-teal);
}

.light-label {
  color: var(--sp-blue);
}

.light-label::before {
  background: var(--sp-blue);
}

/* ============================================================
   TOP BAR
============================================================ */

.topbar {
  background: var(--sp-navy-dark);

  color: rgba(255, 255, 255, 0.75);

  font-size: 12px;
}

.topbar-inner {
  min-height: 42px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.topbar-left span,
.topbar-right,
.topbar-right a {
  display: flex;

  align-items: center;

  gap: 7px;
}

.topbar-right {
  gap: 24px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.75);

  transition: var(--sp-transition);
}

.topbar a:hover {
  color: var(--sp-white);
}

.topbar i {
  color: var(--sp-teal);
}

/* ============================================================
   NAVBAR
============================================================ */

.main-navbar {
  background: rgba(255, 255, 255, 0.96);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--sp-border-light);

  padding: 0;

  z-index: 1000;
}

.brand-logo {
  width: 155px;

  height: 68px;

  object-fit: contain;
}

.navbar-brand {
  padding: 0;
}

.navbar-nav {
  gap: 5px;
}

.navbar .nav-link {
  color: var(--sp-text);

  font-size: 14px;

  font-weight: 600;

  padding: 30px 14px !important;

  position: relative;

  transition: var(--sp-transition);
}

.navbar .nav-link::after {
  content: "";

  position: absolute;

  left: 14px;

  right: 14px;

  bottom: 20px;

  height: 2px;

  background: var(--sp-teal);

  transform: scaleX(0);

  transform-origin: center;

  transition: var(--sp-transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--sp-teal);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-actions {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-left: 22px;
}

.navbar-social {
  display: flex;

  gap: 8px;

  margin-left: 14px;
}

.navbar-social a {
  width: 34px;

  height: 34px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  color: var(--sp-navy);

  background: var(--sp-light);

  transition: var(--sp-transition);
}

.navbar-social a:hover {
  background: var(--sp-teal);

  color: var(--sp-white);

  transform: translateY(-2px);
}

/* ============================================================
   BUTTONS
============================================================ */

.btn {
  border-radius: 9px;

  font-family: var(--sp-body-font);

  font-size: 14px;

  font-weight: 700;

  padding: 12px 21px;

  transition: var(--sp-transition);
}

.btn i {
  margin-left: 7px;
}

.btn-brand {
  color: var(--sp-white);

  background: var(--sp-teal);

  border: 1px solid var(--sp-teal);

  box-shadow: 0 8px 20px rgba(49, 157, 140, 0.2);
}

.btn-brand:hover {
  color: var(--sp-white);

  background: var(--sp-teal-dark);

  border-color: var(--sp-teal-dark);

  transform: translateY(-2px);

  box-shadow: 0 12px 28px rgba(49, 157, 140, 0.28);
}

.btn-outline-brand {
  color: var(--sp-navy);

  background: transparent;

  border: 1px solid var(--sp-border);
}

.btn-outline-brand:hover {
  color: var(--sp-teal);

  border-color: var(--sp-teal);

  background: var(--sp-teal-light);
}

.btn-hero-outline {
  color: var(--sp-white);

  border: 1px solid rgba(255, 255, 255, 0.5);

  background: rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
  color: var(--sp-navy);

  background: var(--sp-white);

  border-color: var(--sp-white);
}

.btn-light-brand {
  color: var(--sp-navy);

  background: var(--sp-white);

  border: 1px solid var(--sp-white);
}

.btn-light-brand:hover {
  color: var(--sp-navy);

  background: var(--sp-teal-light);

  border-color: var(--sp-teal-light);

  transform: translateY(-2px);
}

/* ============================================================
   HERO
============================================================ */

.hero-section {
  min-height: 720px;

  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  color: var(--sp-white);
}

.hero-background {
  position: absolute;

  inset: 0;
}

.hero-background img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(4, 28, 50, 0.96) 0%,
    rgba(8, 42, 74, 0.88) 48%,
    rgba(8, 42, 74, 0.48) 100%
  );
}

.hero-container {
  position: relative;

  z-index: 2;
}

.hero-content {
  max-width: 760px;

  padding: 100px 0;
}

.hero-eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.07);

  color: rgba(255, 255, 255, 0.88);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  margin-bottom: 25px;
}

.eyebrow-dot {
  width: 8px;

  height: 8px;

  background: var(--sp-teal);

  border-radius: 50%;

  box-shadow: 0 0 0 5px rgba(49, 157, 140, 0.14);
}

.hero-content h1 {
  color: var(--sp-white);

  font-size: clamp(3rem, 6vw, 5.5rem);

  line-height: 1.02;

  max-width: 780px;

  margin-bottom: 25px;
}

.hero-content h1 span {
  color: var(--sp-teal);

  display: block;
}

.hero-description {
  max-width: 690px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 17px;

  line-height: 1.8;

  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.hero-trust {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 42px;
}

.trust-item {
  display: flex;

  align-items: center;

  gap: 12px;
}

.trust-icon {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(49, 157, 140, 0.15);

  color: var(--sp-teal);

  font-size: 19px;
}

.trust-item strong {
  display: block;

  color: var(--sp-white);

  font-size: 13px;
}

.trust-item span {
  display: block;

  color: rgba(255, 255, 255, 0.55);

  font-size: 11px;
}

.trust-divider {
  width: 1px;

  height: 35px;

  background: rgba(255, 255, 255, 0.18);
}

.hero-card {
  max-width: 390px;

  margin-left: auto;

  padding: 38px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  background: rgba(4, 28, 50, 0.72);

  backdrop-filter: blur(16px);

  border-radius: var(--sp-radius-lg);

  box-shadow: var(--sp-shadow-lg);
}

.hero-card-icon {
  width: 55px;

  height: 55px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(49, 157, 140, 0.15);

  color: var(--sp-teal);

  border-radius: 15px;

  font-size: 25px;

  margin-bottom: 28px;
}

.hero-card-label {
  color: var(--sp-blue);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.15em;
}

.hero-card h3 {
  color: var(--sp-white);

  font-size: 28px;

  margin: 10px 0 15px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.68);

  font-size: 14px;

  margin-bottom: 25px;
}

.hero-card a {
  color: var(--sp-white);

  font-size: 13px;

  font-weight: 700;
}

.hero-card a i {
  margin-left: 7px;

  color: var(--sp-teal);
}

.hero-scroll {
  position: absolute;

  z-index: 3;

  bottom: 30px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  align-items: center;

  gap: 10px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 11px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

/* ============================================================
   TRUST STRIP
============================================================ */

.trust-strip {
  background: var(--sp-white);

  border-bottom: 1px solid var(--sp-border-light);

  padding: 35px 0;
}

.trust-heading span {
  display: block;

  color: var(--sp-teal);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.15em;

  margin-bottom: 5px;
}

.trust-heading h3 {
  margin: 0;

  font-size: 20px;
}

.trust-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px 35px;
}

.trust-grid-item {
  display: flex;

  align-items: center;

  gap: 13px;
}

.trust-grid-item > i {
  font-size: 24px;

  color: var(--sp-teal);
}

.trust-grid-item strong {
  display: block;

  font-size: 13px;

  color: var(--sp-text);
}

.trust-grid-item span {
  display: block;

  color: var(--sp-muted);

  font-size: 11px;
}

/* ============================================================
   IMAGE STACK
============================================================ */

.image-stack {
  position: relative;

  padding-right: 35px;

  padding-bottom: 35px;
}

.image-stack .main-image {
  height: 570px;

  overflow: hidden;

  border-radius: var(--sp-radius-lg);
}

.image-stack .main-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.7s ease;
}

.image-stack:hover .main-image img {
  transform: scale(1.04);
}

.floating-stat {
  position: absolute;

  right: 0;

  bottom: 0;

  width: 285px;

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 20px;

  background: var(--sp-white);

  border-radius: 15px;

  box-shadow: var(--sp-shadow);
}

.floating-stat-icon {
  width: 45px;

  height: 45px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--sp-teal-light);

  color: var(--sp-teal);

  border-radius: 12px;
}

.floating-stat strong {
  display: block;

  color: var(--sp-text);

  font-size: 12px;
}

.floating-stat span {
  display: block;

  color: var(--sp-muted);

  font-size: 10px;

  line-height: 1.5;
}

/* ============================================================
   INTRO
============================================================ */

.section-intro {
  padding-top: 110px;

  padding-bottom: 110px;
}

.section-content .lead {
  color: var(--sp-text);

  font-size: 17px;

  line-height: 1.8;
}

.section-content p {
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 10px;

  color: var(--sp-teal);

  font-size: 14px;

  font-weight: 700;
}

.text-link:hover {
  color: var(--sp-teal-dark);
}

.text-link i {
  transition: var(--sp-transition);
}

.text-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   SERVICES
============================================================ */

.service-card {
  position: relative;

  height: 100%;

  padding: 35px;

  background: var(--sp-white);

  border: 1px solid var(--sp-border);

  border-radius: var(--sp-radius);

  overflow: hidden;

  transition: var(--sp-transition);
}

.service-card::after {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 3px;

  background: var(--sp-teal);

  transform: scaleX(0);

  transform-origin: left;

  transition: var(--sp-transition);
}

.service-card:hover {
  transform: translateY(-7px);

  border-color: transparent;

  box-shadow: var(--sp-shadow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card.featured {
  background: var(--sp-navy);

  border-color: var(--sp-navy);
}

.service-card.featured h3 {
  color: var(--sp-white);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.65);
}

.service-number {
  position: absolute;

  top: 25px;

  right: 28px;

  color: var(--sp-border);

  font-family: var(--sp-heading-font);

  font-size: 13px;

  font-weight: 800;
}

.featured .service-number {
  color: rgba(255, 255, 255, 0.18);
}

.service-icon {
  width: 58px;

  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 25px;

  border-radius: 15px;

  background: var(--sp-teal-light);

  color: var(--sp-teal);

  font-size: 25px;
}

.featured .service-icon {
  background: rgba(49, 157, 140, 0.15);
}

.service-card h3 {
  font-size: 20px;

  margin-bottom: 14px;
}

.service-card p {
  font-size: 13px;

  margin-bottom: 25px;
}

.service-card a {
  color: var(--sp-teal);

  font-size: 13px;

  font-weight: 700;
}

.service-card a i {
  margin-left: 5px;

  transition: var(--sp-transition);
}

.service-card a:hover i {
  margin-left: 10px;
}

.services-cta {
  margin-top: 45px;
}

/* ============================================================
   WHY SECTION
============================================================ */

.why-section {
  background: var(--sp-navy-dark);

  overflow: hidden;
}

.why-section h2 {
  color: var(--sp-white);
}

.why-section h2 span {
  color: var(--sp-teal);
}

.text-light-muted {
  color: rgba(255, 255, 255, 0.65);
}

.feature-list {
  margin: 35px 0;
}

.feature-list-item {
  display: flex;

  gap: 15px;

  margin-bottom: 24px;
}

.feature-check {
  width: 35px;

  height: 35px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(49, 157, 140, 0.15);

  color: var(--sp-teal);
}

.feature-list-item h4 {
  color: var(--sp-white);

  font-size: 14px;

  margin: 0 0 3px;
}

.feature-list-item p {
  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;

  margin: 0;
}

.feature-list-item h4 {
  color: #000;

  font-size: 14px;

  margin: 0 0 3px;
}

.feature-list-item p {
  color: rgba(0, 0, 0, 0.5);

  font-size: 12px;

  margin: 0;
}

.why-image {
  position: relative;

  padding-left: 30px;
}

.why-image img {
  width: 100%;

  height: 580px;

  object-fit: cover;

  border-radius: var(--sp-radius-lg);
}

.why-badge {
  position: absolute;

  left: 0;

  bottom: 35px;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 18px 22px;

  background: var(--sp-white);

  border-radius: 14px;

  box-shadow: var(--sp-shadow-lg);
}

.why-badge > i {
  font-size: 27px;

  color: var(--sp-teal);
}

.why-badge strong {
  display: block;

  font-size: 12px;

  color: var(--sp-text);
}

.why-badge span {
  display: block;

  font-size: 10px;

  color: var(--sp-muted);
}

/* ============================================================
   PROCESS
============================================================ */

.process-grid {
  display: grid;

  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;

  align-items: center;
}

.process-item {
  text-align: center;
}

.process-number {
  color: var(--sp-teal);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.1em;

  margin-bottom: 15px;
}

.process-icon {
  width: 72px;

  height: 72px;

  margin: 0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 20px;

  background: var(--sp-teal-light);

  color: var(--sp-teal);

  font-size: 27px;
}

.process-item h3 {
  font-size: 17px;

  margin-bottom: 9px;
}

.process-item p {
  font-size: 12px;

  margin: 0 auto;

  max-width: 190px;
}

.process-line {
  width: 60px;

  height: 1px;

  background: var(--sp-border);
}

/* ============================================================
   AUDIENCE
============================================================ */

.audience-card {
  height: 100%;

  padding: 32px 25px;

  background: var(--sp-white);

  border: 1px solid var(--sp-border);

  border-radius: var(--sp-radius);

  text-align: center;

  transition: var(--sp-transition);
}

.audience-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--sp-shadow);

  border-color: var(--sp-teal);
}

.audience-icon {
  width: 60px;

  height: 60px;

  margin: 0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--sp-light-blue);

  color: var(--sp-blue);

  border-radius: 17px;

  font-size: 25px;
}

.audience-card h3 {
  font-size: 17px;

  margin-bottom: 8px;
}

.audience-card p {
  font-size: 12px;

  margin: 0;
}

/* ============================================================
   SAFEGUARDING
============================================================ */

.safeguarding-section {
  padding: 75px 0;

  background: var(--sp-cream);
}

.safeguarding-card {
  display: flex;

  align-items: center;

  gap: 30px;

  padding: 45px;

  background: var(--sp-white);

  border: 1px solid var(--sp-border);

  border-radius: var(--sp-radius-lg);

  box-shadow: var(--sp-shadow-sm);
}

.safeguarding-icon {
  width: 80px;

  height: 80px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--sp-teal-light);

  color: var(--sp-teal);

  border-radius: 22px;

  font-size: 34px;
}

.safeguarding-content {
  flex: 1;
}

.safeguarding-content h2 {
  font-size: 28px;

  margin-bottom: 10px;
}

.safeguarding-content p {
  margin: 0;

  font-size: 13px;

  max-width: 650px;
}

/* ============================================================
   ENQUIRY
============================================================ */

.enquiry-section {
  background: var(--sp-light);
}

.enquiry-wrapper {
  overflow: hidden;

  border-radius: var(--sp-radius-lg);

  box-shadow: var(--sp-shadow-lg);
}

.enquiry-info {
  height: 100%;

  padding: 60px 50px;

  background: var(--sp-navy);
}

.enquiry-info h2 {
  color: var(--sp-white);

  font-size: 42px;

  margin-bottom: 20px;
}

.enquiry-info h2 span {
  color: var(--sp-teal);
}

.enquiry-info > p {
  color: rgba(255, 255, 255, 0.65);

  font-size: 14px;
}

.enquiry-contact {
  margin-top: 45px;
}

.enquiry-contact-item {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 20px;
}

.enquiry-contact-item > div {
  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 11px;

  background: rgba(49, 157, 140, 0.13);

  color: var(--sp-teal);
}

.enquiry-contact-item span {
  color: rgba(255, 255, 255, 0.5);

  font-size: 10px;
}

.enquiry-contact-item strong {
  display: block;

  color: var(--sp-white);

  font-size: 12px;
}

.enquiry-form {
  height: 100%;

  padding: 60px 50px;

  background: var(--sp-white);
}

.form-heading > span {
  color: var(--sp-teal);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.15em;
}

.form-heading h3 {
  font-size: 29px;

  margin: 7px 0;
}

.form-heading p {
  font-size: 13px;

  margin-bottom: 30px;
}

.enquiry-form label {
  display: block;

  margin-bottom: 7px;

  color: var(--sp-text);

  font-size: 11px;

  font-weight: 700;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
  height: 50px;

  border: 1px solid var(--sp-border);

  border-radius: 9px;

  background: var(--sp-cream);

  color: var(--sp-text);

  font-size: 13px;

  padding: 0 15px;

  box-shadow: none;

  transition: var(--sp-transition);
}

.enquiry-form textarea.form-control {
  height: auto;

  min-height: 130px;

  padding-top: 13px;

  resize: vertical;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
  border-color: var(--sp-teal);

  background: var(--sp-white);

  box-shadow: 0 0 0 4px rgba(49, 157, 140, 0.08);
}

.enquiry-form .form-control::placeholder {
  color: var(--sp-muted-light);
}

.form-note {
  display: flex;

  align-items: center;

  gap: 7px;

  justify-content: center;

  color: var(--sp-muted);

  font-size: 10px;

  margin: 0;
}

.form-note i {
  color: var(--sp-teal);
}

/* ============================================================
   TESTIMONIAL PLACEHOLDER
============================================================ */

.testimonial-placeholder {
  max-width: 650px;

  margin: 50px auto 0;

  padding: 45px;

  text-align: center;

  border: 1px dashed var(--sp-border);

  border-radius: var(--sp-radius);

  background: var(--sp-cream);
}

.testimonial-placeholder-icon {
  width: 65px;

  height: 65px;

  margin: 0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: var(--sp-teal-light);

  color: var(--sp-teal);

  font-size: 25px;
}

.testimonial-placeholder h3 {
  font-size: 19px;

  margin-bottom: 8px;
}

.testimonial-placeholder p {
  font-size: 13px;

  margin: 0;
}

/* ============================================================
   FOOTER CTA
============================================================ */

.footer-cta {
  padding: 0 0 60px;
}

.footer-cta-inner {
  padding: 45px 50px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  border-radius: var(--sp-radius-lg);

  background: linear-gradient(120deg, var(--sp-navy), var(--sp-navy-soft));
}

.footer-cta-inner span {
  color: var(--sp-blue);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.15em;
}

.footer-cta-inner h2 {
  color: var(--sp-white);

  font-size: 30px;

  margin: 7px 0 0;
}

/* ============================================================
   FOOTER
============================================================ */

.footer {
  padding: 75px 0 0;

  background: var(--sp-navy-dark);
}

.footer-logo {
  width: 175px;

  height: auto;

  margin-bottom: 22px;

  filter: brightness(0) invert(1);
}

.footer-description {
  max-width: 340px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 13px;
}

.footer-social {
  display: flex;

  gap: 8px;

  margin-top: 25px;
}

.footer-social a {
  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 50%;

  color: rgba(255, 255, 255, 0.65);

  transition: var(--sp-transition);
}

.footer-social a:hover {
  color: var(--sp-white);

  background: var(--sp-teal);

  border-color: var(--sp-teal);
}

.footer h4 {
  color: var(--sp-white);

  font-size: 14px;

  margin-bottom: 22px;
}

.footer > .container > .row > div > a {
  display: block;

  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;

  transition: var(--sp-transition);
}

.footer > .container > .row > div > a:hover {
  color: var(--sp-teal);

  transform: translateX(3px);
}

.footer-contact {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;
}

.footer-contact i {
  color: var(--sp-teal);

  margin-top: 4px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
  color: var(--sp-white);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  margin-top: 60px;

  padding: 25px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.35);

  font-size: 10px;
}

.footer-legal {
  display: flex;

  flex-wrap: wrap;

  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
  color: var(--sp-white);
}

/* ============================================================
   BACK TO TOP
============================================================ */

.back-to-top {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 48px;

  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--sp-teal);

  color: var(--sp-white);

  border-radius: 50%;

  opacity: 0;

  visibility: hidden;

  transform: translateY(15px);

  z-index: 999;

  box-shadow: var(--sp-shadow);

  transition: var(--sp-transition);
}

.back-to-top.show {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--sp-teal-dark);

  color: var(--sp-white);

  transform: translateY(-3px);
}

/* ============================================================
   SPINNER
============================================================ */

#spinner {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--sp-white);

  opacity: 1;

  visibility: visible;

  transition: 0.4s ease;
}

#spinner.hide {
  opacity: 0;

  visibility: hidden;

  pointer-events: none;
}

.spinner-ring {
  width: 45px;

  height: 45px;

  border: 3px solid var(--sp-teal-light);

  border-top-color: var(--sp-teal);

  border-radius: 50%;

  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1199px) {
  .navbar .nav-link {
    padding-left: 8px !important;

    padding-right: 8px !important;
  }

  .navbar .nav-link::after {
    left: 8px;

    right: 8px;
  }

  .navbar-actions {
    margin-left: 10px;
  }

  .hero-card {
    max-width: 340px;
  }
}

@media (max-width: 991.98px) {
  .topbar {
    display: none;
  }

  .brand-logo {
    width: 145px;

    height: 65px;
  }

  .main-navbar {
    padding: 5px 0;
  }

  .navbar .navbar-nav {
    padding: 15px 0;

    border-top: 1px solid var(--sp-border-light);
  }

  .navbar .nav-link {
    padding: 10px 0 !important;
  }

  .navbar .nav-link::after {
    display: none;
  }

  .navbar-actions {
    margin: 5px 0 15px;

    flex-wrap: wrap;
  }

  .navbar-social {
    margin: 0 0 15px;
  }

  .hero-section {
    min-height: 680px;
  }

  .hero-content {
    padding: 90px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 8vw, 4.5rem);
  }

  .section {
    padding: 80px 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;

    gap: 45px 30px;
  }

  .process-line {
    display: none;
  }

  .safeguarding-card {
    flex-wrap: wrap;
  }

  .enquiry-info,
  .enquiry-form {
    padding: 45px 35px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(4, 28, 50, 0.96),
      rgba(8, 42, 74, 0.86)
    );
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero-content h1 {
    font-size: 2.9rem;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;

    text-align: center;
  }

  .hero-trust {
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
  }

  .trust-divider {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .image-stack {
    padding-right: 15px;

    padding-bottom: 25px;
  }

  .image-stack .main-image {
    height: 420px;
  }

  .floating-stat {
    width: calc(100% - 30px);

    right: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .process-item p {
    max-width: 300px;
  }

  .why-image {
    padding-left: 0;
  }

  .why-image img {
    height: 420px;
  }

  .why-badge {
    left: 15px;
  }

  .safeguarding-card {
    padding: 30px;

    align-items: flex-start;
  }

  .safeguarding-content h2 {
    font-size: 24px;
  }

  .enquiry-info h2 {
    font-size: 34px;
  }

  .footer-cta-inner {
    padding: 35px 30px;

    flex-direction: column;

    align-items: flex-start;
  }

  .footer-cta-inner h2 {
    font-size: 25px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 65px 0;
  }

  .brand-logo {
    width: 130px;
  }

  .hero-content h1 {
    font-size: 2.45rem;
  }

  .hero-eyebrow {
    font-size: 10px;
  }

  .section-content h2,
  .section-heading h2 {
    font-size: 2rem;
  }

  .image-stack .main-image {
    height: 360px;
  }

  .floating-stat {
    padding: 15px;
  }

  .service-card {
    padding: 28px;
  }

  .enquiry-info,
  .enquiry-form {
    padding: 35px 22px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-bottom {
    margin-top: 40px;
  }
}

/* =========================================================
   SERVICE DETAIL SECTIONS
========================================================= */

.service-detail {
  position: relative;
  padding: 90px 0;
  border-top: 1px solid rgba(15, 45, 70, 0.08);
}

.service-detail:first-of-type {
  border-top: none;
  padding-top: 75px;
}

.service-detail:last-child {
  padding-bottom: 40px;
}

/* Alternating service blocks */
.service-detail-reverse {
  background: linear-gradient(
    90deg,
    rgba(248, 250, 252, 0.8),
    rgba(255, 255, 255, 0)
  );
}

/* Left side */
.service-detail-number {
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
  margin-bottom: 24px;
}

.service-detail-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 18px;
  font-size: 1.8rem;
  margin-bottom: 28px;
  box-shadow: 0 12px 30px rgba(15, 45, 70, 0.12);
}

.service-detail h3 {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-primary);
  margin: 0;
  max-width: 430px;
}

/* Right side */
.service-detail-lead {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--brand-primary);
  margin-bottom: 22px;
  max-width: 680px;
}

.service-detail p:not(.service-detail-lead) {
  font-size: 1rem;
  line-height: 1.8;
  color: #667085;
  max-width: 680px;
  margin-bottom: 30px;
}

/* Service points */
.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 30px;
  max-width: 680px;
  margin-top: 25px;
}

.service-points > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: #344054;
}

.service-points i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--brand-primary);
}

/* =========================================================
   SERVICE SECTION SPACING
========================================================= */

#services .section-heading {
  margin-bottom: 35px;
}

#services .service-detail + .service-detail {
  margin-top: 10px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
  .service-detail {
    padding: 70px 0;
  }

  .service-detail h3 {
    font-size: 1.75rem;
  }

  .service-detail-icon {
    width: 68px;
    height: 68px;
  }

  .service-detail-lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .service-detail {
    padding: 55px 0;
  }

  .service-detail:first-of-type {
    padding-top: 50px;
  }

  .service-detail:last-child {
    padding-bottom: 20px;
  }

  .service-detail-number {
    margin-bottom: 18px;
  }

  .service-detail-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 22px;
  }

  .service-detail h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .service-detail-lead {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .service-points {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}
