/* Imports */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');


@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 200;
  src: url('/static/fonts/source-sans-pro-extralight.woff') format('woff');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 300;
  src: url('/static/fonts/source-sans-pro-light.woff') format('woff');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 400;
  src: url('/static/fonts/source-sans-pro-regular.woff') format('woff'),
       url('/static/fonts/source-sans-pro-regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 600;
  src: url('/static/fonts/source-sans-pro-semibold.woff') format('woff'),
       url('/static/fonts/source-sans-pro-semibold.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 700;
  src: url('/static/fonts/source-sans-pro-bold.woff') format('woff'),
       url('/static/fonts/source-sans-pro-bold.ttf') format('truetype');
}

/* Variables */
:root {
  --primary-blue: #002B4E;
  --secondary-blue: #002B57;
  --accent-green: #40E6B4;
  --text-white: #FFFFFF;
  --text-light-blue: #B2CEEC;
  --text-light: rgba(255, 255, 255, 0.9);
  --bg-feature: rgba(255, 255, 255, 0.05);
  --text-blue: #8DCEEF;
  --box-gradient: linear-gradient(to bottom, #004f89, #003a71);
}

*, *:before, *:after {
  box-sizing: border-box;
  outline: none;
}

/* Base styles */
html, body {
  /* Background styles */
  background-color: #05386B;
  background-attachment: fixed;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}



body, .jaw-body {
  /* Our custom styles */
  background-color: #05386B;
  color: var(--text-white);
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  letter-spacing: 0.075em;
  height: 100%;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: normal;
    word-spacing: normal;
}

#space-background {
  margin-top: 80px;
  width: 100vw;
  height: 76vh;
  object-fit: cover;
  overflow: hidden;
}

#vacature-space-background {
  margin-top: 80px;
  width: 100vw;
  height: 65vh;
  object-fit: cover;
  overflow: hidden;
}

#rookwolk {
  display: none;
}

#james-met-rookwolk {
  display: none;
}

#rookwolk-met-james {
  margin-top: -37%;
  margin-left: -5vw;
  width: 110vw;
  overflow: hidden;
}

#vacaturerookwolk {
  margin-top: -8%;
  width: 100vw;
  overflow: hidden;
}

#james-in-raket {
  position: absolute;
  top: 170px;
  left: 65vw;
  width: 700px;
  height: auto;
}

#vacaturejames {
  position: absolute;
  top: 72vh;
  left: 10vw;
  width: 27vh;
  height: auto;
}

#page-title-wrapper #page-title {
  font-weight: 700;
  font-size: 7em;
  line-height: 1em;
}

#page-title-wrapper #page-subtitle {
  font-weight: 700;
  font-size: 4em;
  line-height: 1em;
}

#page-title-wrapper #page-description {
  margin-top: 0.5em;
  font-weight: 400;
  font-size: 2em;
  line-height: 1em;
}

#page-title-wrapper {
  position: absolute;
  top: 15vh;
  left: 17vw;
  width: 32vw;
  color: var(--text-light-blue);
  font-size: 12.2px;
}

#vacature-page-title-wrapper {
  position: absolute;
  top: 13vh;
  left: 17vw;
  width: 32vw;
  color: var(--accent-green);
  font-size: 12.2px;
}

#vacature-page-title-wrapper #page-title {
  font-weight: 600;
  font-size: 3em;
  line-height: 1em;
}

#vacature-page-title-wrapper #page-subtitle {
  font-weight: 700;
  font-size: 5em;
  line-height: 1em;
}

#vacature-page-title-wrapper #page-description {
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1em;
  color: var(--text-white);
}

#vacature-page-title-wrapper #page-description .larger {
  font-weight: 600;
  font-size: 1.75em;
  line-height: 1em;
}

@media (min-width: 1800px) {
  #page-title-wrapper {
    font-size:18px;
  }
}

@media (min-width: 2000px) {
  #page-title-wrapper {
    font-size:22px;
  }
}

#page-content {
  margin-top: -200px;
}


.title-wrapper h1 {
  margin-top: 6px;
  margin-bottom: 0;
}

.secondary-text {
  font-size: 16px;
  color: var(--text-light);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1530px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  min-height: 100%;
}

