/*
 * Page sections and shared components. Values mirror the Elementor Home page (post 12):
 * every section keeps its original padding, gaps, widths and breakpoints (tablet <= 1024px,
 * mobile <= 767px). Sections that sat on a texture or photo paint it in ::before.
 */

/* ======================================================================
   Shared components
   ====================================================================== */

.uof-main {
	display: block;
}

/* Kicker: small orange label between two short lines. */
.uof-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
}

.uof-kicker--center {
	justify-content: center;
}

.uof-kicker--end {
	justify-content: flex-end;
}

.uof-kicker__line {
	display: block;
	margin-top: -2px;
	line-height: 24px;
}

.uof-kicker__line img {
	display: inline-block;
	width: 30px;
	height: auto;
	vertical-align: middle;
}

.uof-kicker__text {
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--uof-color-accent);
}

/* Section headings (h2). */
.uof-h2 {
	margin: 0;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 60px;
	font-weight: 600;
	line-height: 70px;
	text-transform: uppercase;
	color: var(--uof-color-primary);
}

/* Fixed-width buttons used in sections (18px vertical padding, centred label). */
.uof-btn--hero {
	width: 180px;
	padding: 18px 0;
	transition: all 0.3s;
}

.uof-btn--outline {
	background-color: var(--uof-color-accent-0);
	border: 1px solid var(--uof-color-accent);
}

.uof-btn--outline:hover,
.uof-btn--outline:focus {
	background-color: var(--uof-color-accent);
}

/* Carousels (Swiper). Arrows are absolutely positioned per carousel. */
.uof-carousel {
	position: relative;
}

.uof-carousel .swiper {
	display: flex;
	min-width: 0;
}

.uof-carousel .swiper-slide {
	flex-shrink: 0;
	height: auto;
}

.uof-carousel__arrow,
.uof-carousel__arrow:hover,
.uof-carousel__arrow:focus {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	line-height: 1.5;
	cursor: pointer;
	transition-duration: 0.25s;
}

.uof-carousel__arrow svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ======================================================================
   Page hero (inner pages): title and breadcrumb over a half-dark photo
   ====================================================================== */

.uof-page-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 380px;
	padding: 0 var(--uof-container-pad);
	background: center center / cover no-repeat;
}

.uof-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--uof-color-secondary);
	opacity: 0.5;
}

.uof-page-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: var(--uof-gap);
	width: 100%;
	max-width: min(100%, var(--uof-container));
	padding-block: var(--uof-container-pad);
}

.uof-page-hero__title {
	margin: 0;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 60px;
	font-weight: 600;
	line-height: 70px;
	text-align: center;
	text-transform: uppercase;
	color: var(--uof-color-primary);
}

.uof-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
	padding: 0;
	list-style: none;
}

.uof-breadcrumb__item {
	display: flex;
	align-items: center;
	margin: 0 5px;
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	text-transform: uppercase;
}

.uof-breadcrumb__sep {
	position: relative;
	top: -6px;
	display: flex;
	padding-inline-end: 5px;
	color: var(--uof-color-primary);
}

.uof-breadcrumb__sep svg {
	width: 16px;
	height: 16px;
	margin-inline-end: 4px;
}

.uof-breadcrumb__sep + .uof-breadcrumb__text {
	padding-inline-start: 5px;
}

.uof-breadcrumb__text,
.uof-breadcrumb__text:hover,
.uof-breadcrumb__text:focus {
	color: var(--uof-color-primary);
	text-decoration: none;
}

/* ======================================================================
   Hero
   ====================================================================== */

.uof-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 920px;
	padding: 0;
}

.uof-hero__slideshow {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.uof-hero__slide {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.5s;
}

.uof-hero__slide.is-active {
	opacity: 1;
}

.uof-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: var(--uof-color-secondary);
	opacity: 0.67;
}

.uof-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
	width: 100%;
	max-width: min(100%, var(--uof-container));
	margin-inline: auto;
}

.uof-hero__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.uof-hero__title {
	margin: 0;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 94px;
	font-weight: 700;
	line-height: 90px;
	text-transform: uppercase;
	color: var(--uof-color-primary);
}

.uof-hero__title .outline {
	color: transparent;
	-webkit-text-stroke: 2px #e3763e;
}

.uof-hero__text {
	align-self: flex-start;
	width: 29%;
	max-width: 29%;
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color: var(--uof-color-text);
}

.uof-hero__text p {
	margin: 0;
}

