@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

html, body {
    font-family: 'DM Sans',Arial,sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;*/
  box-shadow: none !important
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* =========================================
   H2 SOFTWARE NAVIGATION COLORS
   ========================================= */

/* Force larger navbar link padding */
nav.h2-navbar ul.navbar-nav > li.nav-item > a.nav-link {
  color: #000000 !important;
  padding: 16px 24px !important;
  font-size: 15px !important;
  font-weight: bold;
  line-height: 1.5 !important;
  box-sizing: border-box;
}

/* Smooth hover and active transition */
nav.h2-navbar ul.navbar-nav > li.nav-item > a.nav-link {
  border-radius: 5px;
  transition: color 0.3s ease-in, background-color 0.3s ease-in;
}

  /* Hover */
  nav.h2-navbar ul.navbar-nav > li.nav-item > a.nav-link:hover,
  nav.h2-navbar ul.navbar-nav > li.nav-item > a.nav-link:focus-visible {
    color: #ffffff !important;
    background-color: var(--h2-primary-dark) !important;
  }

  /* Active link */
  nav.h2-navbar ul.navbar-nav > li.nav-item > a.nav-link.active {
    color: #ffffff !important;
    background-color: var(--h2-primary-dark) !important;
  }

/*OPTIMIZED*/
/* =========================================
   1. CSS VARIABLES & ROOT SETTINGS
   ========================================= */
:root {
  --h2-primary: #9A0000;
  --h2-primary-dark: #7B0000;
  --h2-primary-light: #999999;
  --text-primary: #252525;
  --text-secondary: #BBBBBB;
  --bg-black: #000000;
  --bg-white: #ffffff;
  --bg-light: #f7f7f7;
  --bg-gray: #EEEEEE;
  --border-color: #e9e9e9;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* =========================================
   2. GLOBAL & SHARED PAGE STYLES
   ========================================= */
section {
  scroll-margin-top: 25px;
}

.page {
  min-height: 100vh;
  background: var(--bg-white);
}

main {
  width: 100%;
  min-width: 0;
}

.main-content {
  width: 100%;
  min-height: calc(100vh - 70px);
  padding: 0;
  margin: 0;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-label {
  display: inline-block;
  color: var(--h2-primary);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

  .section-heading h2,
  .intro-section h2,
  .about-section h2,
  .careers-panel h2 {
    color: var(--text-primary);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 750;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .section-heading p,
  .intro-section p,
  .about-section p {
    color: var(--h2-primary-light);
    font-weight: bold;
    line-height: 1.8;
  }

.about-section {
  padding: 90px 0;
}

/* Global Buttons */
.btn-primary-custom {
  background: var(--h2-primary);
  border: 1px solid var(--h2-primary);
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  padding: 13px 23px;
  width: 220px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

  .btn-primary-custom:hover {
    background: var(--h2-primary-dark);
    border-color: var(--h2-primary-dark);
    color: #fff;
  }

.btn-outline-custom {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  color: #fff;
  padding: 13px 23px;
  width: 220px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

  .btn-outline-custom:hover {
    background: #fff;
    color: var(--h2-primary);
  }


/* =========================================
   3. SHARED HERO & OVERLAY COMPONENTS
   ========================================= */
.about-hero,
.partners-hero,
.clients-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--h2-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-overlay,
.partners-overlay,
.clients-overlay {
  position: relative;
  padding: 95px 0 100px;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.48) 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.partners-overlay,
.clients-overlay {
  background: linear-gradient( 90deg, rgba(153, 153, 153, 0.95) 0%, rgba(153, 153, 153, 0.70) 55%, rgba(153, 153, 153, 0.25) 100% );
}


/* =========================================
   4. SHARED CAROUSEL COMPONENT
   Used by Careers and Clients pages
   ========================================= */
.careers-carousel,
.solutions-carousel {
  width: 100%;
  /*max-width: 1100px;*/
  margin: 0;
}

.carousel-viewport {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 50px;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  flex: 0 0 33.333333%;
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #ffffff;
  background: var(--h2-primary);
  border: 1px solid var(--h2-primary);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.carousel-arrow-prev {
  grid-column: 1;
  grid-row: 1;
}

.carousel-arrow-next {
  grid-column: 3;
  grid-row: 1;
}

.carousel-arrow:hover:not(:disabled) {
  color: #ffffff;
  background: var(--h2-primary-dark);
  border-color: var(--h2-primary-dark);
}

.carousel-arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.carousel-dot {
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  background: #cccccc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

  .carousel-dot:hover {
    background: #888888;
  }

  .carousel-dot.active {
    background: var(--h2-primary);
    transform: scale(1.3);
  }

.carousel-counter {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  color: #777777;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.carousel-arrow:focus-visible,
.carousel-dot:focus-visible,
.career-link:focus-visible,
.client-link:focus-visible {
  outline: 3px solid #333333;
  outline-offset: 4px;
}


/* =========================================
   5. HOME & GENERAL SECTIONS
   ========================================= */
.hero-section {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image: url('/images/home-banner.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 110px;
}

.hero-label {
  display: inline-block;
  color: #ffb9bd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 850px;
  margin-bottom: 24px;
}

  .hero-content h1 span {
    color: #ff737b;
  }

.hero-content p {
  color: #e0e0e0;
  font-size: 18px;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

  .hero-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-bottom span {
    color: #f0d7d8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
  }

/* Services Section */
.services-section {
  padding: 90px 0;
  background: #f6f6f7;
}

.service-card {
  height: 100%;
  min-height: 260px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 30px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  }

.service-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--h2-primary-light);
  color: var(--h2-primary);
  font-size: 15px;
  font-weight: 800;
  border-radius: 5px;
}

.service-card h3 {
  color: var(--h2-primary);
  min-height: 70px;
  font-size: 19px;
  font-weight: 750;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  color: var(--h2-primary-light);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8;
  text-align: justify;
}

.service-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--h2-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}


/* =========================================
   6. ABOUT PAGE STYLES
   ========================================= */
.about-page {
  color: var(--h2-primary);
  background: var(--bg-white);
}

.about-hero {
  background-image: url('/images/about-us.jpg');
}

  .about-hero::after {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 360px;
    height: 360px;
    border: 65px solid rgba(167, 25, 32, 0.055);
    border-radius: 50%;
    content: "";
  }

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.about-eyebrow,
.about-section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-section-label {
  color: var(--h2-primary);
}

.about-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.about-hero p {
  max-width: 650px;
  margin: 0;
  color: #e0e0e0;
  font-size: 18px;
  line-height: 1.8;
}

.about-hero-line {
  width: 75px;
  height: 5px;
  margin-top: 30px;
  background: var(--h2-primary);
  border-radius: 4px;
}

.about-intro-section {
  padding: 100px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.about-image-wrapper {
  position: relative;
  min-width: 0;
  padding: 0 18px 18px 0;
}

.about-company-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 340px;
  max-height: 490px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-gray);
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
  animation-delay: calc(var(--solution-index, 0) * 0.5s);
}

.about-image-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  border-radius: 8px;
  background: var(--h2-primary);
}

.about-intro-content h2 {
  margin: 0 0 24px;
  color: #222222;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.3;
}

  .about-intro-content h2 span {
    color: var(--h2-primary);
  }

.about-intro-content p {
  margin-bottom: 17px;
  color: var(--h2-primary-light);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.95;
}

.about-goal-section {
  padding: 85px 0;
  background: var(--bg-light);
}

.about-goal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 55px 50px;
  border: 1px solid #eeeeee;
  border-top: 5px solid var(--h2-primary);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.045);
  text-align: center;
}

.about-goal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 25px;
  border-radius: 50%;
  color: var(--h2-primary);
  background: var(--bg-gray);
  font-size: 27px;
}

.about-goal-card h2 {
  margin: 0 0 18px;
  color: #222222;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
}

.about-goal-card p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--h2-primary-light);
  font-size: 16px;
  font-weight: bold;
  line-height: 1.9;
}

.about-services-section {
  padding: 100px 0;
}

.about-section-heading {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

  .about-section-heading h2 {
    margin: 0 0 15px;
    color: #222222;
    font-size: clamp(30px, 3.5vw, 40px);
    font-weight: 800;
  }

  .about-section-heading p {
    margin: 0;
    color: var(--h2-primary-light);
    font-size: 15px;
    font-weight: bold;
    line-height: 1.8;
  }

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.about-service-card {
  padding: 30px 24px;
  border: 1px solid #eaeaea;
  border-radius: 7px;
  background: var(--bg-white);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

  .about-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--h2-primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  }

.about-service-number {
  margin-bottom: 25px;
  color: var(--h2-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.about-service-card h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.4;
}

.about-service-card p {
  margin: 0;
  color: var(--h2-primary-light);
  font-size: 14px;
  line-height: 1.8;
}

.about-visual {
  min-height: 350px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-white);
  border-radius: 6px;
}

.about-logo {
  display: block;
  width: 100%;
  max-width: 260px;
  max-height: 190px;
  object-fit: contain;
  margin: 0 auto;
}

.about-caption {
  margin-top: 25px;
  color: var(--h2-primary-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}


/* =========================================
   7. CAREERS PAGE STYLES
   ========================================= */
.careers-page {
  color: #343434;
  background: var(--bg-white);
  font-family: 'DM Sans', Arial, sans-serif;
  overflow: hidden;
}

.careers-container {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.careers-page *,
.careers-page *::before,
.careers-page *::after {
  box-sizing: border-box;
}

.career-opportunities {
  padding: 65px 0 90px;
  background: var(--bg-light);
}

.career-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 65px 35px;
}

  .career-heading h2 {
    font-weight: bold;
    margin-bottom: 0;
  }

    .career-heading h2 span {
      color: var(--h2-primary);
    }

.carousel-slide .career-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  /*min-height: 390px;*/
  height: 100%;
  padding: 26px 22px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--h2-primary);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgb(0 0 0 / 4%);
  transition: box-shadow 0.25s ease;
}

  .carousel-slide .career-card:hover {
    box-shadow: 0 12px 28px rgb(0 0 0 / 9%);
  }

.career-card h3 {
  width: 100%;
  margin: 0 0 16px;
  color: var(--h2-primary);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.career-description {
  align-self: stretch;
  flex-grow: 1;
  width: 100%;
  margin-bottom: 25px;
  color: #000000;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

  .career-description p {
    color: var(--h2-primary-light);
    font-weight: bold;
    margin: 0 0 12px;
  }

  .career-description ul {
    margin: 0;
    padding-left: 22px;
  }

  .career-description li {
    color: var(--h2-primary-light);
    font-weight: bold;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
  }

    .career-description li:last-child {
      margin-bottom: 0;
    }

.careers-section {
  padding: 45px 0;
  background: #f6f6f7;
}

.careers-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 45px;
  background: var(--bg-white);
  border-left: 5px solid var(--h2-primary);
  border-radius: 5px;
}

  .careers-panel h2 {
    font-size: clamp(25px, 3vw, 34px);
  }

  .careers-panel p {
    color: var(--h2-primary-light);
    font-weight: bold;
    margin-bottom: 0;
  }


/* =========================================
   8. CLIENTS PAGE STYLES
   ========================================= */
.clients-page {
  color: #343434;
  background: var(--bg-white);
  font-family: 'DM Sans', Arial, sans-serif;
  overflow: hidden;
}

.clients-container {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.clients-page *,
.clients-page *::before,
.clients-page *::after {
  box-sizing: border-box;
}

.clients-hero {
  background-image: url('/images/partners-bg.jpg');
}

.clients-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--h2-primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.clients-hero h1 {
  max-width: 800px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
}

.clients-hero p {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.8;
}

.clients-intro {
  text-align: center;
  background-image: url('/images/clients-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

  .clients-intro h2 {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.25;
  }

.solutions-heading h2 {
  margin: 0 0 20px;
  color: #292929;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
}

.clients-intro p {
  max-width: 790px;
  margin: 0 auto;
  color: var(--bg-black);
  font-size: 16px;
  font-weight: bold;
  line-height: 1.9;
}

.client-solutions {
  padding: 65px 0 90px;
  background: var(--bg-light);
}

.solutions-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 65px 35px;
}

  .solutions-heading h2 {
    margin-bottom: 0;
  }

  .solutions-heading > p {
    max-width: 295px;
    margin: 0 0 4px;
    color: var(--h2-primary-light);
    font-size: 15px;
    font-weight: bold;
    line-height: 1.7;
  }

.carousel-slide .client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  /*min-height: 390px;*/
  height: 100%;
  padding: 26px 22px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--h2-primary);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgb(0 0 0 / 4%);
  transition: box-shadow 0.25s ease;
}

  .carousel-slide .client-card:hover {
    box-shadow: 0 12px 28px rgb(0 0 0 / 9%);
  }

.client-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  color: var(--h2-primary);
  background: #f1f1f1;
  border-radius: 50%;
}

  .client-icon i {
    font-size: 28px;
    line-height: 1;
  }

.client-card h3 {
  width: 100%;
  margin: 0;
  min-height: 100px;
  color: var(--h2-primary);
  font-size: 21px;
  font-weight: bold;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-description {
  align-self: stretch;
  flex-grow: 1;
  width: 100%;
  margin-bottom: 25px;
  color: #000000;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

  .client-description p {
    color: var(--h2-primary-light);
    font-weight: bold;
    margin: 0 0 12px;
  }

  .client-description ul {
    margin: 0;
    padding-left: 22px;
  }

  .client-description li {
    color: var(--h2-primary-light);
    font-weight: bold;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
  }

    .client-description li:last-child {
      margin-bottom: 0;
    }


/* =========================================
   9. PARTNERS PAGE STYLES
   ========================================= */
.partners-page {
  color: var(--h2-primary);
  background: var(--bg-white);
}

.partners-hero {
  background-image: url('/images/partners-bg.jpg');
}

  .partners-hero::after {
    position: absolute;
    top: -110px;
    right: -70px;
    width: 360px;
    height: 360px;
    border: 65px solid rgba(167, 25, 32, 0.055);
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

.partners-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.partners-eyebrow,
.partners-section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--h2-primary);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.partners-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.partners-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--bg-black);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}

.partners-hero-line {
  width: 75px;
  height: 5px;
  margin-top: 30px;
  border-radius: 4px;
  background: var(--h2-primary);
}

.partners-intro {
  padding: 75px 0 45px;
}

.partners-intro-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

  .partners-intro-content h2 {
    margin: 0 0 20px;
    color: #222222;
    font-size: clamp(27px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.3;
  }

  .partners-intro-content p {
    margin: 0;
    color: var(--h2-primary-light);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.9;
  }

.partners-list-section {
  padding: 45px 0 100px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}

.partner-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

  .partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 25, 32, 0.45);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
  }

.partner-logo-area {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-bottom: 1px solid #eeeeee;
  background: #fafafa;
}

.partner-logo-image {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 110px;
  object-fit: contain;
  object-position: center;
}

.partner-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}

