.sidebar-left {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar-left.active {
    left: 0;
}

.sidebar-menu .sidebar-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.sidebar-menu .sidebar-link:hover {
    background-color: #f4f4f4;
    border-radius: 5px;
}

.sidebar-menu ul ul {
    padding-left: 15px;
}



/* ============================================
   TABLE OF CONTENTS
   1. Root Variables & Base Styles
   2. Animations & Keyframes
   3. Button Styles (Parent Login, Register)
   4. Navbar Styles
   5. Hero Slider
   6. Course Tables & Tabs
   7. Program Categories Cards
   8. Course Cards
   9. Modal Styles (Learning Modal - FIXED)
   10. FAQ Section
   11. Footer
   12. Social Icons
   13. Page Loader
   14. Responsive Styles
   15. Welcome Flyer
============================================ */

/* ========== 1. ROOT VARIABLES & BASE ========== */
:root {
	--primary: #0A4B6E;
	--primary-dark: #063A55;
	--primary-light: #E8F4F8;
	--secondary: #D4AF37;
	--secondary-dark: #B38F00;
	--text-dark: #1E2A3A;
	--text-medium: #4A5B6E;
	--text-light: #7C8B9C;
	--white: #FFFFFF;
	--gray-bg: #F8FAFE;
	--border: #E9EDF2;
	--shadow: 0 5px 20px rgba(0,0,0,0.05);
	--shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
	--radius: 16px;
	--radius-sm: 12px;
	--transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: 'Inter', sans-serif;
	background: var(--white);
	overflow-x: hidden;
}

.urdu-text { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; }
.arabic-text { font-family: 'Scheherazade New', 'Amiri', serif; direction: rtl; }
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 15px; }

/* ========== 2. ANIMATIONS & KEYFRAMES ========== */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
	to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Animated Text - Heartbeat Style with Mobile Optimization */
#animatedText {
	display: inline-block;
	letter-spacing: 1px;
	font-size: 2rem;
	font-weight: 600;
	color: #0A4B6E;
	margin: 0;
	padding: 0;
	line-height: 1.3;
}

#animatedText span {
	display: inline-block;
	animation: heartbeat 1.5s ease-in-out infinite;
	animation-fill-mode: both;
}

/* Different delays for each letter - keep your existing delays */

@keyframes heartbeat {
	0% {
		transform: scale(1);
		opacity: 0.7;
		color: #D4AF37;
	}
	14% {
		transform: scale(1.3);
		opacity: 1;
		color: #0A4B6E;
		text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
	}
	28% {
		transform: scale(1);
		opacity: 0.7;
		color: #D4AF37;
	}
	42% {
		transform: scale(1.15);
		opacity: 0.9;
		color: #0A4B6E;
	}
	70% {
		transform: scale(1);
		opacity: 0.7;
		color: #D4AF37;
	}
	100% {
		transform: scale(1);
		opacity: 0.7;
		color: #D4AF37;
	}
}

/* Mobile Responsive */
@media (max-width: 768px) {
	#animatedText {
		font-size: 1rem !important;
		letter-spacing: 0.5px;
		display: block;
		width: 100%;
		text-align: center;
		line-height: 1.4;
		margin: 10px 0;
	}

	#animatedText span {
		display: inline-block;
		white-space: normal;
		word-break: keep-all;
	}
}

@media (max-width: 576px) {
	#animatedText {
		font-size: 0.85rem !important;
		letter-spacing: 0.3px;
	}
}

/* For the wrapper to ensure proper alignment */
.parent-buttons-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.parent-buttons-wrapper {
		flex-direction: column;
		gap: 15px;
	}

	.parent-login-wrapper {
		width: 100%;
		justify-content: center;
	}

	.btn-parent-slim {
		white-space: nowrap;
	}
}

