@import "./theme.css";
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.homepage-swiper {
    width: 100%;
    max-width: 1920px;
    min-height: calc(100vh - 160px);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
	background-image: radial-gradient(ellipse 80% 80% at 50% -20%, hsl(41 47% 56% / .1) 0%, transparent 50%), linear-gradient(180deg, hsl(211 100% 14%) 0%, hsl(211 90% 18%) 50%, hsl(211 100% 14%) 100%);
}

.homepage-swiper .swiper-slide {
    width: 100%;
    opacity: 0 !important; /* Start with hidden slides */
    transition: opacity 1s ease-in-out !important; /* Fade transition */
}

.homepage-swiper .swiper-slide-active {
    opacity: 1 !important; /* Only active slide is visible */
}

.homepage-swiper .slider-item {
    width: 100%;  
    display: flex;
	flex-direction: column;
    justify-content: center; /* Align content to left */    
	align-items: center;
    position: relative;
	padding: 80px 0;
}

.homepage-swiper .slider-content {
    max-width: 920px;    
    position: relative;
    z-index: 2;
    text-align: center; /* Ensure text is left-aligned */
    animation: fadeIn 2s ease-in-out; /* Fade animation for content */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.homepage-swiper .slider-content span{
	padding: 8px 16px 8px 32px;
	border-radius: 44px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 20px;
	font-weight: normal;
	font-family: "Inter", sans-serif;
	display: table;
	margin: 0 auto 24px;
	position: relative;
}
.homepage-swiper .slider-content span::before{
	content: '';
	position: absolute;
	left: 16px;
	top: calc(50% - 4px);
	width: 8px;
	height: 8px;
	background: #C4A25A;
	border-radius: 50%;
}
.homepage-swiper .slider-content h2 {
    font-size: 72px;
	line-height: 84px;
    margin-bottom: 24px; 
    font-weight: 700;
    color: #DAE0E7;
	font-family: "Inter", sans-serif;
}
.homepage-swiper .slider-content p {
    font-size: 20px;
	line-height: 28px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.7);
	font-weight: 400;
	font-family: "Inter", sans-serif;
	max-width: 672px;
}

.homepage-swiper .slider-buttons {
    display: flex;
	justify-content: center;
    gap: 24px;
}

.homepage-swiper .slider-buttons a {
    display: flex;
	align-items: center;
    padding: 0 32px;
    border-radius: 12px;
	height: 48px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
	line-height: 24px;
	border: 2px solid transparent;
}
.homepage-swiper .slider-buttons a.btn-primary{
    background: #C4A25A;
    color: #002347;
}
.homepage-swiper .slider-buttons a.btn-primary:hover{
    color: #002347;
    border-color:#ac8839;
    background: #ac8839;
	box-shadow: 0 8px 32px -8px rgba(196,162,90,0.4);
}
.homepage-swiper .slider-buttons a.btn-secondary{
    color: #fff;
	border-color: rgba(255,255,255,0.3);
}
.homepage-swiper .slider-buttons a.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.homepage-swiper .slider-counter-wrap{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 96px;
	gap: 64px;
}
.scw--item{
	text-align: center;
}
.scw--item span{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(196,162,90,0.2);
	margin: 0 auto 8px;
}
.scw--item span svg{
	color: #C4A25A;
}
.scw--item h4{
	color: #fff;
	font-size: 36px;
	line-height: 40px;
	font-weight: 700;
	font-family: "Inter", sans-serif;
}
.scw--item p{
	color: rgba(255,255,255,0.6);
	font-size: 14px;
	line-height: 20px;
	font-weight: normal;
	font-family: "Inter", sans-serif;
	margin: 0;
	margin-top: 4px;
}

/* Pagination styling */
.homepage-swiper .swiper-pagination {
    bottom: 40px !important;
}

.homepage-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
	opacity: 1;
	border: none;
    border-radius: 50%;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 0.3s;
}

.homepage-swiper .swiper-pagination-bullet-active {
    background: #C4A25A;
	width: 32px;
	border-radius: 40px;
}

/* Responsive adjustments */
@media (max-width: 1366px) {
	.homepage-swiper .slider-item{
		padding: 60px 0;
	}
	.homepage-swiper .slider-content h2{
		font-size: 52px;
		line-height: 60px;
		margin-bottom: 20px;
	}
	.homepage-swiper .slider-content span{
		margin-bottom: 20px;
	}
}
@media (max-width: 992px) {
	.homepage-swiper .slider-item{
		padding: 52px 0;
	}
	.homepage-swiper .slider-content h2{
		font-size: 40px;
		line-height: 48px;
	}
	.homepage-swiper .slider-content span{
		padding: 6px 12px 6px 24px;
		font-size: 13px;
    	line-height: 18px;
	}
	.homepage-swiper .slider-content span::before{
		left: 12px;
		top: calc(50% - 3px);
		width: 6px;
		height: 6px;
	}
}

@media (max-width: 768px) {
	.homepage-swiper .slider-item{
		padding: 52px 0;
	}
	.homepage-swiper .slider-content h2{
		font-size: 40px;
		line-height: 48px;
	}
	.homepage-swiper .slider-content span{
		padding: 6px 12px 6px 24px;
		font-size: 13px;
    	line-height: 18px;
	}
	.homepage-swiper .slider-content span::before{
		left: 12px;
		top: calc(50% - 3px);
		width: 6px;
		height: 6px;
	}
	.homepage-swiper .slider-content p{
		font-size: 18px;
    	line-height: 24px;
		margin-bottom: 32px;
	}
	.homepage-swiper .slider-buttons a{
		padding: 0 28px;
		border-radius: 10px;
		height: 44px;
		font-size: 15px;
    	line-height: 20px;
	}
	.homepage-swiper .slider-counter-wrap{
		margin-top: 48px;
    	gap: 60px;
	}
	.scw--item span{
		border-radius: 10px;
		margin-bottom: 8px;
	}
	.scw--item h4{
		font-size: 28px;
    	line-height: 32px;
	}
}

@media (max-width: 480px) {
	.homepage-swiper .slider-item{
		padding: 92px 20px 40px 20px;
	}
	.homepage-swiper .slider-content h2{
        font-size: 28px;
        line-height: 32px;
    }
	.homepage-swiper .slider-content p{
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 24px;
    }
	.homepage-swiper .slider-buttons{
		gap: 16px;
    	flex-direction: column;
	}
	.homepage-swiper .slider-buttons a{
		border-radius: 8px;
        height: 40px;
		width: 100%;
        justify-content: center;
	}
	.homepage-swiper .slider-counter-wrap{
		margin-top: 32px;
        gap: 24px; 
	}
	.scw--item span{
		width: 32px;
    	height: 32px;
		border-radius: 6px;
        margin-bottom: 8px;
	}
	.scw--item span svg{
		width: 18px;
	}
	.scw--item h4{
        font-size: 18px;
        line-height: 22px;
    }
	.scw--item p{
		font-size: 13px;
    	line-height: 16px;
	}
	.homepage-swiper .swiper-pagination {
    	bottom: 20px !important;
	}
}