@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
	/* --- Palette --- */
	--clr-bg-main: #030712;
	/* Very dark blue/black */
	--clr-bg-surface: #111827;
	/* Slightly lighter surface */
	--clr-bg-glass: rgba(17, 24, 39, 0.7);

	--clr-primary: #3b82f6;
	/* Bright Blue */
	--clr-primary-glow: rgba(59, 130, 246, 0.5);
	--clr-secondary: #8b5cf6;
	/* Violet */
	--clr-accent: #10b981;
	/* Emerald Green */

	--clr-text-main: #f9fafb;
	--clr-text-muted: #9ca3af;
	--clr-border: rgba(255, 255, 255, 0.1);
	--clr-border-hover: rgba(255, 255, 255, 0.2);

	/* --- Typography --- */
	--font-heading: 'Plus Jakarta Sans', sans-serif;
	--font-body: 'Inter', sans-serif;

	/* --- Spacing & Radius --- */
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--container-width: 1200px;

	/* --- Effects --- */
	--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--shadow-glow: 0 0 20px var(--clr-primary-glow);
	--backdrop-blur: blur(12px);
	--transition-fast: 0.2s ease;
	--transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background-color: var(--clr-bg-main);
	color: var(--clr-text-main);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	background-image:
		radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
		radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
	background-attachment: fixed;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition-fast);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	display: block;
}

button {
	cursor: pointer;
	border: none;
	background: none;
	font-family: inherit;
}

/* =========================================
   3. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	color: var(--clr-text-main);
	line-height: 1.2;
	margin-bottom: 1rem;
	font-weight: 700;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
	color: var(--clr-text-muted);
}

.text-gradient {
	background: linear-gradient(135deg, var(--clr-text-main) 0%, var(--clr-primary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* =========================================
   4. LAYOUT UTILITIES
   ========================================= */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section-padding {
	padding: 5rem 0;
}

.grid {
	display: grid;
	gap: 2rem;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =========================================
   5. COMPONENTS
   ========================================= */

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 2rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	transition: var(--transition-smooth);
	font-size: 1rem;
	letter-spacing: 0.01em;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn-primary {
	background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--clr-border);
	color: var(--clr-text-main);
	backdrop-filter: blur(5px);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--clr-text-main);
	transform: translateY(-2px);
}

.btn-large {
	padding: 1rem 2.5rem;
	font-size: 1.125rem;
}

/* Cards (Glassmorphism) */
.glass-card {
	background: var(--clr-bg-glass);
	backdrop-filter: var(--backdrop-blur);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-md);
	padding: 2rem;
	transition: var(--transition-smooth);
}

.glass-card:hover {
	border-color: var(--clr-primary);
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* =========================================
   6. NAVBAR
   ========================================= */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(3, 7, 18, 0.85);
	backdrop-filter: blur(15px);
	border-bottom: 1px solid var(--clr-border);
	transition: all 0.3s ease;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--clr-text-main);
	letter-spacing: -0.5px;
}

.logo span {
	color: var(--clr-primary);
}

.nav-menu {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

.nav-menu a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--clr-text-muted);
}

.nav-menu a:hover,
.nav-menu li.active a {
	color: var(--clr-primary);
}

/* Dropdown */
.dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: var(--clr-bg-surface);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-sm);
	padding: 0.5rem;
	min-width: 240px;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition-fast);
	box-shadow: var(--shadow-lg);
}

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

.dropdown-menu li a {
	display: block;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	color: var(--clr-text-muted);
	font-size: 0.9rem;
}

.dropdown-menu li a:hover {
	background: rgba(59, 130, 246, 0.1);
	color: var(--clr-primary);
}

.hamburger {
	display: none;
}

/* =========================================
   7. HERO SECTIONS
   ========================================= */
/* Home Hero */
.home-hero {
	position: relative;
	padding: 180px 0 100px;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.home-hero-bgvideo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.05;
	z-index: -2;
	filter: saturate(0);
}

.home-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, transparent 0%, var(--clr-bg-main) 100%);
	z-index: -1;
}

.hero-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4rem;
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.hero-content {
	max-width: 600px;
}

.hero-title {
	font-size: clamp(3rem, 6vw, 4.5rem);
	line-height: 1.1;
	margin-bottom: 1.5rem;
	background: linear-gradient(to right, #ffffff, #94a3b8);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 1.25rem;
	line-height: 1.7;
	margin-bottom: 2.5rem;
	max-width: 90%;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
}

.home-hero-visual {
	flex: 1;
	display: flex;
	justify-content: center;
}

.visual-panel {
	width: 100%;
	max-width: 500px;
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--clr-border);
	backdrop-filter: blur(10px);
	border-radius: var(--radius-lg);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	position: relative;
	overflow: hidden;
}

