@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&display=swap");

html,
body {
	overflow-x: hidden;
	width: 100%;
	position: relative;
	-webkit-overflow-scrolling: touch;
	font-family: "Inter", sans-serif;
}

:root {
	--primary-color: #2e4665;
	--secondary-color: #bae5f6;
	--accent-color: #f6b93b;
	--text-dark: #2c3e50;
	--text-light: #ecf0f1;
	--text-muted: #7f8c8d;
	--white: #ffffff;
	--bg-light: #f8fbff;
	--primary-font: "Outfit", sans-serif;
	--secondary-font: "Cormorant Garamond", serif;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

body {
	font-family: "Inter", sans-serif;
	color: var(--text-dark);
	line-height: 1.7;
	background-color: var(--white);
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--primary-font);
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.3;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Bootstrap Color Overrides */
.bg-primary {
	background-color: var(--primary-color) !important;
}

.text-primary {
	color: var(--primary-color) !important;
}

.btn-primary {
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
	color: #fff !important;
}

.btn-outline-primary {
	background-color: transparent !important;
	border-color: var(--primary-color) !important;
	color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
	color: #fff !important;
}

.btn-primary:hover {
	background-color: #1e2f45 !important;
	border-color: #1e2f45 !important;
}

.bg-secondary {
	background-color: var(--secondary-color) !important;
}

.text-secondary {
	color: var(--secondary-color) !important;
}

.btn-secondary {
	background-color: var(--secondary-color) !important;
	border-color: var(--secondary-color) !important;
	color: var(--primary-color) !important;
	font-weight: 600;
}

.btn-secondary:hover {
	background-color: #a2d9f0 !important;
	border-color: #a2d9f0 !important;
}

.form-control,
.form-select {
	padding: 0.8rem 1.2rem;
	border-radius: 12px;
	border: 1px solid #e1e8ef;
	background-color: #fcfdfe;
	font-size: 0.95rem;
	transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
	border-color: var(--secondary-color) !important;
	box-shadow: 0 0 0 0.25rem rgba(46, 70, 101, 0.1) !important;
	background-color: #fff;
	outline: 0;
}

a:hover {
	color: var(--primary-color);
}

.text-primary {
	color: var(--primary-color) !important;
}

.border-primary {
	border-color: var(--primary-color) !important;
}

.border-secondary {
	border-color: var(--secondary-color) !important;
}

/* Header Tier 1: Top Bar */
.header-top-bar {
	background: #fdfdfd;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	padding: 8px 0;
	font-size: 0.85rem;
}

.top-info a {
	color: var(--text-dark);
	text-decoration: none;
	transition: var(--transition);
}

.top-info a:hover {
	color: var(--primary-color);
}

.social-links-small a {
	margin-left: 15px;
	color: var(--text-muted);
	transition: var(--transition);
}

.social-links-small a:hover {
	color: var(--primary-color);
}

.admissions-tag {
	background: var(--bg-light);
	padding: 4px 12px;
	border-radius: 50px;
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
}

.pulse-icon {
	width: 8px;
	height: 8px;
	background: #2ecc71;
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
	box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
	animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
	0% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
	}
}

/* Header Tier 2: Main Navigation */
.sticky-header {
	background-color: var(--white);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 10px 0;
	transition: var(--transition);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-logo img {
	height: 80px;
	transition: var(--transition);
}

.main-nav-links {
	display: flex;
	gap: 25px;
	align-items: center;
}

.main-nav-links a {
	font-weight: 600;
	color: var(--text-dark);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	position: relative;
	padding: 2px 0;
}

.main-nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: var(--transition);
}

.main-nav-links a:hover::after,
.main-nav-links a.active-link::after {
	width: 100%;
}

.main-nav-links a:hover {
	color: var(--primary-color);
}

.btn-enquire {
	background: var(--primary-color);
	color: var(--white) !important;
	padding: 10px 25px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(46, 70, 101, 0.2);
	transition: var(--transition);
	display: inline-block;
}

.btn-enquire:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(46, 70, 101, 0.3);
	background: #1e2f45;
}

