/* =========================================================
   QUANTONIC LIMITED — About Page Stylesheet (about.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::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  transition: width 0.35s ease;
}

.nav-links a.active {
  color: var(--blue-700);
}

.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);
}

/* =========================================================
   HERO SECTION (DESKTOP)
   ========================================================= */

.services-hero {
  position: relative;
  width: calc(100% - 72px);
  max-width: 1820px;
  height: 500px;
  margin: 125px auto 45px;
  border-radius: 25px;
  overflow: hidden;
  background: #1e3285;
}

.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;
}

.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;
  border-radius: 0 0 65% 0;
}

.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;
}

.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);
  }
}

/* =========================================================
   PHOTO STRIP SECTION
   ========================================================= */

.photo-band {
  padding: 140px 0 60px;
}

.photo-strip {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 380px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 15px 35px rgba(1, 48, 94, 0.08);
}

.photo-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 48, 94, 0.85) 0%, rgba(1, 48, 94, 0.35) 60%, rgba(1, 48, 94, 0.1) 100%);
}

.photo-strip .cap {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 520px;
  color: var(--white);
}

.photo-strip .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.photo-strip h4 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.photo-strip p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* =========================================================
   ABOUT US / VISION & MISSION BAND
   ========================================================= */

.about-band {
  padding: 80px 0 110px;
  background: var(--paper-dim);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-head h1 {
  font-size: 40px;
  color: var(--blue-900);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--steel-600);
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(1, 48, 94, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-500));
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-500);
  box-shadow: 0 20px 40px rgba(1, 48, 94, 0.1);
}

.about-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(18, 191, 208, 0.1);
  color: var(--cyan-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about-card:hover .about-icon {
  background: var(--green-500);
  color: var(--blue-900);
}

.about-card h4 {
  font-size: 30px;
  color: var(--blue-900);
  margin-bottom: 16px;
}

.about-card p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--steel-600);
}

/* =========================================================
   WHY QUANTONIC? SECTION STYLES
   ========================================================= */

.why-quantonic-section {
  position: relative;
  padding: 120px 0;
  background-color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.why-quantonic-content {
  position: relative;
  z-index: 10;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.why-quantonic-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  color: var(--blue-900, #01305e);
  margin-bottom: 24px;
  line-height: 1.15;
  text-transform: uppercase;
}

.why-quantonic-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--steel-800, #333d47);
  margin: 0;
}

.why-quantonic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.brand-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(1, 48, 94, 0.95) 0%, rgba(1, 48, 94, 0.4) 100%);
  z-index: 2;
}

/* =========================================================
   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;
  flex-wrap: wrap;
  padding: 64px 0;
  position: relative;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 22ch;
  color: var(--blue-900);
}

.cta-fly {
  position: absolute;
  right: 22%;
  top: -20px;
  opacity: 0.85;
}

.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);
}

/* =========================================================
   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); }
}

.fly-icon {
  animation: fly 4.5s ease-in-out infinite;
}

/* =========================================================
   RESPONSIVE DESIGN (TABLET & DESKTOP ADJUSTMENTS)
   ========================================================= */

@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;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .why-quantonic-section {
    padding: 80px 0;
  }
}


@media (min-width: 961px) {
  .why-quantonic-section {
    display: grid;
    grid-template-columns: minmax(auto, 1200px); 
    justify-content: center;
    background-color: transparent;
    padding: 0;
  }

  .why-quantonic-content {
    grid-column: 1 / -1; 
    max-width: 100%;
    padding: 120px 0; 
  }

  .why-quantonic-content h2 {
    font-size: 50px; 
    color: var(--blue-900, #01305e);
  } 
}

/* =========================================================
   MOBILE RESPONSIVE STYLES (≤ 768px)
   ========================================================= */

@media (max-width: 768px) {
  /* --- 1. HEADER FIX --- */
  .site-header .container {
    height: 70px !important;
    padding: 0 16px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .logo img {
    width: 120px !important;
    height: auto !important;
  }

  .book-btn {
    padding: 8px 14px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .book-btn span {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-toggle span {
    width: 22px;
    height: 2.5px;
    background-color: #142b72;
    border-radius: 2px;
    transition: 0.3s;
  }

  .navbar {
    display: none; 
  }

  .navbar.active {
    display: block !important;
    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;
  }

  /* --- 2. HERO CARD FIX --- */
  .services-hero {
    width: calc(100% - 30px);
    height: 430px;
    margin-top: 110px;
    border-radius: 20px;
  }

  .services-hero-image {
    width: 100%;
  }

  .services-hero-image img {
    width: 100%!important;
    height: 380px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .services-hero-blue {
    display: flex !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 58% !important;
    height: 100% !important;
    background: #1e3285 !important;
    z-index: 2 !important;
    align-items: flex-end !important;
    padding: 0 42px 25px !important;
    border-radius: 0 0 55% 0;
  }

  .services-hero-blue h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: var(--font-display) !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    white-space: pre-line !important;
  }

  .services-scroll {
    display: block !important;
    position: absolute !important;
    right: 20px !important;
    bottom: 16px !important;
    z-index: 5 !important;
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }

  /* --- 3. LAYOUT & SECTIONS --- */
  .wrap, 
  .container {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .photo-band {
    padding-top: 50px !important;
  }

  .photo-strip {
    aspect-ratio: 4 / 3 !important;
    min-height: 260px !important;
    border-radius: 12px !important;
  }

  .photo-strip .cap {
    left: 16px !important;
    right: 16px !important;
    top: auto !important;
    bottom: 16px !important;
    transform: none !important;
  }

  .photo-strip h4 {
    font-size: 1.4rem !important;
  }

  .photo-strip p {
    font-size: 13.5px !important;
  }

  .about-band {
    padding: 40px 0 !important;
  }

  .section-head {
    margin-bottom: 30px !important;
  }

  .section-head h1 {
    font-size: 28px !important;
  }

  .section-head p {
    font-size: 15px !important;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .about-card {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }

  .about-card h4 {
    font-size: 22px !important;
  }

  .about-card p {
    font-size: 15px !important;
  }

  .why-quantonic-section {
    padding: 40px 0 !important;
  }

  .why-quantonic-content h2 {
    font-size: 26px !important;
    margin-bottom: 16px !important;
  }

  .why-quantonic-content p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .cta-inner {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 40px 16px !important;
  }

  .cta-inner h2 {
    max-width: 100% !important;
    font-size: 1.8rem !important;
  }

  .cta-fly {
    display: none !important;
  }

  .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
  }

  .site-footer {
    padding: 40px 0 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

/* --- SMALL MOBILE (≤ 480px) --- */
@media (max-width: 480px) {
  .services-hero {
    height: 340px !important;
  }

  .services-hero-blue h1 {
    font-size: 2.4rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@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; 
  }


  .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;
  }

  
  .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 */
  }
}
@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;
}