body {
	font-family: 'Inter', sans-serif;
	background-color: #0c0a18; /* Dark background for a tech feel */
	color: #e2e8f0; /* Light text */
	scroll-behavior: smooth;
}
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}
.header-blur {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background-color: rgba(12, 10, 24, 0.7);
}
.gradient-text {
	background: linear-gradient(90deg, #818cf8, #c084fc);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.cta-gradient-button {
	background: linear-gradient(90deg, #7c3aed, #a855f7);
	transition: all 0.3s ease;
}
.cta-gradient-button:hover {
	transform: scale(1.05);
	box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}
@keyframes slideInUp {
	from { opacity: 0; transform: translateY(50px); }
	to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
	opacity: 0;
}
.animated {
	animation: slideInUp 0.8s ease-out forwards;
}
.card-hover-effect {
	background-color: #1e1b3a;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #334155;
}
.card-hover-effect:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	border-color: #a855f7;
}
.step-timeline::before {
	content: '';
	position: absolute;
	left: 2rem;
	top: 1rem;
	bottom: 1rem;
	width: 3px;
	background: linear-gradient(to bottom, #7c3aed, #a855f7);
	border-radius: 2px;
	transform: translateX(-50%);
}
.step-icon {
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.step:hover .step-icon {
	transform: scale(1.2);
	background-color: #c084fc;
}

#typewriter-cursor {
	animation: blink 1s infinite;
}
@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.rotating-word-container {
	display: inline-block;
	position: relative;
	height: 1.2em; /* Adjust based on font size */
}
.rotating-word {
	display: inline-block;
	position: absolute;
	left: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.rotating-word.visible {
	opacity: 1;
	transform: translateY(0);
}
.rotating-word.hidden-up {
	opacity: 0;
	transform: translateY(-20px);
}

/* NEW: Flip card styles */
.flip-card {
	background-color: transparent;
	perspective: 1500px; /* Increased perspective */
	border-radius: 1.5rem; 
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1.5rem;
	border-radius: 1.5rem; 
	background-color: #1e1b3a;
	border: 1px solid #334155;
}

.flip-card-back {
	transform: rotateY(180deg);
	background-color: #29255a;
}



/* my CSS */
.edubull-logo {width: 130px;}
.partnerLogo {width: 316px;}
.video-player {width: 720px; height: 405px;}
.vishwakar-logo {width: 130px;}

@media only screen and (max-width: 767px) {
	.edubull-logo {width: 70px;}
	.partnerLogo {width: 220px;}
	.video-player {width: 560px; height: 200px;}
	.vishwakar-logo {width: 70px;}
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 50% { opacity: 0.3; } }
.generative-icon .pulse-element { animation: pulse 2s infinite ease-in-out; }
.fade-in-section.visible .generative-icon .pulse-element { animation-delay: 3s; }

.modal-overlay {
	position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7);
	display: flex; justify-content: center; align-items: center; z-index: 1000;
	opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.visible { opacity: 1; visibility: visible; }
.modal-content {
	background: white; padding: 2rem; border-radius: 1rem; width: 90%; max-width: 600px; max-height: 90vh;
	overflow-y: auto; transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.visible .modal-content { transform: scale(1); }

.loader {
	border: 4px solid #f3f3f3; border-top: 4px solid #8B5CF6; border-radius: 50%;
	width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 2rem auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.generative-texture-text {
	background: linear-gradient(45deg, #3B82F6, #8B5CF6, #EC4899, #3B82F6); background-size: 400% 400%;
	-webkit-background-clip: text; background-clip: text; color: transparent; animation: gradient-animation 10s ease infinite;
}
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.light-and-shadow-text { color: #4a5568; text-shadow: 0 3px 5px rgba(0,0,0,0.15), 0 -1px 1px rgba(255,255,255,0.8); }

.institution-card {
	background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border-radius: 1.5rem; padding: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: left;
}
.institution-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2); }

/* Floating Podcast Icon */
.floating-podcast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 100; }
.podcast-main-button {
	width: 60px; height: 60px; border-radius: 50%; background-color: #8B5CF6;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	cursor: pointer; transition: transform 0.3s ease;
}
.podcast-main-button:hover { transform: scale(1.1); }
.podcast-options {
	position: absolute; bottom: 70px; right: 0; display: flex; flex-direction: column; gap: 1rem;
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.floating-podcast-container:hover .podcast-options { opacity: 1; visibility: visible; transform: translateY(0); }
.podcast-option {
	display: flex; align-items: center; gap: 0.5rem; background: white; padding: 0.5rem 1rem;
	border-radius: 9999px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); color: #1f2937;
	font-weight: 600; cursor: pointer; transition: background-color 0.2s ease;
}
.podcast-option:hover { background-color: #f3f4f6; }

/* MP3 Player Modal */
#mp3-player-modal .modal-content {
	background: rgba(31, 41, 55, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1); color: white; width: 90%; max-width: 400px;
}
#track-artwork { position: relative; }
#audio-visualizer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

input[type="range"] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 4px;
	background: rgba(255, 255, 255, 0.3); border-radius: 5px; outline: none; transition: opacity .2s;
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; width: 16px; height: 16px;
	background: #8B5CF6; cursor: pointer; border-radius: 50%;
}

/* Minimized Player */
#minimized-player {
	position: fixed;
	bottom: -100px; /* Initially hidden */
	right: 2rem;
	z-index: 1001;
	background: rgba(31, 41, 55, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border-radius: 0.75rem;
	padding: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 320px;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
	transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#minimized-player.visible {
	bottom: 2rem;
}

#mobile-menu { display: none; }

/* Dropdown menu styles */
.dropdown {
	display: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.group:hover .dropdown {
	display: block;
	opacity: 1;
	transform: translateY(0);
	margin-top: -0px;
}