.partner-category {
  margin-bottom: 12px;
  color: var(--h2-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.partner-card-content h2 {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-size: 27px;
  font-weight: 800;
}

.partner-card-content p {
  margin: 0 0 16px;
  color: var(--h2-primary-light);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.85;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--h2-primary);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color var(--transition-normal), gap var(--transition-normal);
}

  .partner-link:hover,
  .partner-link:focus-visible {
    gap: 15px;
    color: #7d1118;
    text-decoration: underline;
  }

.partners-closing {
  padding: 75px 0;
  border-top: 1px solid #eeeeee;
  background: var(--bg-light);
}

.partners-closing-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

  .partners-closing-content h2 {
    margin: 0 0 18px;
    color: #222222;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.35;
  }

  .partners-closing-content p {
    margin: 0;
    color: var(--h2-primary-light);
    font-size: 15px;
    font-weight: bold;
    line-height: 1.9;
  }


/* =========================================
   10. CONTACT INFORMATION & FOOTER
   ========================================= */
.contact-section {
  padding: 25px 0;
  background: linear-gradient(115deg, #7B0000, #9A0000 75%, #d62828);
}

.contact-information-section {
  padding: 70px 0;
}

  .contact-information-section .section-heading {
    margin-bottom: 40px;
    text-align: center;
  }

  .contact-information-section .section-label {
    color: var(--h2-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
  }

  .contact-information-section .section-heading h2 {
    margin: 12px 0;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
  }

  .contact-information-section .section-heading p {
    color: #ffffff;
    line-height: 1.8;
  }

  .contact-information-section .contact-card {
    height: 100%;
    padding: 30px 24px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    background: var(--bg-white);
    transition: box-shadow var(--transition-normal);
  }

    .contact-information-section .contact-card:hover {
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    }

  .contact-information-section .contact-icon {
    margin-bottom: 18px;
    font-size: 28px;
    color: var(--h2-primary);
  }

  .contact-information-section .contact-card h3 {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 750;
  }

  .contact-information-section .contact-card p {
    margin: 0;
    color: var(--h2-primary-light);
    font-size: 14px;
    font-weight: bold;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }

  .contact-information-section .contact-card a {
    color: var(--h2-primary);
    text-decoration: none;
  }

    .contact-information-section .contact-card a:hover {
      text-decoration: underline;
    }

.site-footer {
  padding: 50px 0 20px;
  background: #ffffff;
  color: var(--h2-primary-light);
  font-weight: bold;
}

.footer-logo {
  width: 160px;
  margin-bottom: 10px;
}

.site-footer p {
  font-size: 14px;
  line-height: 1.8;
}

.site-footer a:not(.footer-brand) {
  display: inline-block;
  margin: 8px 0 8px 18px;
  color: #ddd;
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ff9da2;
}

.site-footer hr {
  border-color: #555;
  margin-top: 30px;
}

.site-footer .copyright {
  margin-bottom: 0;
  color: #999;
  font-size: 12px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr;
  gap: 65px;
  padding-bottom: 40px;
}

  .site-footer .footer-grid p {
    color: var(--h2-primary-light);
    font-size: 11px;
    line-height: 1.9;
  }

  .site-footer .footer-grid h4 {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    margin: 4px 0 15px;
  }

  .site-footer .footer-grid a:not(:first-child) {
    display: block;
    color: var(--h2-primary-light);
    font-size: 11px;
    font-weight: bold;
    margin: 8px 0;
  }

  .site-footer .footer-grid a:hover {
    color: var(--text-secondary);
  }


/* =========================================
   11. NAVBAR
   ========================================= */
.h2-navbar {
  background: var(--bg-white);
  padding: 16px 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

  .h2-navbar .nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(1560px, calc(100% - 48px));
    max-width: unset;
  }

  .h2-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 24px;
  }

  .h2-navbar .h2-logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 220px;
    object-fit: contain;
  }

  .h2-navbar .navbar-nav {
    gap: 8px;
  }

    .h2-navbar .navbar-nav .nav-link {
      display: block;
      width: 100%;
    }

  .h2-navbar .navbar-toggler {
    background-color: var(--h2-primary);
    padding: 0.4rem 0.65rem;
  }

  .h2-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }

