/* Centralized orange button styles override */
.thm-btn {
  background-color: var(--fornix-orange) !important;
  border-color: var(--fornix-orange) !important;
  color: #fff !important;
}

.thm-btn::before {
  background-color: #e55d00 !important;
}

.thm-btn:hover,
.thm-btn:focus {
  background-color: #e55d00 !important;
  border-color: #e55d00 !important;
  color: #fff !important;
}
/* Fornix page overrides */

:root {
  --fornix-orange: #ff7a00;
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 100vw on mobile nav extends past the scrollbar and causes horizontal scroll */
.mobile-nav__wrapper {
  width: 100%;
  max-width: 100%;
}

.main-slider,
.services-one,
.sliding-text {
  overflow-x: hidden;
}

.services-one__big-text {
  left: 0;
}

.main-slider__shape-3 {
  right: 0;
}

.main-slider__shape-1 img,
.main-slider__shape-2 img,
.main-slider__shape-3 img {
  max-width: min(100%, 420px);
  height: auto;
}

.main-menu__contact-list {
  flex-wrap: wrap;
  gap: 8px 24px;
}

.main-menu__contact-list li .text p {
  max-width: 360px;
  word-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

/* Orange section & slider headings */
.section-title__title,
.main-slider__title,
.service-details__title-1,
.service-details__point-title {
  color: var(--fornix-orange);
}

.main-slider__title span {
  color: var(--fornix-orange);
}

/* Equal-height card grids — keeps borders / clip-path edges aligned */
.services-one .row,
.process-one .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.services-one .row > [class*="col-"],
.process-one .row > [class*="col-"] {
  display: flex;
}

.services-one__single {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.services-one__img-box {
  flex-shrink: 0;
}

.services-one__img {
  aspect-ratio: 4 / 3;
}

.services-one__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-one__content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-one__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 0;
  margin-right: 0;
}

.services-one__text {
  flex: 1;
}

.process-one__single-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.process-one__single {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-one__text {
  flex: 1;
}

.services-one__title,
.process-one__title {
  min-height: 64px;
}
