*{
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}
.header{
	min-height: 100vh;
	width: 100%;
	background-image: linear-gradient(rgba(0, 1, 31, 0.7), rgba(0, 1, 31, 0.7)), url(images/banner01.jpg);
	background-position: center;
	background-size: cover;
	position: relative;
}
nav{
	display: flex;
	padding: 2% 6%;
	justify-content: space-between;
	align-content: center;
}
nav img{
	width: 150px;
}
.nav-links{
	flex: 1;
	text-align: right;
}
.nav-links ul li{
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
}
.nav-links ul li a{
	color: #fff;
	text-decoration: none;
	font-size: 13px;
}
.nav-links ul li::after{
	content: '';
	width: 0%;
	height: 2px;
	background: #FFC90E;
	display: block;
	margin: auto;
	transition: 0.5s;
}
.nav-links ul li:hover::after{
	width: 100%;
}
.text-box{
	width: 90%;
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
}
.text-box h1{
	font-size: 62px;
}
.text-box p{
	margin: 10px 0 40px;
	font-size: 14px;
	color: #fff;
}
.hero-btn{
	display: inline-block;
	text-decoration: none;
	color: #fff;
	border: 1px solid #fff;
	padding: 12px 34px;
	font-size: 13px;
	background: transparent;
	position: relative;
	cursor: pointer;
}
.hero-btn:hover{
	border: 1px solid #FFC90E;
	background: #FFC90E;
	transition: 1s;
}

nav .fa{
	display: none;
}
@media(max-width: 700px){
	.text-box h1{
		font-size: 20px;
	}
	.nav-links ul li{
		display: block;
	}
	.nav-links{
		position: fixed;
		background: #FFC90E;
		height: 100vh;
		width: 200px;
		top: 0;
		right: -200px;
		text-align: left;
		z-index: 2;
		transition: 1s;
	}
	nav .fa{
		display: block;
		color: #fff;
		margin: 10px;
		font-size: 22px;
		cursor: pointer;
	}
	.nav-links ul{
		padding: 30px;
	}
}

/*----More button---*/
 /* Style for the dropdown button */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown button {
            background-color: rgba(0, 0, 255, 0);
            color: #fff;
            font-size: 16px;
            border: none;
            cursor: pointer;
        }

        /* Dropdown menu styling */
		.dropdown-content {
            display: none;
            position: absolute;
            left: 50%; /* Align horizontally to the center */
            transform: translateX(-50%); /* Center-align */
            top: 100%; /* Position at the bottom of the button */
            background-color: rgba(0, 0, 255, 0.3);
            min-width: 150px;
            max-height: 200px; /* Set a max height for scrolling */
            overflow-y: auto; /* Enable vertical scrolling */
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 1;
            border-radius: 8px; /* Optional for rounded corners */
        }

        .dropdown-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .dropdown-content a:hover {
            background-color: #FFC90E;
        }

        .dropdown.show .dropdown-content {
            display: block;
        }

/*-----admisions-----*/
.admisions{
	width: 80%;
	margin: auto;
	text-align: center;
	padding-top: 100px;
}
h1{
	color: #FFC90E;
	font-size: 36px;
	font-weight: 600;
}

p{
	color: #B97A57;
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
	padding: 10px;
}

.row{
	margin-top: 5%;
	display: flex;
	justify-content: space-between;
}
.admisions-infor{
	flex-basis: 31%;
	background: #fff3f3;
	border-radius: 10px;
	margin-bottom: 5%;
	padding: 20px 12px;
	box-sizing: border-box;
	transition: 0.5s;
}
h3{
	text-align: center;
	font-weight: 600;
	margin: 10px 0;
}
.admisions-infor:hover{
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}
@media(max-width: 700px){
	.row{
		flex-direction: column;
	}
}

/*------ campus ------*/
.campus{
	width: 80%;
	margin: auto;
	text-align: center;
	padding-top: 50px;
}
.campus-col{
	flex-basis: 32%;
	border-radius: 10px;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
}
.campus-col img{
	width: 100%;
	display: block;
}
.layer{
	background: transparent;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: 0.5s;
}
.layer:hover{
	background: rgba(255, 201, 14, 0.7);
}
.layer h3{
	width: 100%;
	font-weight: 500;
	color: #fff;
	font-size: 26px;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	position: absolute;
	transition: 0.5s;
}
.layer:hover h3{
	bottom: 49%;
	opacity: 1;
}

