@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Outfit:wght@100..900&display=swap');

:root {
	--primary-blue: #2b3a8f;
	--accent-orange: #f26522;
	--text-dark: #1a1a1a;
	--text-muted: #6c757d;
	--bg-light: #f8f9fa;
	--font-heading: "Outfit", sans-serif;
	--font-body: "Manrope", sans-serif;
}

/* Fixed links start */
.fixed-links {
	width: max-content;
	max-width: 4rem;
	list-style: none;
	border: 1px solid rgba(105, 90, 205, 0.438);
	border-radius: 3px;
	padding: 0.1rem;
	background-color: rgba(255, 255, 255, 0.579);
	margin: 0 !important;
}

.fixed-link {
	margin: 4px 2px;
	padding: 0px 2px;
	transition: all 0.3s ease-in-out;
}

.fixed-link:hover {
	transform-origin: left center;
	transform: scale(1.25);
}

.social-links {
	z-index: 4;
}

.toggle-links {
	background-color: rgba(43, 226, 226, 0.241);
	transition: all 0.5s ease-in-out;
}

/* Fixed links end */

body {
	font-family: var(--font-body);
	color: var(--text-dark);
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
}

/* --- Global Helpers --- */
.text-primary-custom {
	color: var(--primary-blue) !important;
}

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

.bg-primary-custom {
	background-color: var(--primary-blue) !important;
}

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

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

.section-title-wrapper {
	margin-bottom: 50px;
}

.section-subtitle {
	color: var(--primary-blue);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 10px;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: var(--text-dark);
}

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

/* --- Buttons --- */
.btn-accent {
	background-color: var(--accent-orange);
	color: white;
	font-weight: 600;
	padding: 12px 30px;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1px solid var(--accent-orange);
}

.btn-accent:hover {
	background-color: #d9531c;
	border-color: #d9531c;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(242, 101, 34, 0.3);
}

.btn-outline-custom {
	border: 1px solid #ddd;
	color: var(--text-dark);
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 8px;
	transition: all 0.3s ease;
	background: white;
}

.btn-outline-custom:hover {
	background-color: var(--bg-light);
	border-color: #ccc;
	color: var(--primary-blue);
}

/* --- Navbar --- */
.navbar {
	padding: 15px 0;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.navbar-brand {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--primary-blue);
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	flex-shrink: 0;
}

.navbar-brand .nav-logo {
	width: auto;
	height: clamp(3rem, 2.5vw + 0.5rem, 5rem);
	object-fit: contain;
	display: block;
}

.navbar-toggler {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 12px;
}

.navbar-brand i {
	color: var(--accent-orange);
	font-size: 2rem;
}

.nav-link {
	font-weight: 500;
	color: var(--text-dark);
	margin: 0 10px;
	position: relative;
	transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary-blue);
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-orange);
	transition: width 0.3s ease;
}

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

/* --- Hero Section --- */
#home {
	padding-top: 120px;
	padding-bottom: 60px;
}

.badge-admissions {
	background-color: #fff0e8;
	color: var(--accent-orange);
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 0.85rem;
	display: inline-block;
	margin-bottom: 20px;
}

.hero-title {
	font-size: 3.5rem;
	line-height: 1.15;
	margin-bottom: 20px;
}

.hero-title span {
	color: var(--primary-blue);
}

.hero-desc {
	color: var(--text-muted);
	font-size: 1.1rem;
	margin-bottom: 30px;
	max-width: 500px;
}

.hero-img-wrapper {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-img-wrapper img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.stats-wrapper {
	display: flex;
	gap: 40px;
	margin-top: 40px;
	border-top: 1px solid #eee;
	padding-top: 30px;
}

.stat-item h4 {
	font-size: 2rem;
	font-weight: 800;
	color: var(--primary-blue);
	margin-bottom: 5px;
}

.stat-item p {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0;
	font-weight: 500;
}

/* --- Courses Section --- */
.course-card {
	background: white;
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 30px;
	height: 100%;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.course-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
	border-color: transparent;
}

.course-icon {
	width: 50px;
	height: 50px;
	background: #f0f4ff;
	color: var(--primary-blue);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.course-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 50px;
	text-transform: uppercase;
}

.badge-active {
	background: #e8f5e9;
	color: #2e7d32;
}

.badge-popular {
	background: #fff3e0;
	color: #e65100;
}

.badge-target {
	background: #fce4ec;
	color: #c2185b;
}

.badge-tech {
	background: #e3f2fd;
	color: #1565c0;
}

.course-card h5 {
	font-size: 1.25rem;
	margin-bottom: 15px;
}

.course-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
	margin-bottom: 25px;
}

