@media (max-width: 900px) {
  .navbar-container {
    position: relative;
    min-height: 90px;
    height: auto;
    flex-wrap: wrap;
    align-content: flex-start;
  }

  .menu-button-container {
    display: flex;
    height: 90px;
    width: 22px;
    cursor: pointer;
  }

  .menu-button,
  .menu-button::before,
  .menu-button::after {
    width: 22px;
    height: 3px;
  }

  .menu-button::before {
    margin-top: -6px;
  }

  .menu-button::after {
    margin-top: 6px;
  }

  .navbar-menu {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 10;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      padding 0.3s ease;
  }

  .navbar-menu {
    border: 1px solid #333;
  }

  /* When checkbox is checked → show menu */
  #menu-toggle:checked ~ .navbar-menu {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    padding: 1.5rem 0;
    transition:
      max-height 0.4s ease,
      opacity 0.4s ease,
      padding 0.3s ease;
  }

  .navbar-menu li:nth-child(5) {
    display: none;
  }

  .mobile-logo {
    position: absolute;
    left: 50%;
    top: 45px;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-logo img {
    max-width: 150px;
    height: auto;
  }

  .quote {
    display: flex;
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }
  .quote li:last-child {
    display: none;
  }

  .theme-toggle-wrap {
    position: absolute;
    left: 2rem;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  #menu-toggle:checked ~ .quote {
    display: none;
  }

  #menu-toggle:checked ~ .theme-toggle-wrap {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-menu {
    margin-top: 1rem;
  }
  .animated-bar-header {
    width: 95%;
  }
  .header-herobanner {
    background-image: url(/img/TestBackgroundMobile4.png);
    background-position: center;
    background-size: cover;
  }

  .header-herotext {
    padding: 1.25rem;
    padding-top: 63%;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
  }

  .header-herotext h1 {
    font-size: 1.1rem;
    line-height: 1.4;
    text-wrap: wrap;
    position: static;
    text-align: center;
  }

  .header-herotext .header-paragraph1,
  .header-herotext .header-paragraph2 {
    font-size: 0.68rem;
    text-wrap: wrap;
    position: static;
    max-width: 90%;
    text-align: center;
  }

  .header-herotext .header-paragraph2 {
    margin-top: auto;
    margin-bottom: -1.2rem;
  }

  .header-herotext--contact .header-paragraph2 {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-commitment {
    margin-bottom: 2.2rem;
  }

  .header-herotext a {
    position: static;
    margin-top: 0.5rem;
  }
}

