body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
}


header {
  background: linear-gradient(to right, #e037a8, rgb(94, 20, 233));
  color: white;
  padding: 15px 0;
}

header img {
  width: 100px;
  height: 100px;
  border-radius: 50px;
}

.college-title h1 {
  font-size: 1.7rem;
  font-weight: 600;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.college-title p {
  font-size: 1.3rem;
  font-weight: 500;
}

.approved {
  color: #ffeb3b;
  font-weight: 600;
}
@media (max-width: 991px) {
  #navMenu {
    position: fixed;
    top: 0;
    left: -250px;        
    width: 220px;        
    background: linear-gradient(to bottom, #e037a8, #5e14e9);
    padding-top: 20px;
    padding-left: 20px;
    transition: left 0.3s ease;
    z-index: 1050;
    border-radius: 0 10px 10px 0;
    height: auto;        
  }

  #navMenu.show {
    left: 0;             
  }

  #navMenu .navbar-nav {
    flex-direction: column;
    gap: 15px;
  }

  .navbar-toggler {
    z-index: 1100;       
  }
}
.navbar {
  height: 80px;
  background: linear-gradient(to right,  #e037a8, rgb(94, 20, 233));
  
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.navbar-nav .nav-link {
  font: bolder;
  padding-left: 90px;
  
  font-family: 'Times New Roman', Times, serif;
  font-weight: 500;
  font-size: 22px;
  color: #000 !important;
  transition: 0.3s;
  box-shadow: #0077b5;
  border-radius: 30px;
  text-shadow: #c1ffc4;
  
}

.navbar-nav .nav-link:hover {
  font-size: 25px;
  
  color: #edb2e0 !important;
  text-shadow: 0 0 8px #fe007f;
}


.btn-apply {
  background: linear-gradient(to right, #e037a8, #5e14e9);
  color: white;
  border-radius: 30px;
  padding: 8px 20px;
  transition: 0.3s;
}

.btn-apply:hover {
  background: linear-gradient(to right, #5e14e9, #e037a8);
  transform: scale(1.05);
}

#home, .carousel-inner, .carousel-item, .college-container {
    width: 100%; 
    height: 500px; 
}


.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000; 
}
.about{
  margin-top: 45px;
}

.college-container {
  position: relative;
  overflow: hidden;
}


.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out; 
  backface-visibility: hidden;       
  z-index: 0;
}

.carousel-item.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}


.college-container img.college-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.77,0,0.175,1), 
  filter 0.8s cubic-bezier(0.77,0,0.175,1);
}


.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  pointer-events: none;
}


.college-container:hover img.college-img {
  filter: blur(2px) brightness(0.65);
  transform: scale(1.06);
}

.college-container:hover .hero-overlay {
  opacity: 1;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-overlay p {
  font-size: 1.5rem;
  margin-top: 10px;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}


.college-container:hover .hero-overlay h1,
.college-container:hover .hero-overlay p {
  transform: translateY(-5px);
}


@media (max-width: 768px) {
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay p { font-size: 1.1rem; }
}

.pip{
  font-size: 22px;
  font-family: 'Times New Roman', Times, serif;
}
.facilities-section {
  background-color: floralwhite;
  border-radius: 10px;
  padding: 40px 20px;
  box-shadow: 0 4px 10px rgba(14, 34, 214, 0.2);
}

.facilities-section h1 {
  text-align: center;
  justify-content: center;
  color: #d634a8;
  margin-bottom: 20px;
}

.facility-card {
  width: 360px;
  background: #fff;
  border-radius: 5px;
  text-align: center;
  padding: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px #512eff;
}
.facilities-grid{
  
  gap: 20px;
}

.facility-card:hover {
  background: linear-gradient(to right, #c1ffc4, skyblue);
  transform: translateY(-5px) scale(1.05);
}

.facility-card img {
  max-width: 100px;
  margin-bottom: 15px;
}

.faculty-section {
  width: 100%;
  padding: 50px 0;
}

.faculty-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #1e293b;
}

.faculty-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.faculty-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.faculty-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.65) contrast(1.1);
}

.faculty-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
}

.faculty-card:hover .faculty-overlay {
  opacity: 1;
  transform: translateY(0);
}

.faculty-overlay h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #38bdf8;
  margin-bottom: 5px;
}

