/* Hero */

.hero {
    height: 920px;
    position: relative;
}

.hero.hero-border {
    border-bottom: 10px solid;
    border-image: linear-gradient(to right, rgba(44,85,182,1) 39%, rgba(24,126,197,1) 64%, rgba(0,174,239,1) 100%);
    border-image-slice: 1;
}

.hero:has(+ section[class*="blue-gradient-background"]) {
    border-bottom: none;
  }

.hero .container {
    padding: 100px 40px;
    min-height: 920px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 72%;
    text-align: center;
}

.hero h1,
.hero p {
    color: var(--white);
}

.hero.hero-nocurve h1,
.hero.hero-nocurve p {
    color: var(--black);
}

.hero h1 {
    margin-bottom: 0;
}

.hero p {
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    margin: 30px auto;
    max-width: 75%;
}


.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.background-image.curved-image {
    padding-bottom: 60px;
    max-width: 1340px;
    left: 50%;
    transform: translateX(-50%);
}

.background-image.curved-image img {
    border-bottom-left-radius: 100% 100%;
    border-bottom-right-radius: 100% 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.hero-btm,
.hero-btm .flex-container {
    min-height: 693px;
}

.hero-rhs-img {
    position: absolute;
    bottom: -83px;
    right: 0;
    z-index: 2;
}

.next-icon {
    position: absolute;
    left: 50%;
    bottom: 100px;
    z-index: 11;
    transform: translateX(-50%);
}

.pulse {
    animation: heartbeat 1.5s ease-in-out infinite both;
}

.hero.hero-nocurve:before {
    content: '';
    display: block;
    height: 110px;
    background-color: transparent;
}

.hero.hero-nocurve {
    height: auto;
}

.hero.hero-nocurve .container {
    min-height: auto;
}

.hero.hero-nocurve .next-icon {
    bottom: 20px;
}

.hero-rhsimg p {
    margin: 10px 0;
    font-weight: var(--fw-reg);
    font-size: var(--fs-md);
}

@-webkit-keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    10% {
        -webkit-transform: scale(.91);
        transform: scale(.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    17% {
        -webkit-transform: scale(.98);
        transform: scale(.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    33% {
        -webkit-transform: scale(.87);
        transform: scale(.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }
}

@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    10% {
        -webkit-transform: scale(.91);
        transform: scale(.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    17% {
        -webkit-transform: scale(.98);
        transform: scale(.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    33% {
        -webkit-transform: scale(.87);
        transform: scale(.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }
}

@media (max-width: 1150px) {
    .hero-rhs-img {
        width: 50%;
        bottom: -70px;
    }
}

@media (max-width: 1130px) {
    .hero {
        height: auto;
        min-height: 585px;
    }
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .hero-rhs-img {
        display: none;
    }
    .hero-btm .flex-column-2 {
        width: calc(100% - var(--flex-gap));
        padding-top: 60px;
    }
    .hero-btm {
        min-height: auto;
    }
}



/* Hero Video */

.video-background {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background.curved-image {
    max-width: 1340px;
    padding-bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

video#cover-video {
    position: absolute;
    width: 100%;
    height: 920px;
    object-fit: cover;
    border-bottom-left-radius: 100% 100%;
    border-bottom-right-radius: 100% 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.video-overlay {
    background-color: #000;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    border-bottom-left-radius: 100% 100%;
    border-bottom-right-radius: 100% 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (max-width: 461px) {
    .home .video-background.curved-image {
        background: url(/wp-content/uploads/home-hero-v2-scaled.png) center / cover no-repeat;
    }

    .page-id-109 .video-background.curved-image {
        background: url(/wp-content/uploads/about-hero-v2-scaled.png) center / cover no-repeat;
    }
}

@media (max-width: 768px) {
    .background-image.curved-image img,
    .video-overlay,
    video#cover-video
     {
        border-bottom-left-radius: 30% 20%;
        border-bottom-right-radius: 30% 20%;
    }
}

@media (max-width: 520px) {
    .hero p {
        font-size: var(--fs-xs);
    }
    .background-image.curved-image img,
    .video-overlay,
    video#cover-video
     {
        border-bottom-left-radius: 20% 10%;
        border-bottom-right-radius: 20% 10%;
    }
}

/* Feature block */

.feature-block {
    color: var(--white);
    background-color: var(--black);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.feature-block .container {
    position: relative;
    z-index: 2;
}

/* Cards */

.card-item {
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 15px;
    transition: box-shadow 0.3s ease-in-out;
}

.card-item:hover {
    -webkit-box-shadow: 3px 3px 25px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 3px 3px 25px 0px rgba(0,0,0,0.45);
    box-shadow: 3px 3px 25px 0px rgba(0,0,0,0.45);
    transition: box-shadow 0.3s ease-in-out;
}

.flex-column-4.card-item {
    padding: 20px;
}

.flex-column-3.card-item {
    padding: 30px;
}

.flex-column-4.card-item h3 {
    font-size: var(--fs-sm);
}

.card-transparent-bg .card-item:hover {
    box-shadow: none;
    transition: none;
}

.card-item h3 {
    color: var(--dark-grey);
    margin: 20px 0 30px 0;
}

.card-transparent-bg .card-item {
    background-color: transparent;
    padding: 0;
    transition: none;
}

.card-grey-bg .card-item {
    background-color: var(--light-grey);
}

.card-white-bg .card-item {
    background-color: var(--white);
}

a.card-item p {
    color: var(--black);
}

@media (max-width: 520px) {
    .flex-column-4.card-item {
        text-align: center;
    }

    .card-item-h3-style1 h3 {
        min-height: auto;
    }
}

/* Quote */

.quote {
    position: relative;
    padding: 180px 0;
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: left;
    border-radius: 0 0 200px 200px;
    overflow: hidden;
}

.quote .container {
    position: relative;
    z-index: 2;
}

.quote-wrapper {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.quote-content {
    padding-left: 40px;
}

.quote-content p {
    margin-top: 0px;
}


.quote .background-image img {
    object-position: top;
}

@media (max-width: 600px) {
    .quote-wrapper {
        flex-wrap: wrap;
    }

    .quote-content {
        padding-left: 0;
        padding-top: 20px;
    }
}

/* Industries grid */

.industries .container {
    padding: 0;
}

.industry-block {
    min-height: 480px;
    background-color: var(--dark-grey);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.industry-block h3 {
    font-size: 48px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--white);
    margin: 0;
}

.industries .flex-container {
    margin: 0;
    justify-content: center;
}

.industries .flex-container .flex-column-2 {
    margin: 0;
}

/* Card item feature page */

.card-item-feature {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.card-item-feature-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.card-item-feature p {
    position: relative;
    z-index: 2;
    color: var(--dark-grey);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    margin: 0;
}

/* Mailing list */

.mailing {
    border-radius: 20px;
    padding: 60px;
}

.mailing h2 {
    margin-bottom: 40px;
    text-align: center;
}

.mailing .form {
    max-width: 50%;
    margin-inline: auto;
}

@media (max-width: 768px) {
    .mailing .form {
        max-width: 100%;
    }
}

/* Semi Circle */

.semi-circle-wrapper {
    height: 115px;
    padding-top: 40px;
    overflow: hidden;
}


.semi-circle {
  width: 100%;
  padding-top: 50%; /* makes height = 50% of width → semi-circle */
  background: linear-gradient(50deg, rgba(44,85,182,1) 39%, rgba(24,126,197,1) 64%, rgba(0,174,239,1) 100%);
  border-top-left-radius: 100% 100%;
  border-top-right-radius: 100% 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.semi-circle-wrapper.bottom {
    transform: rotate(180deg);
}

@media (max-width: 550px) {
    .semi-circle-wrapper {
        height: 80px;
    }
}

/* Carousel */

.home-carousel {
    border-radius: 0 0 200px 200px;
    padding-bottom: 120px;
}

.swiper-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-carousel .slider-controls {
    position: relative;
    max-width: 50%;
    height: 100%;
    margin-left: auto;
    margin-right: 0;
}

.home-carousel .progress-bar {
    position: absolute;
    top: 30px;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--black);
}

.home-carousel .progress {
    height: 100%;
    width: 0%;
    background: var(--orange);
    transition: width 5s linear;
}

.home-carousel .slide-counter {
    position: absolute;
    top: 0px;
    left: 0;
    color: var(--black);
    font-family: var(--ff-base);
    font-size: var(--fs-xxs);
    font-weight: bold;
}

.home-carousel .swiper-button-next {
    top: 10px;
    right: 0;
    color: var(--orange);
}

.home-carousel .swiper-button-prev {
    top: 10px;
    left: unset;
    right: 40px;
    color: var(--orange);
}

.home-carousel .swiper-button-next:after, 
.home-carousel .swiper-button-prev:after {
    font-size: var(--fs-sm);
    font-weight: var(--fw-black);
}

.home-carousel button.swiper-toggle {
    background: transparent;
    border: none;
    position: absolute;
    right: 22px;
    color: var(--orange);
    cursor: pointer;
}

.home-carousel.black-background {
    background: var(--black);
    background: linear-gradient(50deg, rgba(0,0,0,1) 30%, rgba(65,64,66,1) 100%);
    color: var(--white);
}

.home-carousel.black-background h2 {
    color: var(--white);
}

.home-carousel.black-background .slide-counter {
    color: var(--white);
}

.home-carousel.black-background .progress-bar {
    background: var(--white);
}

@media (max-width: 768px) {
    .home-carousel .slider-controls {
        max-width: 100%;
        height: 55px;
    }
}

/* Card Slider */

.card-slider .swiper-slide {
  width: auto; /* let Swiper handle width via JS */
  max-width: 300px; /* set card width */
  flex-shrink: 0;
  margin-right: 20px;
}

.card-slider .swiper-wrapper {
    padding-bottom: 40px;
}

.card-inner {
    min-height: 480px;
    background-color: var(--white);
    padding: 80px 30px 30px 30px;
    border-radius: 146px 146px 20px 20px;
    text-align: center;
    box-shadow: 1px 8px 8px 0px rgba(0,0,0,0.11);
    -webkit-box-shadow: 1px 8px 8px 0px rgba(0,0,0,0.11);
    -moz-box-shadow: 1px 8px 8px 0px rgba(0,0,0,0.11);
}

.card-slider .slider-controls {
    position: relative;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 10px;
    padding-bottom: 120px;
}

.card-slider .swiper-button-prev,
.card-slider .swiper-button-next,
.card-slider .swiper-pagination {
    position: unset;
    margin: 0;
}

.card-slider .swiper-button-next:after,
.card-slider .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
    color: var(--orange);
}

.card-slider .swiper-pagination-progressbar.swiper-pagination-horizontal {
    width: 30%;
    background: var(--black);
}

.card-slider .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--orange);
}

.slider-stat {
  font-size: 60px;
  margin: 0;
  line-height: 1;
  background: linear-gradient(50deg, rgba(44,85,182,1) 39%, rgba(24,126,197,1) 64%, rgba(0,174,239,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* fallback for some non-webkit browsers */
  color: transparent;
  display: inline-block;
}

.slider-stat-text {
    margin: 0;
    font-size: var(--fs-sm);
}

/* Accreditations */

.accreditations {
    border-radius: 0 0 200px 200px;
}

@media (max-width: 768px) {
    .accreditations .flex-column-3 {
        text-align: center;
    }
    .accreditations .flex-column-4, 
    .accreditations .flex-column-5 {
        width: 50%;
    }
}

/* Insights */

.insights-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.insights-content {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100px;
    width: 100%;
    z-index: 2;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.case-studies {
    grid-area: 1 / 1 / 4 / 3;
    position: relative;
    min-height: 480px;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    margin-bottom: 10px;;
}

.brochures,
.datasheets,
.news,
.careers {
    position: relative;
    min-height: 280px;
    border-radius: 100px 100px 20px 20px;
    overflow: hidden;
}

.brochures {
    grid-area: 1 / 3 / 2 / 4;
}

.datasheets {
    grid-area: 1 / 4 / 2 / 5;
}

.news {
    grid-area: 2 / 3 / 3 / 4;
}

.careers {
    grid-area: 2 / 4 / 3 / 5;
}

@media (max-width: 1120px) {
    .case-studies {
        grid-area: 1 / 1 / 3 / 3;
    }
    .brochures {
        grid-area: 1 / 3 / 2 / 5;
    }
    .brochures {
        grid-area: 1 / 3 / 2 / 5;
    }
    .datasheets {
        grid-area: 2 / 3 / 3 / 5;
    }
    .news {
        grid-area: 3 / 1 / 4 / 3;
    }
    .careers {
        grid-area: 3 / 3 / 4 / 5;
    }
}

@media (max-width: 768px) {
    .insights-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }
    .case-studies {
        grid-area: 1 / 1 / 2 / 2;
    }
    .brochures {
        grid-area: 1 / 3 / 2 / 5;
    }
    .brochures {
        grid-area: 2 / 1 / 3 / 2;
    }
    .datasheets {
        grid-area: 3 / 1 / 4 / 2;
    }
    .news {
        grid-area: 4 / 1 / 5 / 2;
    }
    .careers {
        grid-area: 5 / 1 / 6 / 2;
    }
}

/* Resources */

.datasheet-cta {
    position: relative;
    display: flex;
    justify-content: flex-end;
    border-radius: 20px 200px 200px 20px;
    overflow: hidden;
    min-height: 620px;
}

.datasheet-cta .background-image {
    width: 50%;
}

.datasheet-cta-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 40px 30px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.datasheet-cta-content-inner {
    width: 80%;
}

.resources .flex-column-4 {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 40px;
}

.resources .flex-column-4 a.button {
    position: absolute;
    bottom: 0;
}

.resources .container {
    border-bottom: solid 5px var(--light-grey);
}

.resources.tax-17 {
    padding-bottom: 0px;
}

.resources.tax-17 .container {
    border-bottom: none;
}

.resources .flex-four-triple {
    margin-bottom: 40px;
}

.page-id-133 .resources.tax-19 .flex-column-4 a.button, 
.page-id-133 .resources.tax-18 .flex-column-4 a.button {
    position: relative;
}


/* Tabbed Content */

.custom-tabs {
  font-family: inherit;
  margin-top: 2rem;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.tab-nav li:before {
    display: none;
    padding-left: 0px;
}

main ul.tab-nav li {
    padding-left: 0px;
}

.tab-button {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.3s;
}

.tab-button.active {
  border-color: var(--orange);
  color: var(--orange);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.product-download {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

.product-download img {
    border-radius: 50%;
    border: solid 1px var(--light-grey)!important;
}

.product-download .button {
    margin-bottom: 20px;
}

/* Client logo ticker */

.client-logos-ticker .swiper-slide {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.client-logos-ticker img {
    max-height: 80px;
}

.logo-ticker-wrapper {
    overflow: hidden;
    width: 100%;
    background: #fff;
    position: relative;
}

.logo-ticker-track {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-ticker-list {
    display: flex;
    gap: 60px;
    will-change: transform;
}

.logo-ticker-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ticker-item img {
    max-height: 60px;
    height: auto;
    width: auto;
}