/*----- Other institutes -----*/
.institutes{
	width: 80%;
	margin: auto;
	padding-top: 100px;
	text-align: center;
}
.institutes-col{
	flex-basis: 44%;
	border-radius: 10px;
	margin-bottom: 5%;
	text-align: left;
	background: rgba(25, 29, 82, 0.2);
	padding: 25px;
	cursor: pointer;
	display: flex;
}

.institutes-col img{
	height: 40px;
	margin-left: 50px;
	margin-right: 30px;
	border-radius: 50%;
}
.institutes-col p{
	padding: 0;
}
.institutes-col h3{
	margin-top: 15px;
	text-align: left;
}

@media(max-width: 700px){
	.institutes-col img{
		margin-left: 0px;
		margin-right: 15px;
	}
}


/*------ facilities ------*/
.facilities{
	width: 80%;
	margin: auto;
	text-align: center;
	padding-top: 100px;
}
.facilities-col{
	flex-basis: 31%;
	border-radius: 10px;
	margin-top: 5%;
	text-align: left;

}
.facilities-col img{
	width: 100%;
	border-radius: 10px;
}
.facilities-col p{
	padding: 0;
}
.facilities-col h3{
	margin-top: 16px;
	margin-bottom: 15px;
	text-align: left;
}

/*----- Students Testimonials -----*/

.testimonials{
	width: 80%;
	margin: auto;
	padding-top: 100px;
	text-align: center;
}
.testimonials-col{
	flex-basis: 44%;
	border-radius: 10px;
	margin-bottom: 5%;
	text-align: left;
	background: rgba(255, 215, 0, 0.2);
	padding: 25px;
	cursor: pointer;
	display: flex;
}

.testimonials-col img{
	height: 40px;
	margin-left: 50px;
	margin-right: 30px;
	border-radius: 50%;
}
.testimonials-col p{
	padding: 0;
}
.testimonials-col h3{
	margin-top: 15px;
	text-align: left;
}
.testimonials-col .fa{
	color: #FFC90E;
}
@media(max-width: 700px){
	.testimonials-col img{
		margin-left: 0px;
		margin-right: 15px;
	}
}

/*---------- Call To Action (cta) ----------*/
.cta{
	margin: 100px auto;
	width: 80%;
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/call.jpg);
	background-position: center;
	background-size: cover;
	border-radius: 10px;
	text-align: center;
	padding: 100px 0;
}
@media(max-width: 700px){
	.cta h1{
		font-size: 24px;
	}
}


/*---------- Footer ----------*/
.footer{
	width: 100%;
	text-align: center;
	padding: 30px 0;
	background-color: #FFC90E;
}
.footer h4{
	margin-bottom: 10px;
	margin-top: 10px;
	font-weight: 600;
}
.icons{
	margin-top: 0;
}
.icons .fa{
	color: #ED1C24;
	margin: 0 13px;
	cursor: pointer;
	padding: 18px 0;
}
.fa-smile-o{
	color: #FFC90E;
}

/*------------------------------ about us page ------------------------------*/
.sub-header{
	height: 50vh;
	width: 100%;
	background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/aboutbackg.jpg);
	background-position: center;
	background-size: cover;
	text-align: center;
	color: #fff;
}
.sub-header h1{
	margin-top: 60px;
}

.about-us{
	width: 80%;
	margin: auto;
	padding-top: 80px;
	padding-bottom: 50px;
}
.about-col{
	flex-basis: 48%;
	padding: 30px 2px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}
.about-col img{
	width: 100%;
	border-radius: 10px;
}

.about-col h1{
	padding-top: 0;
}
.about-col p{
	padding: 15px 0 25px;
}

.red-btn{
	border: 1px solid #FFC90E;
	background: transparent;
	color:#FFC90E;
}
.red-btn:hover{
	color: #fff;
}

/*------- accademics --------*/

.sub-header2{
	height: 50vh;
	width: 100%;
	background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/accademicsbackg.png);
	background-position: center;
	background-size: cover;
	text-align: center;
	color: #fff;
}
.sub-header2 h1{
	margin-top: 50px;
}

				/*----Image Slider----*/
/* General styling */
* {
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}

