
/* ------------------------------Editor Style--------------------------------------- */
.editor ul {
  list-style-type: disc; /* Bullet points */
  padding-left: 20px; /* Indentation for bullets */
}
.editor ul li {
  list-style:disc;
}

/* .editor ul li::marker {
  color: black;
} */

.editor ol {
  list-style-type: decimal; /* Numbered list */
  padding-left: 20px; /* Indentation for numbers */

}

.editor ol li {
  list-style: decimal!important;
}

/* .editor ol li::marker {
  color: black;
} */

.editor a {
  text-decoration: none;
}
.editor a:hover {
  color: rgb(69, 4, 221);
}

.editor table {
  width: 100%; /* Makes the table full width */
  border-collapse: collapse; /* Ensures borders do not double */
  border: 1px solid #ccc; /* Light gray border */
}

.editor th, td {
  border: 1px solid #ccc; /* Border for each cell */
  padding: 10px; /* Adds spacing inside cells */
  text-align: left; /* Aligns text to the left */
}

.editor th {
  background-color: #f4f4f4; /* Light gray background for headers */
  font-weight: bold; /* Makes header text bold */
}

.editor tr:nth-child(even) {
  background-color: #f9f9f9; /* Alternate row coloring */
}

.editor tr:hover {
  background-color: #e6e6e6; /* Highlight row on hover */
}


/* Testimonail content scrollable */
.scrollable-paragraph {
  max-height: 150px; /* Set a fixed height */
  overflow-y: auto; /* Enables vertical scrolling */
  padding-right: 5px; /* Prevents text from touching the scrollbar */
}

/* Code Added for Gallery css and Tab Styling */
/* Wrapper around tab buttons */
.nav-tabs-custom {
  background: #ffffff;
  /* border-radius: 12px; */
  padding: 15px 20px;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); */
  /* border: 1px solid #dee2e6; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease-in-out;
}

/* Individual tab buttons */
.nav-tabs-custom .nav-link {
  border: 1px solid #195476;
  padding: 0px 20px;

  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  color: #495057;
  border-radius: 5px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  position: relative;
}

/* Hover effect */
.nav-tabs-custom .nav-link:hover {
  background: linear-gradient(to bottom, #007bff, #0056b3);
  color: #ffffff;
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Active tab */
.nav-tabs-custom .nav-link.active {
  background: linear-gradient(to bottom, #007bff, #0056b3);
  color: #ffffff;
  border-color: #007bff;
  box-shadow: 0 5px 16px rgba(0, 123, 255, 0.4);
  z-index: 1;
}

/* On focus (keyboard nav or click) */
.nav-tabs-custom .nav-link:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-tabs-custom {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nav-tabs-custom .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Optional: hide scrollbar in webkit browsers */
.nav-tabs-custom::-webkit-scrollbar {
  height: 5px;
}
.nav-tabs-custom::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.nav-tabs-custom::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.nav-tabs-custom::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* responsive styling for governing body */

@media (max-width: 767.98px) {
  .team-img img {
      width: 400px !important;
      height: 300px !important;
  }
  .team-bio p {
    font-size: 1.1rem;
    font-weight: 600;
}

.team-bio h6 {
    font-size: 1rem;
    font-weight: 500;
}
}


/* Department Details css for styling */

#departments-section {
  background-color: #f9f9f9;
}

.dept-card {
  display: block;
  /* background-color: ; */
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  color: #f1ebeb;
  min-height: 130px;
}

.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #212122;
}

.dept-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out;
}

.dept-card:hover .dept-icon {
  transform: scale(1.1);
}

.dept-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .dept-title {
    font-size: 0.95rem;
  }

  .dept-icon {
    width: 50px;
    height: 50px;
  }
}

/* Governing Body Message */

.prod-message-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.prod-profile-img img {
  width: 180px;
  height: 180px;
  object-fit: cover;       /* Ensures image fits inside the circle */
  border-radius: 50%;      /* Makes the image circular */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional soft shadow */
  border: 3px solid #fff;  /* Optional border for cleaner edges */
  background-color: #f8f9fa; /* In case image has transparency */
}


.prod-card-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

.prod-card-body p {
  line-height: 1.7;
  font-size: 1rem;
  color: #000;
}

