:root {
	--primary-one: #b53761;
	--primary-two: #ef7d7a;
	--primary-three: #ff6b9d;
	--col-grad: linear-gradient(135deg, #b53761 0%, #ef7d7a 50%, #ff6b9d 100%);
	--col-grad-hover: linear-gradient(135deg, #9d2f52 0%, #d66b6b 50%, #e55a8a 100%);
	--col-grad-soft: linear-gradient(135deg, rgba(181, 55, 97, 0.1) 0%, rgba(239, 125, 122, 0.1) 50%, rgba(255, 107, 157, 0.1) 100%);
	--dark-grad: linear-gradient(135deg, #3c4c77 0%, #283351 100%);
	--dark-grad-hover: linear-gradient(135deg, #4a5a8a 0%, #35446a 100%);
	--dark-grad-soft: linear-gradient(135deg, rgba(60, 76, 119, 0.1) 0%, rgba(40, 51, 81, 0.1) 100%);
	--dark: #283351;
	--dark-light: #3c4c77;
	--blue: #7ebbeb;
	--white: #ffffff;
	--light-gray: #f8f9fa;
	--medium-gray: #e9ecef;
	--shadow: 0 10px 30px rgba(40, 51, 81, 0.1);
	--shadow-hover: 0 20px 40px rgba(40, 51, 81, 0.15);
	--shadow-soft: 0 5px 15px rgba(40, 51, 81, 0.08);
	--border-radius: 12px;
	--border-radius-lg: 20px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: var(--dark);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Preloader animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

.landing-page {
	min-height: 100vh;
	padding-bottom: 2em;
	background: 
		linear-gradient(135deg, 
			rgba(40, 51, 81, 0.95) 0%, 
			rgba(40, 51, 81, 0.85) 25%, 
			rgba(60, 76, 119, 0.75) 50%, 
			rgba(40, 51, 81, 0.85) 75%, 
			rgba(40, 51, 81, 0.95) 100%
		),
		url('../img/bg-one.jpg') no-repeat center/cover;
	position: relative;
	animation: backgroundShift 30s ease-in-out infinite alternate;
	backdrop-filter: blur(2px);
}

@keyframes backgroundShift {
	0% {
		background-position: center top;
		background-size: 105% auto;
	}
	50% {
		background-position: center center;
		background-size: 100% auto;
	}
	100% {
		background-position: center bottom;
		background-size: 105% auto;
	}
}

/* Floating particles effect */
.landing-page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 30%, rgba(181, 55, 97, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(239, 125, 122, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
	animation: floatingParticles 20s ease-in-out infinite;
	pointer-events: none;
}

@keyframes floatingParticles {
	0%, 100% {
		transform: translate(0, 0) rotate(0deg);
	}
	33% {
		transform: translate(10px, -20px) rotate(1deg);
	}
	66% {
		transform: translate(-10px, 20px) rotate(-1deg);
	}
}

.img-container {
	width: 250px;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
}

.img-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: var(--transition);
	z-index: 1;
}

.img-container:hover::before {
	left: 100%;
}

.img-container:hover {
	transform: scale(1.05) rotate(1deg);
	box-shadow: var(--shadow-hover);
}

.img-container img {
	object-fit: cover;
	width: 100%;
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
	transition: var(--transition);
}

.img-container:hover img {
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2)) saturate(1.1);
}

header {
	background: rgba(255, 255, 255, 0.95);
	padding: 1.5em 0;
	align-items: center;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	animation: slideInLeft 0.8s ease-out;
}

header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--col-grad);
	border-radius: 2px;
}

.container {
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* !page content */

.landing-content {
	max-width: 1150px;
	margin: 3rem auto 2rem auto;
	display: grid;
	align-items: stretch;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-hover);
	animation: fadeInUp 1s ease-out 0.3s both;
	position: relative;
}

.landing-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--col-grad-soft);
	opacity: 0;
	transition: var(--transition);
	pointer-events: none;
	z-index: 0;
}

