* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Arial, sans-serif";
  font-size: 16px;
}
.font-color {
  color: #0c63b9;
  font-weight: 800;
}
.card_width .card {
  width: 150px;
  text-align: center;
}
.navbar {
  background-color: #0c63b9;
  color: #fff;
}
.sidebar {
  background-color: #0c63b9;
  border-right: 1px solid #dee2e6;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  z-index: 1000;
}
.fixed-layout {
  display: flex;
  height: 100vh;
}

.sidebar .list-group-item,
.accordion-submenu .dropdown-item {
  border: none;
  border-radius: 4px;
  font-weight: 800;
  transition: background 0.3s;
  padding: 10px 10px 6px 10px;
  color: #dee2e6;
  margin-bottom: 10px;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active,
.accordion-submenu .dropdown-item:hover,
.accordion-submenu .dropdown-item.active {
  background-color: #dee4ea;
  color: #0c63b9;
}
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  background-color: #f8f9fa;
  height: 100vh;
}
.content-box {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.content-box.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.saint-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.caption {
  font-size: 1rem;
  font-style: italic;
  color: #555;
}

/* Target all scrollbars */
::-webkit-scrollbar {
  width: 6px; /* vertical scrollbar width */
  height: 6px; /* horizontal scrollbar height */
}

/* Background of the scrollbar */
::-webkit-scrollbar-track {
  background: transparent; /* or any light background */
}

/* Scrollbar handle */
.sidebar::-webkit-scrollbar-thumb {
  background-color: #dee2e6; /* dark gray thumb */
  border-radius: 10px;
}
.main-content::-webkit-scrollbar-thumb {
  background-color: #0c63b9; /* dark gray thumb */
  border-radius: 10px;
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* Dropdown menu styling */
.dropdown-menu {
  display: none;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  position: absolute;
  left: 0;
  /*top: 100%;*/
  z-index: 1000;
}
.toggle-icon {
  transition: transform 0.3s ease;
}

.rotate-180 {
  transform: rotate(180deg);
}
.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end; 
}
.gallery .gallery-img {
  max-height: 120px; 
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 991.98px) {
  .sidebar {
    position: absolute;
    width: 75%;
    /* top: 60px; */
    left: 0;
    height: calc(100% - 60px);
    overflow-y: auto;
  }
}
