*{
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}
.header{
	min-height: 100vh;
	width: 100%;
	background-image: linear-gradient(rgba(53, 128, 187, 0.2), rgba(53, 128, 187, 0.2)), url(images/legacy.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: #29062B;
	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;
	color:#AC18B8;
}
.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; #0019FF
	cursor: pointer;
}
.hero-btn:hover{
	border: 1px solid #AC18B8;
	background: #AC18B8;
	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: #AC18B8;
		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;
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .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;
        }

/* welcome and intro*/
/* Modern Welcome Section */
.welcome-cont-modern {
    background: linear-gradient(135deg, #f9f9ff 0%, #e8eaf6 100%);
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    transition: all 0.3s ease-in-out;
    max-width: 1100px;
}

.welcome-cont-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.welcome-content h1 {
    font-size: 2.5rem;
    color: #4a148c; /* Deep purple */
    text-align: center;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.welcome-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.2rem;
    text-align: center;
}

.welcome-content strong {
    color: #6a1b9a; /* Purple accent */
}

.welcome-highlight {
    font-size: 1.25rem;
    color: #4a148c;
    font-weight: 600;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 2rem;
    }

    .welcome-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-content h1 {
        font-size: 1.5rem;
    }

    .welcome-content p {
        font-size: 0.95rem;
    }
}

/*welcome and intro*/     

/*-----admisions-----*/
.admisions{
	width: 80%;
	margin: auto;
	text-align: center;
	padding-top: 100px;
}
h1{
	color: #AC18B8;
	font-size: 36px;
	font-weight: 600;
}

p{
	color: #1C1C1C;
	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: rgba(72, 175, 255, 0.1);
	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;
	}
}

/*----Application-Forms----*/
.application-section {
  background: linear-gradient(135deg, rgba(72, 175, 255, 0.1), #0056b3);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.app-container {
  max-width: 1000px;
  display: flex;
  gap: 40px;
  align-items: center;
  background: rgba(72, 175, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.app-logo img {
  max-width: 150px;
  height: auto;
}

.app-content {
  flex: 1;
}

.app-content h2 {
  font-size: 2em;
  color:  #AC18B8;
  margin-bottom: 15px;
}

.dynamic-text {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 25px;
}

.apply-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.apply-button:hover {
  background-color: #e68900;
}

/* Animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .notice-card {
        padding: 1.25rem;
    }

    .notice-card h2 {
        font-size: 1.25rem;
    }

    .notice-card p {
        font-size: 0.95rem;
    }
}

  
/*------ campus ------*/
.campus {
    width: 90%;
    margin: auto;
    text-align: center;
    padding: 4rem 1rem;
}

.campus h1 {
    font-size: 2.5rem;
    color:  #AC18B8;
    margin-bottom: 0.8rem;
}

.campus p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.campus-col {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.campus-col:hover {
    transform: scale(1.02);
}

.campus-col img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(72, 175, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
    padding: 1rem;
    text-align: center;
}

.layer h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.campus-col:hover .layer {
    background: rgba(72, 175, 255, 0.3);
}

.campus-col:hover .layer h3 {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive text */
@media (max-width: 480px) {
    .campus h1 {
        font-size: 1.75rem;
    }

    .campus p {
        font-size: 1rem;
    }

    .layer h3 {
        font-size: 1.25rem;
    }
}

/*----- 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(72, 175, 255, 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(72, 175, 255, 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(53, 128, 187, 0.2), rgba(53, 128, 187, 0.2)), url(images/cta.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: #000212;
}
.footer h4{
	margin-bottom: 10px;
	margin-top: 10px;
	font-weight: 600;
	color: #fff;
}
.footer p{
	color: #fff;
}
.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(53, 128, 187, 0.2), rgba(53, 128, 187, 0.2)), url(images/legacy.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(53, 128, 187, 0.2), rgba(53, 128, 187, 0.2)), url(images/legacy.JPG);
	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----*/


/*--prize giving infor--*/
/*--end prize giving */
/*---- 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: #AC18B8;
    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/cta.JPG);
	background-position: center;
	background-size: cover;
	border-radius: 10px;
	text-align: center;
	padding: 100px 0;
	p{
		color: #fff;
	}
}
@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: #AC18B8;
    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: #AC18B8;
    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: #AC18B8;
	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 -------*/

		/* Your existing CSS */
	
		/* Custom scrollbar for better aesthetics, optional */
		::-webkit-scrollbar {
			width: 8px;
		}
		::-webkit-scrollbar-track {
			background: #e2e8f0;
			border-radius: 10px;
		}
		::-webkit-scrollbar-thumb {
			background: #94a3b8;
			border-radius: 10px;
		}
		::-webkit-scrollbar-thumb:hover {
			background: #64748b;
		}
	
		/* Modal specific styles - ADD THESE TO YOUR EXISTING <style> TAG */
		.modal {
			display: none; /* Hidden by default */
			position: fixed; /* Stay in place */
			z-index: 1000; /* Sit on top */
			left: 0;
			top: 0;
			width: 100%; /* Full width */
			height: 100%; /* Full height */
			overflow: auto; /* Enable scroll if needed */
			background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
			display: flex;
			align-items: center;
			justify-content: center;
		}
	
		.modal-content {
			margin: auto;
			display: block;
			max-width: 90%;
			max-height: 90%;
			object-fit: contain; /* Ensure image fits within bounds */
			border-radius: 0.75rem; /* rounded-xl */
			box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
		}
	
		.modal-caption {
			margin: auto;
			display: block;
			width: 80%;
			max-width: 700px;
			text-align: center;
			color: #ccc;
			padding: 10px 0;
			height: 150px; /* Adjust height for caption */
		}
	
		.modal-close {
			position: absolute;
			top: 15px;
			right: 35px;
			color: #f1f1f1;
			font-size: 40px;
			font-weight: bold;
			transition: 0.3s;
			cursor: pointer;
		}
	
		.modal-close:hover,
		.modal-close:focus {
			color: #bbb;
			text-decoration: none;
			cursor: pointer;
		}
		/* End of Modal specific styles */
	
	
	/*-------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: #AC18B8;
}
.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: #AC18B8;
	font-weight: 600;
	margin: 30px 0;
}
.blog-left p{
	color: #999;
	padding: 0;
}
.blog-right{
	flex-basis: 32%;
}
.blog-right h3{
	background: #AC18B8;
	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;
    }
}

/*------------------------------ School transport  ------------------------------*/
.sub-headert{
	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 #AC18B8;
	background: transparent;
	color:#AC18B8;
}
.red-btn:hover{
	color: #fff;
}
