/* :root {
  --font-1: "Poppins", "Noto Serif Bengali";
}

h1,
h2,
h3,
h4,
h5,
h6,
ol,
p,
ul {
  font-family: var(--font-1);
} */

.preloader {
  background-color: #329dcd;
}

.navbar-brand img {
  border-radius: 5px;
}

.navbar-nav {
  background: #312b70;
}

.hero-section {
  padding: 300px 0 290px;
}

.vc-sirs-message {
  max-height: 30rem;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

a {
  color: #41a5d1;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #985546;
  text-decoration: none;
  background-color: transparent;
}

.horizontal-card {
  margin-top: 1rem;
  border: 1px solid;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 5px;
}

.date-card {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  font-weight: 500;
}

/* text card */
.text-card {
  margin: 0.5rem;
  padding: 1rem;
  text-align: center;
  min-height: 8rem;
  background-color: #fff;
  color: #000 !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border-color: #dee2e6 #dee2e6 #dee2e6;
}

/* Custom CSS for the image container */
.image-container {
  position: relative;
  overflow: hidden;
}

/* Styling for the dark label */
.dark-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px; /* Adjust as needed */
  background-color: rgba(0, 0, 0, 0.7); /* Dark opacity background */
  color: #fff; /* Text color */
  text-align: center;
}

/* Styling for the image inside the container */
.image-container img {
  width: 100%;
  height: auto;
}

.vision-mission li {
  margin: 1rem 0rem;
}

/* Custom CSS for the news ticker */
#sticky-footer {
  position: sticky;
  bottom: 0px;
  z-index: 999;
}
.news {
  width: 160px;
}
.news-scroll a {
  text-decoration: none;
}
.news-text {
  color: white !important;
}
.dot {
  height: 6px;
  width: 6px;
  margin-left: 3px;
  margin-right: 3px;
  margin-top: 2px !important;
  background-color: rgb(207, 23, 23);
  border-radius: 50%;
  display: inline-block;
}

/* Sidebar Nav Styling */
.nav-tabs.flex-column {
    border-right: 1px solid #dee2e6;
    border-bottom: none;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 4px;
    margin-bottom: 5px;
    color: #495057;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background-color: #007bff;
    color: #fff !important;
    border-color: #007bff;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    padding-left: 20px;
}

/* Horizontal Card Styling */
.horizontal-card {
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
    transition: background 0.2s;
}

.horizontal-card:hover {
    background-color: #fcfcfc;
}

.horizontal-card a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3rem;
}

.horizontal-card a:hover {
    color: #007bff;
}

/* Date Box Styling */
.date-card {
    background: #f1f1f1;
    color: #333;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.80rem;
    font-weight: bold;
    line-height: 1.2;
    border-left: 4px solid #007bff;
    min-width: 80px;
}

/* Scrollable tabs for mobile */
@media (max-width: 576px) {
    .nav-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        border-right: none;
        border-bottom: 2px solid #dee2e6;
        margin-bottom: 20px;
    }
    .nav-tabs .nav-link {
        margin-right: 10px;
    }
}

/* Table Enhancements */
.custom-data-table {
    border: 1px solid #edf2f7;
    border-radius: 8px;
    overflow: hidden;
}

.custom-data-table thead {
    background-color: #f8f9fa;
}

.custom-data-table thead th {
    border-top: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #718096;
    padding: 15px;
}

.custom-data-table tbody td, 
.custom-data-table tbody th {
    vertical-align: middle;
    padding: 12px 15px;
    color: #4a5568;
}

/* Make the "Click Here" link look like a real button */
.custom-data-table .btn-primary {
    background-color: #007bff;
    border-radius: 4px;
    font-size: 13px;
    padding: 5px 12px;
    transition: all 0.2s;
}

.custom-data-table .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}


/* News details page */
#news-title {
  line-height: 2rem;
  text-align: center;
}