/* Custom styles for the page */
body {
	font-family: 'Inter', sans-serif;
	background-color: #0a0a0a;
	color: #e2e8f0;
	overflow-x: hidden;
}

/* Gradient text effect */
.gradient-text {
	background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

/* Canvas for particle animation */
#particle-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1; /* Place it behind content */
}

.hero-bg {
	 background: radial-gradient(ellipse at 70% 30%, rgba(56, 189, 248, 0.05), transparent 70%),
				radial-gradient(ellipse at 30% 70%, rgba(192, 132, 252, 0.05), transparent 70%);
}

/* Styles for scroll-based animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.reveal-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Keyframe animation for floating effect */
@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
	100% { transform: translateY(0px); }
}

/* Interactive HIGHLIGHTED feature card styles */
.feature-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	border: 1px solid #334155;
	animation: float 6s ease-in-out infinite;
}

.feature-card:hover {
	transform: translateY(-8px) !important; /* Override float animation on hover */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	border-color: #6366f1;
	background-color: #1e1b4b;
	animation-play-state: paused; /* Pause floating animation on hover */
}

/* Delay animation for each card */
.feature-card:nth-child(2) { animation-delay: 1s; }
.feature-card:nth-child(3) { animation-delay: 2s; }
.feature-card:nth-child(4) { animation-delay: 0.5s; }
.feature-card:nth-child(5) { animation-delay: 1.5s; }
.feature-card:nth-child(6) { animation-delay: 2.5s; }


/* Glowing effect for "How It Works" section */
.step-circle {
	transition: box-shadow 0.3s ease;
}
.step-circle:hover {
	box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

/* Glassmorphism Flip Card Styles */
.graphic-feature-card {
	background-color: transparent;
	perspective: 1000px;
	border: none;
	min-height: 400px;
}
.graphic-feature-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}
.graphic-feature-card:hover .graphic-feature-card-inner {
	transform: rotateY(180deg);
}
.card-face {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	border-radius: 1rem;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(41, 51, 71, 0.3);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
}
.card-front .card-content {
	 flex-grow: 1;
}
.card-back {
	transform: rotateY(180deg);
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
}

/* Stakeholder section styles */
.teacher-section {
	 background: linear-gradient(145deg, #2c1a41, #3c2a68);
	 border: 1px solid #7c3aed;
}
.investor-section {
	background: linear-gradient(145deg, #163329, #155e3d);
	border: 1px solid #22c55e;
}
.leadership-section {
	background: linear-gradient(145deg, #111827, #1e293b);
	border: 1px solid #475569;
}

/* Waving Mascot Styles */
.waving-mascot {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 100px;
	height: 100px;
	z-index: 100;
	transition: transform 0.3s ease;
}
.waving-mascot:hover {
	transform: scale(1.1);
}
.mascot-body {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 60px;
	background-color: #818cf8;
	border-radius: 50% 50% 30% 30%;
}
.mascot-head {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 50px;
	background-color: #c084fc;
	border-radius: 50%;
}
.mascot-eye {
	position: absolute;
	top: 18px;
	width: 8px;
	height: 8px;
	background-color: #fff;
	border-radius: 50%;
}
.mascot-eye.left { left: 12px; }
.mascot-eye.right { right: 12px; }
.mascot-arm {
	position: absolute;
	bottom: 30px;
	left: 0;
	width: 30px;
	height: 10px;
	background-color: #818cf8;
	border-radius: 5px;
	transform-origin: left center;
	animation: wave 2s infinite ease-in-out;
}

@keyframes wave {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(-30deg); }
}