 body {
      background: #f0f8ff !important;
      }
      .footer_logo_container {
      width: 100%;
      height: 100px;
      background: #FFFFFF;
      }
      .logo_container {
      width: 39% !important;
      left: 0px !important;
      }
      .logo_content {
      width: 100%;
      height: 100%;
      padding-left: 5px !important;
      }
      .logo_text {
      font-size: 30px;
      font-weight: 500;
      color: #505ee9;
      line-height: 1.1 !important;
      }
      .home_slider_background {
      height: 100% !important;
      }
      .team_member_image img {
      max-width: 85%;
      border-radius: 60px;
      height: 125px !important;
      }
      .team_member_image {
      width: 100%;
      height: 125px !important;
      }
      .team_member_info {
      width: 100%;
      text-align: center;
      margin-top: 20px;
      }
      .footer_column {
      padding-top: 35px;
      }
      .top_bar_content {
      padding-left: 0px !important;
      height:30px !important;
      }
      .emergencies {
      height: 75%;
      background: #ff0030;
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 700;
      padding-left: 15px;
      padding-right: 15px;
      border-radius: 5px;
      }
      .emergencies:hover {
      height: 75%;
      background: #c60025;
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 700;
      padding-left: 15px;
      padding-right: 15px;
      border-radius: 5px;
      }
      .header_content {
      height: 150px !important;
      }
      .header.scrolled {
      height: 150px !important;
      }
      .main_nav ul li a {
      font-size: 13px;
      font-weight: 500;
      color: #323232;
      }
      .main_nav ul li:hover{
      background: #20d34a !important;
      border-radius: 2PX;
      color: white !important;
      padding-left:5px;
      padding-right: 5px;
      }
      .main_nav ul li{
      padding-left:5px;
      padding-right: 5px;
      }
      .main_nav ul li a{
      color:white !important;
      }


      .main_nav_top ul {
        display: flex;
        justify-content: center;  /* Center all li horizontally */
        align-items: center;      /* Align vertically */
        gap: 2px;                /* Add spacing between items */
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .main_nav_top ul li {
        text-align: center;       /* Ensures image + text are centered */
      }

      .main_nav_top ul li a {
        font-size: 13px;
        font-weight: 500;
        color: #323232;
      }
      .main_nav_top ul li:hover{ 
        border-radius: 2PX; 
        padding-left:5px;
        padding-right: 5px;
      }
      .main_nav_top ul li{
        padding-left:5px;
        padding-right: 5px;
      }
      .main_nav_top ul li a{
        color:white !important;
      }


      .college-name {
      font-weight: bold;
      text-transform: uppercase;
      font-size: clamp(14px, 2.5vw, 20px); /* auto scales between 14px and 24px */
      } 
      
      /* === Notifications === */
      .notification-wrapper {
      height: 470px;
      overflow: hidden;
      position: relative;
      background: #f8f9fa;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
      }
      .notification-inner {
      display: flex;
      flex-direction: column;
      animation: scroll-loop 12s linear infinite;
      }
      .notification-wrapper:hover .notification-inner {
      animation-play-state: paused;
      }
      .notification-list {
      margin: 0;
      padding: 0;
      list-style: none;
      }
      .notification-list li {
      font-size: 13px;
      color: #333;
      line-height: 1.5;
      padding: 10px 0;
      border-bottom: 1px dashed #ccc;
      }
      .notification-list a {
      color: #007bff;
      text-decoration: none;
      font-weight: 500;
      }
      .notification-list a:hover {
      text-decoration: underline;
      }
      @keyframes scroll-loop {
      0% {
      transform: translateY(0%);
      }
      100% {
      transform: translateY(-50%);
      }
      }
      /* === Carousel === */
      .custom-carousel-container {
      position: relative;
      width: 100%;
      overflow: hidden;
      max-width: 1350px;
      margin: auto;
      }
      .custom-carousel-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      }
      .custom-carousel-card {
      flex: 0 0 25%;
      padding: 10px;
      box-sizing: border-box;
      }
      .custom-carousel-card .card {
      box-shadow: 2px 6px 8px rgba(22, 22, 26, 0.18);
      border: none;
      border-radius: 8px;
      height: 100%;
      overflow: hidden;
      }
      .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: #e1e1e1;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 24px;
      cursor: pointer;
      z-index: 1;
      }
      .carousel-btn.prev { left: 10px; }
      .carousel-btn.next { right: 10px; }
      @media (max-width: 768px) {
      .custom-carousel-card {
      flex: 0 0 100%;
      }
      }
      /* === Events === */
      .events-section {
      background-color: #f0f8ff;
      padding: 40px 0;
      }
      .section-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      }
      .section-title h2 {
      font-weight: bold;
      }
      .section-title a {
      color: #b30000;
      font-weight: 500;
      text-decoration: none;
      border-bottom: 2px solid #b30000;
      }
      .event-box {
      background: #fff;
      border-radius: 8px;
      display: flex;
      gap: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      padding: 20px;
      height: 100%;
      }
      .event-image {
      flex-shrink: 0;
      width: 250px;
      }
      .event-image img {
      width: 100%;
      border-radius: 8px;
      object-fit: cover;
      }
      .event-info h5 {
      font-weight: bold;
      }
      .event-info p {
      margin-bottom: 5px;
      }
      .event-info i {
      color: #0d6efd;
      margin-right: 8px;
      }
      .btn-read-more {
      background-color: #b30000;
      color: white;
      }
      .btn-read-more:hover {
      background-color: #990000;
      }
      /* === Clinical Services Section === */
      .clinical-wrapper {
      background-color: #f8f9fa;
      padding: 40px 0;
      }
      .clinical-tabs {
      max-height: 500px;
      overflow-y: auto;
      border-right: 2px solid #ddd;
      }
      .clinical-tab {
      padding: 15px;
      cursor: pointer;
      border-left: 4px solid transparent;
      transition: background 0.3s, border 0.3s;
      }
      .clinical-tab:hover {
      background-color: #f0f0f0;
      }
      .clinical-tab.active {
      background-color: #e8f0fe;
      border-left: 4px solid #0d6efd;
      font-weight: 600;
      }
      .clinical-content {
      display: none;
      padding: 20px;
      animation: fadeIn 0.5s ease;
      }
      .clinical-content.active {
      display: block;
      }
      @keyframes fadeIn {
      from { opacity: 0; transform: translateX(20px); }
      to { opacity: 1; transform: translateX(0); }
      }
      .clinical-image {
      width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 20px;
      }
      /* === Medical Department Section === */
      .medical-section {
      background: linear-gradient(to right, #3b4bb3, #505ee9);
      padding: 20px 15px;
      }
      .medical-content-box {
      background-color: #f0f8ff;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      }
      .department-tabs {
      list-style: none;
      padding: 0;
      margin: 0;
      border-right: 1px solid #dee2e6;
      }
      .department-tab {
      padding: 8px 20px;
      cursor: pointer;
      transition: background 0.3s;
      font-size: 16px;
      border-left: 4px solid transparent;
      }
      .department-tab:hover {
      background-color: #f8f9fc;
      }
      .department-tab.active {
      background-color: #c5d8ff;
      font-weight: 600;
      border-left: 4px solid #007bff;
      color: #003b99;
      }
      .department-content {
      display: none;
      animation: fadeIn 0.4s ease-in-out;
      }
      .department-content.active {
      display: block;
      }
      .department-content img {
      max-width: 100%;
      height: 100%;
      width: 100%;
      border-radius: 8px;
      margin-bottom: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      }
      .department-content h4 {
      font-weight: 700;
      margin-bottom: 10px;
      }
      .department-content p {
      color: #555;
      font-size: 15px;
      }
      .department-content .btn {
      margin-top: 15px;
      padding: 8px 18px;
      border-radius: 6px;
      font-weight: 500;
      }
      @media (max-width: 768px) {
      .department-tab {
      font-size: 15px;
      padding: 12px 16px;
      }
      .medical-content-box {
      padding: 20px;
      }
      .department-tabs {
      border-right: none;
      border-bottom: 1px solid #ccc;
      }
      }
      /* === Team Section (Key Officials / Leadership) === */
      .team-section-wrapper {
      padding: 50px 20px;
      background: linear-gradient(135deg, #e9f2ff, #f4f9ff);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
      border-radius: 12px;
      max-width: 1100px;
      margin: 50px auto;
      }
      .team-section-container {
      display: flex;
      flex-direction: column;
      gap: 40px;
      }
      .team-row {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      }
      .team-card {
      flex: 1 1 30%;
      background: #fff;
      border-radius: 10px;
      padding: 20px 10px;
      text-align: center;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      max-width: 240px;
      }
      .team-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
      }
      .team-card img {
      width: 110px;
      height: 110px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 12px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      border: 3px solid #ffffff;
      }
      .team-card h5 {
      font-size: 16px;
      font-weight: 600;
      color: #0056d2;
      margin-bottom: 5px;
      }
      .team-card p {
      font-size: 13px;
      color: #333;
      margin: 0;
      }
      @media (max-width: 768px) {
      .team-card {
      flex: 1 1 45%;
      max-width: 45%;
      }
      }
      @media (max-width: 576px) {
      .team-card {
      flex: 1 1 100%;
      max-width: 100%;
      }
      }
      /* === Image General === */
      img {
      vertical-align: middle;
      border-style: none; 
      }
      img.card-img-top {
      width: 317px !important;
      }


      .nav-tabs .nav-link {
  border: none;
  position: relative;
  color: #555;
  font-weight: 500;
}

.nav-tabs .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #007bff;
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.nav-tabs .nav-link.active::after,
.nav-tabs .nav-link:hover::after {
  width: 100%;
}

.nav-tabs .nav-link {
  color: #333;
  border: none; 
  margin: 0 5px;
  padding: 8px 18px;
  transition: 0.3s;
}

.nav-tabs .nav-link.active {
  color: #fff !important;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}



/* Reset for dropdown containers */
.dropdown {
  position: relative;
}

/* Hide submenu by default */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #4338ca; /* purple */
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 220px;
  border-radius: 6px;
  z-index: 999;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* Each submenu item */
.submenu li {
  position: relative;
  width: 100%;
}

/* Submenu links */
.submenu li a {
  display: block;
  width: 100%;
  padding: 10px 16px;
  color: #fff !important;
  text-decoration: none;
  background-color: #4338ca !important;
  border: none !important;
  transition: background 0.2s ease;
  font-weight: 500;
}

/* Hover effect on submenu items */
.submenu li a:hover {
  background-color: #3730a3 !important; /* darker purple */
  color: #fff !important;
}

/* Prevent clipping issues */
.navbar,
header,
nav {
  overflow: visible !important;
  position: relative;
  z-index: 1000;
}

/* Optional: If menu is too long */
.submenu {
  max-height: 400px;      /* scrolls if too tall */
  overflow-y: auto;
}

/* Optional scrollbar styling (for modern browsers) */
.submenu::-webkit-scrollbar {
  width: 6px;
}
.submenu::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
/* Fullscreen loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* background color */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner animation */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db; /* blue highlight */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.gallery-img {
  width: 100%;
  height: 160px;        /* you can adjust */
  object-fit: cover;    /* crop while keeping ratio */
  border-radius: 6px;   /* optional: rounded corners */
}
