/* ====================
   home.css — page-specific overrides for index.html
==================== */

/* ----------- hero slider ----------- */

.sa-hero-slider {
	position: relative;
}

/* override .comp-body-lead navy color when used inside the hero */
.sa-hero-slider .sa-hero .comp-body-lead.text-cream {
	color: #faeadf;
}

/* ----------- max value section lead text ----------- */

.hero-lead-text {
	font-size: 18px;
	line-height: 1.6;
	color: var(--color-primary);
}

/* keep slide heights consistent in fade mode */
.sa-hero-slider .slick-list,
.sa-hero-slider .slick-track {
	height: 100%;
}

.sa-hero-slider .sa-hero {
	min-height: 560px;
	display: flex !important;
	align-items: center;
}

@media (max-width: 991px) {
	.sa-hero-slider .sa-hero { min-height: 480px; }
}

@media (max-width: 575px) {
	.sa-hero-slider .sa-hero { min-height: 420px; }
}

/* ----------- hero slider dots (line style) ----------- */

.sa-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 5;
}

.sa-hero-dots li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 44px;
	margin: 0;
}

/* button is the real touch target (44px tall via the li); the thin visual
   bar itself is drawn on its ::before so the dot doesn't look thicker */
.sa-hero-dots li button {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	border: none;
	background-color: transparent;
	font-size: 0;
	line-height: 0;
	color: transparent;
	cursor: pointer;
}

.sa-hero-dots li button::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 3px;
	background-color: rgba(250, 234, 223, 0.45);
	transition: background-color 0.25s ease;
}

.sa-hero-dots li button:hover::before {
	background-color: rgba(250, 234, 223, 0.75);
}

.sa-hero-dots li.slick-active button::before {
	background-color: #dff16d;
}

@media (max-width: 575px) {
	.sa-hero-dots { bottom: 20px; gap: 8px; }
	.sa-hero-dots li { width: 36px; height: 44px; }
}

/* ----------- /hero slider ----------- */


/* ----------- who-we-are stat row (lavender numbers on navy bg) ----------- */

.stat-row-lavender .stat-number {
	color: #a9c0fc;
}

.stat-row-lavender .stat-divider {
	background-color: #bea6ff;
}

/* ----------- who-we-are logos rows ----------- */

.who-we-are-logos {
	padding-top: 40px;
	padding-bottom: 0;
}

.who-we-are-logos-row2 {
	padding-top: 24px;
	padding-bottom: 8px;
	opacity: 0.45;
}

/* ----------- statistics section who-we-are label ----------- */

.statistics-header {
	position: relative;
	margin-bottom: 48px;
}

.statistics-divider {
	border: none;
	border-top: 1px solid #dff16d;
	margin: 0;
}

.statistics-who-label {
	position: absolute;
	left: 0;
	bottom: -1px;
	transform: translateY(50%);
	background-color: #111e06;
	padding: 12px 20px;
	display: inline-block;
}

/* ----------- maximum-value section ----------- */

.max-value-title em {
	font-style: italic;
}

/* ----------- events section ----------- */

.events-section-head {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: flex-start;
	-ms-flex-align: flex-start;
	align-items: flex-start;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-bottom: 20px;
}

/* .logos-slider-wrap.logos-slider-cream lives with its sibling dark/navy/lavender
   variants in sa-style.css, next to .logos-slider-wrap's base rules */

/* events carousel — manual horizontal scroll, 2 cards in view, arrows in the foot */
.events-carousel {
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.events-carousel::-webkit-scrollbar {
	display: none;
}

.events-carousel-track {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.events-carousel-item {
	flex: 0 0 calc(50% - 16px);
	max-width: calc(50% - 16px);
}

.events-carousel-item .event-card-img {
	margin-bottom: 16px;
}

.events-carousel-item .event-card-img img {
	height: auto;
	aspect-ratio: 4 / 3;
}

.events-carousel-item .event-card-title {
	font-size: 32px;
}

.events-carousel-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 40px;
}

.events-carousel-nav {
	display: flex;
	gap: 12px;
}

.events-carousel-arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--color-primary);
	background: transparent;
	color: var(--color-primary);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.events-carousel-arrow:hover {
	background: var(--color-primary);
	color: #faeadf;
}

.events-carousel-arrow[disabled] {
	opacity: .35;
	cursor: default;
}

@media (max-width: 767px) {
	.events-carousel-item {
		flex-basis: 82%;
		max-width: 82%;
	}

	.events-carousel-item .event-card-img img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
}

.events-description {
	font-size: 18px;
	color: var(--color-primary);
	line-height: 1.55;
	max-width: 650px;
	margin-bottom: 40px;
}

/* ----------- video section spacing ----------- */

.video-section {
	padding-bottom: 0;
}

/* ----------- statistics section — continue forest bg ----------- */

.statistics-section {
	padding-top: 80px;
}
