
.company-sections {
	width: 100%;
	padding: 100px 0 0;
}


.company-swiper-heading {
	text-align: center;
	padding-bottom: 40px;
}

.company-swiper-heading .subhead {
	margin-bottom: 0;
}

.company-swiper-heading h2 {
	font-size: clamp(2rem, 2.5vw, 3.125rem);
	color: var(--duda-green-dark);
	margin: 0 0 24px 0;
}

/* Heading underline 
.company-swiper-heading h2::after {
	content: "";
	display: block;
	width: 76px;
	height: 1px;
	background-color: var(--duda-green-dark);
	margin: 1.5rem auto;
}
*/
.swiper.company-swiper {
	width: 100%;
	min-height: 475px;
	height: 60vh;
	padding-bottom: 32px;
}

.swiper.company-swiper .swiper-pagination {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 10;
}

.company-swiper .swiper-wrapper {
    height: 100%;
}

.company-swiper .swiper-button-next,
.company-swiper .swiper-button-prev {
	width: auto;
	height: 100%;
	top: 0;
}

.company-swiper .swiper-button-next {
	right: 0;
}

.company-swiper .swiper-button-prev {
	left: 0;
}

.company-swiper .swiper-button-next::after,
.company-swiper .swiper-button-prev::after {
	width: 48px;
	height: 48px;
	border-radius: 100%;
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

.company-swiper .swiper-slide {
	display: flex;
	width: 33.3333%;
	height: auto;
	flex-direction: column;
	align-items: start;
	justify-content: start;
	text-align: center;
	transition: transform 0.3s ease-in-out;
	overflow: hidden;
	background-color: var(--duda-orange);
}


.company-swiper .slide-img-wrap {
	width: 100%;
	height: 70%;
	overflow: hidden;
	top: 0;
	position: relative;
	transition: top 0.3s ease-in-out;
}

.company-swiper .slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.company-swiper .slide-logo {
	width: 100%;
	height: 30%;
	background-color: var(--duda-orange);
	padding: 1.2em;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 70%;
	transition: top 0.3s ease-in-out;
}

.company-swiper .slide-logo img {
	width: auto;
	height: auto;
	max-width: 150px;
	max-height: 100%;
}

.company-swiper .slide-content {
	padding: 2em;
	background-color: var(--duda-blue-darkest);
	flex-direction: column;
	justify-content: start;
	align-items: center;
	height: auto;
	display: flex;
	color: #FFFFFF;
	position: absolute;
	z-index: 5;
	bottom: -100%;
	width: 100%;
	transition: bottom 0.3s ease-in-out;
}

.company-swiper .slide-content h3 {
	font-size: 1.2rem;
	text-transform: uppercase;
	font-family: 'Poppins', 'Helvetica Neue', Arial, 'Noto Sans',
	'Liberation Sans', sans-serif;
	margin-top: auto;
	font-weight: 500;
}

.company-swiper .slide-content a.cta-link {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 1.1em;
	font-family: 'Poppins', 'Helvetica Neue', Arial, 'Noto Sans',
	'Liberation Sans', sans-serif;
	margin-top: auto;
	text-transform: uppercase;
}

.company-swiper .slide-content a.cta-link:hover {
	text-decoration: underline;
}

.company-swiper .slide-content a::after {
	content: "\2192";
	display: inline-block;
	margin-left: 0.5em;
}

.company-swiper .slide-content-wrap {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}


.company-swiper .slide-content-wrap:hover .slide-content {
	bottom: 0;
}

.company-swiper .slide-content-wrap:hover .slide-img-wrap {
	top: -100%;
}

.company-swiper .slide-content-wrap:hover .slide-logo {
	top: 0;
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .company-swiper .slide-content-wrap:hover .slide-content {
        bottom: -100%;
    }

    .company-swiper .slide-content-wrap:hover .slide-img-wrap {
        top: 0;
    }

    .company-swiper .slide-content-wrap:hover .slide-logo {
        top: 70%;
    }
}

@media screen and (max-width: 768px) {
    .swiper.company-swiper {
        padding: 0 24px 32px;
    }
    .company-swiper .swiper-slide {
        width: 100%;
    }

    /* Use custom class for mobile active state */
    .swiper-slide.mobile-hover-active .slide-content {
        bottom: 0;
        transition-delay: 0s;
    }
    .swiper-slide.mobile-hover-active .slide-img-wrap {
        top: -100%;
        transition-delay: 0s;
    }
    .swiper-slide.mobile-hover-active .slide-logo {
        top: 0;
        transition-delay: 0s;
    }
}

