/* Hero slider full height */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Carousel items full screen */
.hero-slider .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Dark overlay for better text contrast */
.hero-slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Center caption vertically */
.hero-slider .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: center;
}

/* Heading style */
.hero-slider h1 {
  font-size: 3rem;
  font-weight: bold;
}

/* Paragraph style */
.hero-slider p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Button style */
.hero-slider .btn {
  padding: 12px 30px;
  font-size: 1rem;
}

/* Responsive text */
@media (max-width: 768px) {
  .hero-slider h1 {
    font-size: 2rem;
  }
  .hero-slider p {
    font-size: 1rem;
  }
}
/* Full screen hero slider */
.hero-slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Each slide full height */
.hero-slider .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Black overlay */
.hero-slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Center text */
.hero-slider .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: center;
}

/* Heading */
.hero-slider h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

/* Paragraph */
.hero-slider p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Button */
.hero-slider .btn {
  padding: 12px 35px;
  font-size: 1rem;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider h1 {
    font-size: 2rem;
  }
  .hero-slider p {
    font-size: 1rem;
  }
}
.services-section {
  background: #f8f9fa;
}

/* Paragraph center width */
.services-desc {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

/* Service box */
.service-box {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Hover effect */
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Icon */
.service-icon i {
  font-size: 40px;
  color: #0d6efd;
}

/* Service image */
.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 15px;
}
.projects-section {
  background: #f8f9fa;
}

/* Paragraph */
.projects-desc {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  color: #555;
}

/* Project Box */
.project-box {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Image Size */
.project-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
}

/* Hover Effect */
.project-box:hover .project-overlay {
  opacity: 1;
}

.project-box:hover .project-img {
  transform: scale(1.1);
}

/* Staggered Layout */
.project-up {
  margin-top: -40px;
}

.project-down {
  margin-top: 40px;
}
/* Navbar Style */
.custom-navbar {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 10px 0;
  transition: 0.3s ease;
}

/* Navbar Links */
.navbar-nav .nav-link {
  font-weight: 600;
  margin: 0 12px;
  color: #333 !important;
  position: relative;
}

/* Hover underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d6efd;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Contact Button */
.contact-btn {
  padding: 8px 20px;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #000;
  border-color: #000;
}

/* Sticky Navbar space fix */
body {
  padding-top: 80px;
}
.center-map-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* Map Box Center */
.center-map-box {
  
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

/* Hover effect */
.center-map-box:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}

/* Map iframe */
.center-map-box iframe {
  width: 100%;
  height: 400px;
  border: 0;
}


.footer-section {
  background: #111;
  color: #fff;
  padding: 60px 0 20px;
}

/* Logo */
.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

/* Text */
.footer-text {
  color: #bbb;
  font-size: 0.95rem;
}

/* Titles */
.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #0d6efd;
  position: absolute;
  left: 0;
  bottom: -5px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #0d6efd;
  padding-left: 6px;
}

/* Social Icons */
.footer-social a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: #222;
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  margin-right: 8px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #0d6efd;
  transform: translateY(-5px);
}

/* Newsletter */
.newsletter-box {
  display: flex;
  margin-top: 10px;
}

.newsletter-box input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.newsletter-box button {
  background: #0d6efd;
  border: none;
  padding: 10px 15px;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-box button:hover {
  background: #000;
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  color: #aaa;
  font-size: 0.9rem;
}

/* Scroll To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0d6efd;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  font-size: 18px;
  display: none;
  cursor: pointer;
  transition: 0.3s;
}

#scrollTopBtn:hover {
  background: #000;
}

/* our services */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.teacher-card img {
  transition: 0.4s;
}

.teacher-card:hover img {
  transform: scale(1.1);
}
.service-box:hover {
  background: #0d6efd;
  color: white;
  transform: translateY(-10px);
  transition: 0.3s;
}
.custom-navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.about-section h2 {
  font-size: 32px;
}

.about-section p {
  font-size: 16px;
  color: #555;
}

.about-section img {
  max-width: 100%;
}
.services-section h2 {
  font-size: 32px;
}

.service-box {
  transition: 0.3s;
  border-radius: 15px;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 40px;
}
.faculty-card {
  transition: 0.3s;
  border-radius: 15px;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faculty-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0d6efd;
}

/* Gallery Section */
.gallery-box img {
  width: 100%;
  border-radius: 12px;
  transition: 0.3s;
}
.gallery-box img:hover {
  transform: scale(1.05);
}

/* Infrastructure Section */
.infra-box {
  background: #fff;
  border-radius: 12px;
  transition: 0.3s;
}
.infra-box:hover {
  transform: translateY(-5px);
}
.infra-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.gallery-box img{
  cursor:pointer;
  border-radius:12px;
  transition:0.4s;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
.gallery-box img:hover{
  transform:scale(1.05);
}
.modal-body img{
  border-radius:8px;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
}
body{
  padding-top:80px;
  background:#f8f9fa;
}

.gallery-box img{
  cursor:pointer;
  border-radius:12px;
  transition:0.4s;
  box-shadow:0 8px 20px rgba(0,0,0,0.2);
}
body{
  padding-top:80px;
  background:#f5f7fa;
}

/* Gallery Front Boxes */
.gallery-box{
  overflow:hidden;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  transition:0.4s;
}
.gallery-box img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:0.5s;
  cursor:pointer;
}
.gallery-box:hover img{
  transform:scale(1.1);
}

/* Popup Gallery Images */
.modal-body img{
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
  transition:0.3s;
}
.modal-body img:hover{
  transform:scale(1.05);
}
body{
  padding-top:90px; /* navbar fixed hai */
  background:#f5f7fa;
}

/* Gallery Design */
.gallery-box{
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 10px 20px rgba(0,0,0,0.2);
  transition:0.4s;
}
.gallery-box img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:0.5s;
}
.gallery-box:hover img{
  transform:scale(1.1);
}