.course-link {
	color: var(--primary-blue);
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: gap 0.3s ease;
	font-size: 0.9rem;
}

.course-link:hover {
	gap: 10px;
	color: var(--accent-orange);
}

/* --- Classrooms / Gallery --- */
.gallery-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	height: 250px;
	cursor: pointer;
}

.gallery-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-card:hover img {
	transform: scale(1.05);
}

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	padding: 20px;
	color: white;
}

.gallery-overlay h6 {
	margin: 0;
	font-size: 1rem;
}

.gallery-overlay span {
	font-size: 0.8rem;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- Faculty --- */
.faculty-card {
	background: white;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
	transition: all 0.3s ease;
}

.faculty-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	border-color: var(--primary-blue);
}

.faculty-img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}

.faculty-info h6 {
	margin: 0;
	font-size: 1rem;
}

.faculty-info p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* --- Achievers --- */
.achiever-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	height: 250px;
}

.achiever-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.achiever-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
	padding: 20px;
	color: white;
}

.achiever-overlay h6 {
	margin: 0;
	font-size: 1rem;
}

.achiever-overlay span {
	font-size: 0.8rem;
	opacity: 0.8;
}

/* --- Footer --- */
footer {
	background-color: #121a3e;
	color: white;
	padding-top: 60px;
	padding-bottom: 20px;
}

.footer-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: white;
	padding: 20px;
	border-radius: 16px;
	width: fit-content;
}

.footer-logo i {
	color: var(--primary-blue);
	font-size: 3rem;
}

.footer-logo h3 {
	color: var(--primary-blue);
	font-size: 1.2rem;
	margin: 5px 0 0 0;
	letter-spacing: 2px;
}

.footer-logo p {
	color: var(--text-muted);
	font-size: 0.7rem;
	margin: 0;
	font-style: italic;
}

.footer-heading {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
	color: #ccc;
}

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

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

.footer-links a {
	color: #adb5bd;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 0.9rem;
}

.footer-links a:hover {
	color: white;
	padding-left: 5px;
}

.footer-contact p {
	color: #adb5bd;
	font-size: 0.9rem;
	margin-bottom: 10px;
	display: flex;
	gap: 10px;
}

.footer-contact i {
	color: var(--accent-orange);
}

.map-container {
	background: #1a2352;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	margin-top: 20px;
}

.map-container .bi-geo-alt-fill {
	font-size: 2rem;
	color: var(--accent-orange);
	margin-bottom: 10px;
}

.map-container p {
	color: #adb5bd;
	font-size: 0.8rem;
	margin: 0;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.footer-bottom p {
	color: #adb5bd;
	font-size: 0.85rem;
	margin: 0;
}

.social-icons a {
	color: white;
	background: rgba(255, 255, 255, 0.1);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-left: 8px;
	transition: all 0.3s ease;
}

.social-icons a:hover {
	background: var(--accent-orange);
	transform: translateY(-3px);
}

/* --- Animations --- */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.4s ease,
		transform 0.4s ease;
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
	.hero-title {
		font-size: 2.5rem;
	}

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

	.stats-wrapper {
		flex-wrap: wrap;
		gap: 20px;
	}

	.stat-item {
		flex: 1 1 40%;
	}
}

@media (max-width: 767.98px) {
	.section-padding {
		padding: 50px 0;
	}

	#home {
		padding-top: 100px;
		text-align: center;
	}

	.hero-desc {
		margin: 0 auto 30px auto;
	}

	.hero-buttons {
		justify-content: center;
	}

	.stats-wrapper {
		justify-content: center;
	}

	.stat-item {
		flex: 1 1 100%;
	}

	.hero-img-wrapper {
		margin-top: 40px;
	}

	.faculty-card {
		flex-direction: column;
		text-align: center;
	}
}