.narrow-section h2,
.narrow-description {
  max-width: 670px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.narrow-section {
  padding-top: 80px;
}

.hero-section {
  font-weight: 600;
  text-align: center;
  padding-top: 120px;
}

.hero-section h1,
.hero-section p {
  max-width: 1000px;
  margin: 0 auto 24px;
}

.partners-hero-section {
  text-align: center;
  padding-top: 160px;
}

.partners-hero-section h1,
.partners-hero-section p {
  max-width: 1600px;
  margin: 0 auto 24px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.partners-cards {
  max-width: 1200px;
  margin: auto;
  margin-top: 120px;
  margin-bottom: 120px;
}

.partner-card {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  margin: auto;
  justify-content: center;
  text-align: center;
  background: var(--box-gradient);
  border-radius: 16px;
  height: 100%;
  border: none;
}


.partners-card-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.partners-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin-bottom: 1rem;
}

.partners-card-info h4 {
  margin-bottom: 1rem;
}

/* Button styles (if not already defined in website.css) */
.button-card-green {
  display: inline-block;
  white-space: nowrap;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  border-radius: 24px;
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button-card-green:hover {
  background-color: var(--accent-green);
  color: var(--primary-blue);
}

.hero-section p {
  font-size: 20px;
}


.cta-section {
  text-align: center;
  margin-top: 20px;
}

.feature-grid-container {
  background-color: rgba(0, 43, 78, 0.7);
  width: 100%;
  padding: 24px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  max-width: 1700px;
  margin: 0 auto;
}

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  max-width: 840px;
  margin: 0 auto;
  margin-top: 24px;
}

.feature-box {
  height: max-content;
}

.feature-box, .text-grid-box {
  background: var(--box-gradient);
  padding: 0;
  width: 100%;
  border-radius: 8px;
  min-height: 0;
  position: relative;
}

.text-grid-box p {
  margin: 8px 8px;
}

.text-grid-box.nogradient {
  background: var(--secondary-blue);
  max-width: 30vw;
  min-height: 80px;
}

/* Guidance section specific */
.text-grid-section {
  max-width: 1132px;
  margin: 0 auto;
  margin-top: 80px;
}

.text-grid-section-3 {
  text-align: center;
  max-width: 1132px;
  margin: 0 auto;
  margin-top: 80px;
}

.text-grid-section h2 {
  margin-bottom: 40px;
}

.text-grid-content {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 32px;
  width: 100%;
  padding-right: 0;
}

.text-grid-content-odd {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  width: 100%;
  padding-right: 0;
}

.text-grid-text {
  padding-right: 0;
  width: 100%;
  line-height: 1.3;
}

.text-grid-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.text-grid-grid-3 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.text-grid-box {
  grid-column: span 1;
  justify-content: center;
  display: flex;
  align-items: center;
}

.text-grid-box p{
  width: 100%;
}

.text-grid-box.double {
  grid-column: span 2;
  justify-content: center;
}

.checkmark-alternate {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.image-left-section, .image-right-section {
  max-width: 1132px;
  margin: 0 auto;
  margin-top: 160px;
  display: grid;
  gap: 32px;
}

.image-left-section {
  grid-template-columns: 0.65fr 1.35fr;
  color: var(--text-blue);

}

.image-right-section {
  grid-template-columns: 1.35fr 0.65fr;
}

.image-left-section-image, .image-right-section-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-left-section-rocket-image {
  height: auto;
  width: 282px;
  margin: auto;
  margin-top: -200px;
}

.image-center-section {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  align-items: center;
  gap: 40px;
}

.image-center-section-text {
  width: 678px;
  margin: 0 auto;
}

.image-center-section .image-left{
  justify-self: end;
}

.image-center-section .image-right{
  justify-self: start;
}

.section-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  position: relative;
}

.siu-arrow-right-thin-hover_off{
  transform: scale(0.7);
}

.fade-line {
  position: absolute;
  right: 0;
  top: 50%;
  left: 165px;
  transform: translateY(-50%);
  height: 3px;
  background: linear-gradient(to right, #4b84aa 0%, rgba(75, 132, 170, 0) 100%);
}

.fade-line.stock {
  left: 269px;
}
.fade-line.order {
  left: 274px;
}
.fade-line.performance {
  left: 220px;
}

.fade-line.purchase {
  left: 247px;
}
.fade-line.invoice {
  left: 248px;
}

.fade-line.email {
  left: 281px;
}

.centered-cta {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  color: var(--text-light-blue);
}

.margin-top-80 {
  margin-top: 80px;
}

.margin-top-24 {
  margin-top: 24px;
}

.centered-cta .btn-common {
  margin-top: 20px;
  min-width: 200px;
}

.centered-cta-text-1 {
  text-align: right;
  width: 50%;
  padding-right: 10px;
}

.centered-cta-text-1.bordered {
  border-right: 1px solid var(--text-light-blue);
}

.centered-cta-text-2 {
  text-align: left;
  width: 50%;
  padding-left: 10px;
}

.centered-cta-text-2.bordered {
  border-left: 1px solid var(--text-light-blue);
}


.page-back {
  text-align: center;
  padding: 20px 0;
}

.page-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light-blue);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

/* CTA buttons */
.cta-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 30px 0;
}

.cta-buttons p {
  color: #7b9cbc;
  font-size: 18px;
  margin: 0;
  font-weight: 500;
}

.cta-buttons .btn-common {
  width: 300px;
}

.button-green,
.button-green-mobile {
  color: var(--accent-green);
  text-decoration: none;
  border: 1px solid var(--accent-green);
  border-radius: 8px;
  transition: all 0.5s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 8px;
}


.button-green {
  padding-left: 35px;
  padding-right: 35px;
}

.button-green-mobile {
  padding-left: 25px;
  padding-right: 25px;
}

.button-green i,
.button-green-mobile i {
  display: inline-flex;
  align-items: center;
  margin-top: -2px;
}