/* Different delays for each letter - Slow Smooth Version */
#animatedText span:nth-child(1) { animation-delay: 0.0s; }
#animatedText span:nth-child(2) { animation-delay: 0.08s; }
#animatedText span:nth-child(3) { animation-delay: 0.16s; }
#animatedText span:nth-child(4) { animation-delay: 0.24s; }
#animatedText span:nth-child(5) { animation-delay: 0.32s; }
#animatedText span:nth-child(6) { animation-delay: 0.40s; }
#animatedText span:nth-child(7) { animation-delay: 0.48s; }
#animatedText span:nth-child(8) { animation-delay: 0.56s; }
#animatedText span:nth-child(9) { animation-delay: 0.64s; }
#animatedText span:nth-child(10) { animation-delay: 0.72s; }
#animatedText span:nth-child(11) { animation-delay: 0.80s; }
#animatedText span:nth-child(12) { animation-delay: 0.88s; }
#animatedText span:nth-child(13) { animation-delay: 0.96s; }
#animatedText span:nth-child(14) { animation-delay: 1.04s; }
#animatedText span:nth-child(15) { animation-delay: 1.12s; }
#animatedText span:nth-child(16) { animation-delay: 1.20s; }
#animatedText span:nth-child(17) { animation-delay: 1.28s; }
#animatedText span:nth-child(18) { animation-delay: 1.36s; }
#animatedText span:nth-child(19) { animation-delay: 1.44s; }
#animatedText span:nth-child(20) { animation-delay: 1.52s; }
#animatedText span:nth-child(21) { animation-delay: 1.60s; }
#animatedText span:nth-child(22) { animation-delay: 1.68s; }
#animatedText span:nth-child(23) { animation-delay: 1.76s; }
#animatedText span:nth-child(24) { animation-delay: 1.84s; }
#animatedText span:nth-child(25) { animation-delay: 1.92s; }
#animatedText span:nth-child(26) { animation-delay: 2.00s; }
#animatedText span:nth-child(27) { animation-delay: 2.08s; }
#animatedText span:nth-child(28) { animation-delay: 2.16s; }
#animatedText span:nth-child(29) { animation-delay: 2.24s; }
#animatedText span:nth-child(30) { animation-delay: 2.32s; }
#animatedText span:nth-child(31) { animation-delay: 2.40s; }
#animatedText span:nth-child(32) { animation-delay: 2.48s; }
#animatedText span:nth-child(33) { animation-delay: 2.56s; }
#animatedText span:nth-child(34) { animation-delay: 2.64s; }
#animatedText span:nth-child(35) { animation-delay: 2.72s; }
#animatedText span:nth-child(36) { animation-delay: 2.80s; }
#animatedText span:nth-child(37) { animation-delay: 2.88s; }
#animatedText span:nth-child(38) { animation-delay: 2.96s; }
#animatedText span:nth-child(39) { animation-delay: 3.04s; }
#animatedText span:nth-child(40) { animation-delay: 3.12s; }
#animatedText span:nth-child(41) { animation-delay: 3.20s; }
#animatedText span:nth-child(42) { animation-delay: 3.28s; }
#animatedText span:nth-child(43) { animation-delay: 3.36s; }
#animatedText span:nth-child(44) { animation-delay: 3.44s; }
#animatedText span:nth-child(45) { animation-delay: 3.52s; }
#animatedText span:nth-child(46) { animation-delay: 3.60s; }

/* Optimized version - even lighter */
#animatedText span {
    display: inline-block;
    will-change: transform, opacity; /* Hint to browser for optimization */
    animation: heartbeat 3s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    14% {
        transform: scale(1.2); /* Reduced from 1.3 to 1.2 */
        opacity: 1;
    }
    28%, 70% {
        transform: scale(1);
        opacity: 0.6;
    }
    42% {
        transform: scale(1.1); /* Reduced from 1.15 to 1.1 */
        opacity: 0.8;
    }
}

/* ========== 3. BUTTON STYLES ========== */
.parent-buttons-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.parent-login-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0;
}

