
/* ===== NAVY + GOLD THEME ===== */
:root {
	/* Primary Colors */
	--primary: #012675;
	--primary-dark: #03113C;
	--primary-light: #01369C;
	
	/* Secondary Colors - GOLD */
	--secondary: #FCC902;
	--secondary-dark: #F89902;
	
	/* Background Colors */
	--bg-off-white: #FBFBFA;
	--bg-white: #FFFFFF;
	
	/* Text Colors */
	--text-primary: #03113C;
	--text-secondary: #64727D;
	--text-light: #9CA3AF;
	
	/* Border Colors */
	--border-color: #F;
	
	/* Status Colors */
	--success: #16A085;
	--danger: #EF4444;
	--warning: #F59E0B;
	
	/* Accent Color */
	--accent: #FCC902;
}

/* ===== GLOBAL FONTS ===== */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

button, .btn, .button {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
}

label, .label {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
}

/* ===== FONT CLASSES ===== */
.font-heading { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.font-heading-bold { font-family: 'Montserrat', sans-serif; font-weight: 800; }
.font-body { font-family: 'Inter', sans-serif; font-weight: 400; }
.font-body-medium { font-family: 'Inter', sans-serif; font-weight: 500; }
.font-body-semibold { font-family: 'Inter', sans-serif; font-weight: 600; }
.font-button { font-family: 'Inter', sans-serif; font-weight: 600; }
.font-button-bold { font-family: 'Inter', sans-serif; font-weight: 700; }

main {
	position: relative;
	margin-top: -80px;
}

main > section:first-child {
	padding-top: 160px;
}

/* For mobile devices */
@media (max-width: 768px) {
	main > section:first-child {
		padding-top: 100px;
	}
}

#mainHeader {
	transition: background-color 0.3s ease;
}

#mainHeader.scrolled {
	background-color: #03113C !important;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

#mainHeader:not(.scrolled) {
	background-color: transparent !important;
}

.logo img{
	position: absolute;
}

/* custom futuristic styles */
.glass-card-dark {
	background: rgba(31, 41, 55, 0.75);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.hover-lift {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.3);
}
.glow-on-hover:hover {
	box-shadow: 0 0 18px rgba(245, 158, 11, 0.5);
}

/* Creative mobile navigation: bottom sheet style with curve */
.nav-drawer {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	background: rgba(31, 41, 55, 0.98);
	backdrop-filter: blur(20px);
	z-index: 1000;
	transition: bottom 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.2);
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
	padding: 2rem 1.8rem 2.5rem;
	border-radius: 28px 28px 0 0;
	border-top: 1px solid rgba(245, 158, 11, 0.3);
}
.nav-drawer.open {
	bottom: 0;
}
.drawer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(6px);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
}
.drawer-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #03113C; }
::-webkit-scrollbar-thumb { background: #012675; border-radius: 10px; }
body {
	background-color: #FBFBFA;
}
/* Swiper arrows always visible on mobile with custom styling */
.swiper-button-next, .swiper-button-prev {
	color: #012675 !important;
	background: rgba(31,41,55,0.8);
	width: 38px !important;
	height: 38px !important;
	border-radius: 50%;
	backdrop-filter: blur(4px);
	transition: all 0.2s;
}
.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 16px !important;
	font-weight: bold;
}
/* ensure arrows visible on mobile */
@media (max-width: 768px) {
	.swiper-button-next, .swiper-button-prev {
	display: flex !important;
	width: 32px !important;
	height: 32px !important;
	background: rgba(0,0,0,0.6);
	}
	.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 14px !important;
	}
}

/* drawer handle */
.drawer-handle {
	width: 50px;
	height: 5px;
	background: rgba(245,158,11,0.5);
	border-radius: 10px;
	margin: 0 auto 20px;
}
/* modal animation */
/*.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(8px);
	z-index: 1100;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}
.auth-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: 90%;
	max-width: 480px;
	background: white;
	border-radius: 32px;
	z-index: 1101;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.auth-modal.active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}
.google-btn {
	transition: all 0.2s ease;
}
.google-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}*/

/* ===== AUTH MODALS ===== */
#signupModal,
#loginModal,
#forgotPasswordModal {
	display: none !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.75) !important;
	backdrop-filter: blur(8px) !important;
	z-index: 99999 !important;
	align-items: center !important;
	justify-content: center !important;
}

#signupModal.active,
#loginModal.active,
#forgotPasswordModal.active {
	display: flex !important;
}

.auth-modal {
	background: #ffffff !important;
	border-radius: 28px !important;
	width: 90% !important;
	max-width: 480px !important;
	max-height: 90vh !important;
	overflow-y: auto !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
	position: relative !important;
	z-index: 100000 !important;
	/* Remove transition for instant display */
	transform: scale(1) !important;
	opacity: 1 !important;
}

/* Remove the transition that causes delay */
#signupModal .auth-modal,
#loginModal .auth-modal,
#forgotPasswordModal .auth-modal {
	transform: scale(1) !important;
	opacity: 1 !important;
	transition: none !important;
}

/* Modal scrollbar */
.auth-modal::-webkit-scrollbar {
	width: 4px;
}
.auth-modal::-webkit-scrollbar-track {
	background: transparent;
}
.auth-modal::-webkit-scrollbar-thumb {
	background: #012675;
	border-radius: 10px;
}

/* Form validation styles */
input.error {
	border-color: #dc3545 !important;
	background-color: #fff5f5 !important;
}
input.success {
	border-color: #28a745 !important;
	background-color: #f0fff4 !important;
}
.error-message {
	display: block;
}
.error-message.show {
	display: block;
}

/* About Us Page */
/* floating abstract shapes */
.shape-blur {
	position: absolute;
	filter: blur(70px);
	opacity: 0.4;
	z-index: 0;
}

/* Contact Page */
.form-input:focus {
	outline: none;
	border-color: #012675;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Test Series Page */
/* filter active state */
.filter-active {
	background-color: #012675;
	color: #03113C;
	border-color: #012675;
}
.filter-pill {
	transition: all 0.2s ease;
	cursor: pointer;
}
.filter-pill:hover {
	background-color: #01267520;
	border-color: #012675;
}

/* Terms & Conditions Page */
/* terms content typography - matching privacy policy */
.terms-content h2, .policy-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #03113C;
	margin-top: 2rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #01267530;
}
.terms-content h2:first-of-type, .policy-content h2:first-of-type {
	margin-top: 0;
}
.terms-content h3, .policy-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #03113C;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}
.terms-content p, .policy-content p {
	color: #4B5563;
	line-height: 1.7;
	margin-bottom: 1rem;
}
.terms-content ul, .policy-content ul {
	margin: 1rem 0 1rem 1.5rem;
	color: #4B5563;
	line-height: 1.7;
}
.terms-content li, .policy-content li {
	margin-bottom: 0.5rem;
}
.terms-content .highlight-box, .policy-content .highlight-box {
	background: #01267508;
	border-left: 3px solid #012675;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	margin: 1.5rem 0;
}