/* --- Start of Hero Slider --- */
.swiper { cursor: grab; }
.swiper:active { cursor: grabbing; }
.hero-slide {
	display: block;
	width: 100%;
	height: calc(100vh - 88px);
	max-height: 700px;
	position: relative;
	text-decoration: none;
	overflow: hidden;
}
.hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s linear 0.7s;
	z-index: 1;
	transform: scale(1);
}
.hero-slide.animate .hero-image { transform: scale(1.15); transition: transform 8s linear; }
.hero-slide::before { /*overlay*/
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient( to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 67% );
	z-index: 2;
	pointer-events: none;
}
.slide-content {
	position: absolute;
	z-index: 5;
	margin: 0 6.2vw;
	bottom: 92px;
	left: 0;
	max-width: 800px;
	color: white;
}
.slide-content * { margin: 0; }
.slide-content h1 { padding-top: 18px; pointer-events: none; }
.slide-content h3 { padding-top: 16px; padding-bottom: 24px; pointer-events: none; }

/* spin & discover btn */
.spin-btn-wrapper {
	position: absolute;
	bottom: 25px;
	right: 6.2vw;
	z-index: 10;
}
#spin-btn {
	position: relative;
	display: inline-block;
	padding: 6px 18px;
	font-size: 14px;
	font-weight: 400;
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	border-radius: 16px;
	cursor: pointer;
	overflow: hidden;
	z-index: 10;
	transition: all 0.2s ease;
}
.spin-outline {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 11;
}
.orbit-path {
	stroke-width: 0;
	fill: none;
	stroke: url(#orbit-gradient);
	stroke-linecap: round;
	stroke-dasharray: 40 82.25 40 82.25;
	stroke-dashoffset: 0;
	filter: drop-shadow(0 0 4px white); /* soft glow */
	transition: none;
}
#spin-btn:not(:disabled):hover .orbit-path {
	transition: stroke-width 0.2s ease;
	stroke-width: 2;
	animation: dash-loop 2s linear infinite;
}
#spin-btn:not(:disabled):hover { background-color: rgba(255, 255, 255, 0.3); }
@keyframes dash-loop {
	to { stroke-dashoffset: -244.5; }
}
.swiper.flash::after {
	content: '';
	position: absolute;
	inset: 0;
	background: white;
	opacity: 0;
	animation: slide-flash 0.4s ease;
	pointer-events: none;
	border-radius: inherit;
	z-index: 15;
}
@keyframes slide-flash {
	0% { opacity: 0; }
	30% { opacity: 0.1; }
	100% { opacity: 0; }
}

/* find more btn */
#hero-find-more-btn, #hero-find-more-btn:hover {
	border: none;
	background: none;
    color: white;
    font-size: var(--e-global-typography-8a58740-font-size);
    font-weight: var(--e-global-typography-8a58740-font-weight);
    line-height: var(--e-global-typography-8a58740-line-height);
    padding: 0;
	display: flex;
    align-items: center;
	text-decoration: none;
	width: fit-content;
}
#hero-find-more-btn span.text { position: relative; padding-bottom: 4px; overflow: hidden; }
#hero-find-more-btn span.icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	margin-left: 14px;
}
#hero-find-more-btn svg {
	width: 20px;
    position: relative;
    z-index: 10;
}
#hero-find-more-btn span.text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0%;
    background-color: white;
    transition: width 0.2s ease;
}
#hero-find-more-btn:hover span.text::after { width: 100%; }
#hero-find-more-btn span.icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 33px;
    height: 33px;
    background: radial-gradient(circle, white 0%, white 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
    z-index: 5;
    pointer-events: none;
}
#hero-find-more-btn:hover span.icon::after { transform: translate(-50%, -50%) scale(1); }
#hero-find-more-btn span.icon svg path { transition: stroke 0.2s ease; }
#hero-find-more-btn:hover svg path { stroke: #2E4CE6; }

/* pagination */
.swiper-pagination, .swiper-pagination-numbers {
	position: absolute !important;
    bottom: 78px !important;
    right: 6.2vw !important;
    left: auto !important;
    top: auto !important;
    width: fit-content !important;
	z-index: 3;
	margin-right: 4px;
}
.swiper-pagination { margin-right: 50px !important; }
.swiper-pagination-bullet {
	width: 80px;
	background: white;
	height: 2px;
	border-radius: 2px;
}
.swiper-pagination-numbers {
	color: white !important;
	font-size: var(--e-global-typography-a962acf-font-size);
	line-height: var(--e-global-typography-a962acf-line-height);
	font-weight: var(--e-global-typography-a962acf-font-weight);
}

/* text animation */
.slide-content > * {
	opacity: 0;
    transform: translateY(30px);
    transition: 0.5s ease-out;
}
.hero-slide.animate .slide-content > * {
	opacity: 1;
    transform: translateY(0);
}
.slide-content > :nth-child(1) { transition-delay: 0s; }
.slide-content > :nth-child(2) { transition-delay: 0.15s; }
.slide-content > :nth-child(3) { transition-delay: 0.3s; }
.slide-content > :nth-child(4) { transition-delay: 0.45s; }