/* Fade in and slide upward */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .about-company-image {
    opacity: 1;
    animation: none;
    transform: none;
  }
}


/* =========================================
   12. RESPONSIVE BREAKPOINTS & ACCESSIBILITY
   ========================================= */
@media (max-width: 991.98px) {
  .about-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .about-company-image {
    min-height: 300px;
  }

  .about-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h2-navbar .navbar-nav {
    align-items: flex-start !important;
    padding-top: 12px;
    width: 100%;
    gap: 2px;
  }

  .h2-navbar .nav-item {
    width: 100%;
  }

  .h2-navbar .nav-link {
    width: 100%;
    padding: 10px 13px;
  }
}

@media (max-width: 900px) {
  .careers-container,
  .clients-container {
    width: calc(100% - 36px);
  }

  .career-heading,
  .solutions-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

    .career-heading > p,
    .solutions-heading > p {
      max-width: 600px;
    }

  .careers-carousel,
  .solutions-carousel {
    max-width: 100%;
  }

  .carousel-viewport {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
  }

  .carousel-slide {
    flex-basis: 50%;
  }

    .carousel-slide .career-card,
    .carousel-slide .client-card {
      /*min-height: 410px;*/
      padding: 20px 15px;
    }

  .career-card h3,
  .client-card h3 {
    font-size: 18px;
  }

  .career-description,
  .client-description {
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 580px;
  }

  .hero-content {
    padding-top: 65px;
    padding-bottom: 125px;
  }

    .hero-content p {
      font-size: 16px;
    }

  .hero-bottom .container {
    justify-content: flex-start;
  }

  .intro-section,
  .services-section,
  .about-section,
  .contact-section {
    padding: 15px 0;
  }

  .careers-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .about-hero p {
    font-size: 16px;
  }

  .about-intro-section,
  .about-services-section {
    padding: 65px 0;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image-wrapper {
    max-width: 520px;
  }

  .about-company-image {
    min-height: 250px;
  }

  .about-goal-section {
    padding: 60px 0;
  }

  .about-goal-card {
    padding: 38px 22px;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-service-card {
    padding: 25px;
  }

  .partners-hero p {
    font-size: 16px;
  }

  .partners-intro {
    padding: 55px 0 30px;
  }

  .partners-list-section {
    padding: 30px 0 65px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .partner-logo-area {
    min-height: 155px;
  }

  .partner-card-content {
    padding: 26px;
  }

  .partners-closing {
    padding: 55px 0;
  }

  .contact-information-section {
    padding: 50px 0;
  }

  .site-footer .text-md-end {
    text-align: left !important;
  }

  .site-footer a:not(.footer-brand) {
    margin-left: 0;
    margin-right: 18px;
  }

  .main-content {
    min-height: calc(100vh - 60px);
  }

  .content-container {
    padding: 24px 16px;
  }
}

@media (max-width: 575.98px) {
  .h2-navbar .h2-logo {
    height: 40px;
    max-width: 180px;
  }
}

@media (max-width: 600px) {
  .careers-container,
  .clients-container {
    width: calc(100% - 24px);
  }

  .careers-hero,
  .clients-hero {
    padding: 65px 0;
  }

    .careers-hero h1,
    .clients-hero h1 {
      font-size: 36px;
    }

    .careers-hero p,
    .clients-hero p {
      font-size: 16px;
    }

  .careers-intro {
    padding: 55px 0 45px;
  }

    .careers-intro h2,
    .career-heading h2,
    .clients-intro h2,
    .solutions-heading h2 {
      font-size: 29px;
    }

  .career-solutions,
  .client-solutions {
    padding: 45px 0 60px;
  }

  .careers-carousel,
  .solutions-carousel {
    max-width: 100%;
  }

  .carousel-viewport {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 3px;
  }

  .carousel-slide {
    flex-basis: 100%;
  }

    .carousel-slide .career-card,
    .carousel-slide .client-card {
      /*min-height: 380px;*/
      padding: 14px 8px;
    }

  .client-icon {
    width: 44px;
    height: 44px;
    /*margin-bottom: 14px;*/
  }

    .client-icon i {
      font-size: 22px;
    }

  .career-card h3,
  .client-card h3 {
    font-size: 15px;
    line-height: 1.3;
  }

  .career-description,
  .client-description {
    font-size: 12px;
    line-height: 1.6;
  }

    .career-description ul,
    .client-description ul {
      padding-left: 16px;
    }

    .career-description li,
    .client-description li {
      margin-bottom: 7px;
    }

  .carousel-controls {
    margin-top: 14px;
  }

  .carousel-arrow {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .carousel-indicators {
    gap: 8px;
  }

  .carousel-dot {
    flex-basis: 8px;
    width: 8px;
    height: 8px;
    min-width: 8px;
  }

  .carousel-counter {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .carousel-arrow,
  .carousel-dot,
  .career-link span,
  .client-link span,
  .partner-card,
  .partner-link {
    transition: none;
  }

    .partner-card:hover {
      transform: none;
    }
}