 
:root {
  --primary: #e21e26;
  --light: #f5f5f5;
  --dark: #0a2342;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  transition: 0.5s;
  border-radius: 50px;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
  border-radius: 50px;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  outline: none;
}




.contact-btn {
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
}

 
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .dropdown-menu.fade-down {
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** About Dropdown ***/
 /* Submenu container */
.dropdown-submenu {
  position: relative;
}

/* Hidden by default */
.dropdown-submenu .dropdown-menus {
  display: none;
  position: absolute;
  background-color: white;
  padding: 7px 0px;
  top: 0;
  left: 100%; /* right side open */
  margin-left: 0.2rem;
}

/* Show on hover */
.dropdown-submenu:hover .dropdown-menus {
  display: block;
}


.dropdown-submenu:hover .dropdown-menus {
  display: block;
}

.dropdown-menu {
  animation: dropdownAnimation 0.2s ease-in-out;
}

@keyframes dropdownAnimation {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*** Header carousel ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
 .header-carousel .owl-carousel-item{
  position: relative;
  height: 90vh;
 }
.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  padding: 10px 12px 8px 10px;
  border-radius: 50%;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(24, 29, 56, 0.7), rgba(24, 29, 56, 0.7)),
    url(../img/campus/header-img1.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}
/*=======================CROSEL=====================*/


/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** Service ***/
.service-item {
  background: var(--light);
  transition: 0.5s;
  height: 250px;
  border-radius: 12px;
  border: 1px solid white;
}

.service-item:hover {
  margin-top: -10px;
  background: var(--primary);
  box-shadow: 0px 28px 16px rgb(77, 87, 222, 0.3);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  color: var(--light) !important;
}

/*** Categories & Courses ***/
.category img,
.course-item img {
  transition: 0.5s;
}

.category a:hover img,
.course-item:hover img {
  transform: scale(1.1);
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
  color: #181d38 !important;
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
  border-radius: 16px;
}
.team-item {
  border-radius: 16px;
  padding: 4px;
}

.team-item:hover img {
  transform: scale(1.1);
}

/* Notice box styling */
.notice-list .notice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-left: 4px solid #666;
  border-radius: 5px;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Left border animation */
.notice-list .notice-item:hover {
  background: #f1f6ff;
  transform: translateX(5px);
  border-left-color: #1568e4;
}

/* animated icon */
.notice-icon {
  font-size: 20px;
  transition: 0.3s ease;
}

.notice-item:hover .notice-icon {
  transform: scale(1.2) rotate(-5deg);
}

/* smooth text movement */
.notice-item span {
  transition: 0.3s ease;
}

/* badge animation */
.notice-item .badge {
  transition: 0.3s ease;
  transform: scale(1);
  letter-spacing: .7px;
}

.notice-item:hover .badge {
  transform: scale(1.1);

}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #cccccc;
  transition: 0.5s;
  border-radius: 50px;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}
 
/* ================================================================ABOUT PAGE =================================================*/
.section-points p{
  font-size: 14px;
}

/*---MISSSION AND VISION-----*/
.icon-box {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
}

.mission-box,
.vision-box {
  border-radius: 12px;
  transition: 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 28px 16px rgb(231, 231, 231);
}

/*---INFRA SECTION -----*/
.infra-box {
  border-radius: 12px;
  transition: 0.3s ease;
}

.infra-box:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 0.5rem 1rem rgba(77, 87, 222, 0.3) !important;
}

.infra-box i {
  transition: 0.3s ease;
}

.infra-box:hover i {
  color: #181d38 !important;
  transform: scale(1.15);
}

  
/*------GENERAL INFORMATION--------------------*/
.info-box {
  border-radius: 12px;
  transition: 0.3s ease;
}

.info-box:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0px 16px 24px rgb(77, 87, 222, 0.3)!important;
}

.info-box i {
  transition: 0.3s ease;
}

.info-box:hover i {
  color: #181d38 !important;
  transform: scale(1.15);
}
.admission-step {
  border-radius: 18px !important; /* card radius increased */
  transition: 0.3s ease;
  background: #fff;
  padding: 25px 22px;
}