.btn-parent-slim {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
	letter-spacing: 0.5px;
	border: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.btn-parent-slim.btn-login {
	background: linear-gradient(135deg, #0A4B6E, #063A55);
	color: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-parent-slim.btn-login:hover {
	background: linear-gradient(135deg, #D4AF37, #B38F00);
	color: #0A4B6E;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-parent-slim.btn-register {
	background: linear-gradient(135deg, #D4AF37, #B38F00);
	color: #0A4B6E;
	box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.btn-parent-slim.btn-register:hover {
	background: linear-gradient(135deg, #0A4B6E, #063A55);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(10, 75, 110, 0.4);
}

.btn-parent-slim::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: left 0.5s ease;
}

.btn-parent-slim:hover::before {
	left: 100%;
}

.color-slice {
	display: flex;
	gap: 2px;
	align-items: center;
}

.slice-left {
	margin-right: -5px;
	z-index: 1;
}

.slice-right {
	margin-left: -5px;
	z-index: 1;
}

.slice-color {
	width: 8px;
	height: 48px;
	transition: all 0.3s ease;
}

.slice-color.c1 { background: #FF6B6B; }
.slice-color.c2 { background: #FFB347; }
.slice-color.c3 { background: #FFD700; }
.slice-color.c4 { background: #4CAF50; }
.slice-color.c5 { background: #2196F3; }

.parent-login-wrapper:hover .slice-color {
	transform: scaleY(1.2);
	width: 10px;
}

.parent-login-wrapper:hover .slice-left .slice-color {
	border-radius: 0 4px 4px 0;
}

.parent-login-wrapper:hover .slice-right .slice-color {
	border-radius: 4px 0 0 4px;
}

.btn-enroll-simple {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: white;
	border: none;
	padding: 6px 16px;
	border-radius: 25px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-enroll-simple:hover {
	background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
	color: var(--primary);
	transform: translateY(-2px);
}

.btn-program-select {
	background: transparent;
	border: 2px solid var(--secondary);
	color: var(--primary);
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	cursor: pointer;
	width: 100%;
}

.btn-program-select:hover {
	background: var(--secondary);
	color: var(--primary);
	transform: translateX(5px);
}

/* ========== 4. NAVBAR STYLES ========== */
.navbar {
	background: linear-gradient(135deg, #0A2B3E 0%, #1A4A6F 50%, #0D3B55 100%);
	border-bottom: 2px solid #D4AF37;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	padding: 12px 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.navbar-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo img {
	height: 45px;
	width: 45px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--secondary);
}

.logo-text {
	font-size: 1.2rem;
	font-weight: 700;
	color: #D4AF37;
	text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-links {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav-link {
	text-decoration: none;
	color: #E8F4F8 !important;
	font-weight: 500;
	transition: var(--transition);
	position: relative;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--secondary);
	transition: width 0.3s;
}

.nav-link:hover { color: #D4AF37 !important; }
.nav-link:hover::after { width: 100%; }

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: #D4AF37;
	cursor: pointer;
	padding: 8px;
}

.nav-icon-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1.5px solid var(--secondary);
	background: transparent;
	color: var(--secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	cursor: pointer;
	transition: var(--transition);
}

.nav-icon-btn:hover {
	background: var(--secondary);
	color: var(--primary);
	transform: translateY(-2px);
}

.nav-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

@media (max-width: 992px) {
	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100%;
		background: linear-gradient(135deg, #0A2B3E 0%, #1A4A6F 50%, #0D3B55 100%) !important;
		flex-direction: column;
		align-items: flex-start;
		padding: 80px 25px 30px;
		gap: 20px;
		transition: right 0.3s ease;
		z-index: 1001;
		box-shadow: -5px 0 20px rgba(0,0,0,0.1);
	}
	.nav-links.active { right: 0; }
	.mobile-menu-btn { display: block; }
	.nav-links li a { color: #FFFFFF !important; }
	.nav-links li a:hover { color: #D4AF37 !important; }
}

/* ========== 5. HERO SLIDER ========== */
.hero-slider {
	position: relative;
	width: 100%;
	height: 85vh;
	min-height: 550px;
	overflow: hidden;
}

.swiper-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.swiper-slide {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.swiper-slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(10,75,110,0.8), rgba(10,75,110,0.6));
	z-index: 1;
}

.slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 90%;
	max-width: 800px;
	text-align: center;
	color: white;
	padding: 20px;
}

.hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }
.hero-verse {
	font-family: 'Scheherazade New', serif;
	font-size: 1.3rem;
	color: var(--secondary);
	margin-top: 30px;
}

@media (max-width: 768px) {
	.hero-slider { height: 60vh; min-height: 400px; }
	.hero-content h1 { font-size: 1.4rem; margin-bottom: 10px; }
	.hero-content p { font-size: 0.85rem; margin-bottom: 15px; }
	.hero-verse { font-size: 0.9rem; margin-top: 10px; }
}

/* ========== 6. COURSE TABLES & TABS ========== */
.simple-tabs-wrapper {
	overflow-x: auto;
	scrollbar-width: thin;
}

.simple-tabs {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	min-width: max-content;
	padding: 5px;
}

.simple-tab {
	background: white;
	border: 2px solid var(--border);
	padding: 10px 24px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	cursor: pointer;
	color: var(--text-dark);
}

.simple-tab i { color: var(--secondary); }

.simple-tab.active {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	border-color: var(--primary);
	color: white;
}

.simple-tab.active i { color: white; }

.simple-tab:hover:not(.active) {
	border-color: var(--secondary);
	transform: translateY(-2px);
}

.simple-tab-content {
	display: none;
	animation: fadeIn 0.3s ease;
}

.simple-tab-content.active { display: block; }

.courses-table {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table-header {
	display: grid;
	grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: white;
	padding: 15px 20px;
	font-weight: 700;
	font-size: 0.9rem;
}

.table-row {
	display: grid;
	grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
	padding: 15px 20px;
	border-bottom: 1px solid var(--border);
	transition: all 0.3s ease;
	align-items: center;
}

.table-row:hover { background: var(--gray-bg); }

.col-course { display: flex; align-items: center; }
.course-info { display: flex; align-items: center; gap: 12px; }
.course-thumb-small {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 12px;
}

.course-icon-placeholder {
	width: 50px;
	height: 50px;
	background: var(--primary-light);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.course-icon-placeholder i {
	font-size: 24px;
	color: var(--secondary);
}

.course-info strong {
	display: block;
	font-size: 0.95rem;
	color: var(--text-dark);
}

.course-info small {
	font-size: 0.75rem;
	color: var(--text-light);
}

.level-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.7rem;
	font-weight: 600;
}

.level-badge.beginner { background: #E8F5E9; color: #4CAF50; }
.level-badge.intermediate { background: #FFF3E0; color: #FF9800; }
.level-badge.advanced { background: #FCE4EC; color: #E91E63; }

@media (max-width: 992px) {
	.table-header, .table-row {
		grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
		gap: 10px;
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	.table-header, .table-row { display: block; padding: 15px; }
	.table-header { display: none; }
	.table-row {
		margin-bottom: 15px;
		border: 1px solid var(--border);
		border-radius: 12px;
	}
	.col-course, .col-duration, .col-level, .col-price, .col-action {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 8px 0;
		border-bottom: 1px solid var(--border);
	}
	.col-course:before { content: "Course:"; font-weight: 600; color: var(--primary); }
	.col-duration:before { content: "Duration:"; font-weight: 600; color: var(--primary); }
	.col-level:before { content: "Level:"; font-weight: 600; color: var(--primary); }
	.col-price:before { content: "Price:"; font-weight: 600; color: var(--primary); }
	.col-action:before { content: "Action:"; font-weight: 600; color: var(--primary); }
	.col-action { border-bottom: none; }
	.simple-tab { padding: 8px 18px; font-size: 0.8rem; }
}

/* ========== 7. PROGRAM CATEGORIES CARDS ========== */
.program-category-card {
	background: white;
	border-radius: 20px;
	padding: 20px 15px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	border: 1px solid var(--border);
	height: 100%;
	transition: all 0.3s ease;
}

.program-category-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	border-color: var(--secondary);
}

.program-icon {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	transition: all 0.3s ease;
}

.program-icon i { font-size: 28px; color: white; }

.marine-icon { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.techno-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.quranic-icon { background: linear-gradient(135deg, #11998e, #38ef7d); }
.academic-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.activities-icon { background: linear-gradient(135deg, #fa709a, #fee140); }
.officer-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }

.program-category-card h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 8px;
}

.program-category-card p {
	color: var(--text-medium);
	font-size: 0.8rem;
	margin-bottom: 12px;
	line-height: 1.4;
}

.program-stats {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
	flex-wrap: wrap;
}

.program-stats span {
	font-size: 0.7rem;
	color: var(--text-light);
}

.program-stats i {
	color: var(--secondary);
	margin-right: 4px;
}

@media (max-width: 768px) {
	.program-category-card { padding: 20px 15px; }
	.program-icon { width: 55px; height: 55px; }
	.program-icon i { font-size: 22px; }
	.program-category-card h4 { font-size: 1rem; }
}

/* ========== 8. MODAL STYLES - FIXED ========== */
.modal-custom {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1060;
	display: none;
	align-items: center;
	justify-content: center;
}

.learning-modal {
	background: white;
	border-radius: 20px;
	width: 90%;
	max-width: 550px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.learning-modal-header {
	background: linear-gradient(135deg, #0A4B6E, #063A55);
	color: white;
	padding: 18px 20px;
	border-radius: 20px 20px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
}

.learning-modal-header h5 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
}

.learning-modal-header .btn-close-custom {
	background: none;
	border: none;
	color: white;
	font-size: 28px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.learning-modal-header .btn-close-custom:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.learning-modal-body {
	flex: 1;
	overflow-y: auto;
	padding: 0;
}

.modal-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.modal-list li {
	padding: 14px 20px;
	border-bottom: 1px solid #E9EDF2;
	display: flex;
	align-items: center;
	transition: background 0.3s ease;
}

.modal-list li:hover { background: #E8F4F8; }
.modal-list li:last-child { border-bottom: none; }

.modal-list input[type="checkbox"] {
	margin-right: 15px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: #D4AF37;
}

.modal-list label {
	margin: 0;
	flex: 1;
	color: #1E2A3A;
	font-weight: 500;
	cursor: pointer;
	font-size: 0.95rem;
}

.modal-list.knowledge-list li { cursor: default; }
.modal-list.knowledge-list li i {
	margin-right: 12px;
	color: #D4AF37;
	width: 24px;
	font-size: 18px;
}

.modal-action-buttons {
	padding: 15px 20px;
	border-top: 1px solid #E9EDF2;
	display: flex;
	gap: 12px;
	background: white;
	flex-shrink: 0;
}

.modal-action-buttons button {
	flex: 1;
	padding: 12px;
	border: none;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9rem;
}

.btn-add-to-cart {
	background: linear-gradient(135deg, #D4AF37, #B38F00);
	color: #0A4B6E;
}

.btn-add-to-cart:hover:not(:disabled) {
	background: linear-gradient(135deg, #0A4B6E, #063A55);
	color: white;
	transform: translateY(-2px);
}

.btn-add-to-cart:disabled {
	background: #ccc;
	color: #666;
	cursor: not-allowed;
	transform: none;
}

.btn-cancel {
	background: #E9EDF2;
	color: #1E2A3A;
}

.btn-cancel:hover {
	background: #7C8B9C;
	color: white;
	transform: translateY(-2px);
}

.selection-info {
	text-align: center;
	padding: 10px 20px 15px;
	font-size: 0.85rem;
	color: #4A5B6E;
	border-top: 1px solid #E9EDF2;
	background: #F8FAFE;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.learning-modal { width: 95%; max-height: 90vh; }
	.learning-modal-header { padding: 15px; }
	.learning-modal-header h5 { font-size: 1rem; }
	.modal-list li { padding: 12px 15px; }
	.modal-list label { font-size: 0.85rem; }
	.modal-action-buttons button { padding: 10px; font-size: 0.85rem; }
}

/* ========== 9. CART MODAL ========== */
.program-cart-modal {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 420px;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1050;
	transition: right 0.3s ease;
}

.program-cart-modal.show { right: 0; }

.program-cart-panel {
	background: white;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}

.program-cart-header {
	background: var(--primary);
	color: white;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 3px solid var(--secondary);
}

.program-cart-close {
	background: none;
	border: none;
	color: white;
	font-size: 28px;
	cursor: pointer;
}

.program-cart-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.program-cart-item {
	background: var(--primary-light);
	border-left: 4px solid var(--secondary);
	padding: 15px;
	margin-bottom: 12px;
	border-radius: var(--radius-sm);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.program-cart-item-name {
	font-weight: 600;
	color: var(--primary);
	margin: 0;
}

.program-cart-item-category {
	font-size: 0.7rem;
	color: var(--text-medium);
	margin-top: 4px;
}

.program-cart-item-remove {
	background: none;
	border: none;
	color: #dc3545;
	cursor: pointer;
	font-size: 16px;
	padding: 8px;
}

.program-cart-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-medium);
}

.program-cart-empty i {
	font-size: 64px;
	color: var(--border);
	margin-bottom: 15px;
}

.program-cart-footer {
	border-top: 1px solid var(--border);
	padding: 20px;
	background: var(--gray-bg);
}

.program-cart-count {
	font-size: 0.9rem;
	color: var(--text-medium);
	margin-bottom: 15px;
	text-align: center;
}

.cart-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #dc3545;
	color: white;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	animation: pulse 1.5s infinite;
}

.cart-icon-btn {
	position: relative;
	cursor: pointer;
	font-size: 22px;
	color: #D4AF37;
	transition: var(--transition);
	background: none;
	border: none;
	padding: 8px;
}

/* ========== 10. FAQ SECTION ========== */
.faq-search-wrapper {
	max-width: 600px;
	margin: 0 auto 30px;
}

.faq-search-box {
	display: flex;
	align-items: center;
	background: white;
	border: 2px solid var(--border);
	border-radius: 50px;
	padding: 5px 15px;
	transition: all 0.3s ease;
	box-shadow: var(--shadow);
}

.faq-search-input {
	flex: 1;
	border: none;
	padding: 12px 15px;
	font-size: 1rem;
	outline: none;
	background: transparent;
}

.faq-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 25px;
	border-bottom: 2px solid var(--border);
	padding-bottom: 10px;
}

.faq-tab {
	padding: 8px 20px;
	background: none;
	border: none;
	font-weight: 600;
	color: var(--text-medium);
	cursor: pointer;
	transition: var(--transition);
	border-radius: 30px;
}

.faq-tab.active {
	background: var(--primary);
	color: white;
}

.faq-tab:hover:not(.active) { color: var(--secondary); }

.faq-content-panel { display: none; }
.faq-content-panel.active { display: block; }

.faq-scrollable {
	max-height: 500px;
	overflow-y: auto;
	padding-right: 10px;
}

.faq-item {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border);
}

.faq-question {
	font-weight: 600;
	color: var(--primary);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	margin-top: 10px;
	padding-left: 20px;
	color: var(--text-medium);
	display: none;
	line-height: 1.6;
}

/* ========== 11. FOOTER ========== */
.footer {
	background: var(--primary-dark);
	color: white;
	padding: 60px 0 20px;
	position: relative;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--secondary), transparent);
}

.footer-title {
	color: var(--secondary);
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
}

.footer-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--secondary);
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	transition: var(--transition);
}
.footer-links a:hover {
	color: var(--secondary);
	padding-left: 5px;
}

.contact-info-list {
	list-style: none;
	padding: 0;
}

.contact-info-list li {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
	color: rgba(255,255,255,0.8);
}

.contact-info-list li i {
	color: var(--secondary);
	margin-top: 3px;
}

.footer-brand {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--secondary);
}

/* ========== 12. SOCIAL ICONS ========== */
.floating-social-icons {
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	opacity: 1;
	visibility: visible;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-social-icons.hide {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%) translateX(-20px);
}

.social-icons-wrapper {
	display: flex;
	flex-direction: column;
	gap: 15px;
	backdrop-filter: blur(10px);
	padding: 15px 12px;
	border-radius: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(212, 175, 55, 0.3);
	transition: all 0.3s ease;
}

.social-icons-wrapper:hover {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
	border-color: var(--secondary);
}

.social-icon {
	position: relative;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icon i {
	font-size: 20px;
	transition: all 0.3s ease;
}

/* Individual Brand Colors */
.social-icon.facebook { color: #1877F2; }
.social-icon.instagram { color: #E4405F; }
.social-icon.twitter { color: #1DA1F2; }
.social-icon.linkedin { color: #0077B5; }
.social-icon.youtube { color: #FF0000; }
.social-icon.whatsapp { color: #25D366; }

/* Hover Effects */
.social-icon:hover {
	transform: translateX(5px) scale(1.1);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover { background: #1877F2; color: white; }
.social-icon.instagram:hover { background: #E4405F; color: white; }
.social-icon.twitter:hover { background: #1DA1F2; color: white; }
.social-icon.linkedin:hover { background: #0077B5; color: white; }
.social-icon.youtube:hover { background: #FF0000; color: white; }
.social-icon.whatsapp:hover { background: #25D366; color: white; }

.social-icon:hover i {
	transform: scale(1.1);
}

/* Tooltip */
.social-tooltip {
	position: absolute;
	left: 55px;
	background: var(--primary);
	color: white;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 10;
}

.social-tooltip::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 6px 6px 6px 0;
	border-style: solid;
	border-color: transparent var(--primary) transparent transparent;
}

.social-icon:hover .social-tooltip {
	opacity: 1;
	visibility: visible;
	left: 60px;
}

/* Responsive for mobile */
@media (max-width: 768px) {
	.floating-social-icons {
		left: 10px;
	}
	.social-icons-wrapper {
		padding: 10px 8px;
		gap: 10px;
	}
	.social-icon {
		width: 38px;
		height: 38px;
	}
	.social-icon i {
		font-size: 16px;
	}
	.social-tooltip {
		display: none;
	}
}

/* Animation for icons */
.social-icon {
	animation: slideInLeft 0.5s ease forwards;
	opacity: 0;
	transform: translateX(-20px);
}

.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }
.social-icon:nth-child(5) { animation-delay: 0.5s; }
.social-icon:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeft {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* ========== 14. PAGE LOADER ========== */

.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loader-container {
	text-align: center;
	padding: 20px;
}

.loader-spinner {
	width: 60px;
	height: 60px;
	margin: 20px auto;
	position: relative;
}

.loader-spinner .circle {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: var(--secondary);
	animation: spin 1s linear infinite;
}

.loader-spinner .circle:nth-child(2) {
	width: 80%;
	height: 80%;
	top: 10%;
	left: 10%;
	border-top-color: #FFE55C;
	animation: spin 0.8s linear infinite reverse;
}

.loader-spinner .circle:nth-child(3) {
	width: 50%;
	height: 50%;
	top: 25%;
	left: 25%;
	border-top-color: #fff;
	animation: spin 0.6s linear infinite;
}

/* FIX: Loader Text - White and Bold */
.loader-text {
	margin-top: 20px;
	font-size: 1.5rem;
	font-weight: 800;
	color: #FFFFFF !important;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.loader-text span {
	display: inline-block;
	animation: textBounce 0.5s ease infinite alternate;
	color: #FFFFFF !important;
	font-weight: 800 !important;
}

.loader-progress {
	width: 250px;
	height: 4px;
	background: rgba(255,255,255,0.2);
	border-radius: 4px;
	margin: 25px auto 0;
	overflow: hidden;
}

.loader-progress-bar {
	width: 0%;
	height: 100%;
	background: var(--secondary);
	border-radius: 4px;
	transition: width 0.3s ease;
}

.loader-tagline {
	margin-top: 30px;
	font-size: 0.9rem;
	color: rgba(255,255,255,0.8);
	font-family: 'Noto Nastaliq Urdu', serif;
	font-weight: 500;
}

@keyframes textBounce {
	from {
		transform: translateY(0);
		opacity: 0.7;
	}
	to {
		transform: translateY(-10px);
		opacity: 1;
	}
}

@keyframes spin {
	to { transform: rotate(360deg); }
}


/* ========== 15. WELCOME FLYER ========== */
.welcome-flyer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.5s ease;
	padding: 10px;
}

.flyer-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(5px);
}

.flyer-container {
	position: relative;
	max-width: 900px;
	width: 100%;
	max-height: 90vh;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 24px;
	overflow-y: auto;
	overflow-x: hidden;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.5s ease;
	z-index: 100000;
}

.flyer-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.6);
	border: none;
	color: white;
	font-size: 24px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
}

.flyer-content { display: flex; flex-wrap: wrap; }
.flyer-image { flex: 1; min-width: 250px; position: relative; overflow: hidden; min-height: 200px; }
.flyer-image img { width: 100%; height: 100%; object-fit: cover; }
.flyer-text { flex: 1; padding: 25px; text-align: center; }
.flyer-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #0A4B6E, #063A55);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}
.flyer-icon i { font-size: 28px; color: #D4AF37; }
.flyer-text h2 { font-size: 1.5rem; font-weight: 800; color: #0A4B6E; margin-bottom: 10px; }

.btn-register-now {
	background: linear-gradient(135deg, #0A4B6E, #063A55);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-explore {
	background: transparent;
	border: 2px solid #D4AF37;
	color: #0A4B6E;
	padding: 8px 20px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* ========== 16. RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
	.parent-buttons-wrapper {
		flex-direction: column;
		gap: 15px;
	}
	.parent-login-wrapper { width: 100%; }
	.btn-parent-slim { white-space: nowrap; padding: 10px 20px; font-size: 0.9rem; }
	.slice-color { width: 6px; height: 42px; }
	#animatedText { font-size: 1.2rem !important; text-align: center; margin: 15px 0 !important; display: block; width: 100%; }
	.welcome-flyer { padding: 5px; align-items: flex-start; padding-top: 20px; }
	.flyer-container { max-height: 95vh; border-radius: 20px; }
	.flyer-content { flex-direction: column; }
	.flyer-image { height: 180px; }
	.flyer-text { padding: 20px; }
	.flyer-text h2 { font-size: 1.2rem; }
}

@media (max-width: 576px) {
	.btn-parent-slim { padding: 8px 16px; font-size: 0.8rem; white-space: nowrap; }
	.slice-color { width: 4px; height: 36px; }
	#animatedText { font-size: 1rem !important; }
}

/* ========== 17. UTILITY CLASSES ========== */
.bg-light { background-color: var(--gray-bg) !important; }
.text-primary { color: var(--primary) !important; }
.text-warning { color: var(--secondary) !important; }
.cursor-pointer { cursor: pointer; }
.img-fluid { max-width: 100%; height: auto; }
.rounded-4 { border-radius: 20px; }

/* ========== 18. WhatsApp Icon ========== */
.whatsapp-float {
position: fixed;
bottom: 30px;
left: 20px;
width: 52px;
height: 52px;
background: #25D366;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 28px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
z-index: 9999;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

@media (max-width: 768px) {
	.whatsapp-float {
		bottom: 20px;
		left: 15px;
		width: 48px;
		height: 48px;
		font-size: 24px;
	}
}