.uof-hero__buttons {
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 20px;
	margin-top: 38px;
}

/* ======================================================================
   Feature boxes
   ====================================================================== */

.uof-features {
	position: relative;
	background-color: #0c1e2d;
}

.uof-features::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/texture-grid.png") center center / cover;
	opacity: 0.71;
}

.uof-features__inner {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: min(100%, 1920px);
	margin-inline: auto;
}

.uof-feature {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 480px;
	min-width: 0;
	min-height: 370px;
	border: 1px solid var(--uof-color-accent-0);
	transition: border 0.3s;
}

.uof-feature::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--uof-feature-image);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.3s, background 0.9s;
}

.uof-feature:hover,
.uof-feature.is-highlighted {
	border-color: var(--uof-color-accent);
}

.uof-feature:hover::before,
.uof-feature.is-highlighted::before {
	background-color: var(--uof-color-secondary);
	opacity: 0.22;
}

.uof-feature__box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 11px;
	align-self: center;
	width: 312px;
	max-width: 312px;
	text-align: center;
}

.uof-feature__icon {
	display: flex;
	justify-content: center;
	font-size: 70px;
	line-height: 1;
	color: var(--uof-color-primary);
	fill: var(--uof-color-primary);
}

.uof-feature__icon svg {
	position: relative;
	display: block;
	width: 1em;
	height: 1em;
}

.uof-feature__title {
	margin: 8px 0 6px;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 40px;
	color: var(--uof-color-primary);
}

.uof-feature__text {
	margin: 0;
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color: var(--uof-color-text);
}

/* ======================================================================
   About
   ====================================================================== */

.uof-about {
	position: relative;
	padding: 120px 20px;
	background-color: var(--uof-color-secondary);
}

.uof-about::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/texture-grid.png") center center / cover;
	opacity: 0.5;
}

.uof-about__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: min(100%, var(--uof-container));
	margin-inline: auto;
}

.uof-about__row {
	display: flex;
	gap: 20px;
	width: 1337px;
	max-width: 100%;
}

.uof-about__images {
	display: flex;
	justify-content: center;
	gap: 24px;
	width: 738px;
	max-width: 100%;
}

.uof-about__img {
	display: block;
	width: 319px;
	height: 639px;
	max-width: 100%;
	object-fit: cover;
	object-position: center center;
}

.uof-about__img--lower {
	margin-top: 97px;
}

.uof-about__content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 519px;
	max-width: 100%;
}

.uof-about__heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.uof-about__text {
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color: var(--uof-color-text);
}

.uof-about__text p {
	margin: 0;
}

.uof-about__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.uof-about__stat {
	width: 200px;
	max-width: 100%;
}

.uof-about__stat:nth-child(4) {
	width: 250px;
}

.uof-about__stat-title,
.uof-why__title {
	margin: 8px 0 12px;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 14px;
	text-transform: uppercase;
	color: var(--uof-color-primary);
}

.uof-about__stat-text,
.uof-why__text {
	margin: 0;
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color: var(--uof-color-text);
}

.uof-about__button {
	display: flex;
	margin-top: 40px;
}

/* ======================================================================
   Services carousel
   ====================================================================== */

.uof-services {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	padding: 80px 0;
	background-color: var(--uof-color-secondary);
}

/* About page: taller desktop padding (tablet and mobile match Home). */
.uof-services--spacious {
	padding: 120px 0;
}

.uof-services::before,
.uof-why::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--uof-color-secondary) url("../img/texture-dots.png") center center / cover no-repeat;
}

.uof-services > * {
	position: relative;
}

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

.uof-carousel--services .swiper {
	padding-inline: 400px;
}

/* .swiper in the selector so these win over swiper.min.css (loaded later), like the original #serviceCarousel rules. */
.uof-carousel--services .swiper .swiper-slide {
	opacity: 0.6;
	transform: scale(0.86);
	transition: transform 0.35s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.uof-carousel--services .swiper .swiper-slide-active {
	opacity: 1;
	transform: scale(1);
}

.uof-service-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
	padding: 10px; /* Elementor's default container padding inside each slide */
}

.uof-service-card__image {
	display: block;
	text-align: center;
	line-height: 0;
}

.uof-service-card__image img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 1px solid var(--uof-color-accent);
	transition: border-color 0.25s ease, border-width 0.25s ease;
}

.swiper-slide-active .uof-service-card__image img {
	border-width: 3px;
}

.uof-service-card__info {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.25s ease, max-height 0.25s ease, transform 0.25s ease;
}

