/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Fix chatwoot widget covering back-to-top button */
#gotoTop {
	/* Move the back-to-top button to the left to avoid chatwoot widget */
	right: 90px !important;
	/* Increased from 30px to 90px to avoid overlap */
}

/* Trial Page Styles */
.trial-form-container {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
}

.form-control:focus,
.form-select:focus {
	border-color: #3d80e4;
	box-shadow: 0 0 0 0.2rem rgba(61, 128, 228, 0.25);
}

.form-control.is-invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.card {
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.btn-primary {
	background-color: #3d80e4;
	border-color: #3d80e4;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: #2c6bc7;
	border-color: #2c6bc7;
	transform: translateY(-1px);
}

.prose {
	max-width: none;
}

.prose h2 {
	color: #2c6bc7;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.prose h3 {
	color: #3d80e4;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.prose ul {
	margin-left: 1.5rem;
}

.prose li {
	margin-bottom: 0.5rem;
}

.text-white-75 {
	color: rgba(255, 255, 255, 0.75) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.display-4 {
		font-size: 2rem;
	}

	.card-body {
		padding: 2rem !important;
	}

	.min-vh-60 {
		min-height: 50vh;
	}
}

/* Pricing Page Styles */
.pricing-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid transparent;
}

.pricing-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.pricing-card.featured {
	border-color: #3d80e4;
	position: relative;
}

.pricing-card.featured .card-header {
	background: linear-gradient(135deg, #3d80e4 0%, #2c6bc7 100%) !important;
}

.ribbon {
	position: absolute;
	top: 15px;
	right: -5px;
	z-index: 10;
}

.ribbon span {
	background: #ff6b35;
	color: white;
	padding: 8px 20px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 20px 0 0 20px;
	box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.ribbon span:before {
	content: '';
	position: absolute;
	top: 100%;
	right: 0;
	border-right: 5px solid #e55a2b;
	border-bottom: 5px solid transparent;
}

.pricing-amount {
	margin-bottom: 1rem;
}

.pricing-amount .h2 {
	font-size: 2.5rem;
	line-height: 1;
}

.pricing-features li {
	font-size: 0.95rem;
	color: #555;
}

.support-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.support-icon {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.accordion-button {
	background-color: #f8f9fa;
	border: none;
	box-shadow: none;
}

.accordion-button:not(.collapsed) {
	background-color: #3d80e4;
	color: white;
}

.accordion-button:focus {
	border-color: #3d80e4;
	box-shadow: 0 0 0 0.2rem rgba(61, 128, 228, 0.25);
}

.accordion-item {
	border: 1px solid #e9ecef;
}

/* Pricing responsive adjustments */
@media (max-width: 768px) {
	.pricing-amount .h2 {
		font-size: 2rem;
	}

	.ribbon {
		top: 10px;
		right: -3px;
	}

	.ribbon span {
		padding: 6px 15px;
		font-size: 0.75rem;
	}
}

/* Bootstrap Dropdown Styles for Navigation */
.menu-item.dropdown {
	position: relative;
}

.menu-item.dropdown .dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	padding: 0.5rem 0;
	margin-top: 5px;
	border: 1px solid #e9ecef;
	list-style: none;
	display: block;
}

.menu-item.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu .dropdown-item {
	display: block;
	padding: 0.75rem 1.25rem;
	color: #555;
	text-decoration: none;
	transition: all 0.2s ease;
	font-size: 0.95rem;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
}

.dropdown-menu .dropdown-item:hover {
	background-color: #f8f9fa;
	color: #3d80e4;
}

.dropdown-menu .dropdown-item i {
	font-size: 0.9rem;
	width: 20px;
}

/* Chevron icon for dropdown indicator */
.menu-link .bi-chevron-down {
	font-size: 0.8rem;
	margin-left: 0.5rem;
	transition: transform 0.2s ease;
}

.dropdown:hover .bi-chevron-down {
	transform: rotate(180deg);
}

/* Mobile dropdown adjustments */
@media (max-width: 991px) {
	.menu-item.dropdown .dropdown-menu {
		position: static !important;
		transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		box-shadow: none !important;
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
	}

	.dropdown-menu .dropdown-item {
		padding: 0.5rem 1.5rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.dropdown-menu .dropdown-item:hover {
		background-color: rgba(61, 128, 228, 0.1);
	}
}
