/* Custom styles to complement Tailwind CSS */
.hero-section {
	background-color: #fff;
}

.feature-card {
	transition: transform 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
}

.testimonial-card {
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-item {
	transition: all 0.3s ease;
}

.faq-question {
	padding: 1rem !important;
}

.faq-answer {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.3s ease;
	visibility: hidden;
	padding: 0 !important;
	margin: 0 !important;
}

.faq-item.active .faq-answer {
	max-height: 1000px;
	opacity: 1;
	visibility: visible;
	padding: 0 1rem 1rem 1rem !important;
}

.faq-item .icon-container {
	width: 2rem;
	height: 2rem;
}

/* Rotate the arrow icon when active */
.faq-item .arrow-icon {
	transition: transform 0.3s ease;
}

.faq-item.active .arrow-icon {
	transform: rotate(180deg);
}

/* Custom animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeIn 0.6s ease forwards;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
	.hero-section {
		padding: 4rem 1rem;
	}

	.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* Loading animation */
.loading-spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: theme("colors.brand.500");
	border-radius: 50%;
	width: 24px;
	height: 24px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.whatsapp-button {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 50;
	background-color: #25d366;
	color: white;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
}
.whatsapp-button:hover {
	transform: scale(1.1);
}
