/* Homepage: template/index-dark.html, filled with the AXCORP presentation. Only what the
   template does not already cover. */

/* Hero: the slides of the main carousel inside the template's left column. */
.wg-hero-area .hero-slider {
	width: 100%;
	overflow: hidden;
}

.wg-hero-area .hero-slider .swiper-slide {
	opacity: 0 !important;
	transition-property: opacity;
}

.wg-hero-area .hero-slider .swiper-slide-active {
	opacity: 1 !important;
}

.wg-hero-area .hero-slider .title {
	margin-bottom: 20px;
}

.wg-hero-area .hero-slider .desc {
	margin-bottom: 40px;
	color: var(--color-text-2);
}

.wg-hero-area .hero-slider .desc p {
	margin: 0;
}

.wg-hero-area .hero-slider .sw-dot-pagination {
	position: static;
	margin-top: 30px;
	justify-content: flex-start;
}

/* Platform initials in place of the template's avatars */
.wg-hero-area .hero-platform-initial span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
}

/* Features card 2: an icon font glyph in place of the template's inline SVG */
.features-card-2__icon i {
	font-size: 50px;
	color: var(--white);
}

/* Services: the AXCORP symbol in the middle shape */
.section-services .logo-shape img {
	max-width: 130px;
	height: auto;
}

.section-services .box-services-icon .icon svg,
.section-services .box-services-icon .icon span {
	width: 1em;
	height: 1em;
}

.mt-56 {
	margin-top: 56px;
}

/* Ecosystem cards: the platform description under its name */
.section-project .project-item .content-item {
	align-items: flex-end;
	gap: 20px;
}

.section-project .project-item .project-desc {
	margin: 10px 0 0;
	color: var(--color-text-2) !important;
}

/* Contact form: Yii field wrappers inside the template fieldsets */
.form-contact .form-group {
	margin-bottom: 0;
}

.form-contact .help-block,
.form-contact .invalid-feedback {
	margin-top: 6px;
	font-size: 13px;
	color: #ff8a8a;
}

.form-contact .work-email {
	position: absolute;
	left: -9999px;
}

.form-contact div.iti {
	width: 100%;
}

.home-page-content {
	max-width: 900px;
}

/* Hero slide title: smaller than the template's single headline, slides carry longer text. */
.wg-hero-area .hero-slider .title {
	font-size: clamp(32px, 3.4vw, 52px);
	line-height: 1.15;
}

/* Who we are: the heading stops before the stat card, which the template floats over
   the heading's row (box-fact, absolute, top -220px). */
@media (min-width: 1200px) {
	.section-about.h-1 .heading-section .title {
		max-width: calc(100% - 420px);
	}
}

/* Contact: without the form, the text and the cards take the whole row, centred. */
.section-contact.h-1 .section-contact-inner {
	justify-content: center;
	text-align: center;
}

.section-contact.h-1 .section-contact-inner .letf {
	max-width: 760px;
	margin: 0 auto;
}

.section-contact.h-1 .section-contact-inner .heading-section .sub-title {
	justify-content: center;
}

.section-contact.h-1 .text-section {
	max-width: 100%;
	padding-left: 0;
	margin-left: auto;
	margin-right: auto;
}

.section-contact.h-1 .text-section::before {
	display: none;
}

.section-contact.h-1 .list-card-contact {
	justify-content: center;
}

.section-contact.h-1 .contact-card {
	text-align: left;
}

/* The theme lays swiper slides out as flex rows; a hero slide stacks title, text, button. */
.wg-hero-area .hero-slider .swiper-slide {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: auto;
}

.wg-hero-area .hero-slider .swiper-slide .tf-btn {
	align-self: flex-start;
}

/* Ecosystem cards: the platforms' wide hero slides, cropped to the template's 600x350 frame. */
.section-project .project-item .image img {
	width: 100%;
	height: auto;
	aspect-ratio: 600 / 350;
	object-fit: cover;
}

/* Same picture height on every ecosystem card, whatever the source slide's proportions. */
.section-project .project-item .image {
	display: block;
	height: 350px;
	overflow: hidden;
}

.section-project .project-item .image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 991px) {
	.section-project .project-item .image {
		height: 280px;
	}
}

@media (max-width: 575px) {
	.section-project .project-item .image {
		height: 220px;
	}
}

/* Vision and mission: less room above the heading on desktop (the template's flat-spacing-2
   adds 136px under the ecosystem carousel, which already ends with its own padding). */
@media (min-width: 992px) {
	.section-process.h-1.flat-spacing-2 {
		padding-top: 40px;
	}
}

@media (min-width: 992px) {
	#ecosistem.flat-spacing-1 {
		padding-bottom: 40px;
	}
}