/* swiper navigation */
.swiper-button-prev,
.swiper-button-next {
	width: 28px;
	height: 28px;
	background: rgba(255, 255, 255, 0.17);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background 0.3s ease;
	padding: 0;
	position: absolute;
}
.swiper-button-prev {left: auto; right: calc(6.2vw + 32px); bottom: 20px; top: auto;}
.swiper-button-next {left: auto; right: 6.2vw; bottom: 20px; top: auto;}
.swiper-button-prev:hover,
.swiper-button-next:hover {background: rgba(255, 255, 255, 0.3);}
.swiper-button-prev::after,
.swiper-button-next::after {font-size: 9px;	color: #fff;}

@media screen and (max-width: 767px) {
	.swiper-button-prev, .swiper-button-next { display: flex; }
	.hero-slide { height: 250px; }
	.hero-slide, .hero-slider.swiper { overflow: visible !important; }
	.swiper-slide { z-index: 1!important; }
	.swiper-slide-active { z-index: 2!important; }
	.slide-content {
		margin: 0;
		padding: 29px 6.2vw 44px 6.2vw;
		bottom: auto;
		top: 250px;
		background: linear-gradient(to top, transparent 0%, white 20%) !important;
	}
	.hero-slide::before {background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 67%),    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 67%);}
	.spin-btn-wrapper {
		bottom: auto;
		right: auto;
		left: 6.2vw;
		top: 24px;
	}
	#spin-btn {
		background-color: rgba(255, 255, 255, 0.55);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}
	.swiper-pagination { 
		margin: 0 !important;
		right: auto !important;
		left: 6.2vw !important;
		width: calc(100% - 16.8vw - 75px) !important;
		bottom: 24px !important;
	}
	.swiper-pagination-numbers { display: none; }
	.swiper-pagination-bullet { width: calc((100% - 40px) / 5); }
	.slide-content h1 {color: var(--color-blue) !important; font-size:24px !important;}
	.slide-content h3 {color: black !important; font-size:16px !important;}
	#hero-find-more-btn, #hero-find-more-btn:hover {color: var(--color-blue);}
	#hero-find-more-btn span.text::after {background-color: var(--color-blue);}
	#hero-find-more-btn span.icon::after {background: radial-gradient(circle, var(--color-blue) 0%, var(--color-blue) 100%);}
	#hero-find-more-btn svg path { stroke: #2E4CE6; } 
	#hero-find-more-btn:hover svg path { stroke: white; }
}

/* --- End of Hero Slider --- */


/* --- Start of Featured Articles Tab --- */

.featured-tab .e-n-tab-title { min-width: 20% !important; max-width: 20% !important; }
.featured-tab .e-n-tabs-heading { position: relative; }
.featured-tab .tab-slider {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #2E4CE6;
  transition: all 0.3s ease;
  width: 0;
}
.home-article-loop-item h2 a { font-size: 22px !important; text-decoration: none !important; }
.home-article-loop-item .elementor-widget-image { overflow: hidden; border-radius: 8px; }
.home-article-loop-item .elementor-widget-image img { width: 100vw !important; transform: scale(1); transition: all 0.5s ease; }
.home-article-loop-item .elementor-widget-image:hover img { transform: scale(1.05); }
.featured-tab .e-n-tabs-content .elementor-loop-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.featured-tab .e-n-tabs-content .elementor-loop-container > .e-loop-item:nth-of-type(4n + 1),
.featured-tab .e-n-tabs-content .elementor-loop-container > .e-loop-item:nth-of-type(4n) {
	width: 60%;
}
.featured-tab .e-n-tabs-content .elementor-loop-container > .e-loop-item:nth-of-type(4n + 2),
.featured-tab .e-n-tabs-content .elementor-loop-container > .e-loop-item:nth-of-type(4n + 3) {
	width: calc(40% - 30px);
}

.mobile-tab-arrow { cursor: pointer; display:none; }
@media screen and (max-width: 767px) {
	.featured-tab .e-n-tab-title { width: 143px !important; min-width: 20% !important; max-width: 200px !important; flex-shrink: 0 !important; color:#D3D3D3!important; padding: 8px 12px !important; }
	.featured-tab .e-n-tab-title[aria-selected="true"] { color:#4A41B4!important; }
	.featured-tab .e-n-tab-title-text { width: 73px !important; min-width: 100% !important; justify-content:center !important; }
	.featured-tab .e-n-tabs-heading {
		width: calc(143px * 5)!important; min-width: calc(100% + 16.8vw) !important; margin-left:-6.2vw;
		display: flex;
		transform: translateX(0px);
		transition: transform 0s;
		will-change: transform;
		cursor: grab;
		user-select: none;
		transition: transform 0.3s ease;
	}
	.featured-tab .e-n-tabs-content .elementor-loop-container > .e-loop-item { width: 100% !important; }
	.home-article-loop-item .elementor-widget-image { aspect-ratio: 1.6; }
	.home-article-loop-item h2 a { font-size: 18px !important; }
	.featured-tab .tab-slider { background-color: #4A41B4; }
	
}

/* --- End of Featured Articles Tab --- */


/* --- Start of FAQ Section --- */

.number-box {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 22px;
  font-weight: 600;
  color: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  background: linear-gradient(to bottom, #3C41FF 0%, #D60CFF 100%);
}
@media (max-width: 480px) { .number-box { width: 42px !important; height: 42px !important; } }

@media screen and (max-width: 767px) {
	.elementor-widget-divider { max-width: none; }
	.elementor-divider { width: calc(100% + 16.8vw); margin-left: -6.2vw; }
}

/* --- End of FAQ Section --- */