.admission-step:hover {
  transform: translateY(-6px);
  box-shadow: 0px 28px 16px rgb(231, 231, 231);
}


.step-circle {
  width: 75px !important;
  height: 75px !important;
  padding: 10px;  
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px !important; 
  font-weight: 700 !important;  
  color: #fff !important;  
  box-shadow: 0px 28px 16px rgb(231, 231, 231);
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.course-box {
  border-radius: 12px;
  transition: 0.3s ease;
  background: #fff;
}

.course-box:hover {
  transform: translateY(-6px);
  box-shadow: 0px 28px 16px rgb(231, 231, 231);
}

.course-icon {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 22px;
}

.course-box ul li {
  font-size: 15px;
}

/* ================================================================ADMISSION PAGE =================================================*/
/*Admission Process*/
.admission-step {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 12px;
  transition: 0.3s ease;
  background: #fff;
}

.admission-step:hover {
  transform: translateY(-6px);
  box-shadow: 0px 28px 16px rgb(231, 231, 231);
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.admission-step h5 {
  font-weight: 600;
}

.admission-step p {
  font-size: 15px;
}

/*----------- Eligibility-----------------*/
.eligibility-box {
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}

.eligibility-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.eligibility-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
}

.eligibility-box ul li {
  font-size: 15px;
  line-height: 1.5rem;
}

/*-------Attendence/Grace Rule/ Internship*/
.timeline {
  position: relative;
  margin: 30px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background: #181d38;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

/* TIMELINE ITEM */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 25px 30px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

/* ICON */
.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  color: #fff;
}

.timeline-item.left .timeline-icon {
  right: -30px;
}

.timeline-item.right .timeline-icon {
  left: -30px;
}

/* CONTENT BOX */
.timeline-content {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    text-align: left !important;
    padding-left: 50px;
    margin-bottom: 40px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .timeline-item .timeline-icon {
    left: -5px !important;
    right: auto !important;
  }
}

/*--------------------- Procedure---------------------------------------*/
.selection-icon {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

/* ICON SIZE BIGGER */
.selection-icon i {
  font-size: 40px !important;
}

/* Hover Effects */
.selection-box:hover .selection-icon {
  transform: scale(1.08);
}

.selection-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 20px;
  transition: 0.3s ease;
}

.selection-box:hover {
  transform: translateY(-6px);
}

/***=============================================================== ADMIN PAGE ======================================================***/
.admin-card {
  border-radius: 12px;
  padding: 4px;
  background: #fff;
  transition: 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.admin-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.admin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.admin-card:hover img {
  transform: scale(1.1);
}

.admin-card h5 {
  font-weight: 600;
}
/*Teaching & Non-Teaching Staff End */
.staff-card {
  border-radius: 14px;
  background: #fff;
  padding: 4px;
  transition: 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.staff-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.staff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.staff-card:hover img {
  transform: scale(1.12);
}

/***=============================================================== FACULTY PAGE======================================================***/
.faculty-card {
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}
.faculty-card {
  padding: 4px;
}
.faculty-card:hover {
   
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.faculty-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.faculty-card:hover img {
  transform: scale(1.12);
}

/***=============================================================== LLB 3 YEARS===================================***/

/* RESPONSIVE */
/*     /* Mobile view improvements */
@media (max-width: 991px) {
  .programme-section .info-box {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 20px 10px !important;
    left: 0 !important;
    right: 0 !important;
  }

  .programme-section .row {
    min-height: auto !important;
  }

  .programme-section .col-lg-6 {
    min-height: auto !important;
  }
}
*/


/* Imternship page */
.internship-section {
  background: #f8f9fa;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

.internship-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.internship-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.internship-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}
/***=============================================================== EXAMINATION ===================================***/
.exam-card {
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.exam-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  border-color: #f5f5f5;
}

.exam-card::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: #e21e26;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.exam-card:hover::before {
  width: 100%;
}
/***=============================================================== ACADEMIC ===================================***/
.acad-card {
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.acad-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.18);
  border-color: #f5f5f5;
}

.acad-card::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: #e21e26;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.acad-card:hover::before {
  width: 100%;
}

/***=============================================================== FOOTER ============================================***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: normal;
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