.swiper-slide-active .uof-service-card__info {
	max-height: 600px;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.uof-service-card__title {
	width: 30%;
	max-width: 30%;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 40px;
	color: var(--uof-color-primary);
}

.uof-service-card__title a {
	color: inherit;
}

.uof-service-card__text {
	width: 65%;
	max-width: 65%;
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	text-align: end;
	color: var(--uof-color-text);
}

.uof-service-card__text p {
	margin: 0;
}

.uof-carousel--services .uof-carousel__arrow {
	top: calc(50% - 50px - 15px);
	font-size: 50px;
	color: var(--uof-color-secondary);
	transform: translateY(-50%);
}

.uof-carousel--services .uof-carousel__arrow:hover {
	color: var(--uof-color-primary);
}

.uof-carousel--services .uof-carousel__arrow--prev {
	left: 320px;
}

.uof-carousel--services .uof-carousel__arrow--next {
	right: 320px;
}

/* ======================================================================
   Why choose us
   ====================================================================== */

.uof-why {
	position: relative;
	padding: 120px 0;
	background-color: var(--uof-color-secondary);
}

.uof-why__inner {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: min(100%, var(--uof-container));
	margin-inline: auto;
}

.uof-why__list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 691px;
	max-width: 100%;
}

.uof-why__item {
	display: flex;
	gap: 24px;
	padding: 40px 20px;
	border-bottom: 1px solid #333;
}

.uof-why__item:first-child {
	padding-top: 0;
}

.uof-why__item:not(:has(+ .uof-why__item)) {
	padding-bottom: 0;
}

/* No divider on the last point, on the highlighted point, or right above it. */
.uof-why__item:not(:has(+ .uof-why__item)),
.uof-why__item:has(+ .is-highlighted) {
	border-bottom: 0;
}

.uof-why__item.is-highlighted {
	border: 1px solid #fe823578;
	background-color: #0c1e2d;
}

.uof-why__number {
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 60px;
	font-weight: 600;
	line-height: 70px;
	color: #ffffff00;
	-webkit-text-stroke: 1px #fff;
	align-self: flex-start;
}

.is-highlighted .uof-why__number {
	color: var(--uof-color-primary);
}

.uof-why__body {
	width: 527px;
	max-width: 527px;
}

.is-highlighted .uof-why__title {
	color: var(--uof-color-accent);
}

.uof-why__aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 691px;
	max-width: 100%;
}

.uof-why__heading {
	text-align: end;
}

.uof-why__image {
	line-height: 0;
}

.uof-why__image img {
	display: inline-block;
	max-width: 100%;
	object-fit: cover;
	object-position: center center;
	vertical-align: middle;
}

.uof-why__image--desktop {
	margin-top: 30px;
}

.uof-why__image--desktop img {
	height: 746px;
}

.uof-why__image--mobile {
	display: none;
}

/* ======================================================================
   Team
   ====================================================================== */

.uof-team {
	padding: 120px 0;
	background-color: var(--uof-color-secondary);
}

.uof-team__inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: min(100%, var(--uof-container));
	margin-inline: auto;
}

.uof-team__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 527px;
	max-width: 100%;
}

.uof-team__text {
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color: var(--uof-color-text);
}

.uof-team__text p {
	margin: 0;
}

.uof-team__button {
	margin-top: 40px;
}

.uof-team__button .uof-btn {
	width: 228px;
}

.uof-team__slider {
	display: flex;
	flex-direction: column;
	width: 800px;
	max-width: 100%;
	overflow: hidden;
}

.uof-carousel--team .uof-carousel__arrow {
	top: calc(50% - 15px);
	font-size: 66px;
	color: #02010100;
	transform: translateY(-50%);
}

.uof-carousel--team .uof-carousel__arrow--prev {
	left: -100px;
}

.uof-carousel--team .uof-carousel__arrow--next {
	right: -99px;
}

/* Team member card (carousel and grid). */
.uof-team-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	min-height: 360px;
	height: 100%;
}

.uof-team-card__box {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid #ffffff2e;
	transition: border 0.3s;
}

.uof-team-card__box:hover {
	border-color: var(--uof-color-accent);
}

.uof-team-card__photo {
	position: relative;
	z-index: 10;
	display: block;
	margin-top: -128px;
	text-align: center;
	line-height: 0;
}

