﻿/* Layout */
.center {
	text-align: center;
}

.hero-carousel .carousel-item {
	height: 320px;
	background-size: cover;
	background-position: center;
}

.card-grid {
	gap: 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.category-chip {
	display: inline-block;
	margin: 4px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f1f1;
	cursor: pointer;
}

	.category-chip.active {
		background: #007bff;
		color: #fff;
	}

#overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: white !important;
	padding: 20px;
	overflow: auto;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
}

.modal-dialog{
	max-width: 100% !important;
}

.modal-backdrop.show {
	display: none;
	background-color: white !important;
}

.link-button {
	background: none;
	border: none;
	padding: 0;
	color: #007bff;
	cursor: pointer;
}

.search-row {
	margin: 1.2rem 0;
}

.carousel-card {
	padding: .5rem;
}
/* Responsive tweaks */
@media (max-width: 576px) {
	.hero-carousel .carousel-item {
		height: 220px;
	}
}



.hero {
	padding: 4rem 1rem;
	color: #fff;
	background: linear-gradient(135deg, #0f172a 0%, #04263a 40%, #0a2540 100%);
	position: relative;
	overflow: hidden;
}

	.hero .glow {
		position: absolute;
		width: 480px;
		height: 480px;
		border-radius: 50%;
		filter: blur(80px);
		opacity: 0.25;
		transform: translate(-50%, -50%);
		animation: float 12s ease-in-out infinite;
	}

		.hero .glow.one {
			background: linear-gradient(90deg,#7c3aed,#06b6d4);
			left: 10%;
			top: 10%;
		}

		.hero .glow.two {
			background: linear-gradient(90deg,#ef4444,#f97316);
			right: 8%;
			top: 30%;
			animation-duration: 16s;
			opacity: 0.18;
		}

@keyframes float {
	0% {
		transform: translate(-50%,-50%) translateY(0px);
	}

	50% {
		transform: translate(-50%,-50%) translateY(-18px);
	}

	100% {
		transform: translate(-50%,-50%) translateY(0px);
	}
}

/* Cards and interactions */
.features {
	padding: 2.5rem 0;
}

.card-animated {
	transition: transform .25s ease, box-shadow .25s ease;
	will-change: transform;
}

	.card-animated:hover {
		transform: translateY(-8px);
		box-shadow: 0 12px 30px rgba(2,6,23,.35);
	}

/* Builder panel */
.builder {
	background: #fff;
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0 8px 32px rgba(8,15,30,0.06);
}

.form-preview {
	border: 1px dashed #e6eef8;
	padding: 1rem;
	min-height: 120px;
	border-radius: 6px;
	background: linear-gradient(180deg,#ffffff,#fbfdff);
}

/* small helpers */
.kv {
	font-weight: 600;
	color: #0b2440;
}

.btn-ghost {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.12);
	color: #fff;
}

.link-row a {
	margin-right: 0.75rem;
	color: #e6f0ff;
	text-decoration: none;
}

	.link-row a:hover {
		text-decoration: underline;
		color: #fff;
	}