.jaw-nav .nav-link,
.jaw-nav .dropdown-toggle,
.jaw-nav .navbar-brand,
.jaw-dropdown-menu li a {
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.jaw-nav .nav-link:hover,
.jaw-nav .dropdown-toggle:hover,
.jaw-nav .navbar-brand:hover,
.jaw-dropdown-menu li a:hover {
  text-decoration: underline;
}

.navbar-toggler-icon {
  border-color: #95d9fc;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  color: #95d9fc;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  color: #95d9fc;
}

h3 {
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: #95d9fc;
  font-size: 24px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: "Source Sans Pro", sans-serif;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-details {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: "Source Sans Pro", sans-serif;
  text-decoration: none;
}

.jaw-nav-item {
  padding: 0 0.5rem;
}

.jaw-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;  /* Tight spacing between items */
  margin-left: auto;  /* Push menu to the right */
  list-style: none;  /* Add this to remove bullets */
}

.button-green.large-only {
  padding: 0.5rem 0.5rem;
}

@media (min-width: 1800px) {
  .jaw-nav-menu {
    transform: translateX(8rem);
    padding-right: 2rem;  /* Shift entire menu right */
  }

  .jaw-nav-item {
    padding: 0 1rem;
  }

  .button-green.large-only {
    padding: 0.5rem 2rem;
  }
}



.btn-primary i {
  font-size: 20px;
}

.btn-link {
  color: var(--text-light-blue);
  text-decoration: none;
  border: 1px solid #00518b;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-link:hover {
  border-color: var(--accent-green);
  color: var(--text-white);
  text-decoration: none;
}

.btn-link i {
  opacity: 0.7;
}


.btn-common {
  background: #00dd8d;
  color: #05386b;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-common:hover {
  background: #4ce7af;
  transform: none;
  color: #05386b;
}

main p {
color: var(--text-blue);
line-height: 1.3;
}

.feature-box .checkmark-container {
  background-color: #05386b;
  padding: 12px 0 12px 1px;
  border-radius: 8px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  position: absolute;
  top: 0;
  left: 0;
}



.feature-box .checkmark {
  background-image: url('../jaw/img/illustraties/vinkje_groot.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 24px;
  height: 24px;
}

.feature-grid-2 {
  margin: auto;
  margin-top: 100px;
  width: 1100px;
  gap: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid-2 .feature {
  background-color: #00518B;
  border-radius: 8px;
  padding: 24px;
  font-size: 16px;
  color: #CCE5FFDE;
}

.feature-grid-2 .feature-title {
  font-weight: 700;
  margin-bottom: 12px;
}




#for-whom {
  margin-top: -70px;
}

.simple-check-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.simple-check-container div {
  font-size: 16px;
  color: var(--text-blue);
}

.simple-check-container .checkmark {
  background-image: url('../jaw/img/illustraties/vinkje_groot.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 24px;
  height: 24px;
}

.feature-box p {
  color: var(--text-blue);
  margin: 16px 12px 16px 60px;
  line-height: 1.3;
  font-weight: 500;
  font-size: 16px;
  text-align: left !important;
}

.jaw-logo {
  width: 200px;
  height: auto;
}

.sub_nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 56px 0 24px 0;
}

.sub_nav a {
  color: #01c788;
  text-decoration: underline;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.sub_nav a:hover {
  opacity: 0.8;
}

.highlight {
  color: var(--accent-green);
  text-decoration: underline;
}

.line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 60px 0;
}


.partner-section {
  max-width: 1600px;
  margin: 40px auto 0;
  position: relative;
  padding: 0 24px;
}

.partner-carousel {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
}

.partner-carousel::before,
.partner-carousel::after {
  display: none;
}

.swiper::before,
.swiper::after {
  content: '';
  position: absolute;
  top: 80px;
  width: 120px;
  height: calc(100% - 140px);
  pointer-events: none;
  z-index: 2;
}

.swiper::before {
  left: 0;
  background: linear-gradient(to right, #03305a 0%, rgba(3, 51, 96, 0) 100%);
}

.swiper::after {
  right: 0;
  background: linear-gradient(to left, #03305a 0%, rgba(3, 51, 96, 0) 100%);
}

@media (max-width: 2400px) {
  .swiper::before {
      background: linear-gradient(to right, #022f57 0%, rgba(2, 47, 87, 0) 100%);
  }

  .swiper::after {
      background: linear-gradient(to left, #022f57 0%, rgba(2, 47, 87, 0) 100%);
  }
}
@media (max-width: 2100px) {
  .swiper::before {
      background: linear-gradient(to right, #012a4d 0%, rgba(2, 47, 87, 0) 100%);
  }

  .swiper::after {
      background: linear-gradient(to left, #012a4d 0%, rgba(2, 47, 87, 0) 100%);
  }
}
@media (max-width: 1800px) {
  .swiper::before {
      background: linear-gradient(to right, #002849 0%, rgba(0, 40, 73, 0) 100%);
  }

  .swiper::after {
      background: linear-gradient(to left, #002849 0%, rgba(0, 40, 73, 0) 100%);
  }
}

.partner-carousel h2 {
  color: var(--text-light-blue);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 40px;
  text-align: center;
}

.swiper-slide {
  width: 750px !important;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  transform: translateX(-38px) !important;
}

.swiper-slide-active {
  opacity: 1;
}

.swiper-wrapper {
  transition-timing-function: ease-out;
}

.swiper-slide .partner-card {
  background: var(--box-gradient);
  border-radius: 8px;
  padding: 32px;
  color: var(--text-blue);
  height: 100%;
  text-align: left;
  margin: 80px auto;
}

.partner-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}

.partner-item .checkmark {
  color: var(--accent-green);
  font-size: 20px;
  flex-shrink: 0;
}

.partner-card h3 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: none;
}

.partner-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.partner-card p:last-child {
  margin-bottom: 0;
}

.partner-card .text-accent {
  color: var(--accent-green);
  text-decoration: underline;
}

.floating-mountain-wrapper {
  position: absolute;
  right: -200px;
  bottom: 80px;
  z-index: 3;
  pointer-events: none;
}

.floating-mountain {
  width: 400px;
  height: auto;
}


.swiper-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.button-container {
  text-align: right;
}

.swiper-pagination-bullet {
  width: 15px !important;
  height: 15px !important;
  background: #001d2c !important;
  border: 2px solid #b1cbe4 !important;
  opacity: 1 !important;
  box-sizing: border-box;
  margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
  background: #b1cbe4 !important;
  border: 2px solid #b1cbe4 !important;
}


.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.36fr;
  gap: 0;
  max-width: 1364px;
  margin: 0 auto;
}


.quote-grid-item {
  padding: 40px;
  background: var(--box-gradient);
  text-align: left;
  border-radius: 8px 0 0 8px;
}

.quote-grid-item h2 {
  margin-top: 0;
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text-blue);
}

.quote-grid-item p {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--text-blue);
}

.quote-grid-item p:last-child {
  margin-bottom: 0;
}

.quote-grid-item--light {
  background: linear-gradient(to bottom, #005699, #003a71);
  box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.05);
  border-radius: 0 8px 8px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-grid-item--light p {
  color: var(--text-light-blue);
  font-size: 20px;
  line-height: 1.3;
}

.quote-grid-item cite {
  display: block;
  margin-top: 16px;
  font-style: italic;
  font-size: 16px;
  color: var(--text-light-blue);
}

.small-only {
  display: none;
}

.large-only {
  display: block;
}

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

.green-text {
  color: var(--accent-green);
}

.search-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto 40px;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: transparent;
  color: var(--text-light-blue);
  font-size: 16px;
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  width: 20px;
  height: 20px;
}

.search-input::placeholder {
  color: rgba(178, 206, 236, 0.5);
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -12px 36px;
  max-width: 1800px;
  margin: 0 auto;
}

.integration-grid > * {
  padding: 12px;
  width: 25%;  /* 4 cards per row on large screens */
}


/* Integration Cards */
.integration-card {
  height: 100%;
  background: linear-gradient(to bottom, #004578, #003156);
  border-radius: 24px;
  overflow: hidden;
}

.integration-card:hover {
  background: linear-gradient(to bottom, #004276, #00294C);
}

.integration-card__content {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.integration-card__header {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex: 1;
}

.integration-card__logo {
  flex-shrink: 0;
}

.integration-card__logo img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.integration-card__info {
  flex: 1;
}

.integration-card__info h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-light-blue);
  margin-bottom: 8px;
  margin-top: 0;
}

.integration-card__info p {
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-light-blue);
  margin: 0;
}

.integration-card__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: right;
}

.integration-card__footer a {
  color: var(--accent-green);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.integration-card__footer a:hover {
  opacity: 0.8;
}



.chat-bubble {
  position: relative;
  background: #7b9cbd;
  border-radius: 24px;
  padding: 24px 32px;
  max-width: 560px;
  margin: -5px auto 20px;
}

.chat-bubble::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 25px;
  width: 25px;
  height: 25px;
  background: #7b9cbd;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.chat-bubble p {
  color: #144575;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}


.mission-card {
  background: var(--box-gradient);
  border-radius: 8px;
  padding: 24px;
  height: min-content;
}



.success-carousel {
  max-width: 1200px;
  margin: 40px auto;
  position: relative;
}

.success-card {
  background: var(--box-gradient);
  border-radius: 8px;
  padding: 32px;
  margin: 0 12px;
}

/* Swiper customization */
.success-factors .swiper {
  margin: 0;
  padding: 20px 0;
  transform: translateX(0);
}

.success-factors .swiper-slide {
  transform: translateX(0);
}

.success-factors .swiper-pagination {
  position: relative;
  margin-top: 20px;
  transform: translateX(0);
}

/* Vision Section */
.vision-content {
  max-width: 650px;
  margin: 0 auto;
}

.swiper::before,
.swiper::after {
  top: 20px;
  height: calc(100% - 82px);
}

.floating-photo {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.floating-photo--1 {
  width: 250px;
  top: 190px;
  left: calc(70% + max(0px, min(1900px - 100vw, 500px)) * 0.15);
}

.floating-photo--2 {
  width: 250px;
  top: 210px;
  left: calc(80% + max(0px, min(1900px - 100vw, 500px)) * 0.2);
}

.floating-photo--3 {
  width: 250px;
  top: 750px;
  left: calc(16% - max(0px, min(1900px - 100vw, 500px)) * 0.5);
}

.floating-photo--4 {
  width: 500px;
  top: 1100px;
  left: calc(5% - max(0px, min(1900px - 100vw, 500px)) * 0.4);
}

.floating-photo--5 {
  width: 250px;
  top: 1000px;
  left: calc(72% + max(0px, min(1900px - 100vw, 500px)) * 0.25);
}

.floating-photo--6 {
  width: 400px;
  top: 1400px;
  left: calc(75% - max(0px, min(1900px - 100vw, 500px)) * 0.4);
}

.floating-photos-container {
  position: relative;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.pricing-card {
  border-radius: 25px;
  background: #04376c;
  color: var(--text-light-blue);
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(4, 55, 108) 0%, rgba(4, 55, 108, 0.753) 30%, rgba(4, 55, 108, 0.4) 67%, rgba(4, 55, 108, 0) 100%);
  box-shadow: 0px -58px 133px -30px rgba(0, 0, 0, 0.3);
  border: none;
  margin-bottom: 1em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px 0 0 24px;
  flex: 1;
}
.pricing-card .card-header {
  min-height: 75px;
  border: none;
  background: transparent;
  padding: 0;
  font-weight: bold !important;
  display: flex;
  align-items: stretch;
  margin-top: -12px;
}

.pricing-title-wrapper {
  font-size: 2.5em;
  font-weight: bold;
  justify-content: center;
  box-sizing: content-box;
  height: 70px;
  padding-top: 80px;
  display: flex;
}

.pricing-rotating-words {
  overflow: hidden;
  color: white;
  min-width: 7em;
  transform: translateY(27px);
}
.pricing-rotating-words span {
  display: block;
  height: 100%;
  animation: spin_words 2s infinite;
}

.pricing-card .card-body {
  padding: 0 24px 16px 0;
  text-align: left;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pricing-card .card-body .bottom-div {
  text-align: right;
  position: absolute;
  width: 100%;
  right: 1em;
  bottom: 2em;
}
.pricing-card .card-body ul {
  flex: 1;
  margin: 16px 0;
  list-style: none;
  padding-left: 0;
}
.pricing-card .card-body ul li {
  padding: 8px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pricing-card .price {
  color: #5cdb95;
  font-size: 2.2rem;
  font-weight: bold;
}

.pricing-card .discount {
  font-size: 1.5rem;
  color: #0f6ca5;
  font-weight: bold;
  text-decoration: line-through;
  position: relative;
}

.pricing-card .best-deal {
  background-color: #5cdb95;
  color: #05386b;
  width: 70%;
  padding: 5px;
  text-align: center;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

.standalone-module {
  background-color: #95d9fc;
  color: #05386b;
  width: 70%;
  padding: 5px;
  text-align: center;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

.bundle-card {
  margin-top: -33px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.pricing-card .reflection {
  background-color: lightgray;
  opacity: 0.33;
  width: 300%;
  height: 50px;
  transition: transform 1.5s ease-in-out;
}


.pricing-intro {
  text-align: center;
  padding: 40px 0;
}

.pricing-cards {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 462px);
  gap: 60px;
  max-width: 1800px;
  margin: 0 auto;
  justify-content: center;
}


.pricing-cards .card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}


.pricing-cards > .card-wrapper:nth-child(-n+3) .card-body {
  padding-bottom: 0;
}

.pricing-cards > .card-wrapper:nth-child(-n+3) .card-body ul {
  margin-bottom: 0;
}


.bundle-card {
  padding-top: 0;
}

.card-header {
  min-height: 75px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
}

.header-title {
  flex: 3;
  padding: 24px 16px 24px 0;
}

.header-icon {
  flex: 1;
  background-color: #104980;
  border-radius: 0 25px 0 25px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -24px;
}

.header-icon img {
  width: 30px;
  height: auto;
}

.card-body {
  padding: 24px;
  text-align: left;
  position: relative;
}

.card-body ul {
  list-style: none;
  list-style-image: url("../icons/check-green.svg");
  padding-left: 24px;
}

.card-body ul li {
  padding: 10px 0;
}

.best-deal-wrapper,
.standalone-module-wrapper {
  display: flex;
  justify-content: center;
  width: 75%;
  margin: 0 auto;
}

.best-deal,
.standalone-module {
  width: 100%;
  padding: 5px;
  text-align: center;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

.best-deal {
  background-color: #5cdb95;
  color: #05386b;
}

.standalone-module {
  background-color: #95d9fc;
  color: #05386b;
}

.card-wrapper:hover {
  transform: translateY(-2%);
  transition: linear 0.2s;
}

.standalone-card:hover {
  transform: translateY(-2%);
  transition: linear 0.2s;
}

hr {
  margin: 1rem 0;
  color: inherit;
  background-color: currentColor;
  border: 0;
  opacity: .25;
  height: 1px;
}

.checkmark {
  color: var(--accent-green);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}


@keyframes spin_words {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    transform: translateY(0%);
    opacity: 1;
  }
  85% {
    transform: translateY(0%);
    opacity: 1;
  }
  90% {
    transform: translateY(0%);
    opacity: 0.5;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.phone-button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.phone-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #57d08d;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #57d08d;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.phone-button:hover {
  background-color: rgba(87, 208, 141, 0.1);
  color: #57d08d;
}

.phone-button svg {
  width: 20px;
  height: 20px;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  color: var(--text-blue);
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background-color: #0e669d;
  border: none;
  border-radius: 8px;
  color: var(--text-blue);
  padding: 12px 16px;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1px solid var(--accent-green);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 14px;
}

.submit-group .btn-submit{
  margin-top: 12px;
  width: 150px;
  background-color: transparent;
  padding: 8px 26px;
  border-radius: 50px;
  color: var(--text-blue);
  border: 1px solid var(--text-blue);
  margin: auto;
  font-size: 18px;
}

.btn-submit:hover {
  background-color: var(--text-blue);
  color: var(--primary-blue);
  border-color: var(--text-blue);
  cursor: pointer;
}

#roadmap {
  display: flex;
  justify-content: space-between;
  padding-top: 180px;
}

#roadmap .left-roadmap, #roadmap .right-roadmap, #roadmap .center-roadmap {
  flex-basis: 30%;
  padding: 10px;
}

#roadmap .left-roadmap,
#roadmap .right-roadmap {
    width: 600px;
}

#roadmap .date {
  color: #6c8fb1;
  font-size: 24px;
  font-weight: 500;
  margin-left: -8px;
  line-height: 1;
}

#roadmap article {
  margin-bottom: 40px;
  width: 100%;
}

#roadmap .descr {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: -2px;
}

#roadmap h2 {
  color: var(--text-light-blue);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
  margin-top: 4px;
  margin-left: -8px;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1;
}

#roadmap .descr li {
  background: var(--box-gradient);
  border-radius: 12px;
  padding: 16px 24px;
  color: var(--text-light-blue);
  font-size: 16px;
  line-height: 1.2;
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-family: "Source Sans Pro", sans-serif;
}

/* Green button indicator */
#roadmap .descr li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.roadmap-mobile{
  display: none;
}

#roadmap .right-roadmap {
  padding-top: 6em;
}
#roadmap .center-roadmap {
  position: relative;
}
#roadmap .center-roadmap #roadmap-flag-1 {
  position: absolute;
  top: -10px;
  left: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #roadmap-flag-2 {
  position: absolute;
  top: 70px;
  right: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #roadmap-flag-3 {
  position: absolute;
  top: 290px;
  left: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #roadmap-flag-4 {
  position: absolute;
  top: 370px;
  right: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #roadmap-flag-5 {
  position: absolute;
  top: 655px;
  left: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #roadmap-flag-6 {
  position: absolute;
  top: 760px;
  right: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #roadmap-flag-7 {
  position: absolute;
  top: 1020px;
  left: 0;
  transform: scale(0.75);
}
#roadmap .center-roadmap #lines-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.integration-hero-card {
  width: 50%;
  max-width: 1200px;
  margin: auto;
  margin-top: 190px;
  background: var(--box-gradient);
  border: none;
  border-radius: 32px;
  padding: 36px;
}