.menu-toggle-btn {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 12px 25px;
	border-radius: 5px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.btn-primary:hover {
	background-color: #233750;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	color: var(--white);
}

.btn-secondary {
	background-color: var(--secondary-color);
	color: var(--primary-color);
	padding: 12px 25px;
	border-radius: 5px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.btn-secondary:hover {
	background-color: #a4d8ef;
	transform: translateY(-2px);
}

/* Sections */
section,
.section {
	padding: 100px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 2.8rem;
	margin-bottom: 20px;
	color: var(--primary-color);
}

.section-title p {
	color: var(--text-muted);
	max-width: 600px;
	margin: 0 auto;
}

.section-title .underline {
	width: 60px;
	height: 3px;
	background-color: var(--secondary-color);
	margin: 25px auto 0;
}

/* Banner / Hero Impact */
.hero-impact {
	position: relative;
	height: 90vh;
	min-height: 600px;
	background: url("../images/home-bg.jpg") no-repeat center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 100px;
	z-index: 1;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
	display: flex;
	align-items: center;
	justify-content: center;
}

.mission-statement {
	/* font-family: "Playfair Display", serif; */
	font-size: 5rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 1rem;
	line-height: 1.1;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mission-subtext {
	font-size: 1.4rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 800px;
	margin: 0 auto;
	font-weight: 300;
	letter-spacing: 1px;
}

/* Quick Actions */
.quick-actions-container {
	position: absolute;
	bottom: -80px;
	left: 0;
	width: 100%;
	z-index: 10;
}

.quick-action-card {
	background: var(--white);
	padding: 30px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: var(--shadow-lg);
	transition: var(--transition);
	text-decoration: none;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-action-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.quick-action-card .card-icon {
	width: 60px;
	height: 60px;
	background: var(--bg-light);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--primary-color);
	flex-shrink: 0;
	transition: var(--transition);
}

.quick-action-card:hover .card-icon {
	background: var(--primary-color);
	color: var(--white);
}

.quick-action-card .card-content h3 {
	margin-bottom: 5px;
	font-size: 1.4rem;
	font-family: "Playfair Display", serif; /* Consistent with branding */
	color: var(--primary-color);
}

.quick-action-card .card-content p {
	margin-bottom: 0;
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.4;
}

/* Neat Form Styles */
.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	margin-bottom: 10px;
	font-weight: 700;
	color: var(--primary-color);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.9;
}

.form-control {
	width: 100%;
	padding: 14px 20px;
	border: 2px solid #edf2f7;
	border-radius: 12px;
	font-family: inherit;
	background: #f8fbff;
	color: var(--text-dark);
	font-size: 0.95rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
	outline: none;
	background: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 10px 20px rgba(46, 70, 101, 0.05);
	transform: translateY(-2px);
}

.form-control::placeholder {
	color: #a0aec0;
	opacity: 0.7;
}

/* Custom Submission Button */
.btn-submit-neat {
	width: 100%;
	background: var(--primary-color);
	color: #fff;
	padding: 15px;
	border-radius: 12px;
	font-weight: 700;
	border: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(46, 70, 101, 0.15);
	transition: all 0.4s;
}

.btn-submit-neat:hover {
	background: #1e2f45;
	box-shadow: 0 15px 35px rgba(46, 70, 101, 0.25);
	transform: scale(1.02);
}

label.error {
	color: #e53e3e;
	font-size: 0.8rem;
	margin-top: 8px;
	display: block;
	font-weight: 500;
}

/* Footer */
footer {
	background-color: var(--primary-color);
	color: var(--text-light);
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
	color: var(--white);
	margin-bottom: 20px;
	font-size: 1.5rem;
}

.footer-links ul li {
	margin-bottom: 10px;
}

.footer-links ul li a:hover {
	color: var(--secondary-color);
	padding-left: 5px;
}

.social-icons {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-icons a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: var(--transition);
}

.social-icons a:hover {
	background: var(--secondary-color);
	color: var(--primary-color);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

/* Captcha */
.captcha-container {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f0f4f8;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 15px;
}

.captcha-question {
	font-weight: bold;
	color: var(--primary-color);
}

/* --- Mobile & Responsive Overhaul --- */

/* Mobile Toggle Button */
.mobile-toggle {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
	padding: 5px;
	transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(13, 27, 42, 0.95);
	backdrop-filter: blur(10px);
	z-index: 9999;
	display: flex;
	justify-content: flex-end;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-content {
	width: 300px;
	height: 100%;
	background: var(--white);
	padding: 40px 30px;
	transform: translateX(100%);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active .mobile-menu-content {
	transform: translateX(0);
}

.mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 50px;
}

.close-menu {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.mobile-nav a {
	font-family: "Playfair Display", serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s;
}

.mobile-nav a:hover {
	color: var(--secondary-color);
}

/* Base Responsive Scales */
@media (max-width: 1199px) {
	.mission-statement {
		font-size: 4rem;
	}
}

@media (max-width: 991px) {
	section,
	.section,
	.section-padding {
		padding: 70px 0;
	}
	.mission-statement {
		font-size: 3rem;
	}
	.display-4,
	.display-5 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.mission-statement {
		font-size: 2.2rem;
	}
	.mission-subtext {
		font-size: 1.1rem;
	}

	.hero-impact {
		height: auto;
		padding: 120px 0 200px;
		margin-bottom: 250px;
	}

	.quick-actions-container {
		bottom: -220px;
	}

	.section-title h2 {
		font-size: 2rem;
	}

	.contact-hero {
		padding: 60px 0;
	}

	.contact-main {
		padding: 50px 0;
	}

	.footer-midnight {
		padding: 60px 0 20px;
	}
}

@media (max-width: 576px) {
	.mission-statement {
		font-size: 1.8rem;
	}

	.quick-actions-container {
		bottom: -280px;
	}

	.hero-impact {
		margin-bottom: 320px;
	}

	.footer-brand-card {
		padding: 20px;
		width: 100%;
		text-align: center;
	}

	.btn-submit-neat {
		padding: 12px;
		font-size: 0.9rem;
	}
}

/* Utilities */
.text-center {
	text-align: center;
}
.mt-50 {
	margin-top: 50px;
}
.mb-50 {
	margin-bottom: 50px;
}
.bg-light {
	background-color: var(--bg-light);
}

/* --- Modern Arched Footer --- */
.footer-modern {
	background: var(--primary-color);
	position: relative;
	color: #fff;
	overflow: hidden;
}

.footer-top-shape {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	line-height: 0;
	transform: translateY(-1px);
}

.footer-top-shape svg {
	display: block;
	width: calc(100% + 1.3px);
	height: 80px;
}

.footer-top-shape .shape-fill {
	fill: var(--white);
}

.white-card-logo {
	background: var(--white);
	padding: 15px;
	display: inline-block;
	border-radius: 12px;
	box-shadow: var(--shadow-md);
}

.modern-heading {
	color: var(--white);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 30px;
	position: relative;
}

.modern-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 30px;
	height: 2px;
	background: var(--secondary-color);
}

.modern-list {
	padding: 0;
}

.modern-list li {
	margin-bottom: 12px;
}

.modern-list a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.95rem;
	transition: var(--transition);
}

.modern-list a:hover {
	color: var(--white);
	padding-left: 5px;
}

.social-modern {
	display: flex;
	gap: 15px;
}

.social-modern a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	color: var(--white);
	transition: var(--transition);
}

.social-modern a:hover {
	background: var(--secondary-color);
	color: var(--primary-color);
	transform: translateY(-5px);
}

.contact-card-footer i {
	width: 20px;
}

/* Contact Page Styles */
.contact-hero {
	padding: 100px 0;
	background: var(--primary-color);
	background-image:
		linear-gradient(rgba(46, 70, 101, 0.9), rgba(46, 70, 101, 0.9)),
		url("../images/admissions-poster-background.webp");
	background-size: cover;
	background-position: center;
}

.py-80 {
	padding: 80px 0;
}

.shadow-neat {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.02);
}

.icon-circle {
	width: 60px;
	height: 60px;
	background: #f0f7ff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.bg-light-navy {
	background: #f0f7ff;
}

.border-accent {
	border-color: var(--secondary-color) !important;
}

.bg-navy {
	background: var(--primary-color);
}

.color-navy {
	color: var(--primary-color) !important;
}

.bg-shape {
	position: absolute;
	top: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	z-index: 0;
}

.location-map iframe {
	display: block;
	filter: grayscale(0.2) contrast(1.1);
}

.map-container {
	line-height: 0;
}

.letter-spacing-2 {
	letter-spacing: 2px;
}

.section-padding {
	padding: 100px 0;
}

.mb-100 {
	margin-bottom: 100px;
}

.bg-midnight,
.bg-navy {
	background: var(--primary-color) !important;
}

/* Floating Map Card Styles */
.map-wrapper {
	z-index: 1;
}

.floating-contact-card {
	position: absolute;
	top: 40px;
	left: 40px;
	z-index: 10;
	width: 380px;
	border-left: 5px solid var(--accent-color);
	transition: var(--transition);
}

.floating-contact-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.icon-sq {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 1.2rem;
}

.location-map iframe {
	display: block;
	filter: grayscale(0.2) contrast(1.1);
	transition: var(--transition);
}

.location-map:hover iframe {
	filter: grayscale(0);
}

@media (max-width: 991px) {
	.map-wrapper {
		height: 400px;
	}
	.location-map iframe {
		height: 400px;
	}
	.location-map .container {
		padding-bottom: 0 !important;
	}
}