/* Service Detail Hero */
.service-detail-hero {
	padding: 160px 0 80px;
	text-align: center;
	background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%);
}

.service-detail-hero h1 {
	margin-bottom: 1rem;
}

.service-detail-hero p {
	max-width: 700px;
	margin: 0 auto 2rem;
	font-size: 1.2rem;
}

/* Page Hero (General) */
.page-hero {
	padding: 140px 0 60px;
	text-align: center;
	background: linear-gradient(to bottom, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 1) 100%);
}

.page-hero h1 {
	margin-bottom: 1rem;
}

.page-hero p {
	max-width: 600px;
	margin: 0 auto;
	font-size: 1.15rem;
	color: var(--clr-text-muted);
}

/* =========================================
   8. FEATURED / SHOWCASE
   ========================================= */
.featured {
	padding: 5rem 0;
	position: relative;
}

.featured-inner {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 3rem;
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	border-radius: var(--radius-lg);
	border: 1px solid var(--clr-border);
	display: flex;
	align-items: center;
	gap: 4rem;
	overflow: hidden;
}

.featured-content {
	flex: 1;
	z-index: 1;
}

.featured-content h2 {
	color: white;
	margin-bottom: 1rem;
}

.featured-content p {
	color: #cbd5e1;
	margin-bottom: 1.5rem;
}

.bullets {
	margin: 2rem 0;
}

.bullet {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #e2e8f0;
	margin-bottom: 0.5rem;
}

.featured-figure {
	flex: 1;
	position: relative;
	display: flex;
	justify-content: center;
}

