/* ===== Section Two — Boxes / v1 ===== */

/* --- Grid wrapper --- */
.section-two.v1 .card-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

/* --- All cards base --- */
.section-two.v1 .card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 3.2rem 2.5rem 2.5rem;
	background-color: var(--blue-dark);
	border-radius: var(--border-radius);
}

/* --- Title card (first repeater item — KEY FEATURES cell) --- */
.section-two.v1 .card:first-child {
	background: none;
	border-radius: 0;
	justify-content: center;
	padding: 2rem 2.5rem 2.5rem 0;
}
.section-two.v1 .card:first-child .text {
	max-width: 17rem;
	margin-right: auto;
	margin-left: auto;
}

/* --- Icon circle --- */
.section-two.v1 .card .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 6rem;
	height: 6rem;
	border: 1px solid var(--blue-light);
	border-radius: 50%;
}

.section-two.v1 .card .icon img {
	width: auto;
	height: auto;
	object-fit: contain;
}

/* --- Feature card typography --- */
.section-two.v1 .card:not(:first-child) .text h1,
.section-two.v1 .card:not(:first-child) .text h2,
.section-two.v1 .card:not(:first-child) .text h3,
.section-two.v1 .card:not(:first-child) .text h4,
.section-two.v1 .card:not(:first-child) .text h5 {
	color: var(--blue-light);
	margin-top: 0;
}

.section-two.v1 .card:not(:first-child) .text p,
.section-two.v1 .card:not(:first-child) .text li {
	color: var(--white);
}

/* --- Title card typography --- */
.section-two.v1 .card:first-child .text h1,
.section-two.v1 .card:first-child .text h2,
.section-two.v1 .card:first-child .text h3,
.section-two.v1 .card:first-child .text h4 {
	color: var(--black);
	text-transform: uppercase;
	margin: 0 0 1rem;
}



/*****section-two.v2*****/

/* --- Slider outer: clips overflow so peeking slides stay within page bounds on mobile --- */
.section-two.v2 .section-two-v2-slider-outer {
    overflow: hidden;
}

/* --- Swiper: overflow visible so peek slides show outside the swiper bounds --- */
.section-two.v2 .section-two-v2-swiper {
    overflow: visible;
}
@media (min-width: 768px) {
    .section-two.v2 .section-two-v2-swiper {
        overflow: hidden;
    }
}

/* --- Slide sizing --- */
/* Mobile: 70% → 15% peek on each side (centeredSlides centers the active slide) */
.section-two.v2 .swiper-slide.card-v2 {
    width: 70%;
}
/* Desktop ≥768px: 3 slides per view. gap=16px total between 3 slides = 32px shared by 3 = ~10.67px per slide reduction */
@media (min-width: 768px) {
    .section-two.v2 .swiper-slide.card-v2 {
        width: calc(33.333% - 11px);
    }
}

/* --- Card styles --- */
.section-two.v2 .background-image {
    border-radius: 0.6rem;
    overflow: hidden;
}
.section-two.v2 .background-image:before {
    padding-top: 63%;
}
.section-two.v2 .card-v2 .text {
    padding: 0 2rem 0;
}
.section-two.v2 .card-v2 .text p:last-child {
    margin: 0;
}

/* --- Navigation arrows: 54px blue squares, centered below slides (Figma design) --- */
.section-two.v2 .swiper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 1.5rem;
}
.section-two.v2 .swiper-button-prev,
.section-two.v2 .swiper-button-next {
    position: static;
    transform: none;
    margin-top: 0;
    flex-shrink: 0;
    width: 2.7rem;
    height: 2.7rem;
    background-color: var(--main-color);
    border-radius: var(--border-radius);
    color: transparent;
    transition: background-color 0.2s;
}
.section-two.v2 .swiper-button-prev:hover,
.section-two.v2 .swiper-button-next:hover {
    background-color: var(--main-color-hover);
}
.section-two.v2 .swiper-button-prev.swiper-button-disabled,
.section-two.v2 .swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
}
.section-two.v2 .swiper-button-prev::after,
.section-two.v2 .swiper-button-next::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
}
.section-two.v2 .swiper-button-prev::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M15 10H5M5 10L10 5M5 10L10 15' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.section-two.v2 .swiper-button-next::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M5 10H15M15 10L10 5M15 10L10 15' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.section-two .head {
    margin-bottom: 1.5rem;
}
.section-two.v2 .button-wrap {
    margin-top: 0;
}



@media (max-width: 1024px) {
	.section-two.v1 .card-wrap {
		grid-template-columns: repeat(2, 1fr);
	}

	.section-two.v1 .card:first-child {
		grid-column: 1 / -1;
		padding: 2rem 0;
	}
}

@media (max-width: 991px) {
	.section-two.v2 .card-v2 .text {
		padding: 1rem 0 2rem;
	}
}

@media (max-width: 600px) {
	.section-two.v1 .card-wrap {
		grid-template-columns: 1fr;
	}
	.section-two.v1 .card:first-child {
		grid-column: 1;
	}
	.section-two.v1 .card {
		padding: 2rem 1.6rem;
        margin-left: -1.4rem;
        width: calc(100% + 2.8rem);
	}
	.section-two.v1 .card:first-child .text {
		text-align: center;
	}
	.section-two.v2 .background-image:before {
		padding-top: 50%;
	}
	.section-two.v2 .content {
		width: calc(100% + 3rem)!important;
		margin-left: -1.5rem;
	}
}
