/* =========================================================
   QUANTONIC LIMITED — Services Stylesheet (services.css)
   ========================================================= */

:root {
  --blue-900: #01305e;
  --blue-700: #01488a;
  --blue-600: #0a5aa3;
  --cyan-500: #12bfd0;
  --cyan-400: #14c8d7;
  --cyan-600: #08adc0;
  --green-500: #88ba26;
  --green-600: #729e1c;
  --ink: #0e1b24;
  --steel-600: #4c5a66;
  --steel-400: #7c8993;
  --steel-200: #c7d0d6;
  --paper: #f6f7f5;
  --paper-dim: #eef1ee;
  --line: #d8dedb;
  --white: #ffffff;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 12px;
}

/* =========================================================
   RESET & BASE STYLES
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: 
    radial-gradient(ellipse 900px 520px at 6% -8%, rgba(10, 90, 163, 0.06), transparent 60%),
    radial-gradient(ellipse 760px 520px at 100% 6%, rgba(136, 186, 38, 0.07), transparent 55%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 42px;
}

.nav-links a {
  color: #142b72;
  font-weight: 600;
  font-size: 17px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a.active {
  color: var(--blue-700);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  transition: width 0.35s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.book-btn {
  background: var(--cyan-400);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.book-btn span {
  margin-left: 8px;
}

.book-btn:hover {
  background: var(--cyan-600);
  transform: translateY(-2px);
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
  padding: 150px 0 60px;
  text-align: center;
}

.page-hero .section-heading span {
  color: var(--cyan-500);
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-mono);
}

.page-hero .section-heading h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--blue-900);
  margin: 18px 0;
}

.page-hero .section-heading p {
  color: var(--steel-600);
  line-height: 1.8;
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto;
}


/* =========================================================
   STATS / CLIENT TARGETS SECTION
   ========================================================= */

.stats {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.stats .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 4-column layout on Desktop */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Individual Card Styling */
.stat-card {
  position: relative;
  background: var(--white, #ffffff);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left; /* Left align is much easier to read for descriptive text */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(1, 72, 138, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Top Accent Line */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-500, #12bfd0), var(--green-500, #88ba26));
}

/* Decorative Background Glow */
.stat-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(18, 191, 208, 0.06);
  border-radius: 50%;
  top: -40px;
  right: -30px;
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* Card Hover Animation */
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(1, 48, 94, 0.12);
}

.stat-card:hover::after {
  transform: scale(1.4);
}

/* Card Heading (Category Title) */
.stat-card h2 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-900, #01305e);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Card Description */
.stat-card p {
  font-family: var(--font-body, sans-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--steel-600, #4c5a66);
  margin: 0;
  text-transform: none; /* Allows natural sentence case */
  letter-spacing: normal;
}

/* Scroll Animation Helper */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   STATS / AUDIENCE SECTION (Clean & Responsive)
   ========================================================= */

.stats {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.stats .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 4-column layout on Desktop */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card Styling */
.stat-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(1, 72, 138, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Top Accent Bar */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-500, #12bfd0), var(--green-500, #88ba26));
}

/* Background Glow */
.stat-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(18, 191, 208, 0.06);
  border-radius: 50%;
  top: -40px;
  right: -30px;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(1, 48, 94, 0.12);
}

.stat-card:hover::after {
  transform: scale(1.3);
}

/* Headings */
.stat-card h2,
.stat-card h3 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900, #01305e);
  line-height: 1.3;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Paragraphs */
.stat-card p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-600, #4c5a66);
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* Tablet (2 columns) */
@media (max-width: 1024px) {
  .stats {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 28px 20px;
  }
}

/* Mobile (1 column - prevents text clipping) */
@media (max-width: 640px) {
  .stats {
    padding: 40px 0;
  }

  .stats .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .stat-card h2,
  .stat-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .stat-card p {
    font-size: 13.5px;
    line-height: 1.5;
  }
}

/* =========================================================
   STATS SECTION (1 Column / One-by-One on Mobile)
   ========================================================= */

.stats {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.stats .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Desktop: 4 columns */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card Styling */
.stat-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: left;
  overflow: hidden;
  border: 1px solid rgba(1, 72, 138, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Top Accent Bar */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-500));
}

/* Background Glow Circle */
.stat-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(18, 191, 208, 0.08);
  border-radius: 50%;
  top: -50px;
  right: -40px;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(1, 48, 94, 0.12);
}