.prod-sign,
.prod-sign-title,
.prod-sign-univ {
  color: #000;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .prod-profile-img img {
      width: 180px;
  }

  .prod-card-header h4 {
      font-size: 1.3rem;
  }
}
/* Frontend Gallery Csss */
.media-card {
    border: 2px dashed #ccc;
    height: 250px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .media-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: filter 0.3s ease;
  }
  
  .media-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
  }
  
  .media-card .view-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  
  /* Hover Effects */
  .media-card:hover {
    transform: scale(1.02);
    border-color: #0d6efd;
  }
  
  .media-card:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
  }
  
  .media-card:hover img {
    filter: brightness(0.3);
  }
  
  /* Notices Css */

  .custom-notice {
    /* border-left: 4px solid #1b6ec2; */
    padding: 12px 16px;
    background: #f9f9f9;
    margin-bottom: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}
.custom-notice:hover {
    background: #eef5ff;
}
.custom-notice .new-badge {
    height: 20px;
    margin-right: 8px;
}
.custom-notice a {
    color: #1b6ec2;
    font-weight: 600;
    text-decoration: none;
}
.custom-notice a:hover {
    text-decoration: none;
}
.custom-notice .notice-date {
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
}

/* -------------------------------------------Gallery carousel CSS--------------------------- */
/* Gallery Card */
.gallery-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.gallery-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Image Wrapper */
.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.05);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.0); /* lighter so icon is always visible */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-icon img {
  width: 50px;
  height: 50px;
  transition: transform 0.4s ease;
}

/* View Button initially hidden */
.gallery-view-btn {
  margin-top: 15px;
  background: white;
  color: var(--theme-color2);
  padding: 6px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-view-btn:hover {
  color: var(--theme-color);
}

/* On Hover show button and animate icon */
.gallery-card:hover .gallery-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card:hover .gallery-icon img {
  transform: scale(0.9);
}

/* Title Below the Image */
.gallery-title {
  padding: 5px;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.gallery-title-link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: text-shadow 0.3s ease;
}

.gallery-title-link:hover {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-image-wrapper {
    height: 200px;
  }
  .gallery-title-link {
    font-size: 16px;
  }
}

/* -----------------------------Department Csss----------------------- */
.department {
  position: relative;
  background: #3e72af;
  padding: 40px 0;
}
.department .linedivider img {
  max-width: 100%;
  height: auto;
}
.department .card1 {
  position: relative;
  display: block;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.department .card1:hover {
  transform: translateY(-10px);
}
.department .card1 img {
  width: 50px;
  height: 50px;
  margin: 15px 0;
}
.department .card1 p {
  font-size: 16px;
  font-weight: bold;
  color: #140303;
  margin-bottom: 15px;
}
.department .go-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  /* background: #ff0000; */
  color: #fff;
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
  display: none;
}
.department .card1:hover .go-corner {
  display: block;
}
@media (max-width: 768px) {
  .department .col-xxl-2,
  .department .col-xl-2,
  .department .col-lg-2 {
      flex: 0 0 50%;
      max-width: 50%;
  }
}
@media (max-width: 576px) {
  .department .col-xxl-2,
  .department .col-xl-2,
  .department .col-lg-2 {
      flex: 0 0 100%;
      max-width: 100%;
  }
}
/* ---------------------------------------- */

.comm-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Section Headings */
.comm-tabcontent h4 {
  
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  border-left: 4px solid #2a130e;
  padding-left: 12px;
  background-color: #c54224;
  padding: 10px 12px;
  border-radius: 6px;
}

/* Table Styling */
.comm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 30px;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comm-table th, .comm-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.comm-table th {
  background-color: #c54224;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comm-table td[colspan="2"] {
  text-align: center;
  color: #080000;
  font-style: italic;
  background-color: #f8f9fa;
}


/* TABS CONTAINER */
.comm-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 12px;
}

