/* ----- GLOBAL RESET & VARIABLES ----- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: "Inter", sans-serif;
	background: #f0f4f8;
	overflow-x: hidden;
	scroll-behavior: smooth;
	color: #1a2a3a;
}
:root {
	--primary: #0d6e6e;
	--primary-dark: #0a5555;
	--secondary: #00b4b4;
	--accent: #ff8c42;
	--light: #f8f9fc;
	--dark: #2c3e50;
	--card-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
	--hover-shadow: 0 30px 45px -12px rgba(0, 0, 0, 0.15);
	--text-muted: #4a627a;
}

::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: #e0e6ed;
}
::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 10px;
}

/* 3D Canvas Background */
#bg-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	opacity: 0.12;
}

/* ========== NAVBAR ========== */
.navbar {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
	padding: 0.3rem 0;
	transition: all 0.3s;
}
.brand-logo2{
    padding:0;
    margin:0;
    display:flex;
    align-items:center;
}

.brand-logo2 img{
    width:180px !important;
    max-width:none !important;
    height:auto !important;
}
.nav-link {
	font-weight: 600;
	color: #2c3e50 !important;
	margin: 0 0.3rem;
	position: relative;
	transition: 0.2s;
}
.nav-link:hover,
.nav-link.active {
	color: var(--primary) !important;
}
.nav-link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: var(--primary);
	transition: width 0.3s;
	border-radius: 3px;
}
.nav-link:hover::after,
.nav-link.active::after {
	width: 70%;
}
.btn-enquire {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	border: none;
	border-radius: 40px;
	padding: 0.5rem 1.5rem;
	font-weight: 600;
	color: white;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}
.btn-enquire:hover {
	transform: scale(1.05);
	box-shadow: 0 5px 20px rgba(13, 110, 110, 0.4);
	color: white;
}

/* Dropdown Animation */
.dropdown-menu {
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
	padding: 0.8rem 0;
	animation: dropdownFade 0.25s ease;
}
@keyframes dropdownFade {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.dropdown-item {
	padding: 0.5rem 1.8rem;
	transition: 0.2s;
}
.dropdown-item:hover {
	background: #e8f0fe;
	color: var(--primary);
	transform: translateX(5px);
}
.dropdown-submenu {
	position: relative;
}
.dropdown-submenu .submenu {
	position: absolute;
	left: 100%;
	top: 0;
	display: none;
	min-width: 220px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	padding: 0.5rem 0;
	list-style: none;
	z-index: 100;
}
.dropdown-submenu:hover .submenu {
	display: block;
}
@media (max-width: 991px) {
	.dropdown-submenu .submenu {
		position: static;
		padding-left: 2rem;
		box-shadow: none;
		background: #f8f9fc;
	}
}

/* ========== HERO SECTION ========== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 7rem 0 4rem;
	position: relative;
	background: linear-gradient(
		135deg,
		rgba(13, 110, 110, 0.05) 0%,
		rgba(0, 180, 180, 0.08) 100%
	);
}

/* .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(13,110,110,0.05) 0%,
            rgba(0,180,180,0.08) 100%
        ),
        url('http://localhost/bipms/assets/images/college_building.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */

.typewriter-text {
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--primary-dark);
	min-height: 140px;
}
.typewriter-text .typed-cursor {
	font-size: 3.2rem;
	color: var(--secondary);
	animation: blink 0.7s infinite;
}
@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

.hero-badge {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	padding: 0.5rem 1.2rem;
	border-radius: 50px;
	font-size: 0.85rem;
	display: inline-block;
	margin-bottom: 1.5rem;
	animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(13, 110, 110, 0.4);
	}
	50% {
		box-shadow: 0 0 0 15px rgba(13, 110, 110, 0);
	}
}

.hero-desc {
	font-size: 1.05rem;
	color: var(--text-muted);
	max-width: 90%;
}

.btn-primary-custom {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border: none;
	border-radius: 50px;
	padding: 0.8rem 2rem;
	font-weight: 600;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: white;
	text-decoration: none;
}
.btn-primary-custom:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(13, 110, 110, 0.3);
	color: white;
}
.btn-outline-custom {
	border: 2px solid var(--primary);
	color: var(--primary);
	border-radius: 50px;
	padding: 0.8rem 2rem;
	font-weight: 600;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	background: transparent;
}
.btn-outline-custom:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-3px);
}

.stats-mini {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(4px);
	border-radius: 20px;
	padding: 0.8rem;
	text-align: center;
	transition: 0.2s;
}
.stats-mini .num {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary);
}

/* Floating Admission Card */
.float-card {
	background: white;
	border-radius: 28px;
	padding: 2rem;
	box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
	border-left: 5px solid var(--secondary);
	animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-8px);
	}
}
.seat-label {
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 5px;
}
.progress {
	height: 8px;
	border-radius: 10px;
	background: #e2e8f0;
}
.progress-bar {
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 10px;
}

/* Section Title */
.section-title {
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--primary-dark);
	position: relative;
	display: inline-block;
	margin-bottom: 1rem;
}
.section-title:after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 2px;
}
.section-sub {
	color: var(--text-muted);
	max-width: 650px;
	margin: 1rem auto 0;
}