.featured-figure img {
	width: 100%;
	max-width: 400px;
	filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.tag-pill {
	position: absolute;
	bottom: -10px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	padding: 0.5rem 1rem;
	border-radius: 99px;
	font-size: 0.8rem;
	color: var(--clr-text-muted);
	border: 1px solid var(--clr-border);
}

/* =========================================
   9. SERVICES GRID
   ========================================= */
.services {
	padding: 5rem 0;
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.service-card {
	background: var(--clr-bg-surface);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-md);
	padding: 2.5rem;
	transition: var(--transition-smooth);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	overflow: hidden;
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: var(--clr-primary);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-visual {
	width: 64px;
	height: 64px;
	margin-bottom: 1.5rem;
	background: rgba(59, 130, 246, 0.1);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.service-visual img {
	width: 100%;
	height: 100%;
}

.service-card h3 {
	font-size: 1.35rem;
	margin-bottom: 0.75rem;
}

.service-card a {
	margin-top: auto;
	color: var(--clr-primary);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.service-card a::after {
	content: '→';
	transition: transform 0.2s;
}

.service-card a:hover::after {
	transform: translateX(5px);
}

/* Features (for service pages) */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.feature-card {
	padding: 2rem;
	border-radius: var(--radius-md);
	background: var(--clr-bg-surface);
	border: 1px solid var(--clr-border);
	text-align: center;
}

.feature-card i {
	font-size: 2.5rem;
	color: var(--clr-primary);
	margin-bottom: 1.5rem;
}

/* Use Cases */
.use-case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.use-case-card {
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-sm);
	transition: var(--transition-fast);
}

.use-case-card:hover {
	background: rgba(255, 255, 255, 0.05);
}

.use-case-card i {
	color: var(--clr-secondary);
	font-size: 1.5rem;
	margin-bottom: 1rem;
	display: block;
}

.use-case-card h4 {
	margin-bottom: 0.5rem;
}

/* Specs */
.specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.spec-box {
	text-align: center;
	padding: 1.5rem;
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-sm);
	background: var(--clr-bg-surface);
}

.spec-box h4 {
	color: var(--clr-text-main);
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.spec-box p {
	font-size: 0.9rem;
	margin-bottom: 0;
}


/* =========================================
   10. WHY US & PROCESS
   ========================================= */
.why-us {
	background: #0f172a;
	padding: 5rem 0;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.why-item h4 {
	color: var(--clr-primary);
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
}

.process {
	padding: 5rem 0;
}

.process-steps {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
	position: relative;
}

.step {
	flex: 1;
	text-align: center;
	padding: 0 1rem;
}

.step-number {
	width: 50px;
	height: 50px;
	background: var(--clr-bg-surface);
	border: 1px solid var(--clr-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-weight: 700;
	color: var(--clr-primary);
	box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.step-number-divider {
	font-size: 1.5rem;
	color: var(--clr-border);
	margin-top: 15px;
	display: none;
	/* Hidden on mobile usually, managed via media queries */
}

@media(min-width: 768px) {
	.step-number-divider {
		display: block;
	}
}

/* =========================================
   11. FOOTER
   ========================================= */
.footer {
	background: #020617;
	border-top: 1px solid var(--clr-border);
	padding-top: 4rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
}

.footer-col h4 {
	color: white;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

.footer-col ul li {
	margin-bottom: 0.75rem;
}

.footer-col ul li a {
	color: var(--clr-text-muted);
}

.footer-col ul li a:hover {
	color: var(--clr-primary);
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-links a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
}

.social-links a:hover {
	background: var(--clr-primary);
	color: white;
}

.footer-bottom {
	border-top: 1px solid var(--clr-border);
	padding: 1.5rem 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--clr-text-muted);
}

/* =========================================
   12. PROJECT CARDS (Specific)
   ========================================= */
.projects-section {
	padding: 4rem 1.5rem;
}

.projects-header {
	text-align: center;
	margin-bottom: 3rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}

.project-card {
	background: var(--clr-bg-surface);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: var(--transition-smooth);
}

.project-card:hover {
	transform: translateY(-5px);
	border-color: var(--clr-primary);
}

.project-media {
	width: 100%;
	aspect-ratio: 16/9;
	background: #000;
	position: relative;
	overflow: hidden;
}

.project-media img,
.project-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.8;
	transition: 0.5s;
}

.project-card:hover .project-media img {
	opacity: 1;
	transform: scale(1.05);
}

.project-media figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 0.5rem;
	font-size: 0.8rem;
	text-align: center;
	backdrop-filter: blur(4px);
}

.project-body {
	padding: 1.5rem;
}

.project-link {
	color: var(--clr-primary);
	font-weight: 600;
	margin-top: 1rem;
	display: inline-block;
}

/* =========================================
   13. CONTACT FORM
   ========================================= */
.contact-page {
	padding: 4rem 0;
}

.contact-card {
	background: var(--clr-bg-surface);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.contact-page-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

@media(max-width: 900px) {
	.contact-page-grid {
		grid-template-columns: 1fr;
	}
}

.contact-form-wrapper {
	padding: 3rem;
}

.contact-info-wrapper {
	background: rgba(59, 130, 246, 0.05);
	padding: 3rem;
	border-left: 1px solid var(--clr-border);
}

@media(max-width: 900px) {
	.contact-info-wrapper {
		border-left: none;
		border-top: 1px solid var(--clr-border);
	}
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	color: var(--clr-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-sm);
	color: white;
	font-family: inherit;
	transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--clr-primary);
	background: rgba(0, 0, 0, 0.4);
}

/* =========================================
   14. RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
	.home-hero .hero-container {
		flex-direction: column;
		text-align: center;
		padding-top: 50px;
	}

	.hero-content {
		margin: 0 auto;
	}

	.hero-buttons {
		justify-content: center;
	}

	.featured-inner {
		flex-direction: column;
		text-align: center;
	}

	.featured-figure {
		width: 100%;
		order: -1;
	}

	.bullets {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.why-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.hamburger {
		display: flex;
		flex-direction: column;
		gap: 6px;
		z-index: 1001;
	}

	.hamburger span {
		width: 25px;
		height: 2px;
		background: white;
		transition: 0.3s;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background: var(--clr-bg-main);
		flex-direction: column;
		justify-content: center;
		transition: 0.3s;
		padding: 2rem;
	}

	.nav-menu.active {
		right: 0;
	}

	.process-steps {
		flex-direction: column;
		gap: 2rem;
	}

	.step-number-divider {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.why-grid {
		grid-template-columns: 1fr;
	}
}

/* Form Feedback & Validation */
.form-feedback {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 0.5rem;
	font-size: 0.95rem;
	font-weight: 500;
	display: none;
	animation: fadeIn 0.3s ease;
}

.form-feedback.success {
	background: rgba(44, 188, 99, 0.15);
	color: #4ade80;
	border: 1px solid rgba(74, 222, 128, 0.2);
	box-shadow: 0 4px 12px rgba(74, 222, 128, 0.1);
}

.form-feedback.error {
	background: rgba(220, 53, 69, 0.15);
	color: #f87171;
	border: 1px solid rgba(248, 113, 113, 0.2);
	box-shadow: 0 4px 12px rgba(248, 113, 113, 0.1);
}

/* Input Validation States */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
	border-color: #f87171 !important;
	box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
	border-color: #4ade80 !important;
	box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.05);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Input Error Messages */
.input-error-message {
	color: #ff6b6b;
	font-size: 0.85rem;
	display: block;
	margin-top: 0.4rem;
	animation: fadeIn 0.3s ease;
}

/* Shake animation for invalid inputs */
@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(-5px);
	}

	20%,
	40%,
	60%,
	80% {
		transform: translateX(5px);
	}
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
	animation: shake 0.5s ease;
}

/* Character counter for textarea */
.char-counter {
	font-size: 0.8rem;
	color: var(--clr-text-muted);
	text-align: right;
	margin-top: 0.3rem;
}

.char-counter.warning {
	color: #fbbf24;
}

.char-counter.error {
	color: #f87171;
}