/* Slider container */
.slider-container {
	display: flex;
	flex-wrap: wrap; /* Allows stacking on small screens */
	width: 70%;
	height: 40vh;
	gap: 20px;
	background-color: white;
	border-radius: 10px;
	padding: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin: auto;
}

/* Slider */
.slider {
	display: flex;
	flex: 2; /* Takes more space than the description */
	gap: 10px; /* Space between images */
	overflow-x: auto;
	scroll-snap-type: x mandatory; /* Enables snapping behavior */
	height: 100%;
	border-radius: 10px;
}

/* Hides the scrollbar */
.slider::-webkit-scrollbar {
	display: none;
}

/* Images */
.slider img {
	height: 100%;
	flex: 0 0 auto; /* Prevent images from shrinking */
	scroll-snap-align: center; /* Align image to the center on scroll */
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Description */
.description {
	flex: 1; /* Takes less space than the slider */
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 10px;
}

.description h1 {
	margin: 0;
}

.description p {
	line-height: 1.5;
}

/* Media query for small screens */
@media (max-width: 700px) {
	.slider-container {
		flex-direction: column;
		height: auto; /* Allow height to adjust naturally */
	}

	.slider, .description {
		flex: 1; /* Equal space for both sections */
	}

	.slider img {
		width: 100%;
		height: auto; /* Adjust height for small screens */
	}

	.description {
		text-align: center;
	}
}
			/*----End of Image Slider----*/

/*---- accademics information ----*/

/*----------sports------*/
.sports-section {
    margin: 50px auto;
    width: 80%;
    text-align: center;
    color: #333;
}

/* Scrollable image gallery */
.scroll-gallery {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
}
.scroll-gallery img {
    width: 50%; /* Default to 50% of the container width */
    height: auto; /* Maintain aspect ratio */
    max-width: 200px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.scroll-gallery img:hover {
    transform: scale(1.1);
}

/* Sports section cards */
.sport-section {
    margin-top: 30px;
}
.sport {
    display: flex;
    flex-direction: column;
    background: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.sport img {
    width: 100%;
    height: auto; /* Responsive height */
    max-height: 200px;
    object-fit: cover;
}
.sport-content {
    padding: 15px;
    text-align: left;
}
.sport-content h2 {
    font-size: 1.5rem;
    color: #FFC90E;
    margin-bottom: 10px;
}
.sport-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive Design */
@media (max-width: 700px) {
    .scroll-gallery img {
        width: 50%; /* Scale images to 50% of the viewport on small screens */
        max-width: none; /* Remove max-width for scaling flexibility */
    }

    .sport {
        margin-bottom: 20px;
    }

    .sport-content h2 {
        font-size: 1.2rem; /* Slightly smaller headings */
    }

    .sport-content p {
        font-size: 0.9rem; /* Slightly smaller text for readability */
    }
}
			/*---------sports-cta----------*/
.sports-cta{
	margin: 100px auto;
	width: 80%;
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/sports-cta.jpg);
	background-position: center;
	background-size: cover;
	border-radius: 10px;
	text-align: center;
	padding: 100px 0;
}
@media(max-width: 700px){
	.sports-cta h1{
		font-size: 24px;
	}
}


/*-------------Extra Curricular Activities--------------*/
.extra-curricular {
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #FFC90E;
    margin-bottom: 10px;
}

.section-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.activities-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.activity {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-wrap: wrap;
}

.activity-content {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.activity-title {
    font-size: 1.8rem;
    color: #FFC90E;
    margin-bottom: 10px;
}

.activity-info {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.activity-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0 10px 10px 0;
}

/* Responsive Design */
@media (max-width: 700px) {
    .activities-container {
        gap: 20px;
    }

    .activity {
        flex-direction: column;
        text-align: center;
    }

    .activity-image img {
        border-radius: 0 0 10px 10px;
    }

    .activity-content {
        padding: 15px;
    }

    .activity-title {
        font-size: 1.5rem;
    }

    .activity-info {
        font-size: 0.95rem;
    }
}

/*---------Staff-------------------*/

.our-team {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 20px auto;
  line-height: 1.6;
}

.team-title {
  color: #FFC90E;
  font-size: 24px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.team-description {
  color: #333;
  font-size: 16px;
  text-align: justify;
}
			/*---------staff---cards------*/

container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: center;
    background-color: #FFC90E;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.card-position {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.card-contact {
    font-size: 1rem;
    color: #777;
}

/* Principal's Card Style */
.principal {
    max-width: 40%;
    margin: auto;
}

.principal .card-image {
    height: 300px;
}

/* Card Group for Others */
.card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 700px) {
    .principal .card-image {
        height: 250px;
    }

    .card-image {
        height: 150px;
    }
}


/*--------------contuct us page------------------*/
.location{
	width: 80%;
	margin: auto;
	padding: 80px 0;
}
.location iframe{
	width: 100%;
}
.contact-us{
	width: 80%;
	margin: auto;
}

.contact-col{
	flex-basis: 48%;
	margin-bottom: 30px;
}
.contact-col div{
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}
.contact-col div .fa{
	font-size: 28px;
	color: #FFC90E;
	margin: 10px;
	margin-right: 30px;
}
.contact-col div p{
	padding: 0;
}
.contact-col div h5{
	font-size: 20px;
	margin-bottom: 5px;
	color: #555;
	font-weight: 400;
}
.contact-col input, .contact-col textarea{
	width: 100%;
	padding: 15px;
	margin-bottom: 17px;
	outline: none;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

/*-------- blog page content -------*/
	
	/*-------video and picture gallery ---------*/

.gallery-section {
    width: 80%;
    margin: 30px auto;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #FFC90E;
}
.image-gallery p{
	text-align: center;
}
.image-gallery{
	padding-top: 40px;
}

.scroll-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}
.scroll-gallery img {
    width: 100%; /* Ensures the image stretches across the container width */
    height: auto; /* Maintains aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: center;
    transition: transform 0.3s ease; /* Smooth scale transition */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scroll-gallery img:hover {
    transform: scale(1.1); /* Enlarges the image by 10% on hover */
}

.scroll-gallery iframe {
    scroll-snap-align: center;
    flex: 0 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.scroll-gallery iframe:hover {
    transform: scale(1.05);
}

/* Media query for responsiveness */
@media (max-width: 700px) {
    .scroll-gallery img, .scroll-gallery iframe {
        width: 80%;
        height: auto;
    }

    .gallery-section h2 {
        font-size: 1.5rem;
    }
}

	/*------- blog content1 -------*/
.blog-content{
	width: 80%;
	margin: auto;
	padding: 60px 0;
} 
.blog-left{
	flex-basis: 65%;
}
.blog-left img{
	width: 100%;
}
.blog-left h2{
	color: #FFC90E;
	font-weight: 600;
	margin: 30px 0;
}
.blog-left p{
	color: #999;
	padding: 0;
}
.blog-right{
	flex-basis: 32%;
}
.blog-right h3{
	background: #FFC90E;
	color: #fff;
	padding: 7px 0;
	font-size: 16px;
	margin-bottom: 20px;
}
.blog-right div{
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #555;
	padding: 8px;
	box-sizing: border-box;
}
.comment-box{
	border: 1px solid #ccc;
	margin: 50px 0;
	padding: 10px 20px;
}
.comment-box h3{
	text-align: left;
}
.comment-form input, .comment-form textarea{
	width: 100%;
	padding: 10px;
	margin: 15px 0;
	box-sizing: border-box;
	border: none;
	outline: none;
	background: #f0f0f0;
}
.comment-form button{
	margin: 10px 0;
}

@media(max-width:700px){
	.sub-header{
		font-size: 24px;
	}
}
@media(max-width:700px){
	.sub-header2{
		font-size: 24px;
	}
}

/* ---------- hostel information ---------- */
/* ---------- Hostel Information ---------- */
.hostel-info {
    width: 80%;
    margin: 50px auto;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hostel-title {
    font-size: 2rem;
    color: #FFC90E;
    margin-bottom: 20px;
}

.hostel-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hostel-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    flex-basis: 30%;
    text-align: left;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature h3 {
    font-size: 1.5rem;
    color: #FFC90E;
    margin: 15px 10px 10px;
}

.feature p {
    font-size: 1rem;
    color: #555;
    margin: 0 10px 15px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 700px) {
    .hostel-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature {
        flex-basis: 100%;
    }

    .hostel-title {
        font-size: 1.8rem;
    }

    .hostel-description {
        font-size: 1rem;
    }
}