.comm-tabcontent {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.comm-tabcontent.active {
  display: block;
}


/*=======================Iqac TAB BUTTONS ================*/
.iqac-tab-btn {
  background-color: var(--theme-color);
  border: none;
  border-bottom: 3px solid transparent;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.iqac-tab-btn:hover {
  color: #dbd3d3fd;
  background-color: var(--theme-color);
  border-radius: 6px 6px 0 0;
}

.iqac-tab-btn.active {
  color: #ffffff;
  border-color: var(--theme-color2);
  background-color: var(--theme-color);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .iqac-tab-btn {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* ============================================================= */
h2, h3, h4 {
  text-align: center;
  color: var(--comm-primary);
}

.comm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.comm-table th, .comm-table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
  text-align: left;
}

.comm-table th {
  background-color: var(--comm-highlight);
  color: var(--comm-text-light);
}

.comm-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.section-title {
 
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  border-left: 4px solid #2a130e;
  padding-left: 12px;
  background-color: #c54224;
  padding: 10px 12px;
  border-radius: 6px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease-in-out;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.gallery-item:hover img {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .comm-tablinks {
    font-size: 14px;
    padding: 10px;
  }

  .comm-table, .comm-table th, .comm-table td {
    font-size: 14px;
  }
}

.btn-view {
  display: inline-block;
  padding: 6px 12px;
  background-color: #91562c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-view:hover {
  background-color: #0056b3;
}


/* General Layout */
.recentevents {
  background-color: #f8f9fa;
  padding: 60px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Section Heading */
.recentevents h6 {
  font-size: 26px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

/* Divider Image */
.recentevents .linedivider img {
  max-width: 120px;
  margin: 0 auto;
}
/* General Layout */
.recentevents {
  background-color: #f8f9fa;
  padding: 60px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Section Heading */
.recentevents h6 {
  font-size: 26px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

/* Divider Image */
.recentevents .linedivider img {
  max-width: 120px;
  margin: 0 auto;
}

/* Grid Layout */
.recentevents .photo-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.3s ease-in-out;
  border: 2px solid yellow;
}

.recentevents .photo-box:hover {
  transform: scale(1.03);
}

/* Image Styling */
.recentevents .photo-box img.item-img,
.recentevents .photo-box img.img-fluid {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Overlay */
.recentevents .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  padding: 20px;
  z-index: 2;
}

/* Icon and Text */
.recentevents .icon {
  margin-bottom: 10px;
}

.recentevents .icon img {
  width: 40px;
  height: auto;
  margin-bottom: 10px;
}

.recentevents .icon span {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Button Style - Hidden by default */
.recentevents .btn-view {
  padding: 8px 20px;
  background-color: #3498db;
  border: none;
  color: white !important;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show button only on hover */
.recentevents .photo-box:hover .btn-view {
  opacity: 1;
  visibility: visible;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .recentevents .icon span {
    font-size: 16px;
  }

  .recentevents .btn-view {
    padding: 6px 16px;
    font-size: 14px;
  }
}



/* General Section Styles */
.strip-bg {
  background-color: #235591;
}

.strip-linedivider img {
  max-width: 100%;
}

.bread-bg {
  background-color: #f8f9fa;
}

.card-header {
  background-color: #235591;
  color: #fff;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  background-color: #f8f9fa;
}

/* Carousel Styles */
.carousel-inner img {
  width: 100%;
  height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #235591;
}

/* Marquee Styles */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

/* Programmes Section */
.card-header {
  background-color: #235591;
  color: white;
  text-align: center;
}

/* Button Style */
.btn-outline-primary {
  /* padding: 0.5rem 2rem; */
  font-size: 1rem;
  border: 2px solid #235591;
  color: #235591;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #235591;
  color: white;
}

/* Footer Section */
.card-footer {
  background-color: #eaf1fd;
}

/* Welcome Section */
.welcome-text-2 p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

/* Adjusted for Responsiveness */
@media (max-width: 768px) {
  .carousel-item img {
      height: 250px;
  }
}

/* NSS Logo Styling */
.nss-logo {
  padding: 15px 0;
  background-color: #235591; 
  border-radius: 10px 10px 0 0;
}

.nss-logo img {
  max-width: 80%;
  margin: 0 auto;
}

/* Profile Image Styling */
.proImg {
  margin-top: 20px;
}

.proImg img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Name and Email Styling */
h4.text-center {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin-top: 15px;
}

.proImg p {
  font-size: 1rem;
  color: #555;
  margin-top: 5px;
}

/* Footer Styling */
.card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #ddd;
  
}

.card-footer a {
  display: block;
  color: #235591; /* Blue for the link */
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.card-footer a:hover {
  color: #183e6e;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nss-logo img {
      max-width: 70%;
  }

  .proImg img {
      max-width: 120px;
  }

  h4.text-center {
      font-size: 1.1rem;
  }

  .proImg p {
      font-size: 0.9rem;
  }
}

/* General Profile Image Section Styling */
.proImg {
  padding: 20px;
  background-color: #fff; /* White background for better contrast */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

/* Hover effect for profile image section */
.proImg:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Profile Image Styling */
.proImg img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  margin-bottom: 15px; /* Spacing between the image and name */
  border: 2px solid var(--theme-color2);
}

/* Name Styling */
.proImg h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--theme-color);
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Email Styling */
.proImg p {
  font-size: 1rem;
  color: #110404;
  margin-bottom: 15px;
}

/* Card Footer Styling */
.card-footer {
 border-top: 1px solid #ddd;
 text-align: center;
 border-radius: 0 0 10px 10px; /* Rounded corners for the footer */

}

/* Link Styling in Footer */
.card-footer a {
  color: #235591; /* Dark blue color for the link */
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  background-color: #164476;
  border-radius: 1px;
  padding: 5px;
}

.card-footer a:hover {
  color: #183e6e; /* Darker blue on hover */
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Adjusting the profile image size for mobile */
  .proImg img {
      max-width: 120px;
  }

  /* Slightly smaller name font for mobile */
  .proImg h4 {
      font-size: 1.1rem;
  }

  /* Slightly smaller email font for mobile */
  .proImg p {
      font-size: 0.9rem;
  }
}



/* Styling for the heading text */
.lnheight {
  font-size: 2.2rem;
  font-weight: 600;
  color: #35317a;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Divider styling */
.linedivider {
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
}

.linedivider img {
  width: 35%; /* Adjust the width of the divider as needed */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .lnheight {
      font-size: 1rem;
  }

  .linedivider img {
      width: 70%; /* Adjust image width on smaller screens */
  }
}
.blockquotenss {
  font-style: italic;
  border-left: 5px solid #6c757d;  /* Customize border color */
  padding-left: 15px;
  margin: 0;
  font-size: 1.1em;
  color: #6c757d;  /* Customize blockquote text color */
  flex: 0 0 150px;  /* Set a fixed width for the blockquote */
}

/* sanctioned post css */

.dept-posts-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.dept-posts-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dept-posts-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 24px;
  color: #343a40;
}


.dept-posts-table thead th {
  background-color: #0d6efd;
  color: #fff;
  text-align: center;
}

.dept-posts-table tbody td {
  text-align: center;
}

.dept-posts-table tbody tr:hover {
  background-color: #f1f1f1;
}

.dept-posts-total-row h5 {
  margin: 0;
  font-weight: bold;
}

@media (max-width: 767px) {
  .dept-posts-title {
    font-size: 20px;
  }
}


/* --------------Feedback Progress Bar CSS */
.progressbar {
  display: flex;
  justify-content: space-between; /* Distributes items evenly */
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  position: relative; /* Needed for the absolute positioning of the line */
}

/* The grey background line connecting all steps */
.progressbar::before {
  content: '';
  position: absolute;
  top: 18px; /* Vertically center with the circles */
  left: 18px; /* Start after half the first circle */
  right: 18px; /* End before half the last circle */
  height: 3px;
  background-color: #e0e0e0;
  z-index: 0; /* Behind the circles */
}

/* The green progress line */
.progressbar .progress-line {
  position: absolute;
  top: 18px;
  left: 18px;
  height: 3px;
  background-color: var(--theme-color);
  z-index: 1; /* Above the grey line, behind circles */
  width: 0; /* Initially no progress */
  transition: width 0.3s ease; /* Smooth transition if updated dynamically */
}


.progressbar li {
  position: relative; /* Needed for z-index and ::before positioning */
  text-align: center;
  flex: 1; /* Make list items distribute space equally */
  z-index: 2; /* Ensure text is above lines */
  font-size: 13px;
  color: #333;
}

/* The numbered circle */
.progressbar li::before {
  content: counter(step);
  counter-increment: step;
  width: 36px;
  height: 36px;
  line-height: 36px; /* Vertically center the number */
  display: block;
  background-color: #ccc; /* Default grey */
  color: white;
  border-radius: 50%;
  margin: 0 auto 8px auto; /* Center horizontally, add space below */
  font-weight: bold;
  position: relative; /* Needed for z-index */
  z-index: 3; /* Above the lines */
}

/* Style for completed steps */
.progressbar li.completed::before {
  background-color: var(--theme-color); /* Green background */
}
.progressbar li.completed {
  color: var(--theme-color); /* Green text */
  font-weight: 600;
}

/* Style for the currently active step */
.progressbar li.active::before {
  background-color: var(--theme-color); /* Green background */
  /* Optionally add a border or different style */
  /* border: 2px solid #1F7D53;
  background-color: white;
  color: #1F7D53; */
}
.progressbar li.active {
  color: var(--theme-color); /* Green text */
  font-weight: 600;
}

/* Remove the complex ::after line drawing logic */
.progressbar li::after {
  content: none; /* We are using .progressbar::before and .progress-line instead */
}

/* ----------------------------Event Tab CSS---------------- */
.nav-tabs .nav-link {
  color: black; /* Inactive color */
  border: none; /* Optional: removes default border */
}

.nav-tabs .nav-link.active {
  color: var(--theme-color); /* Active tab text color */
  font-weight: bold;
  /* background-color: transparent; optional */
  border: 1px solid var(--theme-color2); /* optional underline */
}


/*======================= Wrapper for Grievance Tabs========================== */
.grievance-tabs-wrapper {
  padding: 10px;
  border-radius: 8px;
}

/* Tab Link Styles */
.grievance-tab-link {
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  background-color: transparent;
}

.grievance-tab-link a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.grievance-tab-link.active {
  background-color: #fff;
  font-weight: bold;
}

.grievance-tab-link.active a {
  color: #000;
}

/* Hover effect */
.grievance-tab-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive stacking if needed */
@media (max-width: 576px) {
  .grievance-tabs-wrapper ul {
    flex-direction: column !important;
    gap: 10px;
  }
}

/* ===================================================== */
/* css for faciltiy details page */

.girls-facility-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.girls-facility-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.girls-facility-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.girls-facility-title {
  padding: 5px;
}

.girls-facility-marquee {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.girls-facility-info {
  padding: 20px;
  text-align: center;
}

.girls-facility-description {
  font-size: 16px;
  color: #333;
}

.girls-facility-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.girls-gallery-item {
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

.girls-gallery-item img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

.girls-gallery-item h4 {
  margin-top: 10px;
  font-size: 16px;
  color: #444;
}

.girls-gallery-item:hover {
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .girls-facility-marquee {
    font-size: 16px;
  }

  .girls-facility-description {
    font-size: 14px;
    padding: 0 10px;
  }

  .girls-gallery-item {
    width: 100%;
  }

  .girls-gallery-item h4 {
    font-size: 15px;
  }

  .girls-facility-gallery {
    gap: 15px;
    padding: 15px 10px;
  }
}
/* ======================================================== */

/* ========================Extra Curricular Page Slider======================= */

.carousel-img {
    height: 150px !important;
    object-fit: cover;
}

@media (min-width: 992px) { /* lg and above */
    .carousel-img {
        height: 390px !important;
    }
}

/* ========================================================================== */

/* ========================Department CSS=================== */
.department-tab-button.active {
        background-color: var(--theme-color);
    }

    .new-nav-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        border: none;
        padding: 0;
        margin-bottom: 1rem;
        /* background-color: #f8f9fa; */
    }

    .new-nav-tabs .nav-link {
        background-color: var(--theme-color2);
        color: white;
        padding: 5px 8px;
        border: 1px solid #ccc;
        border-radius: 0.3rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .new-nav-tabs .nav-link:hover {
        background-color: var(--theme-color);
        color: #ffff;
    }

    .new-nav-tabs .nav-link.active {
        background-color: var(--theme-color);
        color: #fff;
        border-color: var(--theme-color);
        font-weight: 600;
    }
  /* ========================================================================== */

  /* ==================================Webiste Divider CSS=============================== */
.web-divider{
  height: auto;
  width: 150px;
}