/* Coverflow Destination Carousel — Frontend Styles */

.cfdc-widget {
	width: 100%;
	overflow: hidden;
}

.cfdc-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 50px;
}

.cfdc-eyebrow {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #ec1e79;
	margin-bottom: 8px;
	letter-spacing: 0.2px;
}

.cfdc-heading {
	margin: 0;
	font-size: 40px;
	font-weight: 700;
	color: #0b0b0b;
	line-height: 1.2;
}

/* Swiper container */
.cfdc-swiper {
	width: 100%;
	padding: 40px 0 70px;
	overflow: visible !important;
}

.cfdc-swiper .swiper-wrapper {
	align-items: center;
}

.cfdc-swiper .swiper-slide {
	width: 430px;
	height: 100%;
	transition: filter 0.4s ease, transform 0.4s ease;
	border-radius: 24px;
}

.cfdc-card {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
	background: #0b0b0b;
}

.cfdc-card-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.4s ease, height 0.3s ease;
}

.cfdc-swiper .swiper-slide:not(.swiper-slide-active) .cfdc-card-img {
	filter: blur(3px);
}

.cfdc-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(4, 40, 50, 0.85) 100%);
	pointer-events: none;
}

.cfdc-card-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 28px 30px;
}

.cfdc-slide-title {
	font-size: 26px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
}

.cfdc-slide-listing {
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 4px;
}

.cfdc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	backdrop-filter: blur(4px);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
	font-family: inherit;
}

.cfdc-btn:hover {
	background-color: #ffffff;
	color: #0b0b0b;
}

.cfdc-btn svg {
	transition: transform 0.25s ease;
}

.cfdc-btn:hover svg {
	transform: translateX(3px);
}

/* Pagination dots */
.cfdc-swiper .swiper-pagination {
	bottom: 0 !important;
}

.cfdc-swiper .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #d6dee6;
	opacity: 1;
	margin: 0 5px !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.cfdc-swiper .swiper-pagination-bullet-active {
	background: #1eaee0;
	transform: scale(1.15);
}

/* Nav arrows */
.cfdc-swiper .swiper-button-prev,
.cfdc-swiper .swiper-button-next {
	color: #0b0b0b;
	background: #ffffff;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	top: 45%;
}

.cfdc-swiper .swiper-button-prev::after,
.cfdc-swiper .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
	.cfdc-swiper .swiper-slide {
		width: 320px;
		height: 480px;
	}
	.cfdc-heading {
		font-size: 32px;
	}
}

@media (max-width: 767px) {
	.cfdc-swiper .swiper-slide {
		width: 280px;
		height: 420px;
	}
	.cfdc-card-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.cfdc-heading {
		font-size: 26px;
	}
}

/* Lead Popup Form (colors/fonts controlled via Elementor Style tab) */
.cfdc-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.cfdc-popup-overlay.active { display: flex; }

.cfdc-popup-box {
	position: relative;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-sizing: border-box;
}

.cfdc-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

.cfdc-popup-title { margin: 0 0 8px; }
.cfdc-popup-desc { margin: 0 0 24px; }

.cfdc-popup-field { margin-bottom: 18px; }
.cfdc-popup-label { display: block; margin-bottom: 6px; font-weight: 600; }

.cfdc-popup-input {
	width: 100%;
	display: block;
	box-sizing: border-box;
	outline: none;
}
.cfdc-popup-input:focus { outline: none; }

.cfdc-popup-phone-row {
	display: flex;
	gap: 8px;
}
.cfdc-popup-code-select {
	position: relative;
	flex-shrink: 0;
}
.cfdc-popup-code-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	white-space: nowrap;
	box-sizing: border-box;
	cursor: pointer;
	height: 100%;
}
.cfdc-popup-code-caret {
	font-size: 10px;
	line-height: 1;
	margin-left: 2px;
}
.cfdc-popup-code-list {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	top: auto;
	left: 0;
	min-width: 190px;
	max-height: 220px;
	overflow-y: auto;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
	z-index: 10;
}
.cfdc-popup-code-list.open { display: block; }
.cfdc-popup-code-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 14px;
}
.cfdc-popup-code-list li .cfdc-cc-country {
	font-size: 12px;
	opacity: 0.65;
	margin-left: auto;
}
.cfdc-popup-phone-row .cfdc-popup-input { flex: 1; min-width: 0; }

.cfdc-popup-submit {
	width: 100%;
	border: none;
	cursor: pointer;
	display: block;
	margin-top: 6px;
}

@media (max-width: 480px) {
	.cfdc-popup-box { max-height: 92vh; }
}