/* Horizontal Gallery Scroll */
.gallery-scroll{
  display:flex;
  gap:15px;
  overflow-x:auto;
  padding:10px;
  scroll-behavior:smooth;
}

/* Hide Scrollbar */
.gallery-scroll::-webkit-scrollbar{
  display:none;
}

/* Circle Image Box */
.gallery-auto-section{
  background:#f8f9fa;
}

/* Slider Main Box */
.gallery-slider{
  width:100%;
  overflow:hidden;
  padding:20px 0;
}

/* Track */
.gallery-track{
  display:flex;
  width:max-content;
  animation: scrollGallery 25s linear infinite;
}

/* Circle Images */
.circle-box{
  width:120px;
  height:120px;
  border-radius:50%;
  border:4px solid #0d6efd;
  overflow:hidden;
  margin-right:15px;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
  transition:0.3s;
}

.circle-box img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Hover Effect */
.circle-box:hover{
  transform:scale(1.1);
  border-color:red;
}

/* Animation */
@keyframes scrollGallery{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}


/* ================= FOOTER SECTION ================= */

.footer-section{
  background:#0b0f19;
  color:#fff;
  padding:60px 0 20px 0;
  margin-top:80px;
}

.footer-logo{
  height:55px;
  margin-bottom:15px;
}

.footer-text{
  font-size:14px;
  color:#cfcfcf;
  line-height:1.6;
}

/* Footer Titles */
.footer-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:15px;
  color:#fff;
}

/* Footer Links */
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:8px;
}

.footer-links a{
  color:#cfcfcf;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.footer-links a:hover{
  color:#0d6efd;
  padding-left:5px;
}

/* Social Icons */
.footer-social a{
  color:#fff;
  font-size:20px;
  margin-right:12px;
  transition:0.3s;
}

.footer-social a:hover{
  color:#0d6efd;
  transform:scale(1.2);
}

/* Newsletter */
.newsletter-box{
  display:flex;
  gap:8px;
}

.newsletter-box input{
  width:100%;
  padding:8px 10px;
  border:none;
  border-radius:5px;
  outline:none;
}

.newsletter-box button{
  background:#0d6efd;
  color:white;
  border:none;
  padding:8px 15px;
  border-radius:5px;
  cursor:pointer;
}

/* Footer Bottom */
.footer-bottom{
  border-top:1px solid #222;
  margin-top:25px;
  padding-top:15px;
  font-size:14px;
  color:#aaa;
  text-align:center;
}

/* Scroll Top Button */
#scrollTopBtn{
  position:fixed;
  bottom:25px;
  right:25px;
  background:#0d6efd;
  color:white;
  border:none;
  padding:10px 12px;
  border-radius:50%;
  font-size:20px;
  cursor:pointer;
  display:none;
  z-index:9999;
}
.contact-section {
  background: #f8f9fa;
}

.contact-section input,
.contact-section textarea {
  border-radius: 8px;
}

.contact-section .btn-primary {
  padding: 12px;
  font-size: 18px;
  border-radius: 8px;
}

.contact-hero {
  background: url("image/student10.jpg") no-repeat center center/cover;
  height: 250px;
  position: relative;
}

/* Dark Overlay */
.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Text Center */
.hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay h1 {
  color: #3fd47c; /* green color */
  font-size: 48px;
  font-weight: bold;
}

.about-hero {
  background: url("image/student12.jpg") no-repeat center center/cover;
  height: 250px;
  position: relative;
}

/* Dark overlay */
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

/* Center Text */
.about-hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-overlay h1 {
  color: #3fd47c;
  font-size: 48px;
  font-weight: bold;
}

.services-hero {
  background: url("image/schoolfunction10.webp") no-repeat center center/cover;
  height: 250px;
  position: relative;
}

/* Dark overlay */
.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Center text */
.services-hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero-overlay h1 {
  color: #3fd47c;
  font-size: 48px;
  font-weight: bold;
}

.faculty-hero {
  background: url("image/teacher2.avif") no-repeat center center/cover;
  height: 250px;
  position: relative;
}

/* Dark overlay */
.faculty-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Center text */
.faculty-hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-hero-overlay h1 {
  color: #3fd47c;
  font-size: 48px;
  font-weight: bold;
}

.gallery-hero {
  background: url("image/student14.jpg") no-repeat center center/cover;
  height: 250px;
  position: relative;
}

/* Dark overlay */
.gallery-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Center text */
.gallery-hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-hero-overlay h1 {
  color: #3fd47c;
  font-size: 48px;
  font-weight: bold;
}

.infra-hero {
  background: url("image/teacher4.jpg") no-repeat center center/cover;
  height: 250px;
  position: relative;
}

/* Dark Overlay */
.infra-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Center Text */
.infra-hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infra-hero-overlay h1 {
  color: #3fd47c;
  font-size: 48px;
  font-weight: bold;
}