.landing-content:hover::before {
	opacity: 1;
}

/* landing text content */

.landing-text {
	border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
	padding: 3em 2em;
	color: white;
	background: linear-gradient(135deg, 
		rgba(40, 51, 81, 0.95) 0%, 
		rgba(60, 76, 119, 0.9) 50%, 
		rgba(40, 51, 81, 0.95) 100%
	);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	z-index: 1;
}

.landing-text::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg, transparent, rgba(255, 107, 157, 0.1), transparent);
	animation: rotate 15s linear infinite;
	pointer-events: none;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.heading {
	font-size: 3.2em;
	line-height: 1.1;
	font-weight: 700;
	position: relative;
	z-index: 2;
	background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
	0% {
		text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
		filter: brightness(1);
	}
	100% {
		text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
		filter: brightness(1.1);
	}
}

.heading::before {
	content: '';
	position: absolute;
	top: 0;
	left: -30px;
	height: 100%;
	width: 8px;
	border-radius: 4px;
	background: var(--col-grad);
	opacity: 0;
	animation: slideInLeft 0.8s ease-out 1s both;
	box-shadow: 0 0 15px rgba(181, 55, 97, 0.5);
}

/* FORM */
form {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
	padding: 3em 2.5em;
	display: flex;
	flex-direction: column;
	border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
	gap: 2em;
	position: relative;
	z-index: 1;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

form::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: var(--col-grad-soft);
	border-radius: 50%;
	transform: translate(50%, -50%);
	pointer-events: none;
}

.input-field {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	position: relative;
	animation: fadeInUp 0.6s ease-out both;
}

.input-field:nth-child(1) { animation-delay: 0.1s; }
.input-field:nth-child(2) { animation-delay: 0.2s; }
.input-field:nth-child(3) { animation-delay: 0.3s; }
.input-field:nth-child(4) { animation-delay: 0.4s; }
.input-field:nth-child(5) { animation-delay: 0.5s; }
.input-field:nth-child(6) { animation-delay: 0.6s; }

label {
	font-size: 1.1em;
	font-weight: 600;
	color: var(--dark);
	transition: var(--transition);
	position: relative;
}

label::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--col-grad);
	transition: var(--transition);
}

.input-field:focus-within label::after {
	width: 100%;
}

::-webkit-calendar-picker-indicator {
	border-radius: 8px;
	padding: 8px;
	cursor: pointer;
	transition: var(--transition);
	opacity: 0.7;
}

::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
	background-color: var(--light-gray);
}

input {
	font-size: 1.1em;
	border: 2px solid rgba(40, 51, 81, 0.1);
	padding: 1em 1.2em;
	border-radius: var(--border-radius);
	background: rgba(248, 249, 250, 0.8);
	transition: var(--transition);
	position: relative;
	font-family: inherit;
}

input::placeholder {
	color: rgba(40, 51, 81, 0.5);
	transition: var(--transition);
}

input:focus {
	outline: none;
	border-color: var(--primary-one);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 0 3px rgba(181, 55, 97, 0.1);
	transform: translateY(-2px);
}

input:focus::placeholder {
	opacity: 0.7;
	transform: translateX(5px);
}

input:valid {
	border-color: var(--primary-two);
	background: rgba(239, 125, 122, 0.05);
}
.btns {
	display: flex;
	gap: 1em;
	margin-top: 1.5em;
	justify-content: center;
	align-items: center;
	animation: fadeInUp 0.8s ease-out 0.7s both;
}

.btn {
	padding: 1.2em 2em;
	display: inline-block;
	text-transform: capitalize;
	text-decoration: none;
	border-radius: var(--border-radius);
	transition: var(--transition);
	cursor: pointer;
	border: none;
	font-size: 1.1em;
	font-weight: 600;
	position: relative;
	overflow: hidden;
	min-width: 180px;
	text-align: center;
	transform: translateY(0);
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: var(--transition-slow);
}