.stat-card:hover::after {
  transform: scale(1.3);
}

/* Card Heading */
.stat-card h2,
.stat-card h3 {
  font-family: var(--font-display, Arial, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-wrap: break-word;
}

/* Card Text */
.stat-card p {
  font-family: var(--font-body, sans-serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-600, #4b5a66);
  margin: 0;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* Tablets (2 columns) */
@media (max-width: 1024px) and (min-width: 641px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile Devices (1 column - One By One) */
@media (max-width: 640px) {
  .stats {
    padding: 40px 0;
  }

  .stats .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr; /* Stacks cards one by one */
    gap: 16px;
  }

  .stat-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .stat-card h2,
  .stat-card h3 {
    font-size: 1.1rem;
  }

  .stat-card p {
    font-size: 14px;
  }
}
/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-band {
  background: var(--green-500);
  color: var(--blue-900);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 10px;
  position: relative;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  
  color: var(--blue-900);
}

.cta-text p {
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--blue-900);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-fly {
  position: absolute;
  right: 5%;
  top: -20px;
  opacity: 0.85;
}

.fly-icon {
  animation: fly 4.5s ease-in-out infinite;
}

.btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--blue-900);
  color: var(--blue-900);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--blue-900);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER SECTION
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 30px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 34ch;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   KEYFRAME ANIMATIONS
   ========================================================= */

@keyframes fly {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -16px) rotate(-4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .stats-band .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-fly {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
}

@media (max-width: 720px) {
  .site-header .container {
    height: auto;
    padding: 15px 0;
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-hero {
    padding-top: 180px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .stats-band .wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}




/* =========================================================
   MOBILE HEADER & NAVIGATION FIX
   ========================================================= */

@media (max-width: 768px) {
  .site-header .container {
    height: 70px;
    padding: 0 20px;
    flex-direction: row; /* Keep elements in a single horizontal row */
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    width: 130px; /* Scale down logo to prevent overflow */
  }

  .book-btn {
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 8px;
  }

  /* Hide raw link list from exploding the header height */
  .navbar {
    display: none; 
  }

  /* Slide-down mobile drawer menu when toggled active */
  .navbar.active {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--line, #d8dedb);
    padding: 20px 0;
    z-index: 998;
  }

  .navbar.active .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .navbar.active .nav-links a {
    font-size: 16px;
  }

  /* Hamburger Toggle Button */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: #142b72;
    border-radius: 2px;
    transition: 0.3s;
  }
}

@media (min-width: 769px) {
  .mobile-toggle {
    display: none; /* Hide toggle on desktop */
  }
}


/* Fix for Book Consultation button on mobile */
@media (max-width: 768px) {
  .site-header .container {
    height: 70px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .logo img {
    width: 110px; /* Scale logo down slightly to give room */
    height: auto;
  }

  .book-btn {
    padding: 8px 14px;        /* Compact padding */
    font-size: 11.5px;        /* Slightly smaller text */
    white-space: nowrap;      /* Prevents text from breaking into 2 lines */
    border-radius: 6px;       /* Sleek corner rounding */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;             /* Fixed neat height */
  }

  .book-btn span {
    display: none;            /* Hides arrow icon on mobile to save space */
  }
}

/* =========================================================
   MOBILE 2-COLUMN STATS LAYOUT
   ========================================================= */

@media (max-width: 768px) {
    .stats {
        padding: 40px 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 blocks per row */
        gap: 12px;                            /* Tighter gap for mobile */
    }

    .stat-card {
        padding: 20px 8px; /* Reduced side padding so text fits */
    }

    .stat-card h2 {
        font-size: 26px;  /* Scaled down so numbers like £25M+ stay on one line */
    }

    .stat-card span {
        font-size: 20px;
    }

    .stat-card p {
        font-size: 10.5px;
        margin-top: 8px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
}


/* =========================================================
   CLIENTS / TRUSTED BY SECTION
   ========================================================= */

.clients-section {
  padding: 80px 0;
  background-color: var(--paper, #f8fafc);
  text-align: center;
}

.clients-heading {
  max-width: 700px;
  margin: 0 auto 50px;
}

.clients-heading h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--blue-900, #01305e);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.clients-heading p {
  font-size: 17px;
  color: var(--steel-600, #4c5a66);
  line-height: 1.6;
}

/* 3-Column Responsive Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.client-card {
  background: #ffffff;
  border: 1px solid var(--line, #d8dedb);
  border-radius: 16px;
  padding: 35px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 140px;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(1, 48, 94, 0.1);
  border-color: var(--cyan-400, #14c8d7);
}

.client-card img {
  max-width: 80%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%); /* Subtle professional desaturation */
  transition: filter 0.3s ease;
}

.client-card:hover img {
  filter: grayscale(0%);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 960px) {
  .clients-heading h2 {
    font-size: 32px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .client-card {
    padding: 20px 15px;
    height: 110px;
  }
}

@media (max-width: 600px) {
  .clients-grid {
    grid-template-columns: 1fr; /* Stack vertically on small phones */
    gap: 20px;
  }

  .client-card {
    height: 120px;
  }
}
/* =========================================================
   SERVICES HERO — QUANTONIC
   ========================================================= */

.services-hero {
    position: relative;
    width: calc(100% - 72px);
    max-width: 1820px;
    height: 500px;
    margin: 125px auto 45px;
    border-radius: 25px;
    overflow: hidden;
    background: #1e3285;
}

/* =========================================================
   IMAGE
   ========================================================= */

.services-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}


.services-hero-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;
}


/* =========================================================
   BLUE PANEL
   ========================================================= */

.services-hero-blue {

    position: absolute;

    left: 0;
    top: 0;

    width: 44%;
    height: 100%;

    background: #1e3285;

    z-index: 2;

    display: flex;

    align-items: flex-end;

    padding: 0 42px 28px;

    /*
       Creates the large curved bottom-right edge
    */
    border-radius: 0 0 65% 0;
}


/* =========================================================
   TITLE
   ========================================================= */

.services-hero-blue h1 {

    margin: 0;

    color: #ffffff;

    font-family: var(--font-display);

    font-size: clamp(4rem, 5.5vw, 6rem);

    font-weight: 700;

    line-height: 1;

    letter-spacing: -2px;
}


/* =========================================================
   ARROW
   ========================================================= */

.services-scroll {

    position: absolute;

    right: 32px;
    bottom: 28px;

    z-index: 5;

    color: #ffffff;

    font-size: 34px;

    font-weight: 300;

    line-height: 1;

    animation: servicesArrow 2s ease-in-out infinite;
}


@keyframes servicesArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .services-hero {

        width: calc(100% - 40px);

        height: 500px;

        margin-top: 115px;
    }

    .services-hero-blue {

        width: 48%;

        padding-left: 35px;
    }

    .services-hero-blue h1 {

        font-size: 4rem;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .services-hero {
        width: calc(100% - 30px);
        height: 430px;
        margin-top: 110px;
        border-radius: 20px;
    }
    .services-hero-image {

        width: 100%;
    }
    .services-hero-blue {

        width: 100%;

        height: 58%;

        align-items: flex-end;

        padding: 0 25px 25px;
        /*
           Curve moves to the bottom-right
        */
        border-radius: 0 0 55% 0;
        background: #1e3285;
    }


    .services-hero-blue h1 {

        font-size: 3.2rem;

        letter-spacing: -1px;
    }


    .services-scroll {

        right: 20px;

        bottom: 20px;

        font-size: 28px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-hero {

        height: 380px;

        width: calc(100% - 20px);

        border-radius: 16px;
    }


    .services-hero-blue {

        height: 60%;

        padding: 0 20px 20px;
    }


    .services-hero-blue h1 {

        font-size: 2.7rem;
    }

}

.services-hero-blue {
    position: absolute;

    top: 0;
    left: 0;

    width: 43%;
    height: 100%;

    background: #1e3285;

    z-index: 2;

    display: flex;
    align-items: flex-end;

    padding: 0 42px 25px;

    /*
       The important part:
       creates the large curved bottom-right corner
    */
    border-radius: 0 0 65% 0;
}