@media (max-width: 900px) {
  .stat-bar {
    flex-wrap: nowrap;
  }
  .stat-bar__item {
    padding: 0 0.6rem;
  }
  .stat-bar__number {
    font-size: 1.1rem;
  }
  .stat-bar__label {
    font-size: 0.55rem;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .section-introduction {
    margin-top: 3rem;
  }

  .section-introduction h2 {
    font-size: 2.5rem;
  }

  .section-introduction h3 {
    font-size: 1rem;
    width: 60%;
  }

  .section-introduction img {
    width: 90%;
  }

  .text-wrap {
    margin: 0 auto 2.5rem;
    padding: 1.5rem 1.25rem;
    font-size: 0.95rem;
    max-width: 95%;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .text-wrapper__section-objective h2 {
    font-size: 3rem;
  }
  .text-wrapper__section-objective h3 {
    font-size: 1rem;
    width: 50%;
  }

  .slider-wrapper {
    width: 90%;
  }

  .section-objective .text-wrap {
    margin-top: 20px;
  }

  .parent {
    display: grid;
    grid-template-columns: repeat(1, max-content);
    column-gap: 200px;
    justify-content: center;
  }

  .face1 {
    max-width: 380px;
    width: 90vw;
  }

  .face2 {
    max-width: 380px;
    width: 90vw;
  }
}

@media (max-width: 900px) {
  .text-wrapper__section-services h2 {
    font-size: 3rem;
  }
  .text-wrapper__section-services h3 {
    font-size: 1rem;
    width: 50%;
  }

  .video-crop {
    width: 95%;
    height: 25vh;
  }

  .video-crop .video-logo {
    position: absolute;
    top: 15%;
    left: 90%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80px;
    height: auto;
    pointer-events: none;
  }

  .accordion-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .accordion {
    max-width: 340px;
    width: 100%;
  }

  .inner-accordion-wrapper-isolated {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    box-sizing: border-box;
    transform: none;
  }
}

@media (max-width: 900px) {
  .text-wrapper__section-industries h2 {
    font-size: 2.2rem;
  }

  .text-wrapper__section-industries h3 {
    font-size: 1rem;
    width: 55%;
  }

  /* Contain everything — no overflow */
  .section-industries {
    overflow: hidden;
  }

  .section-industries__slider {
    overflow: hidden;
    width: 100%;
  }

  /* Stack cards vertically */
  .section-industries__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: none;
    transform: none;
    width: 100%;
    padding: 1rem 1rem 2rem;
    gap: 1rem;
  }

  /* Each card: full width, no scale */
  .section-industries__list-item {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    font-size: 15px;
    transform: none;
    filter: grayscale(0);
  }

  /* Icon: smaller, centered, static */
  .section-industries__list-item i {
    font-size: 70px;
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  /* Text block */
  .section-industries__list-item__text {
    box-shadow: none;
    padding: 0.5rem 0 0;
  }

  .section-industries__list-item__text h2 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
  }

  .section-industries__scenarios li {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .section-industries__list-item:hover {
    filter: grayscale(0);
  }
}

@media (max-width: 1400px) {
  .accordion-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    margin: 0 auto;
  }

  .inner-accordion-wrapper-isolated {
    transform: none;
  }
}

@media (max-width: 1400px) {
  .stat-bar {
    flex-wrap: nowrap;
  }

  .stat-bar__item {
    padding: 0 1.2rem;
  }

  .stat-bar__number {
    font-size: 1.2rem;
  }

  .stat-bar__label {
    font-size: 0.6rem;
    white-space: nowrap;
  }
}

@media (max-width: 1400px) {
  .navbar-menu li {
    padding: 0.5rem 0.4rem;
  }

  .navbar-menu li a {
    font-size: 1rem;
  }

  .navbar-menu li:nth-child(5) img {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 1400px) {
  .parent {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 2rem;
    width: 90%;
    margin: 0 auto;
  }

  .face1,
  .face2 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 1400px) {
  .section-TheTeam h2 {
    font-size: 3rem;
  }
  .section-TheTeam h3 {
    width: 35%;
    font-size: 1.25rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
    justify-items: center;
  }
  .flipcard {
    max-width: 360px;
    width: 100%;
  }
  .flipcard__inner {
    height: 500px;
  }
  .crown {
    top: 8px;
    right: 8px;
  }
  .crown img {
    width: 32px;
  }
}

@media (max-width: 900px) {
  .section-TheTeam h2 {
    font-size: 2.6rem;
  }
  .section-TheTeam h3 {
    width: 65%;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1.25rem;
  }
  .team-grid .flipcard:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .flipcard {
    max-width: 320px;
  }
  .flipcard__inner {
    height: 500px;
  }
  .card-paragraph-wrap {
    font-size: 1rem;
  }
  .crown img {
    width: 28px;
  }
}

@media (max-width: 750px) {
  .section-TheTeam {
    padding: 1.5rem 1rem 3rem;
  }
  .section-TheTeam h2 {
    font-size: 2.3rem;
  }
  .section-TheTeam h3 {
    width: 50%;
    font-size: 1.1rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
  }
  .team-grid .flipcard:last-child {
    grid-column: auto;
  }
  .flipcard {
    width: 92%;
    max-width: 420px;
  }
  .flipcard__inner {
    height: 500px;
  }
  .card-paragraph-wrap {
    font-size: 0.98rem;
  }
  .crown {
    top: 6px;
    right: 6px;
  }
  .crown img {
    width: 26px;
  }
}

@media (min-width: 700px) {
  .section-onboarding h3 {
    width: 25%;
  }
}

@media (min-width: 700px) {
  .ob-stepper {
    margin-bottom: 50px;
  }
}

@media (min-width: 530px) {
  .ob-step__icon-wrap {
    height: 45px;
    margin-bottom: 15px;
  }
}

@media (min-width: 700px) {
  .ob-step__icon-wrap {
    height: 65px;
    margin-bottom: 20px;
  }
}

@media (min-width: 530px) {
  .ob-step__icon {
    font-size: 34px;
  }
}

@media (min-width: 700px) {
  .ob-step__icon {
    font-size: 50px;
  }
}

@media (min-width: 530px) {
  .ob-step__title {
    padding-top: 20px;
    font-size: 12px;
    line-height: 1.6;
  }
}

@media (min-width: 700px) {
  .ob-step__title {
    padding-top: 25px;
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (min-width: 700px) {
  .ob-slide {
    padding: 40px 30px;
  }
}

@media (max-width: 900px) {
  .section-review h2 {
    font-size: 2.5rem;
  }

  .section-review h3 {
    width: 55%;
    font-size: 1rem;
  }

  .pricing-header h2 {
    font-size: 2.5rem;
  }

  .pricing-header h3 {
    font-size: 1rem;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .pricing-card:nth-child(1),
  .pricing-card:nth-child(2),
  .pricing-card:nth-child(3),
  .pricing-card:nth-child(4),
  .pricing-card:nth-child(5),
  .pricing-card--growth {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 480px;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--growth {
    flex-direction: column;
  }

  .pricing-card--growth .pricing-card__features {
    columns: 1;
  }

  .growth-opt2__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .growth-opt2__header-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }

  .growth-opt2__header-right .pricing-card__btn {
    width: 100%;
  }

  .growth-opt2__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .footer--opt1 .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer--opt1 .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer__opt2-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__opt2-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer__opt3-cta {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .footer__opt3-cta-text h2 {
    font-size: 1.75rem;
  }

  .footer__opt3-cta-btn {
    width: 100%;
    text-align: center;
  }

  .footer__opt3-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer__opt3-contact {
    align-items: center;
  }

  .footer__opt3-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
  }
}

/* ── iPad landscape / wide tablet (901px–1400px) ── */
@media (min-width: 901px) and (max-width: 1400px) {
  /* Hero */
  .header-herotext {
    padding-top: 30%;
  }

  /* Pricing: 3 columns instead of 6 */
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-card--growth {
    grid-column: 1 / -1;
  }

  .growth-opt2__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .growth-opt2__header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Section headings */
  .pricing-header h2 {
    font-size: 2.5rem;
  }

  .section-review h2 {
    font-size: 2.8rem;
  }

  /* OWL carousel reviews — keep 1 visible at tablet */
  .owl-carousel .owl-item {
    min-width: 85vw;
  }
}
