.logo {
  margin-top: 60px;
}

.text-danger {
  color: #e81c2c !important;
}

.secFacultyImg {
  width: 100% !important;
  object-fit: cover;
  height: 261px !important;
}

.clamp-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #52565b;
}

.about-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

a .school_section_link {
  color: inherit;
}

/* Inquery form css */
#inquiry-button {
  position: fixed;
  top: 40%;
  right: 0;
  background-color: #001f4d;
  color: white;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 15px 10px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  z-index: 1001;
  font-weight: bold;
  font-size: 16px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#inquiry-button:hover {
  background-color: #00308a;
  padding-right: 12px;
}

#inquiry-button i {
  transform: rotate(90deg);
  font-size: 18px;
}

/* Inquiry Form */

#inquiry-form {
  position: fixed;
  /* top: 0; */
  bottom: 5px;
  right: 0;
  width: 350px;
  height: 80vh;
  background-color: #f8f9fa;
  padding: 25px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

#inquiry-form.active {
  transform: translateX(0);
}

.form-header {
  text-align: center;
  /* margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid #dee2e6; */
}

.form-title {
  color: #001f4d;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-subtitle {
  color: #6c757d;
  font-size: 14px;
}

.current-date {
  color: #495057;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
}

.form-control {
  margin-bottom: 5px;
  border-radius: 4px;
  border: 1px solid #ced4da;
  width: 100%;
}

.form-control:focus {
  border-color: #001f4d;
  box-shadow: 0 0 0 0.25rem rgba(0, 31, 77, 0.25);
}

.g-recaptcha {
  margin-bottom: 15px;
  transform: scale(0.85);
  transform-origin: 0 0;
}

.submit-btn {
  background-color: #001f4d;
  color: white;
  width: 100%;
  padding: 12px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #00308a;
  transform: translateY(-2px);
}

.display-3.text-white.animated.slideInDown {
  margin-left: -3px;
}

.text-primary.office {
  margin-top: 31px;
}

.overflow-hidden.gbg-image {
  height: 300px;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  transition: .5s !important;
  overflow: hidden !important;
  border: 6px solid;
  border-radius: 10px;
}

.overflow-hidden.gbg-image:hover {
  background-size: 150%;
  transition: all 0.3s ease-in-out;
}

.overflow-hidden.gbg-image:hover {
  background-size: 130% !important;
  transform: scale(1.05);
}

.overflow-hidden.gbg-image:hover {
  transition: all .5s;
}

.mt-10 {
  margin-top: 10px;
}

.vbg {
  background: #f0fbfc;
  padding: 20px;
  min-height: 275px;
  box-shadow: 3px 0px 15px #000;
}

.mb-0.head-title {
  background: #06BBCC;
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 15px !important;
}

.card.h-100.news {
  position: relative;
}

.date {
  background: #06bbcc;
  color: #000;
  font-weight: bold;
  text-align: center;
  line-height: 16px;
  padding: 6px 15px;
  position: absolute;
  right: 0px;
}

.month {
  display: block;
}

.list-v li::before {
  content: "\f06e";
  font-family: "Font Awesome 5 Free";
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

.list-v li {
  margin-bottom: 6px;
  display: flex !important;
  align-items: flex-start;
}

.img-fluid.right-img {
  width: 200px;
  float: right;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-top: -40px;
  margin-bottom: 6px;
}

.img-rigt {
  float: right;
  text-align: center;
  margin-left: 25px;
}

.img-rigt.left-img {
  float: left;
  margin-left: 0px;
  margin-right: 25px;
}

.list-v.bottom-desk {
  margin-top: 7%;
}

.list-v ul {
  list-style: none;
  padding-left: 15px;
}

.form-floating>.form-select {
  padding-top: 0.625rem;
}

.shadow-sm {
  box-shadow: 0px 0px 7px #000;
}

.vbg.infra {
  min-height: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .logo.me-3 {
    width: 65px;
  }

  .logo {
    margin-top: 0px;
  }

  #phone-tada {
    margin-left: 25px;
    margin-bottom: 25px;
    margin-top: 8px;
  }
}

@media (max-width: 576px) {
  #inquiry-form {
    width: 90.5%;
  }

  #inquiry-button {
    left: 0px;
    width: 37px;
    transform: rotate(0deg);
  }

  #inquiry-button {
    padding: 12px 8px;
    font-size: 14px;
  }

  .g-recaptcha {
    transform: scale(0.75);
  }

  .header-carousel .owl-nav {
    display: inline-block;
  }

  .header-carousel .owl-nav .owl-prev {
    float: left !important;
    margin-right: 5px;
  }

  .header-carousel .owl-nav {
    top: auto;
    right: 39%;
    bottom: 0px;
  }

  .img-rigt {
    float: left;
    text-align: center;
    margin-left: 0px;
    width: 100%;
  }

  .img-fluid.right-img {
    width: 130px;
    float: left;
    margin-top: 0px;
    margin-bottom: 15px;
  }

  .img-rigt h5 {
    font-size: 18px;
    margin-top: 46px;
  }
}


/* Custom font size for college name on mobile 400px-767px */
@media (min-width: 320px) and (max-width: 767px) {
  .navbar-brand h2 span {
    font-size: 18px !important;
  }
}

/* Multi-level dropdown for Student Corner */
@media (min-width: 992px) {
  .dropdown-menu .dropdown-submenu {
    position: relative;
  }

  .dropdown-menu .dropdown-submenu .dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    margin-top: -1px;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    min-width: 200px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f1f1;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: .5s;
  }

  .dropdown-menu .dropdown-submenu:hover>.dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: rotateX(0deg) !important;
  }

  .dropdown-menu .dropdown-submenu .dropdown-toggle::after {
    border: none;
    content: "\f105";
    /* Font Awesome angle-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    float: right;
    margin-top: 3px;
  }

  .dropdown-submenu>.dropdown-item {
    display: block !important;
  }

  /* Dashed borders for sub-menu items like reference */
  .dropdown-submenu .dropdown-menu .dropdown-item {
    border-bottom: 1px dashed #eee;
    padding: 0.7rem 1.2rem;
    color: #666;
  }

  .dropdown-submenu .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
  }

  .dropdown-submenu .dropdown-menu .dropdown-item:hover {
    color: var(--primary) !important;
    background-color: #f8f9fa !important;
  }
}

/* Mobile adjustments for nested dropdowns */
@media (max-width: 991.98px) {
  .dropdown-submenu>.dropdown-menu {
    position: static;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    box-shadow: none;
    padding-left: 20px;
    transform: none !important;
  }

  .dropdown-submenu .dropdown-toggle::after {
    float: right;
  }

  .dropdown-submenu .dropdown-menu .dropdown-item {
    border-bottom: 1px dashed #eee;
  }
}

/* Toppers Slider (Team-style) refinements */
.toppers-carousel {
  padding: 20px 0;
}

.toppers-carousel .owl-stage {
  display: flex !important;
}

.toppers-carousel .owl-item {
  display: flex !important;
  flex: 1 0 auto !important;
  height: auto !important;
  transition: .5s;
}

.toppers-carousel .owl-item:hover {
  transform: scale(1.05);
  z-index: 10;
}


/* Remove side fades for Toppers section only */
.toppers-carousel::before,
.toppers-carousel::after {
  display: none !important;
}

.toppers-carousel .team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
  transition: .5s;
}

.toppers-carousel .team-item:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, .15);
}

.text-justify {
  text-align: justify;
}