body {
    font-family: 'Adorsho Lipi', sans-serif;
    background: url('../img/bg.gif') center !important;
    background-size: cover;
    width: 100%; 
    height: 100%;
    margin: 0; 
    top: 0 !important;
    position: static !important;
}

/* Top purple bar */
.top-bar {
    width: 100%;
    padding: 12px 10px 20px;
    color: #000;
    background: #d4f9d4;
    border-bottom: 3px solid #ff6600;
    margin: 0;
    font-size: 14px;
}
.top-bar a{
  color: #000;
  font-weight: 500;
}



#headerCarousel .carousel-item img {
    height: 250px; /* adjust height */
    object-fit: cover;
}

/* Left-center position for heading */
.fixed-carousel-title {
    position: absolute;
    top: 50%;
    padding-left: 20px;
    left: 20px; /* space from left edge */
    transform: translateY(-80%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.fixed-carousel-title h2 {
    font-size: 1.7rem;
    font-weight: 600 !important;
    padding: 10px;
    color: #fff;
    margin: 0;
}

.fixed-carousel-title .logo {
    width: 80px;
    margin-right: 10px;
}

@media (max-width: 576px) {
    .fixed-carousel-title {
        left: 10px; /* less space on mobile */
    }
    .fixed-carousel-title h2 {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    .fixed-carousel-title .logo {
        width: 40px;
    }
}

.main-nav {
    background: #ebebeb;
    border-bottom: 2px solid #ebebeb;
    overflow: scroll;
}
.main-nav .home {
  padding: 2px 5px;
  transition: background 0.3s ease;
}

.main-nav .home:hover {
  background: #fff;
  border-bottom: 2px solid #000;
}

.main-nav .nav-link {
   
  font-size: 12px;
  padding: 10px 10px !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.main-nav .nav-item:hover, .dropdown-menu li:hover{
  background: #fff !important;
  border-bottom: 2px solid #000;
}

/* Dropdown Styling */
  .navbar-nav .dropdown-menu {
  border-radius: 0 !important;
  padding: 0;
  background-color: #ebebeb !important;
  transition: border-color 0.3s ease;
  
}

.dropdown-item {
  padding: 10px 15px;
  background: #fff ;
  color: #555 !important;
  border-bottom: 1px solid #ebebeb;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

/* Animation */
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hover stay for open dropdown */
.nav-item.show > .nav-link {
  color: #fff !important;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .navbar-nav .nav-link {
    border-bottom: 1px solid #ebebeb;
  }
  .navbar-nav .dropdown-menu {
    border: none;
  }
}

    /* Left site */


    .marquee-container {
      background: #ebebeb;
      border: 1px solid #ccc;
      padding: 10px 10px;
      font-weight: bold;
      display: flex;
      align-items: center;
    }
    .marquee-title {
      white-space: nowrap;
      margin-right: 15px;
      color: #000;
    }
    .marquee-text {
      color: green;
      font-weight: bold;
      width: 100%;
    }
    marquee {
      width: 100%;
    }

    @keyframes scroll-left {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
    .notice-card {
      border: 1px solid #ccc;
      padding: 20px;
      margin-top: 20px;
      background: #f5f5f5;
    }
    .notice-card h5 {
      font-weight: bold;
      margin-bottom: 20px;
    }
    .notice-item {
      display: flex;
      align-items: center;
      color: #000;
      text-decoration: none;
      margin-bottom: 10px;
    }
    .notice-item p{
        margin-bottom: 0;
        font-size: 12px;
    }
    .notice-item p:hover{
      color: #6f42c1;
    }
    .notice-item i {
      color: #1bd41b;
      font-size: 18px;
      margin-right: 10px;
      margin-top: 3px;
    }
    .notice-footer {
      text-align: right;
      font-weight: bold;
      color: purple;
    }

    .notice-card ul li a{
      text-decoration: none;
      color: #000;
      font-size: 12px;
    }
    .clearfix a{
      display: flex;
      margin-bottom: 5px;
      align-items: center;
    }
    .notice-card ul li a i{
      font-size: 18px;
      color: #1bd41b;
      margin-right: 10px;
    }
    .notice-card ul li a:hover{
      text-decoration: none;
      color: #6f42c1;
    }


    /* Right site */

    
    @media (max-width: 992px) {
        .content-right {
          margin-top: 20px;
        }
    }

    .content-right {
      /* background: #c8e7c8; */
      border-radius: 5px;
    }

    .content-right h6{
        background: #8e44ad;
        color: #fff;
        padding: 10px 5px;
        font-size: 0.9em;
        margin-bottom: 0;
        line-height: 1.5;
    }
    .sidebar-box{
        padding: 0;
    }

    .sidebar-box img {
        max-width: 100%;
        height: auto;
        background: #fff;
        /* border: 5px dotted #00cc00; */
        border-radius: 2px;
        object-fit: cover;
        display: block; /* needed for margin auto to work */
    }


    .sidebar-box h5 {
        font-size: 1em;
        text-align: center;
        display: block;
        font-weight: bold;
        line-height: 1.5;
        padding-top: 10px;
    }
    .sidebar-box h5 a{
      color: #8e44ad;
      font-size: 0.9em;
      text-decoration: none;
    }



    /* Responsive tweaks */
    @media (min-width: 992px) {
      .main-content {
        display: flex;
        gap: 1rem;
      }
      .content-left {
        flex: 3;
      }
      .content-right {
        flex: 1;
      }
    }




.custom-footer {
  background: #efefef;
  font-family: "SolaimanLipi", Arial, sans-serif; /* Bengali-friendly font */
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  text-align: center;
  padding: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  background: white;
  padding: 0;
}

.footer-line {
  position: absolute;
  top: 48%;
  left: 0;
  right: 0;
  height: 6px;
  background: #6e6e6e;
}

.footer-bottom {
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 8px 20px;
  line-height: 25px;
  color: #333;
}

.footer-text {
  text-align: left;
}

.footer-text-right {
  text-align: right;
}

.footer-logos img {
  height: 40px;
  width: auto;
}
.footer-logos {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}



@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slideInLeft 0.8s ease-out;
}
