/* AFAMS Hero Slider Widget Stylesheet */

.afam-hero-slider-wrapper {
	position: relative;
	width: 100%;
	background: radial-gradient(circle at 75% 50%, #0d284f 0%, #051429 100%);
	overflow: hidden;
	color: #ffffff;
	font-family: 'Montserrat', 'Open Sans', sans-serif;
	box-sizing: border-box;
}

.afam-hero-slider-wrapper *,
.afam-hero-slider-wrapper *::before,
.afam-hero-slider-wrapper *::after {
	box-sizing: border-box;
}

.afam-hero-slides-container {
	position: relative;
	width: 100%;
}

.afam-hero-slide-item {
	display: none;
	width: 100%;
	min-height: 540px;
	position: relative;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.afam-hero-slide-item.active {
	display: block;
	opacity: 1;
}

.afam-hero-bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #051429 0%, rgba(5, 20, 41, 0.92) 45%, rgba(5, 20, 41, 0.45) 80%, rgba(5, 20, 41, 0.2) 100%);
	z-index: 1;
}

.afam-hero-slide-inner {
	display: flex;
	align-items: center;
	min-height: 540px;
	padding: 50px 0;
	position: relative;
	z-index: 2;
}

/* LEFT CONTENT AREA */
.afam-hero-content {
	flex: 1;
	max-width: 580px;
	z-index: 2;
}

.afam-hero-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.18;
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

.afam-hero-title-white {
	display: block;
	color: #ffffff;
}

.afam-hero-title-gold {
	display: block;
	color: #e0a948;
	margin-top: 4px;
}

.afam-hero-desc {
	font-size: 14.5px;
	line-height: 1.65;
	color: #b8cde8;
	margin: 0 0 32px 0;
	max-width: 520px;
	font-weight: 400;
}

/* BUTTONS */
.afam-hero-buttons {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.afam-hero-btn-primary {
	background: linear-gradient(180deg, #ecc560 0%, #cf972a 100%);
	color: #061327;
	font-size: 14px;
	font-weight: 700;
	padding: 13px 26px;
	border-radius: 6px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	border: 1px solid #e0b04a;
	transition: all 0.25s ease;
}

.afam-hero-btn-primary .afam-arrow-icon {
	font-size: 16px;
	transition: transform 0.25s ease;
}

.afam-hero-btn-primary:hover {
	background: linear-gradient(180deg, #f2ce6d 0%, #e0a532 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(224, 169, 72, 0.35);
	color: #030a17;
}

.afam-hero-btn-primary:hover .afam-arrow-icon {
	transform: translateX(4px);
}

.afam-hero-btn-secondary {
	background: rgba(16, 42, 78, 0.45);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	padding: 13px 26px;
	border-radius: 6px;
	text-decoration: none;
	display: inline-block;
	border: 1.5px solid #486fa3;
	backdrop-filter: blur(4px);
	transition: all 0.25s ease;
}

.afam-hero-btn-secondary:hover {
	background: rgba(24, 58, 105, 0.8);
	border-color: #e0a948;
	color: #e0a948;
	transform: translateY(-2px);
}

/* RIGHT IMAGE WRAPPER */
.afam-hero-image-wrap {
	flex: 1;
	max-width: 580px;
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.afam-hero-img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.afam-hero-img-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 35%;
	height: 100%;
	background: linear-gradient(90deg, #051429 0%, rgba(5, 20, 41, 0) 100%);
	pointer-events: none;
	border-radius: 12px 0 0 12px;
}

/* ARROWS */
.afam-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all 0.25s ease;
}

.afam-arrow-prev {
	left: 24px;
}

.afam-arrow-next {
	right: 24px;
}

.afam-slider-arrow:hover {
	background: #e0a948;
	color: #051429;
	border-color: #e0a948;
	box-shadow: 0 0 12px rgba(224, 169, 72, 0.4);
}

/* PAGINATION DOTS */
.afam-slider-dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 10;
}

.afam-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.afam-dot.active {
	background: #ffffff;
	width: 26px;
	border-radius: 10px;
	box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
	.afam-hero-heading {
		font-size: 34px;
	}
	.afam-hero-desc {
		font-size: 13.5px;
	}
	.afam-hero-slide-inner {
		min-height: 450px;
	}
}

@media (max-width: 850px) {
	.afam-hero-slide-inner {
		flex-direction: column;
		text-align: center;
		padding: 40px 0 60px;
	}
	.afam-hero-content {
		max-width: 100%;
	}
	.afam-hero-buttons {
		justify-content: center;
	}
	.afam-hero-desc {
		margin-left: auto;
		margin-right: auto;
	}
	.afam-hero-image-wrap {
		max-width: 100%;
		justify-content: center;
	}
	.afam-hero-img-overlay {
		display: none;
	}
	.afam-slider-arrow {
		width: 36px;
		height: 36px;
		font-size: 13px;
	}
	.afam-arrow-prev {
		left: 10px;
	}
	.afam-arrow-next {
		right: 10px;
	}
}

@media (max-width: 480px) {
	.afam-hero-heading {
		font-size: 22px !important;
		line-height: 1.25 !important;
	}
	.afam-hero-slide-inner {
		padding: 30px 10px 50px !important;
		min-height: 350px !important;
	}
	.afam-hero-buttons {
		flex-direction: column !important;
		width: 100% !important;
		gap: 10px !important;
	}
	.afam-hero-btn-primary,
	.afam-hero-btn-secondary {
		width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
		box-sizing: border-box !important;
	}
	.afam-slider-arrow {
		display: none !important;
	}
}