.faculty-overlay p {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #e2e8f0;
  margin: 2px 0;
}


#teaching-staff {
background: linear-gradient(to right, #2b1055, #7597de);
margin-top: 30px;
border-radius: 20px;
}


#non-teaching-staff {
  margin-top: 60px;
  border-radius: 20px;
  background: linear-gradient(to right, #2b1055, #7597de);
}


.faculty-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #f9f9f9;
  margin-bottom: 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .faculty-card img {
    height: 180px;
  }
}


.carousel, .carousel-inner, .carousel-item {
    padding: 0;
    margin: 0;
}
#courses{
  width: 100%;
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(14, 34, 214, 0.2);
  position: relative;
  background-color:floralwhite
  
}


.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.course-card img {
  height: 170px;
  width: 400px;
  margin-left: 50px;
  transition: transform 0.5s ease;
}

.course-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.5);
}

.course-card .overlay {
  position: absolute;
  margin-left: 35px;
  top: 0;
  left: 0;
  width: 434px;
  height: 180px;
  background: rgba(30, 41, 59, 0.85);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease-in-out;
}

.course-card:hover .overlay {
  opacity: 1;
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.faculty-box {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.faculty-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.faculty-img {
  width: 100%;
  height: 300px;          
  object-fit: cover;       
  transition: transform 0.4s, filter 0.4s;
  border-radius: 15px;
}

.faculty-box:hover .faculty-img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

.faculty-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(224, 55, 168, 0.85);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  text-align: center;
  padding: 15px;
}

.faculty-box:hover .overlay {
  opacity: 1;
}

.faculty-box .overlay h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.faculty-box .overlay p {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
}


.contact {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 40px;
}


footer {
  width: 100%;
  height: 40px;
 background-color:floralwhite;


  text-align: center;
  padding:70px;
}

.social-icon {
  justify-content: center;
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  margin: 0 40px;
  transition: 0.3s;
  
}
.footer,h6{
  background-color:floralwhite;
  color: rgb(9, 9, 10);
}
.facebook {
   background: #3b5998; 
  }
.instagram {
   background: #e1306c;
 }
.twitter {
   background: #1da1f2;
   }
.linkedin {
   background: #0077b5; 
  }

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}


.event-section {
  width: 100%;
  max-width: 1800px;
  height: 500px;
  text-align: center;
  border-radius: 5px;
  background: linear-gradient(135deg, #324462 0%, #5f789a 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.event-section .heading h1 {
  font-size: 2.6rem;
  color: #e2e8f0;
  margin-top: 2%;
  margin-bottom: 0px;
  letter-spacing: 1px;
}
.event-section .heading .subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.event-section .slider {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  padding: 20px 0;
}
.event-section .slider::before,
.event-section .slider::after {
  content: "";
  position: absolute;
  width: 15%;
  height: 100%;
  top: 0;
  z-index: 2;
  pointer-events: none;
}
.event-section .slider::before {
  left: 0;
  background: linear-gradient(to right, #1e293b 0%, transparent 100%);
}
.event-section .slider::after {
  right: 0;
  background: linear-gradient(to left, #1e293b 0%, transparent 100%);
}
.event-section .slide-track {
    display: flex;
    width: calc(320px * 12);
    animation: eventScroll 35s linear infinite;
}
@keyframes eventScroll 
{
  0% {
     transform: translateX(0); 
    }
  100% { 
    transform: translateX(calc(-320px * 6));
   }
}
.event-section .slide {
  width: 400px;
  height: 200px;
  margin: 0 12px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.event-section .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.event-section .slide:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 50px rgba(255, 255, 255, 0.3);
}
.event-section .slide:hover img {
    transform: scale(1.1);
}
@media (max-width: 768px) {
.event-section .slide {
    width: 240px;
    height: 150px;
}
.event-section .slide-track {
    width: calc(240px * 12);
    animation-duration: 30s;
}
.event-section .heading h1 {
    font-size: 2rem;
}
}
@media (max-width: 480px) {
  .event-section .slide {
    width: 180px;
    height: 120px;
}
.event-section .slide-track {
    width: calc(180px * 12);
    animation-duration: 25s;
}
.event-section .heading h1 {
     font-size: 1.6rem;
}
}