/* Course Cards */
.course-card {
	background: white;
	border-radius: 24px;
	overflow: hidden;
	transition: all 0.4s;
	box-shadow: var(--card-shadow);
	height: 100%;
}
.course-card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: var(--hover-shadow);
}
.course-header {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	padding: 1.5rem;
	color: white;
	text-align: center;
}
.course-header i {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	display: block;
}
.course-body {
	padding: 1.2rem;
}
.badge {
	background: #eef2ff;
	color: var(--primary);
	padding: 5px 12px;
	border-radius: 30px;
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-block;
}

/* Facility Cards */
.facility-card {
	background: white;
	border-radius: 24px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
	box-shadow: var(--card-shadow);
	height: 100%;
}
.facility-card:hover {
	transform: translateY(-8px);
	background: linear-gradient(135deg, white, #f0f9ff);
}
.facility-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2rem;
	font-size: 2rem;
	color: white;
	transition: 0.3s;
}
.facility-card:hover .facility-icon {
	transform: scale(1.1) rotateY(180deg);
}

/* Leader Cards */
.leader-card {
	background: white;
	border-radius: 30px;
	padding: 2rem;
	text-align: center;
	box-shadow: var(--card-shadow);
	transition: 0.3s;
}
.leader-card img {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1rem;
	border: 4px solid var(--secondary);
}
.leader-card .role {
	color: var(--secondary);
	font-weight: 600;
	margin-bottom: 0.8rem;
}

/* Stats Banner */
.stats-banner {
	background: linear-gradient(120deg, #0a2a36, #135e5e);
	color: white;
	padding: 3rem 0;
}
.stats-banner .num {
	font-size: 2.8rem;
	font-weight: 800;
}

/* Gallery Grid */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.gallery-item {
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	height: 260px;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.5s;
}
.gallery-item:hover img {
	transform: scale(1.08);
}
.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	padding: 1.2rem;
	color: white;
	transform: translateY(100%);
	transition: 0.3s;
}
.gallery-item:hover .gallery-overlay {
	transform: translateY(0);
}

/* Placement Partners */
.placement-card {
	background: white;
	border-radius: 20px;
	padding: 1rem;
	text-align: center;
	transition: 0.2s;
	box-shadow: var(--card-shadow);
}
.placement-card i {
	color: var(--primary);
}

/* CTA section */
.cta-section {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
}
.btn-cta-light {
	background: white;
	color: var(--primary);
	padding: 0.8rem 2rem;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.btn-cta-outline {
	border: 2px solid white;
	color: white;
	padding: 0.8rem 2rem;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.btn-cta-light:hover,
.btn-cta-outline:hover {
	transform: translateY(-3px);
}

/* Footer */
.footer {
	background: #0a2a36;
	color: #b8d4e3;
	padding: 3rem 0 1.5rem;
}
.footer h5 {
	color: white;
	margin-bottom: 1.2rem;
}
.footer ul {
	list-style: none;
	padding-left: 0;
}
.footer ul li {
	margin-bottom: 0.5rem;
}
.footer ul li a {
	color: #b8d4e3;
	text-decoration: none;
	transition: 0.2s;
}
.footer ul li a:hover {
	color: white;
	padding-left: 5px;
}
.social-icons a {
	color: #b8d4e3;
	font-size: 1.3rem;
	margin-right: 1rem;
	display: inline-block;
	transition: 0.2s;
}
.social-icons a:hover {
	transform: translateY(-3px);
	color: var(--secondary);
}
.footer-contact p i {
	width: 28px;
}
.footer-hr {
	border-color: rgba(255, 255, 255, 0.1);
	margin: 2rem 0 1rem;
}
.footer-copy {
	text-align: center;
	font-size: 0.85rem;
}

.scroll-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 48px;
	height: 48px;
	background: var(--primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
	z-index: 999;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	border: none;
}
.scroll-top.show {
	opacity: 1;
	visibility: visible;
}
.scroll-top:hover {
	transform: translateY(-3px);
	background: var(--primary-dark);
}

@media (max-width: 768px) {
	.typewriter-text {
		font-size: 1.8rem;
		min-height: 100px;
	}
	.section-title {
		font-size: 1.8rem;
	}
	.hero-desc {
		font-size: 0.95rem;
	}
	.float-card {
		padding: 1.5rem;
	}
	.stats-banner .num {
		font-size: 1.8rem;
	}
}

.py-section {
	padding: 4rem 0;
}
.about-stat {
	background: #f8f9fc;
	border-radius: 20px;
	padding: 1rem;
	text-align: center;
}
.about-img img {
	width: 100%;
	border-radius: 30px;
	object-fit: cover;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-banner {
	position: relative;
	padding: 140px 0 60px;
	background: linear-gradient(
		135deg,
		var(--primary-dark) 0%,
		var(--primary) 50%,
		var(--secondary) 100%
	);
	overflow: hidden;
}

.page-banner::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 50%;
}

.page-banner::after {
	content: "";
	position: absolute;
	bottom: -120px;
	left: -120px;
	width: 350px;
	height: 350px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
}

.page-banner .container {
	position: relative;
	z-index: 2;
}

.page-title {
	font-size: 3rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 12px;
	line-height: 1.2;
	text-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.breadcrumb {
	background: transparent;
	margin: 0;
	padding: 0;
}

.breadcrumb-item a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: 0.3s;
}

.breadcrumb-item a:hover {
	color: #fff;
}

.breadcrumb-item.active {
	color: var(--accent);
	font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
	.page-banner {
		padding: 120px 0 40px;
	}

	.page-title {
		font-size: 2rem;
	}
}
