body {
	font-family: 'Poppins', sans-serif;
	overflow-x: hidden;
}
.gradient-text {
	background: linear-gradient(90deg, #4F46E5, #EC4899);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-bg {
	background-color: #f8fafc;
	background-image: 
		radial-gradient(circle at 15% 50%, #e0e7ff, transparent 40%),
		radial-gradient(circle at 85% 30%, #fce7f3, transparent 40%);
}
.pedagogy-tab.active {
	background-color: #4F46E5;
	color: white;
}
.pedagogy-content {
	transition: opacity 0.5s ease-in-out;
}
/* Flip Card Styles */
.flip-card {
	background-color: transparent;
	width: 100%;
	height: 300px;
	perspective: 1000px;
}
.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;
	backface-visibility: hidden;
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}
.flip-card-front {
	background-color: white;
}
.flip-card-back {
	color: white;
	transform: rotateY(180deg);
}

#book-canvas-container {
	width: 100%;
	height: 450px;
	cursor: grab;
	/* background-image: url("../images/activity-screen.jpg");
	background-color: #ff0000; */
}

/* Solution section animation */
.solution-step {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
#solution-steps.is-visible .solution-step {
	opacity: 1;
	transform: translateY(0);
}
#solution-steps.is-visible .solution-step:nth-child(1) { transition-delay: 0.2s; }
#solution-steps.is-visible .solution-step:nth-child(2) { transition-delay: 0.4s; }
#solution-steps.is-visible .solution-step:nth-child(3) { transition-delay: 0.6s; }

.solution-icon-bg {
	animation: pulse 2.5s infinite;
}
@keyframes pulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
.solution-step:nth-child(2) .solution-icon-bg { animation-name: pulse-pink; }
@keyframes pulse-pink {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(236, 72, 153, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}
.solution-step:nth-child(3) .solution-icon-bg { animation-name: pulse-green; }
@keyframes pulse-green {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Timeline Section */
.timeline-container::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 4px;
	height: 0;
	background-image: linear-gradient(to bottom, #818cf8, #ec4899, #10b981);
	transform: translateX(-50%);
	transition: height 2s ease-out;
}
.timeline-container.is-visible::before {
	height: 100%;
}

.timeline-item {
	position: relative;
}
.timeline-item:nth-child(odd) {
	padding-right: calc(50% + 40px);
	text-align: right;
}
.timeline-item:nth-child(even) {
	padding-left: calc(50% + 40px);
	text-align: left;
}
.timeline-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border: 4px solid #f8fafc;
	transition: transform 0.5s ease-out;
}
.timeline-item.is-visible .timeline-icon {
	transform: translate(-50%, -50%) scale(1);
}

.timeline-content {
	transition: all 0.6s ease-out;
	opacity: 0;
}
.timeline-item:nth-child(odd) .timeline-content { transform: translateX(50px); }
.timeline-item:nth-child(even) .timeline-content { transform: translateX(-50px); }

.timeline-item.is-visible .timeline-content {
	transform: translateX(0);
	opacity: 1;
}

.book-container {
           
		animation: rotateBook 14s linear infinite;
		transform-style: preserve-3d; /* Smooth 3D rotation */
	}

.book-container img {
	width: 100%;
	height: 100%;
	display: inline-block;
	/* border-radius: 8px; */
	/* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
}

@keyframes rotateBook {
	from { transform: rotateY(0deg); }
	to { transform: rotateY(360deg); }
}

/* Ebook Page CSS */

.container-book {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	padding: 30px;
	max-width: 1200px;
	margin: auto;
}

.book {
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

.book:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.book img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.book-title {
	padding: 13px 0px 15px 0px;
	font-size: 13px;
	color: #333;
	font-weight: 600;
}

a {
	text-decoration: none;
	color: inherit;
}

	
/* my CSS */
.tabHead {font-size: auto !important;}
.iedubull-logo {height: 45px; margin-bottom: 10px; display: inline-block;}
.edubull-logo {height: 20px; margin-right: 6px; margin-top: -2px;}


@media only screen and (max-width: 767px) {
	
	.tabHead {font-size: 14px !important; line-height: 20px !important;}
	.pedagogy-tab {width: 33% !important; padding: 10px 7px !important;}
	.text-sm {font-size: 12px !important;}
	.text-4xl {font-size: 28px !important;}
	.container {margin-top: -25px;}
	.iedubull-logo {height: 25px; margin-bottom: 5px;}
	.edubull-logo {height: 20px;}
}



@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;
}



 /* Animated Gradient Background Effect */
.animated-gradient-bg {
	background: linear-gradient(-45deg, #111827, #1f2937, #374151, #4f46e5);
	background-size: 400% 400%;
	animation: gradient-animation 15s ease infinite;
}

@keyframes gradient-animation {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
/* Play Card Tab Styling */
.play-card-tabs-container {
	display: flex;
	justify-content: center;
	gap: -20px; /* Overlap cards */
	perspective: 1500px;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}
.play-card-tab {
	padding: 1rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
	color: #4b5563;
	background-color: #fff;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	transform: scale(0.95) translateY(10px);
	border: 2px solid transparent;
}
.play-card-tab:hover {
	transform: scale(1) translateY(0);
	z-index: 10;
}
.play-card-tab.active {
	transform: scale(1.1) translateY(-5px);
	z-index: 20;
	background: linear-gradient(45deg, #6366f1, #a855f7);
	color: white;
	box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}
.glassmorphism-panel {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.vertical-tab-button {
	transition: all 0.3s ease;
	border-left-width: 4px;
}
.vertical-tab-button.active {
	border-color: #4f46e5;
	background-color: #eef2ff;
	color: #3730a3;
}
.ncfList {transition: all 0.3s ease;}
.ncfList:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 25px rgba(96, 165, 250, 0.4);
}

#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;
}