.integration-hero-card .header {
  display: flex;
  min-height: 120px;
  margin-bottom: -12px;
  align-items: center;
}

.integration-hero-card .logo {
  width: 100px;
  height: 100px;
  margin-right: 24px;
  flex-shrink: 0;
}

.integration-hero-card .titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
}

.integration-hero-card h1 {
  font-size: 48px;
  color: var(--text-blue);
  margin-bottom: 8px;
  font-weight: 600;
}

.integration-hero-card h4 {
  font-size: 24px;
  color: var(--text-blue);
  opacity: 0.8;
  font-weight: normal;
  margin: 0;
}

.image-right-small-section {
  padding: 20px;
  padding-top: 100px;
  width: auto;
  position: static;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}

.image-right-small-section .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  align-items: center;
  gap: 40px;
}

.image-right-small-section .reach-content {
  text-align: left;
  grid-column: 2;
  margin-left: auto;
  padding-right: 0;
}

.reach-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  min-width: 300px;
  justify-self: start;
  grid-column: 3;
}

.marketplace__fba-switch {
  padding: 80px 0;
}

.marketplace__fba-switch-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.fba-image-left,
.fba-image-right {
  width: 280px;
  height: auto;
}

.fba-content {
  max-width: 800px;
}

.job-grid-header {
  display: flex;
  justify-content: center;
}