.uof-team-card__photo img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.uof-team-card__social {
	position: absolute;
	top: 62px;
	left: 64px;
	z-index: 10;
	display: flex;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.uof-team-card__box:hover .uof-team-card__social {
	opacity: 1;
	visibility: visible;
}

.uof-team-card__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background-color: var(--uof-color-accent);
	font-size: 18px;
	color: var(--uof-color-primary);
}

.uof-team-card__social svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.uof-team-card__name {
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 40px;
	text-align: center;
	color: var(--uof-color-primary);
}

.uof-team-card__name a {
	color: inherit;
}

.uof-team-card__role {
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	text-align: center;
	color: var(--uof-color-text);
}

.uof-team-card__role p {
	margin: 0;
}

/* ======================================================================
   Testimonials
   ====================================================================== */

.uof-testimonials {
	position: relative;
	padding: 150px 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.uof-testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--uof-color-secondary);
	opacity: 0.88;
}

.uof-testimonials__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: min(100%, var(--uof-container));
	margin-inline: auto;
}

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

.uof-carousel--testimonials {
	width: 1372.23px;
	max-width: min(100%, 1372.23px);
}

.uof-testimonial {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.uof-testimonial__quote {
	display: flex;
	flex-direction: column;
	gap: 30px;
	background: url("../img/quote-mark.png") center center no-repeat;
}

.uof-rating {
	display: flex;
	align-self: center;
	justify-content: center;
}

.uof-rating__stars {
	display: flex;
	flex-wrap: wrap;
	justify-content: inherit;
	width: fit-content;
	margin-block-end: -8px;
	margin-inline-end: -8px;
}

.uof-rating__star {
	position: relative;
	margin-block-end: 8px;
	margin-inline-end: 8px;
}

.uof-rating__fill {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.uof-rating__star:not(.is-marked) .uof-rating__fill {
	display: none;
}

.uof-rating__star:not(.is-marked) .uof-rating__base {
	opacity: 0.3;
}

.uof-rating__star svg {
	display: flex;
	flex-shrink: 0;
	width: auto;
	height: 16px;
}

.uof-testimonial__text {
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	text-align: center;
	color: var(--uof-color-text);
}

.uof-testimonial__text p {
	margin: 0 0 0.9rem;
}

.uof-testimonial__author {
	display: flex;
	flex-direction: column;
	margin-top: 50px;
	text-align: center;
}

.uof-testimonial__name {
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 40px;
	color: var(--uof-color-primary);
}

.uof-testimonial__role {
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color: var(--uof-color-text);
}

.uof-testimonial__role p {
	margin: 0;
}

.uof-testimonial__photo {
	margin-top: 20px;
	line-height: 0;
}

.uof-testimonial__photo img {
	display: inline-block;
	width: 100px;
	height: 100px;
	border-radius: 100px;
	object-fit: cover;
	object-position: center center;
	vertical-align: middle;
}

.uof-carousel--testimonials .uof-carousel__arrow {
	top: calc(50% - 15px);
	font-size: 60px;
	color: #02010100;
	transform: translateY(-50%);
}

.uof-carousel--testimonials .uof-carousel__arrow--prev {
	left: 0;
}

.uof-carousel--testimonials .uof-carousel__arrow--next {
	right: 0;
}

/* ======================================================================
   Consultation form
   ====================================================================== */

.uof-consult {
	padding: 150px 0;
	background-color: var(--uof-color-secondary);
}

.uof-consult__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: min(100%, var(--uof-container));
	margin-inline: auto;
}

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

.uof-consult__form {
	display: flex;
	flex-direction: column;
	margin-top: 40px;
}

.uof-form--consult {
	display: flex;
	flex-wrap: wrap;
	align-self: center;
	width: calc(1177px + 24px);
	max-width: calc(100% + 24px);
	margin: 0 -12px -24px;
}

.uof-form--consult .uof-form__field {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	margin-bottom: 24px;
	padding: 0 12px;
}

.uof-form--consult .uof-form__field--half {
	width: 50%;
}

.uof-form--consult input,
.uof-form--consult select,
.uof-form--consult textarea {
	display: block;
	width: 100%;
	min-height: 72px;
	margin: 0;
	padding: 8px 24px;
	border-style: solid;
	border-width: 1px 0;
	border-color: #ffffff26;
	border-radius: 0;
	background-color: #00003eb5;
	font-family: var(--uof-font-heading), sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 40px;
	color: #ffffffcc;
	box-shadow: none;
	transition: 0.3s;
}

.uof-form--consult input:focus,
.uof-form--consult select:focus,
.uof-form--consult textarea:focus {
	border-color: #ffffff26;
	outline: 0;
}

.uof-form--consult ::placeholder {
	color: inherit;
	font-family: inherit;
	opacity: 0.6;
}

.uof-form--consult textarea {
	height: 178px;
}

.uof-select {
	position: relative;
	display: flex;
	width: 100%;
}

.uof-select select {
	padding-right: 20px;
	appearance: none;
}

.uof-select__caret {
	position: absolute;
	top: 50%;
	right: 10px;
	z-index: 1;
	font-size: 11px;
	line-height: 40px;
	color: #ffffffcc;
	pointer-events: none;
	transform: translateY(-50%);
}

.uof-select__caret svg {
	width: 1em;
	height: auto;
	overflow: visible;
	fill: currentColor;
	vertical-align: middle;
}

.uof-form--consult .uof-form__field--submit {
	align-items: flex-end;
}

.uof-form--consult button,
.uof-form--consult button:hover,
.uof-form--consult button:focus {
	display: block;
	width: 100%;
	min-height: 59px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: var(--uof-color-accent);
	font-family: var(--uof-font-body), sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #fff;
	text-align: center;
}

/* ======================================================================
   Tablet (<= 1024px)
   ====================================================================== */

@media (max-width: 1024px) {
	.uof-page-hero {
		min-height: 320px;
	}

	.uof-hero {
		min-height: 683px;
		padding: 0 20px;
	}

	.uof-hero__title {
		font-size: 80px;
		line-height: 90px;
	}

	.uof-hero__text {
		width: 57%;
		max-width: 57%;
	}

	.uof-hero__buttons {
		margin-top: 20px;
	}

	.uof-features__inner {
		flex-wrap: wrap;
		align-items: center;
	}

	.uof-about {
		padding: 60px 20px;
	}

	.uof-about__row {
		flex-direction: column;
		width: 100%;
	}

	.uof-about__content {
		width: 100%;
		margin-top: 30px;
	}

	.uof-about__stat,
	.uof-about__stat:nth-child(4) {
		width: 100%;
	}

	.uof-about .uof-h2,
	.uof-about__text {
		align-self: flex-start;
	}

	.uof-services {
		gap: 40px;
		padding: 80px 20px;
	}

	.uof-services__heading .uof-h2 {
		width: 500px;
		max-width: 500px;
		margin-inline: auto;
	}

	.uof-carousel--services .swiper {
		padding-inline: 170px;
	}

	.uof-service-card__info {
		flex-direction: column;
		justify-content: flex-start;
		gap: 10px;
	}

	.uof-service-card__title,
	.uof-service-card__text {
		width: 100%;
		max-width: 100%;
		text-align: start;
	}

	.uof-carousel--services .uof-carousel__arrow {
		top: calc(50% - 70px - 15px);
	}

	.uof-carousel--services .uof-carousel__arrow--prev {
		left: 105px;
	}

	.uof-carousel--services .uof-carousel__arrow--next {
		right: 105px;
	}

	.uof-why {
		padding: 80px 20px;
	}

	.uof-why__inner {
		flex-direction: column-reverse;
		gap: 40px;
	}

	.uof-why__aside {
		width: 100%;
	}

	.uof-why__aside .uof-kicker {
		justify-content: center;
	}

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

	.uof-why__image--desktop {
		margin-top: 20px;
	}

	.uof-why__image--desktop img {
		height: 100%;
	}

	.uof-team {
		padding: 120px 20px;
	}

	.uof-team__inner {
		flex-direction: column;
	}

	.uof-team__intro {
		align-items: center;
		width: 100%;
	}

	.uof-team__intro .uof-kicker {
		justify-content: center;
	}

	.uof-team__heading {
		width: 100%;
		text-align: center;
	}

	.uof-team__text {
		width: 75%;
		max-width: 75%;
		text-align: center;
	}

	.uof-team__slider {
		width: 100%;
	}

	.uof-team-card__photo {
		margin-top: 0;
	}

	.uof-team-card__social {
		top: 300px;
		left: 150px;
	}

	.uof-team-card__social a {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}

	.uof-testimonials {
		padding: 100px 20px;
	}

	.uof-consult {
		padding: 150px 20px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.uof-feature {
		width: 49%;
	}
}

@media (min-width: 1025px) {
	.uof-testimonials {
		background-attachment: fixed;
	}
}

/* ======================================================================
   Mobile (<= 767px)
   ====================================================================== */

@media (max-width: 767px) {
	.uof-h2 {
		font-size: 30px;
		line-height: 40px;
	}

	.uof-page-hero {
		min-height: 280px;
	}

	.uof-page-hero__title {
		font-size: 42px;
		line-height: 52px;
	}

	.uof-hero {
		min-height: 700px;
		padding: 100px 10px;
	}

	.uof-hero__inner {
		gap: 5px;
	}

	.uof-hero .uof-kicker {
		flex-wrap: nowrap;
		justify-content: center;
		text-align: center;
	}

	.uof-hero__title {
		font-size: 42px;
		line-height: 52px;
		text-align: center;
	}

	.uof-hero__text {
		align-self: center;
		width: 320px;
		max-width: 320px;
		line-height: 28px;
		text-align: center;
	}

	.uof-hero__buttons {
		flex-wrap: wrap;
		justify-content: center;
		gap: 21px;
		margin-top: 30px;
	}

	.uof-features__inner {
		flex-wrap: wrap;
	}

	.uof-feature {
		width: 100%;
		min-height: 280px;
		padding: 30px 0;
	}

	.uof-feature.is-highlighted {
		border-width: 0;
	}

	.uof-feature.is-highlighted::before {
		opacity: 0;
	}

	.uof-about__row {
		flex-wrap: wrap;
		gap: 30px;
	}

	.uof-about__images {
		width: 100%;
		gap: 20px;
	}

	.uof-about__img {
		width: 156px;
		height: 312px;
	}

	.uof-about__img--lower {
		margin-top: 50px;
	}

	.uof-about__text {
		line-height: 28px;
	}

	.uof-about__stats {
		grid-template-columns: repeat(1, 1fr);
	}

	.uof-about__stat {
		margin-top: -10px;
	}

	.uof-about__stat-title,
	.uof-why__title {
		margin-bottom: 6px;
		line-height: 40px;
	}

	.uof-services {
		padding: 60px 20px;
	}

	.uof-services__heading .uof-h2 {
		width: 100%;
		max-width: 100%;
	}

	.uof-carousel--services .swiper {
		padding-inline: 30px;
	}

	.uof-service-card__text {
		line-height: 28px;
	}

	.uof-carousel--services .uof-carousel__arrow--prev {
		left: -15px;
	}

	.uof-carousel--services .uof-carousel__arrow--next {
		right: -15px;
	}

	.uof-why {
		padding: 60px 20px;
	}

	.uof-why__list {
		width: 100%;
	}

	/* Elementor wraps the row on mobile: number on its own line when the text doesn't fit beside it. */
	.uof-why__item {
		flex-wrap: wrap;
	}

	.uof-why__body {
		max-width: 100%;
	}

	.uof-why__item,
	.uof-why__item:first-child,
	.uof-why__item:not(:has(+ .uof-why__item)) {
		gap: 0;
		padding: 24px 20px;
	}

	.uof-why__number {
		font-size: 30px;
		line-height: 40px;
	}

	.uof-why__body {
		margin-top: -10px;
	}

	.uof-why__image--mobile {
		display: block;
		margin-top: 10px;
	}

	.uof-why__image--mobile img {
		height: 310px;
	}

	.uof-why__image--desktop {
		display: none;
	}

	.uof-team {
		padding: 40px 20px;
	}

	.uof-team__text {
		width: 320px;
		max-width: 320px;
		line-height: 28px;
	}

	.uof-team__button {
		align-self: center;
	}

	.uof-team-card {
		min-height: 426px;
	}

	.uof-team-card__social {
		top: 250px;
		left: 120px;
	}

	.uof-testimonials {
		padding: 40px 20px 150px;
	}

	.uof-testimonial__author {
		margin-top: 20px;
	}

	.uof-testimonial__photo img {
		width: 80px;
		height: 80px;
	}

	.uof-carousel--testimonials .uof-carousel__arrow {
		top: calc(100% + 110px - 15px);
	}

	.uof-carousel--testimonials .uof-carousel__arrow--prev {
		left: calc(50% - 34px);
		transform: translate(-50%, -100%);
	}

	.uof-carousel--testimonials .uof-carousel__arrow--next {
		right: calc(50% - 34px);
		transform: translate(50%, -100%);
	}

	.uof-form--consult .uof-form__field--half {
		width: 100%;
	}

	.uof-form--consult input,
	.uof-form--consult select,
	.uof-form--consult textarea {
		font-size: 16px;
	}
}
