/* Font */
body {
	font-family: 'Poppins', sans-serif;
}

/* 🔷 Topbar */
.topbar {
	background: #4747d7;
	color: white;
	font-size: 14px;
}

.topbar a {
	color: white;
	margin-left: 10px;
	text-decoration: none;
}

/* 🔷 Header */
.main-header {
	background: #fff;
}

/* Menu */
.menu .nav {
	gap: 25px;
}

.menu .nav-link {
	color: #333;
	font-weight: 500;
}

.menu .nav-link:hover {
	color: #0d6efd;
}

/* 🔷 Hero */
.hero {
	height: 85vh;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('https://balajipolytechnic.co.in/wp-content/uploads/2022/07/023-e1677956148950.jpg') center/cover no-repeat;
}

/* 🔷 Responsive */
@media (max-width: 992px) {
	.menu {
		display: none;
	}
}

/* Social Icons */
.social-icons a {
	color: white;
	margin-left: 12px;
	font-size: 16px;
	transition: 0.3s;
}

.social-icons a:hover {
	color: #ffc107;
}

/* Topbar icons spacing */
.topbar i {
	margin-right: 5px;
}


/* Section Background */
.about-modern {
	background: linear-gradient(to right, #f8f9fa, #eef2ff);
}

/* Title */
.title {
	font-size: 42px;
	font-weight: 700;
}

.title span {
	color: #0d6efd;
}

/* Highlight Box */
.highlight-box {
	display: flex;
	align-items: center;
	gap: 15px;
	background: #fff;
	padding: 15px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.highlight-box i {
	font-size: 30px;
	color: #0d6efd;
}

/* Stats Card */
.stat-card {
	background: #fff;
	padding: 25px;
	text-align: center;
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	transition: 0.3s;
}

.stat-card i {
	font-size: 28px;
	color: #0d6efd;
	margin-bottom: 10px;
}

.stat-card h3 {
	font-weight: 700;
	font-size: 28px;
}

.stat-card p {
	margin: 0;
	color: #666;
}

/* Hover Effect */
.stat-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.quote-section {

	background: linear-gradient(135deg, #eef2f7, #e3e8f0);

}

.quote-box {
	padding: 20px;
}

.quote-icon {
	font-size: 30px;
	color: #4a6cf7;
}

.quote-text {
	font-family: 'Playfair Display', serif;
	font-size: 28px;
	font-style: italic;
	color: #4a4a4a;
	line-height: 1.6;
	margin-top: 10px;
}

.quote-author {
	margin-top: 25px;
	font-size: 18px;
	font-weight: 500;
}

.quote-author span {
	display: block;
	font-size: 14px;
	color: #777;
}

.image-box img {
	max-width: 90%;
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.image-box img:hover {
	transform: scale(1.05);
}


.department-section {
	background: #f8fafc;
	margin-top: 50px;
}

.dept-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	height: 100%;
}

.dept-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dept-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.dept-content {
	padding: 20px;
}

.dept-content h3 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222;
}

.dept-content p {
	font-size: 15px;
	color: #666;
	line-height: 1.6;
}

.read-more {
	display: inline-block;
	margin-top: 10px;
	color: #4a6cf7;
	font-weight: 500;
	text-decoration: none;
}

.read-more:hover {
	text-decoration: underline;
}

.timeline-section {
	background: #f8fafc;
}

.section-title {
	font-size: 34px;
	margin-bottom: 50px;
	font-weight: 600;
}

/* Timeline base */
.timeline {
	position: relative;
	max-width: 900px;
	margin: auto;
}

/* Vertical line */
.timeline::after {
	content: '';
	position: absolute;
	width: 4px;
	background: #4a6cf7;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

/* Items */
.timeline-item {
	padding: 20px 40px;
	position: relative;
	width: 50%;
}

/* Left side */
.timeline-item.left {
	left: 0;
	text-align: right;
}

/* Right side */
.timeline-item.right {
	left: 50%;
}

/* Content box */
.timeline-item .content {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	transition: 0.3s;
}

.timeline-item .content:hover {
	transform: translateY(-5px);
}

/* Dots */
.timeline-item::before {
	content: '';
	position: absolute;
	top: 25px;
	width: 15px;
	height: 15px;
	background: #4a6cf7;
	border-radius: 50%;
	z-index: 1;
}

/* Dot position */
.timeline-item.left::before {
	right: -8px;
}

.timeline-item.right::before {
	left: -8px;
}

/* Responsive */
@media (max-width: 768px) {
	.timeline::after {
		left: 20px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 50px;
		padding-right: 20px;
	}

	.timeline-item.right {
		left: 0;
	}

	.timeline-item.left {
		text-align: left;
	}

	.timeline-item::before {
		left: 12px;
	}
}


.royal-footer {
	background: linear-gradient(135deg, #4747d7, #2d2db5);
	padding: 80px 0;
}

/* Glass Card */
.footer-box {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	backdrop-filter: blur(12px);
	border: 1px solid rgba(243, 238, 180, 0.3);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
	color: #fff;
}

/* Brand */
.brand {
	font-weight: 700;
	font-size: 28px;
	color: #f3eeb4;
	text-shadow: 0 0 10px rgba(243, 238, 180, 0.5);
}

/* Section Titles */
.footer-box h5 {
	color: #f3eeb4;
	margin-bottom: 15px;
	position: relative;
}

.footer-box h5::after {
	content: "";
	width: 40px;
	height: 2px;
	background: #f3eeb4;
	position: absolute;
	bottom: -5px;
	left: 0;
}

/* Links */
a {
	color: #ddd;
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: #f3eeb4;
	padding-left: 5px;
}

/* Social Icons */
.social-icons a {
	font-size: 20px;
	margin: 0 10px;
	color: #fff;
	transition: 0.3s;
}

.social-icons a:hover {
	color: #f3eeb4;
	transform: scale(1.3) translateY(-5px);
}

/* Tagline */
.tagline {
	color: #ddd;
	font-size: 14px;
}

.subscribe-map {
	padding: 60px 0;
}

/* Main Box */
.box {
	background: linear-gradient(135deg, #5f5f5f, #2e2e2e);
	border-radius: 12px;
	padding: 50px;
	color: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Accent Line */
.line {
	width: 50px;
	height: 2px;
	background: #f3eeb4;
	margin-bottom: 20px;
}

/* Heading */
.content h2 {
	font-size: 26px;
	line-height: 1.5;
	font-weight: 500;
}

/* Form */
.subscribe-form {
	display: flex;
	max-width: 400px;
}

.subscribe-form input {
	flex: 1;
	padding: 10px;
	border: none;
	outline: none;
	background: #eee;
	border-radius: 5px 0 0 5px;
}

/* Button */
.subscribe-form button {
	background: #f3eeb4;
	border: none;
	padding: 10px 20px;
	font-weight: 600;
	color: #333;
	border-radius: 0 5px 5px 0;
	transition: 0.3s;
}

.subscribe-form button:hover {
	background: #fff;
}

/* Map */
.map-box iframe {
	width: 100%;
	height: 260px;
	border-radius: 10px;
	border: none;
	filter: grayscale(100%);
	/* 🔥 modern effect */
}