@custom-variant dark (&:where(.dark, .dark *));


* {
	box-sizing: border-box;
}
[modal-backdrop].bg-gray-900\/50 {
		background-color: rgba(80, 80, 80, 0.5) !important; /* red test */
	}
:root {
	--main-color: #f05a27;
	--main-color-rgb: 240, 90, 39;
	--secondry-color: #6c757d;
	--primary-color: #fcb332;
	--main-padding: 60px 0;
	--font-family: 'Poppins', sans-serif;
	--font-family-ar: 'Cairo', sans-serif;
}

body {
	font-family: var(--font-family);
}

.container {
	margin: 0 auto;
	padding: 0 15px;
}

.text-main {
	color: var(--main-color);
}

.bg-main {
	background-color: var(--main-color);
}

.border-main {
	border: 1px solid var(--main-color);
}

.main-p {
	padding: var(--main-padding);
}

.navbar-links a {
	border-radius: 50px;

}



.hero-section {
	background: url(../images/herobg-en.png) no-repeat center center;
	background-position: top right;
	background-size: 70%;
}


@media (max-width: 1024px) {
	.hero-section {
		background: none;
	}
}

.custom-prev,
.custom-next {
	position: relative;
	width: 40px;
	height: 40px;
	background: var(--main-color);
	border-radius: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.3);
}

.custom-prev:hover,
.custom-next:hover {
	background: var(--main-color);
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(var(--main-color-rgb), 0.4);
}

.custom-prev.swiper-button-disabled,
.custom-next.swiper-button-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: var(--main-color);
}

.custom-prev.swiper-button-disabled:hover,
.custom-next.swiper-button-disabled:hover {
	transform: none;
	background: var(--main-color);
}

/* Hide default Swiper buttons */
.swiper-button-next:after,
.swiper-button-prev:after {
	display: none;
}

.label-text {
	background: linear-gradient(90deg, #813116 0%, var(--main-color) 0.01%, #f4bfac 75.48%);
	font-family: var(--font-family);
}

/* Testimonials Navigation Buttons Card Styles */
.testimonials-prev,
.testimonials-next {
	position: relative;
	width: 40px;
	height: 40px;
	background: var(--main-color);
	border-radius: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.3);
}

.testimonials-prev:hover,
.testimonials-next:hover {
	background: var(--main-color);
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(var(--main-color-rgb), 0.4);
}

.testimonials-prev.swiper-button-disabled,
.testimonials-next.swiper-button-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: var(--main-color);
}

.testimonials-prev.swiper-button-disabled:hover,
.testimonials-next.swiper-button-disabled:hover {
	transform: none;
	background: var(--main-color);
}

.testimonial-card {
	opacity: 0.6;
	transform: scale(0.95);
	transition: all 0.5s ease;
}

.testimonial-card.active {
	opacity: 1 !important;
	transform: scale(1) !important;
}

.testimonial-quote {
	color: #e77d59 !important;
	transition: color 0.5s ease;
}

.testimonial-card.active .testimonial-quote {
	color: var(--main-color) !important;
}

.testimonial-text {
	color: #9ca3af !important;
	transition: color 0.5s ease;
}

.testimonial-card.active .testimonial-text {
	color: #374151 !important;
}

.testimonial-name {
	color: #9ca3af !important;
	transition: color 0.5s ease;
}

.testimonial-card.active .testimonial-name {
	color: #1f2937 !important;
}

.testimonial-role {
	color: #9ca3af !important;
	transition: color 0.5s ease;
}


@media (max-width: 640px) {

	.custom-prev,
	.custom-next {
		width: 40px;
		height: 40px;
	}
}

/* Medical Centers List Animations */
.medical-center-item {
	transition: all 0.3s ease;
	padding: 10px 20px;
	border-radius: 8px;
	background-color: white;
	border-radius: 20px;
	width: fit-content;
}

.medical-center-item:hover {
	transform: translateX(10px);
	padding-left: 12px;
}

.medical-center-item:hover .fa-circle-check {
	transform: scale(1.2);
	filter: drop-shadow(0 0 8px rgba(var(--main-color-rgb), 0.4));
}

.medical-center-item .fa-circle-check {
	transition: all 0.3s ease;
}

/* Modal Animation Styles */
.modal-overlay {
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
}

.modal-overlay.show {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	transform: scale(0.7) translateY(-50px);
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-content {
	transform: scale(1) translateY(0);
	opacity: 1;
}

/* Modal backdrop blur animation */
.modal-backdrop {
	backdrop-filter: blur(0px);
	transition: backdrop-filter 0.3s ease-in-out;
}

.modal-overlay.show .modal-backdrop {
	backdrop-filter: blur(4px);
}

/* Button hover animation */
.modal-button {
	transition: all 0.3s ease;
}

.modal-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(var(--main-color-rgb), 0.3);
}

/* Contact form submit button animation */
#submitBtn {
	transition: all 0.3s ease;
}

#submitBtn:hover:not(:disabled) {
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

#submitBtn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none !important;
}

/* Success icon animation */
@keyframes checkmark {
	0% {
		stroke-dashoffset: 24;
	}

	100% {
		stroke-dashoffset: 0;
	}
}

.success-checkmark {
	stroke-dasharray: 24;
	animation: checkmark 0.6s ease-in-out 0.3s forwards;
}

.contact-us {
	background-image: url(../images/Newslatter.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}



/* rtl */

:dir(rtl) body {
	font-family: var(--font-family-ar) ;
	font-size: 17px;
}


:dir(rtl) .hero-section {
	background: url(../images/herobg-ar.png) no-repeat center center;
	background-position: top left;
	background-size: 70%;
}

@media (max-width: 1024px) {
	:dir(rtl) .hero-section {
		background: none;
	}
}
