@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
:root {
	--primary-color: #2e7d32;
	--secondary-color: #4caf50;
	--accent-color: #e2ffed;
	--text-color: #333;
	--light-bg: #f5f5f5;
	--white: #ffffff;
	--success: #43a047;
	--warning: #ffa000;
	--error: #d32f2f;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	cursor: default;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", sans-serif;
	line-height: 1.6;
	color: var(--text-color);
}
.section {
	margin-left: 3%;
	width: 97%;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.container h2, .section h2 {
	font-size: 2.5rem;
}

.container > p {
	padding: 2rem 0;
	text-align: justify;
}
/* Announcement Banner */
.announcement-banner {
	background-color: #81c784;
	color: var(--primary-color);
	padding: 0.2rem 0;
	font-weight: 600;
}

.contact a {
	text-decoration: none;
	color: var(--success);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

/* Navigation */
.navbar.scrolled {
	transition: opacity 0.3s ease;
}

.nav-links.scrolled {
	transition: opacity 0.3s ease;
}

.navbar {
	background-color: #266644;
	position: sticky;
	width: 100%;
	top: 0;
	z-index: 100000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	padding: 0.3rem 0;
	padding-left: 5rem;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
	padding: 0rem 1rem;
}

.left {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	justify-content: center;
}

.left a {
	text-decoration: none;
}

.logo {
	width: 72px;
	aspect-ratio: 1;
	border-radius: 50%;
	margin-right: 15px;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.1);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.nav-brand span {
	font-size: 2.5rem;
	font-weight: bold;
	color: white;
}

.contact-us-btn {
	background-color: #f2b528;
	color: #2e7d32;
	padding: .5rem 1rem;
	border-radius: 8px;
	font-weight: bold;
	box-shadow: 0 3px 10px 2px rgba(0, 0, 0, 0.2);
	outline: none;
	border: none;
	font-size: 1rem;
	transition: all 0.3s ease;
	text-decoration: none;
	white-space: nowrap;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.contact-us-btn:hover {
	background-color: var(--success);
	color: #f2b528;
	transform: translateY(-2px);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.nav-toggle {
	display: none;
}

.nav-links {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	list-style: none;
	gap: 2rem;
	height: 100%;
	z-index: 100000;
	padding: 1rem;
	padding-bottom: 5rem;
	background-color: #81c784;
}

.nav-links a:hover,
.active-nav {
	color: #81c784 !important;
	background-color: #266644 !important;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.nav-links a {
	text-decoration: none;
	background-color: transparent;
	color: #266644;
	font-size: 1.4rem;
	font-weight: 800;
	padding: 10px;
	border-radius: 50vw;
	transition: color 0.3s;
	position: relative;
	width: 30px;
	aspect-ratio: 1;
	transition: all 200ms ease-in-out;
	position: relative;
}

.nav-links span {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 120%;
	z-index: 100;
	background-color: #266644;
	color: #81c784;
	padding: 0.5rem 1rem;
	border-radius: 10px;
}
.nav-links span::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	transform: translateY(-50%);
	border-right: 10px solid #266644;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}

.nav-links a:hover{
	span {
		display: block;
	}
}

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

.nav-links a:hover::after {
	/* width: 100%; */
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

/* Hero Section */
.hero {
	min-height: calc(100vh - 100px);
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url("../img/hero-background.png");
	background-size: cover;
	background-position: bottom;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	margin-top: 0;
	position: relative;
	padding-top: 1rem;
}

.hero::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	z-index: 0;
}

.hero-content {
	padding: 0 0 0 4rem;
	width: 90%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin: 0 auto;
	height: calc(100vh - 150px);
}

.hero-gallery {
	width: 110lvh;
	height: 60vh;
	border: 5px solid #81c784;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.1);
	display: flex;
	scroll-behavior: smooth;
}

.description {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	padding: 1.25rem;
	width: 100%;
	flex: 0 0 100%;
}

.desc-title,
.gallery-slider .desc {
	position: relative;
	width: 100%;
	overflow: hidden;
	transform-style: preserve-3d;
	will-change: transform, opacity;
	transform-origin: left center;
}

.description .desc-title,
.description .desc {
	transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
}

.description.slide-in .desc-title,
.description.slide-in .desc {
	animation: textSlideIn 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.description.slide-in .desc-title {
	animation-delay: 0.1s;
}

.description.slide-in .desc {
	animation-delay: 0.2s;
}

.description.slide-out .desc-title,
.description.slide-out .desc {
	animation: textSlideOut 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes textSlideIn {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes textSlideOut {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(-20px);
	}
}

.description[style*="display: flex"] {
	transform: none;
	opacity: 1;
}

.description.slide-in {
	animation: slideIn 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.description.slide-out {
	animation: slideOut 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes slideIn {
	0% {
		opacity: 0;
		transform: translate3d(50px, 0, 0) scale(0.95);
	}
	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes slideOut {
	0% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate3d(-50px, 0, 0) scale(0.95);
	}
}

.hero-gallery img {
	width: 100%;
	height: 145%;
	object-fit: cover;
	object-position: center;
	border-radius: 5px;
}

.gallery-slider {
	width: 25%;
	height: 50vh;
	display: flex;
	overflow-y: hidden;
	overflow-x: hidden;
	flex-direction: column;
	scroll-snap-type: y proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	gap: 1rem;
	cursor: grab;
	touch-action: pan-x;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 1;
	perspective: 1000px;
	transform-style: preserve-3d;
	transform: none !important;
	padding-right: 6px;
	overscroll-behavior: contain;
}

.gallery-slider:active {
	cursor: grabbing;
	cursor: -webkit-grabbing;
	transform: scale(0.98);
}

.gallery-slider::-webkit-scrollbar {
	width: 6px;
	background: transparent;
}

.gallery-slider::-webkit-scrollbar-thumb {
	background: rgba(129, 199, 132, 0.5);
	border-radius: 3px;
}

.gallery-slider::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.images-container {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
	height: auto;
	border: 2px solid #81c784;
	scroll-behavior: smooth;
}

.hero-content h3 {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: white;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
	font-size: 5rem;
	margin-bottom: 1rem;
	font-weight: 800;
	color: #aaf3aa;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
	font-size: 2rem;
	font-weight: 500;
	margin-bottom: 2rem;
	animation-fill-mode: both;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	animation: fadeInUp 1s ease 0.6s;
	animation-fill-mode: both;
}

.cta-button {
	display: inline-block;
	padding: 1rem 2rem;
	background-color: var(--primary-color);
	color: var(--white);
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-weight: 500;
}

.cta-button:hover {
	background-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.cta-button.secondary {
	background-color: transparent;
	border: 2px solid var(--white);
}

.cta-button.secondary:hover {
	background-color: var(--white);
	color: var(--primary-color);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

/* Section Styles */
.section {
	padding: 3rem 0 1rem 0;
	overflow: hidden;
}

.section h2 {
	text-align: center;
	color: var(--primary-color);
	position: relative;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.section h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background-color: #81c784;
}

.bg-light {
	background-color: var(--accent-color);
}

.bg-accent {
	background-color: var(--success);
}

/* About Section */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.about-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.about-image img:hover {
	transform: scale(1.02);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.about-content h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.key-highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.highlight {
	text-align: center;
	padding: 1.5rem;
	/* background-color: var(--light-bg); */
	background-color: #e2ffed;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.highlight:hover {
	transform: translateY(-5px);
	/* cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer; */
}

.highlight i {
	font-size: 2rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.highlight h4 {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

/* Summer Camp Section */
.camp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.camp-info {
	padding: 2rem;
	background-color: var(--white);
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.camp-features {
	list-style: none;
	margin: 1.5rem 0;
}

.camp-features li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.camp-features i {
	color: var(--success);
}

.camp-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.camp-gallery img {
	width: 100%;
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.camp-gallery img:hover {
	transform: scale(1.05);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}
#academics {
	background-color: #baedba;
}

/* Academics Section */
.academics-grid {
	display: flex;
	flex-direction: column;
}

.academics-grid h3 {
	text-align: center;
	margin: 1rem 0;
}

.academic-achievements {
	margin: 1rem 0 1rem 0;
}

.feature-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 5%;
}

.feature-list li {
	display: flex;
	width: 47.5%;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	background-color: var(--white);
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature-list li:last-child {
	margin: auto;
}

.feature-list i {
	font-size: 2rem;
	color: var(--primary-color);
}

.achievement-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
}

.achievement-card {
	background-color: var(--white);
	padding: 0.8rem 1.5rem;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.achievement-card h4 {
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

/* Facilities Section */
.facilities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.facility-card {
	background: var(--white);
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.facility-card:hover {
	transform: translateY(-5px);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.facility-card i {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

/* Faculty Section */
.faculty-section {
	text-align: center;
	padding: 3rem 1rem;
}

.faculty-top {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap; /* Wraps for better mobile view */
	margin-bottom: 2rem;
}

/* Bottom Section Grid */
/* .faculty-bottom {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	justify-content: center;
} */

/* Common Faculty Card Styling */
.faculty-card {
	background-color: #e0f9e0;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.faculty-card:hover {
	transform: translateY(-5px);
	cursor: pointer;
}

/* Large Cards (Principal & Vice-Principal) */
.faculty-card.large {
	width: 350px;
	padding: 2.5rem;
}

/* Small Cards (Faculty Members) */
.faculty-card.small {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 1.5rem;
}

/* Faculty Image */
.faculty-card img {
	object-fit: cover;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	margin-bottom: 1rem;
	border: 3px solid var(--primary-color);
	transition: transform 0.3s ease-in-out;
}

/* Small Card Images */
.faculty-card.small img {
	width: 100px;
	height: 100px;
}

/* Image Hover Effect */
.faculty-card img:hover {
	transform: scale(1.1);
}

/* Faculty Designation */
.faculty-card .designation {
	color: var(--primary-color);
	font-weight: 600;
	margin: 0.5rem 0;
}

/* Adjustments for Responsive Design */
@media (max-width: 1024px) {
	.faculty-card.large {
		width: 320px;
	}
}

@media (max-width: 768px) {
	.faculty-top {
		flex-direction: column;
		align-items: center;
	}

	.faculty-card.large {
		width: 100%;
		max-width: 400px;
	}

	.faculty-bottom {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
	.facilities-grid {
	gap: 1rem;
}
}

@media (max-width: 480px) {
	.faculty-card {
		padding: 1rem;
	}

	.faculty-card.large {
		padding: 1.5rem;
	}

	.faculty-card img {
		width: 110px;
		height: 110px;
	}

	.faculty-card.small img {
		width: 90px;
		height: 90px;
	}

	.faculty-card .designation {
		font-size: 0.9rem;
	}
}

.container h4 {
	text-align: center;
}

.container video {
	display: block;
	margin: 0 auto;
}

#virtual-tour video {
	width: 60vw;
	padding: 1rem;
}

.campus-features {
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: #e0f9e0;
	padding: 2rem;
	width: 100%;
}

.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--white);
	width: 250px;
	aspect-ratio: 1;
	padding: 1rem;
	gap: 1rem;
	border: 0.5px solid #e0f9e0;
}

@media (max-width: 768px){
	.feature .icon{
		font-size: 4rem !important;
	}
	.feature .desc{
		font-size: 1rem !important;
		white-space: pre-wrap;
	}
}

.feature .icon {
	font-size: 2rem;
}

.feature .desc {
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	/* white-space: nowrap; */
}

.flex-container {
	margin-top: 1rem;
	display: flex;
	gap: 3rem;
}

.rules {
	background-color: #e0f9e0;
	padding: 3rem;
}

.rules h3 {
	font-weight: normal;
	font-size: 2rem;
	margin-bottom: 1rem;
	text-align: center;
}

.rules li {
	list-style-type: none;
	margin-bottom: 10px;
}

/* Success Stories Section */
/* .testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
} */

/* Admissions Section */
.admission-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.card {
	background-color: #e0f9e0;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	width: 100%;
}

.documents-required ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	list-style: none;
	padding: 0;
	width: 90%;
	white-space: nowrap;
}

.admission-wrapper .card h3 {
	color: black;
	font-weight: bolder;
	font-size: 1.2rem;
	white-space: nowrap;
}

.documents-required li {
	background-color: var(--white);
	padding: 0.75rem;
	border-radius: 5px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 0.5px solid #ccc;
}

.documents-required li i {
	color: var(--primary-color);
}

.download-form {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: flex-start;
}

.download-btn {
	margin-top: 0.5rem;
	background-color: var(--primary-color);
	color: var(--warning);
	padding: 0.75rem 2.5rem;
	border: none;
	border-radius: 5px;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
	font-size: 1rem;
	font-weight: bold;
}

.download-btn:hover {
	background-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Health & Safety Section */
.safety-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.safety-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.safety-card:hover {
	transform: translateY(-5px);
}

.safety-card i {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.safety-card ul {
	list-style: none;
	margin-top: 0.5rem;
}

.safety-card li {
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}

.safety-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--success);
}

.contact {
	white-space: nowrap;
	font-size: 0.9rem;
}
/* Contact Section */

.contact-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.contact-form {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	flex-direction: column;
	gap: 1rem;
}

.contact-form input,
.contact-form textarea {
	padding: 0.8rem;
	border: 1px solid var(--success);
	border-radius: 5px;
	/* background-color: var(--accent-color); */
	background-color: #e2ffed;
	width: 50%;
	font-family: inherit;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
	color: var(--text-color);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.submit-btn {
	font-size: 1.2rem;
	background-color: var(--primary-color);
	color: var(--warning);
	padding: 0.5rem;
	border: 0.2px solid var(--success);
	border-radius: 5px;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
	width: 50%;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	background-color: var(--accent-color);
	color: var(--text-color);
	transform: translateY(-2px);
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: var(--white);
	border-radius: 10px;
	margin-bottom: 1rem;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.faq-question {
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.faq-question h3 {
	margin: 0;
	font-size: 1.1rem;
}

.faq-question i {
	transition: transform 0.5s ease;
}

.faq-question i:hover {
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.faq-item.activef .faq-question i {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 1.5rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.activef .faq-answer {
	padding: 1.5rem;
	max-height: 1000px;
	opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate {
	animation: fadeInUp 1.5s ease-out;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.container {
		max-width: 90%;
		padding: 0 12px;
	}
	.section {
		width: 100%;
		margin: 0;
	}
	.nav-toggle {
		display: flex;
		justify-content: space-between;
		background-color: var(--secondary-color);
		color: white;
		font-size: 1rem;
		align-items: center;
		text-align: center;
		padding: 2% 4%;
	}

	.nav-toggle:hover {
		background-color: var(--primary-color);
	}
	.nav-toggle i {
		font-size: 1.5rem;
		cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
	}

	.nav-toggle span {
		display: none;
	}

	.nav-brand span {
		display: block;
		font-size: 1.2rem;
	}

	.logo {
		width: 100%;
		object-fit: cover;
		height: 100%;
	}

	.nav-brand {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.pc-title {
		display: none !important;
	}

	.contact-us-btn {
		padding: 0.4rem 0.6rem;
		border-radius: 0.25rem;
		font-size: 1rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
	}

	.nav-links {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 1rem;
		text-align: center;
		width: fit-content;
	}

	.nav-links.active {
		display: flex;
	}

	.hero-content {
		flex-direction: column;
		gap: 1rem;
		padding: 0 !important;
	}

	.hero-gallery,
	.gallery-slider {
		width: 100% !important;
		height: 50vh;
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.about-grid,
	.camp-grid,
	.academics-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 2rem 0;
	}

	.hero-buttons {
		flex-direction: column;
	}

	.camp-gallery {
		grid-template-columns: 1fr;
	}

	.section h2 {
		font-size: 1.35rem;
	}

	p {
		font-size: 0.9rem;
	}

	.about-image img {
		width: 80%;
	}

	.about-content h3 {
		font-size: 1.1rem;
	}

	.about-content p {
		margin-bottom: 1rem;
		text-align: justify;
		align-items: self-start;
	}

	/* .key-highlights{
		grid-template-columns: 1fr;
	} */

	.highlight {
		padding: 1rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.highlight i {
		font-size: 0.9rem;
	}

	.highlight h4 {
		font-size: 0.9rem;
	}

	.highlight p {
		font-size: 0.65rem;
		margin-bottom: 0;
	}

	.feature-list {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.feature-list li {
		width: 100%;
		text-wrap: wrap;
	}

	.campus-features {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		align-items: center;
		justify-content: center;
	}
	.feature {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
	}
	.feature .icon {
		font-size: 1.25rem;
	}
	.feature .desc {
		font-size: 0.5rem;
	}

	.flex-container {
		flex-direction: column;
		gap: 1rem;
	}

	.rules {
		padding: 1rem;
	}

	.rules h3 {
		font-size: 1.2rem;
	}

	.rules li {
		font-size: 0.9rem;
		margin-bottom: 0.5rem;
	}

	.admission-wrapper {
		grid-template-columns: 1fr;
	}

	.card {
		padding: 1rem;
		margin-top: 0.8rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.admission-wrapper .card h3 {
		font-size: 1rem;
	}

	.documents-required ul {
		grid-template-columns: 1fr;
	}

	.documents-required li {
		padding: 0.5rem;
		align-items: center;
	}

	.timings-documents {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.download-btn {
		padding: 0.5rem 1.5rem;
		font-size: 0.9rem;
	}

	.faq-question h3 {
		font-size: 0.9rem;
	}

	.faq-item.activef .faq-answer {
		padding: 1rem;
		opacity: 1;
		font-size: 0.8rem;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1.2rem;
	}

	.facility-card {
		padding: 1.5rem;
	}
}

.mobile-title {
	display: none;
}
.fa-chevron-right:before {
	content: "\f061";
	right: -80px;
	position: absolute;
	background: green;
	width: 40px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	border-radius: 50%;
	color: white;
	font-weight: 700;
}

.fa-chevron-left:before {
	content: "\f060";
	left: -80px;
	position: absolute;
	background: green;
	width: 40px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	border-radius: 50%;
	color: white;
	font-weight: 700;
}

.fa-chevron-right:hover:before,
.fa-chevron-left:hover:before {
	background-color: whitesmoke;
	color: var(--primary-color);
	transform: scale(1.2);
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

@media screen and (max-width: 768px) {
	.fa-chevron-left:before,
	.fa-chevron-right:before {
		width: 25px;
	}

	.fa-chevron-left:before {
		left: -50px;
	}
	.fa-chevron-right:before {
		right: -50px;
	}
	.mobile-title {
		display: inline !important;
		cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
	}
	.nav-button {
		display: block !important;
	}
}

.chat-with-us {
	position: fixed;
	width: 60px;
	aspect-ratio: 1;
	background-color: #266644;
	color: #f2b528;
	bottom: 40px;
	right: 40px;
	z-index: 10000;
	outline: none;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 32px;
	text-align: center;
	transition: 200ms all ease-in;
}

.chat-with-us:hover {
	background-color: #2e7d32;
	color: #ffa000;
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.chat-with-us i:hover {
	cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

@media screen and (max-width: 768px) {
	.chat-with-us {
		width: 50px;
		font-size: 24px;
		bottom: 20px;
		right: 20px;
	}

	.navbar {
		padding: 0;
	}

	.navbar img {
		width: 50px;
	}
	.navbar span {
		font-size: 1rem;
	}

	.hero-content {
		flex-direction: column;
	}

	.hero-gallery {
		width: 100%;
	}

	.hero-gallery img {
		object-fit: cover;
		height: auto;
	}

	.hero-gallery {
		aspect-ratio: 16/9 !important;
	}

	.hero-content * {
		width: 100%;
	}
	.gallery-slider {
		width: 100%;
		margin-top: 0.8rem;
	}
}

@media screen and (max-width: 480px) {
	.pc-title {
		display: none;
	}
	.announcement-banner {
		padding: 10px;
		font-size: 0.9rem;
	}
	video {
		width: 100% !important;
	}
}

.nav-button {
	font-size: 2rem;
	color: red;
	outline: none;
	border: none;
	border-radius: 50%;
	background-color: transparent;
	position: absolute;
	top: 1rem;
	display: none;
}

/* Loader Styles */
.loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #e2ffed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 999999;
}

.books-stack {
	position: relative;
	width: 120px;
	height: 100px;
}

.book-item {
	position: absolute;
	width: 100%;
	height: 20px;
	background: #2e7d32;
	border-radius: 3px;
	transform-origin: center;
	animation: stack-books 1.5s infinite ease-in-out;
}

.book-item:nth-child(1) {
	bottom: 0;
	background: #f2b528;
	animation-delay: 0.1s;
}

.book-item:nth-child(2) {
	bottom: 25px;
	background: #4caf50;
	animation-delay: 0.2s;
}

.book-item:nth-child(3) {
	bottom: 50px;
	background: #81c784;
	animation-delay: 0.3s;
}

.book-item:nth-child(4) {
	bottom: 75px;
	background: #2e7d32;
	animation-delay: 0.4s;
}

.loading-text {
	margin-top: 2rem;
	font-size: 1.2rem;
	color: #2e7d32;
	font-weight: bold;
	font-family: "Inter", sans-serif;
	position: relative;
}

.loading-text::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #f2b528;
	transform-origin: left;
	animation: fill-line 2s infinite;
}

@keyframes stack-books {
	0%,
	100% {
		transform: translateX(0) rotate(0deg);
	}
	25% {
		transform: translateX(-15px) rotate(-5deg);
	}
	75% {
		transform: translateX(15px) rotate(5deg);
	}
}

@keyframes fill-line {
	0% {
		transform: scaleX(0);
	}
	100% {
		transform: scaleX(1);
	}
}

/* Hide loader when content is loaded */
.loader-wrapper.hidden {
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s;
}

.carousel-inner {
	/* ...existing code... */
	transform: none !important;
}

.desc-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: #aaf3aa;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	text-align: left;
	padding: 0 0.5rem;
}

.gallery-slider .desc {
	font-size: 1rem;
	line-height: 1.4;
	color: white;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	scrollbar-width: thin;
	text-align: left;
	padding: 0 0.5rem;
	margin-right: 0.5rem;
	margin-top: 0.5rem;
}

.desc::-webkit-scrollbar {
	width: 4px;
}

.desc::-webkit-scrollbar-thumb {
	background: rgba(129, 199, 132, 0.5);
	border-radius: 2px;
}

@media screen and (max-width: 768px) {
	.description {
		height: auto;
		padding: 1rem;
	}

	.desc-title {
		font-size: 1.2rem;
		margin-bottom: 0.5rem;
	}

	.desc {
		font-size: 0.9rem;
	}

	.contact-form input,
	.contact-form textarea {
		width: 100%;
	}
}
/* Dropdown Button */
.faculty-dropdown-toggle {
    display: block;
    margin: 1rem auto;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Grid container */
.faculty-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* responsive grid */
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    text-align: center;
}

/* When visible */
.faculty-bottom.active {
    max-height: 3000px;
    opacity: 1;
    overflow: visible;
    padding-top: 1rem;
}

/* Faculty Card Styling */
.faculty-card.small {
    background-color: #e0f9e0;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.faculty-card.small:hover {
    transform: translateY(-4px);
}

.faculty-card.small img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 0.8rem;
}

.faculty-card.small .info h3 {
    font-size: 1rem;
    margin: 0.2rem 0;
}

.faculty-card.small .info .designation {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.faculty-card.small .info .contact {
    font-size: 0.85rem;
    color: #333;
}

/* Responsive Behavior */
@media screen and (max-width: 768px) {
    .faculty-bottom {
        width: 95%;
        gap: 1rem;
    }

    .faculty-dropdown-toggle {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .faculty-card.small {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .faculty-card.small img {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    .faculty-bottom {
        width: 100%;
    }

    .faculty-dropdown-toggle {
        width: 90%;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .faculty-card.small {
        padding: 0.7rem;
    }

    .faculty-card.small img {
        width: 70px;
        height: 70px;
    }
}