.btn:hover::before {
	left: 100%;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}

.btn:active {
	transform: translateY(-1px);
}

.btn.inactive {
	background: linear-gradient(135deg, #dc3545, #c82333);
	color: white;
	opacity: 0.7;
	cursor: not-allowed;
}

.llt {
	background: var(--col-grad);
	color: white;
	box-shadow: var(--shadow);
}

.lss {
	background: var(--dark-grad);
	color: white;
	box-shadow: var(--shadow);
}

.llt:hover {
	background: var(--col-grad-hover);
	box-shadow: 0 15px 35px rgba(181, 55, 97, 0.4);
}

.lss:hover {
	background: var(--dark-grad-hover);
	box-shadow: 0 15px 35px rgba(40, 51, 81, 0.4);
}
#department {
	text-transform: capitalize;
}

/* Loading animation for buttons */
.btn.loading {
	pointer-events: none;
	position: relative;
	color: transparent;
}

.btn.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid transparent;
	border-top: 2px solid currentColor;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* responsiveness */

@media (max-width: 1200px) {
	.landing-content {
		max-width: 95%;
		margin: 2rem auto;
	}
}

@media (max-width: 900px) {
	.landing-content {
		grid-template-columns: 1fr;
		padding: 0 1em;
		width: 100%;
		overflow: hidden;
		gap: 0;
		margin: 1.5rem auto;
	}
	
	.landing-text {
		border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
		padding: 2.5em 1.5em;
		text-align: center;
	}
	
	.heading {
		font-size: 2.2em;
		line-height: 1.2;
	}
	
	.heading::before {
		display: none;
	}
	
	form {
		border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
		padding: 2em 1.5em;
	}
	
	.btns {
		flex-direction: column;
		gap: 1em;
	}
	
	.btn {
		width: 100%;
		min-width: auto;
	}
}

@media (max-width: 600px) {
	html {
		font-size: 14px;
	}
	
	.landing-page {
		padding-bottom: 1em;
	}
	
	header {
		padding: 1em 0;
	}
	
	.img-container {
		width: 200px;
	}
	
	.landing-content {
		margin: 1rem auto;
		border-radius: var(--border-radius);
	}
	
	.landing-text {
		padding: 2em 1em;
		border-radius: var(--border-radius) var(--border-radius) 0 0;
	}
	
	.heading {
		font-size: 1.8em;
	}
	
	form {
		padding: 1.5em 1em;
		gap: 1.5em;
		border-radius: 0 0 var(--border-radius) var(--border-radius);
	}
	
	input {
		padding: 0.8em 1em;
		font-size: 1em;
	}
	
	.btn {
		padding: 1em 1.5em;
		font-size: 1em;
	}
}

@media (max-width: 400px) {
	.container {
		padding: 0 0.5rem;
	}
	
	.landing-content {
		margin: 0.5rem auto;
	}
	
	.landing-text,
	form {
		padding: 1.5em 1em;
	}
	
	.heading {
		font-size: 1.5em;
	}
}

/* Enhanced Footer Styles */
.main-footer {
	background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
	color: white;
	padding: 2em 0;
	margin-top: auto;
	position: relative;
	overflow: hidden;
}

.main-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--col-grad);
}

.footer-content {
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 1rem;
	text-align: center;
	position: relative;
	z-index: 1;
}

.footer-text p {
	margin: 0.5em 0;
	opacity: 0.9;
}

.footer-text strong {
	background: var(--col-grad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
}

.footer-decoration {
	margin-top: 1em;
	height: 2px;
	width: 60px;
	background: var(--col-grad);
	margin-left: auto;
	margin-right: auto;
	border-radius: 1px;
}

@media (max-width: 600px) {
	.main-footer {
		padding: 1.5em 0;
	}
	
	.footer-text p {
		font-size: 0.9em;
	}
}