.job-grid-body {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.job-grid-item {
  background: var(--secondary-blue);
  border-radius: 8px;
  padding: 16px;
  padding-top: 8px;
  max-width: 438px;
  width: 100%;
}


@media (max-width: 768px) {

  #space-background {
    margin-top: 0px;
    height: 500px;
  }

  #rookwolk-met-james {
    display: none;
  }

  #rookwolk {
    display: block;
    width: 190vw;
    margin-left: -40vw;
    margin-top: -30%;
  }

  #james-met-rookwolk {
    display: block;
    position: absolute;
    width: 90vw;
    top: 80px;
    right: -10vw
  }

  #page-title-wrapper {
    top: 300px;
    left: 5%;
    transform: none;
    width: 90%;
    margin: auto;
  }

  #page-title-wrapper #page-title {
    text-align: center;
    font-size: 69px;
    line-height: 70px;
  }

  #page-title-wrapper #page-subtitle {
    font-size: 39px;
    text-align: center;
    line-height: 40px;
  }

  #page-title-wrapper #page-description {
    padding: 0 10px;
    font-size: 1rem;
    line-height: unset;
    width: 100%
  }

  #page-content {
    margin-top: -20px;
  }

  #for-whom {
    margin-top: 0;
  }

  .feature-grid-2 {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .marketplace__fba-switch {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
  }

  .fba-image-left,
  .fba-image-right {
    margin: auto;
  }

  .integration-hero-card {
    width: 90%;
    margin: auto;
    margin-top: 80px;
    background: var(--box-gradient);
    border: none;
    border-radius: 16px;
    padding: 24px;
  }

  .text-grid-section {
    padding: 0 18px;
  }

  .narrow-section {
    padding: 0 18px;
  }

  .roadmap-desktop{
    display: none !important;
  }

  .roadmap-mobile{
    display: block;
    width: 105%;
    padding: 0 16px;
    margin: 60px 0;
    color: var(--text-blue);
  }


  .roadmap-mobile-container {
      position: relative;
      width: 100%;
  }

  #roadmap-mobile article {
      display: flex;
      gap: 16px;
      margin-bottom: 70px;
      width: 100%;
  }

  .roadmap-mobile .date {
    color: #15497C;
    font-weight: 900;
    font-size: 1.4rem;
    padding-bottom: 0.5em;
  }


  #lines-canvas-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


  .roadmap-flag{
    transform: scale(0.75);
  }

  .pricing-cards {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    max-width: 85%;
  }


  .pricing-title-wrapper {
    display: block;
    height: auto;
    padding-top: 40px;
  }

  .pricing-title-wrapper h1 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .pricing-rotating-words {
    transform: translateY(0);
  }

  .success-factors {
    margin-top: 80px;
    margin-bottom: 40px;
    width: 140%;
    margin-left: -20%;
    padding: 0;
  }

  .success-carousel {
      max-width: 100%;
      overflow: hidden;
      margin: -40px 0 0;
      padding: 0 24px;
  }

  .success-factors .swiper-slide {
      transform: translateX(30px);
  }

  .success-factors .swiper {
      transform: translateX(0);
  }

  .success-factors .swiper-pagination {
      transform: translateX(0);
  }

  .vision-content {
      max-width: 100%;
  }

  .success-card {
      margin: 0;
      width: 100%;
  }

  .swiper-slide::before,
  .swiper-slide::after {
      display: none;
  }

  .mission-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
  }


  .integration-grid > * {
    padding: 12px;
    width: 85%;  /* 4 cards per row on large screens */
    margin: 0 auto;
  }

  .partners-hero-section {
    padding-top: 80px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  .partner-card {
    max-width: 85%
  }

  .image-center-section {
    display: flex;
  }

  .image-center-section .image-left,
  .image-center-section .image-right {
    display: none;
  }

  .small-only {
    display: block;
  }

  .large-only {
    display: none;
  }

  .feature-grid-3 {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
  }

  .feature-grid-2 {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
  }

  .text-grid-grid-3 {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

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

  .quote-grid-item {
    border-radius: 8px 8px 0 0;
    padding: 24px;
  }

  .quote-grid-item--light {
      border-radius: 0 0 8px 8px;
  }

  .jaw-nav-menu {
    flex-direction: column;
    padding-right: 0;
    gap: 0;
    transform: none; /* Reset transform on mobile */
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    width: 100%;
    padding: 24px 16px;
  }

  .footer-copyright,
  .footer-links,
  .footer-details {
      width: 100%;
  }

  .footer-details {
      flex-direction: column;
      gap: 4px;
      margin-top: 6px;
  }

  .footer-details div {
      font-family: "Source Sans Pro", sans-serif;
  }

  .jaw-nav-item {
      padding: 0.5rem 1rem;
  }

  .jaw-logo {
    width: 40px;
    height: auto;
  }

  .hero-section {
    padding-top: 20px;
  }

  .container {
    box-sizing: border-box;
  }

  .feature-grid {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
  }

  .feature-box {
    margin-bottom: 24px;
  }

  .cta-section .btn-link{
    display: block;
    width: fit-content;
    margin: 0 auto;
    margin-top: 10px;
  }

  .text-grid-content, .text-grid-content-odd {
    display: flex;
    flex-direction: column;
  }

  .floating-photos-container {
    display: none;
  }

  .text-grid-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .image-left-section, .image-right-section {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }


  .image-left-section-rocket-image {
    display: none;
  }

  .image-left-section-image,
  .image-right-section-image {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    padding: 0 24px;
    margin: 0;
  }

  .footer-bottom {
    padding: 0;
    margin: 0;
    margin-top: 24px;
  }

  .sub_nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px; /* 24px vertical gap, 16px horizontal gap */
    margin: 0 0 24px 0;
    padding: 0 24px;
    text-align: center;
  }

  .sub_nav a {
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
  }

  .section-cta {
    margin-top: 24px;
    margin-bottom: 120px;
  }

  .section-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .fade-line {
    display: none;
  }

  .floating-mountain-wrapper {
    display: none;
  }

  .partner-item {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 16px;
  }

  .partner-item .checkmark {
      margin-top: 2px;
  }

  .partner-item div {
      font-size: 15px;
      line-height: 1.4;
  }

  .partner-section {
    width: 140%;
    max-width: none;
    margin: 180px 0 0 -40px;
    margin-left: -22%;
    padding: 0;
  }

  .partner-carousel {
      width: 100%;
      margin: 0 auto;
  }

  .swiper {
      overflow: visible;
      padding: 0 24px;
  }

  .swiper-slide {
      width: 80vw !important;
      margin-right: 16px !important;
      transform: none !important;
  }

  .swiper-wrapper {
      padding: 0 12px;
  }

  .swiper-slide .partner-card {
      margin-top: 0px;
  }

  .swiper-slide .partner-card h3 {
      font-size: 24px;
  }

  .swiper-slide::before,
  .swiper-slide::after {
      display: none;
  }

  .job-grid-body {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }

  .job-grid-item {
    max-width: 100%;
  }


  #vacature-space-background {
    margin-top: 40px;
    width: 100vw;
    height: 65vh;
    object-fit: cover;
    overflow: hidden;
  }

  #vacaturerookwolk {
    margin-top: -8%;
    width: 100vw;
    overflow: hidden;
  }

  #vacaturejames {
    position: absolute;
    top: 70vh;
    left: 8vw;
    width: 20vh;
    height: auto;
  }

  #vacature-page-title-wrapper {
    position: absolute;
    top: 13vh;
    left: 2vw;
    width: 96vw;
    color: var(--accent-green);
    font-size: 12.2px;
  }

  #vacature-page-title-wrapper #page-title {
    font-weight: 600;
    font-size: 2em;
    line-height: 1em;
  }

  #vacature-page-title-wrapper #page-subtitle {
    font-weight: 700;
    font-size: 3em;
    line-height: 1em;
  }

  #vacature-page-title-wrapper #page-description {
    font-weight: 400;
    font-size: 1.4em;
    line-height: 1em;
    color: var(--text-white);
  }

  #vacature-page-title-wrapper #page-description .larger {
    font-weight: 600;
    font-size: 1.8em;
    line-height: 1em;
  }

  /* Style for vacature1.jpg image */
  #vacature1-img {
    height: 80vh; /* Make it taller */
    object-fit: cover; /* Cover the area, crop sides */
  }

  /* Adjust text overlay position on mobile */
  #vacature1-text-overlay {
    left: 5vw !important; /* Override inline style */
    width: 90vw !important; /* Override inline style */
    padding: 15px 0 !important; /* Adjust padding if needed */
    justify-content: center !important; /* Center items vertically if needed */
    gap: 10px; /* Add gap between items */
  }

  .text-grid-box.nogradient {
    max-width: 90vw;
    min-height: 0px;
  }

  /* --- Timeline Mobile Adjustments --- */
  .timeline {
    padding: 40px 20px; /* Adjust padding */
  }

  .timeline::before { /* Hide horizontal line */
    display: none;
  }

  .timeline-items {
    flex-direction: column; /* Stack vertically */
    align-items: center; /* Center cards horizontally */
    gap: 20px; /* Vertical gap between items */
    /* Remove alignment specific to horizontal layout */
    align-items: initial;
  }

  .item {
    display: block; /* Remove grid layout */
    flex-basis: auto; /* Reset flex-basis */
    grid-template-rows: auto; /* Reset grid rows */
    width: 100%; /* Allow cards to take full width if needed */
    max-width: 400px; /* Limit card width */
  }

  .item::before { /* Hide vertical connector */
    display: none;
  }

  .node { /* Hide node */
    display: none;
  }

  .card { /* Ensure card takes full width of item */
    max-width: 100%;
    margin-bottom: 0; /* Remove margin inherited from desktop */
  }
  /* --- End Timeline Mobile Adjustments --- */

  /* --- Skills Accordion Mobile Adjustments --- */
  .skills-container {
    display: block; /* Stack columns */
  }

  .skills-tabs {
    flex-basis: auto; /* Reset desktop flex sizing */
    width: 100%;
  }

  .skills-content { /* Hide the desktop content pane */
    display: none !important;
  }

  .skill-tab {
    width: 100%;
    border-radius: 8px !important; /* Override desktop active style */
    margin-right: 0 !important; /* Override desktop active style */
    justify-content: space-between; /* Space text and caret */
    position: relative; /* Needed for z-index if overlapping panes */
    z-index: 1;
  }

  /* Add caret icon */
  .skill-tab::after {
    content: '\2304'; /* Unicode Down Caret */
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.2s ease;
  }

  /* Hide original desktop arrow span on mobile */
  .skill-tab .desktop-arrow {
    display: none;
  }

  .skill-pane {
    /* Styles for pane when moved by JS */
    background-color: var(--card-bg1); /* Match image */
    color: #8DCEEF; /* Inherit doesn't work if moved outside parent */
    padding: 20px;
    border-radius: 0 0 8px 8px;
    margin-top: -8px; /* Overlap slightly for connected look */
    position: relative;
    z-index: 0;
    /* JS will set display: block/none */
  }

  /* Active state for mobile */
  .skill-tab.mobile-active {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    z-index: 2; /* Ensure active tab is above next inactive tab */
  }

  .skill-tab.mobile-active::after {
    transform: rotate(180deg); /* Point caret up */
     content: '\2303'; /* Unicode Up Caret */

  }
  /* --- End Skills Accordion Mobile Adjustments --- */

  /* Reduce top margin for Skills section on mobile */
  #skills-section {
    margin-top: 20px !important; /* Reduce space above */
    padding-top: 40px !important; /* Adjust padding if margin alone isn't enough */
  }

  .text-grid-box.nogradient {
    max-width: 90vw;
    min-height: 0px;
  }

  /* --- Soft Skills Mobile Adjustments --- */
  .soft-skills-grid {
      grid-template-columns: 1fr !important; /* Stack cards in a single column, override desktop */
      gap: 20px !important; /* Adjust vertical gap */
      padding: 0 10px !important; /* Adjust horizontal padding */
      max-width: 400px !important; /* Limit width on mobile */
      margin: 0 auto !important; /* Center the single column */
  }

  #soft-skills-section {
    padding: 40px 0px; /* Reduce horizontal padding on the section */
    margin-top: 20px; /* Ensure consistent reduced margin */
  }
  /* --- End Soft Skills Mobile Adjustments --- */

}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
