/* ------------- Site Default Style --------- */
.main-heading {
  width: 100%;
  margin-top: 2rem;
}

.main-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--biggest-font-size);
  font-weight: var(--font-semi-bold);
}

.main-heading .devider {
  margin: 1rem 0;
  border-bottom: 3px solid goldenrod;
}

.main-heading h4 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--normal-font-size);
  font-weight: var(--font-normal);
}
/* ------------- Site Default Style --------- */

/* ------------- Top Info Bar Style --------- */
.top-info-bar {
  width: 100%;
  color: #fff;
}

.social {
  width: 2rem;
  height: 2rem;
  padding: .2rem;
  border-radius: 50%;
  margin-left: .8rem;
  text-decoration: none;
  font-size: var(--h5-font-size);
  font-weight: var(--font-normal);
  text-align: center;
  box-shadow: var(--smooth-shadow);
}
.social:hover { opacity: 0.85; }

/* ------------ Banner Style ------------- */
.bnr-area {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.bnr-area .bnr-logo {
  flex: 0 0 7rem;
  width: 7rem;
  height: 7rem;
  min-width: 0;
  max-width: 7rem;
  margin-right: 2rem;
}

.bnr-area .bnr-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bnr-area .bnr-text {
  flex: 0 0 calc(80% - 9rem);
  padding: .4rem 0;
}

.bnr-area .bnr-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  color: #fff;
}

.bnr-area .bnr-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--normal-font-size);
  font-weight: var(--font-normal);
  color: #fff;
  padding-top: .4rem;
}

.bnr-area .bnr-link {
  flex: 0 0 20%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  text-align: right;
  margin-top: 5.5rem;
}

.bnr-area .bnr-link .link-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.bnr-area .bnr-link .link-menu li {
  margin-left: .5rem;
  padding-right: .5rem;
  border-right: 1px solid #fff;
  cursor: pointer;
  font-size: var(--small-font-size);
}

.bnr-area .bnr-link .link-menu a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-family: Poppins, sans-serif;
  transition: background-color 0.3s;
}

.bnr-area .bnr-link .link-menu a:hover {
  color: #e1e1e1;
}

.bnr-area .bnr-link .link-menu i {
  color: #fff;
  padding-right: .5rem;
}

/* ---------------- Main Nav Bar Start -------------------- */
.navbar {
  background: var(--second-color); 
  box-shadow: var(--normal-shadow);
}

.navbar .nav-item a, .navbar .nav-item a.active {
  font-family: 'SolaimanLipi', 'Poppins', sans-serif;
  font-size: var(--normal-font-size);
  color: #fff;
}

.navbar-nav .nav-link a {
  color: #fff;
}

.navbar-nav .dropdown-menu {
  background: var(--second-color);
}

.navbar-nav .dropdown-item:hover {
  background: #7dd477;
  color: black;
}
/* ---------------- Main Nav Bar End -------------------- */

/* ---------------- Site Marquee Start -------------------- */
.marquee {
  width: 100%;
  height: 35px;
}

.marquee .title {
  width: 140px;
  font-family: Poppins, sans-serif;
  font-size: var(--normal-font-size);
  color: #fff;
  line-height: 35px;
  text-align: center;
  background: var(--main-color); 
  border-right: 3px solid red;
  float: left;
}

.marquee .text {
  width: calc(100% - 143px);
  font-family: 'Poppins', sans-serif;
  font-size: var(--h5-font-size);
  color: #fff;
  line-height: 35px;
  padding: 0 20px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  float: right;
}

.marquee .text .marquee-text {
  display: inline-block;
  position: relative;
}

.marquee .text .marquee-text i {
  display: inline-flex;
  font-size: var(--small-font-size);
  line-height: 35px;
  margin-right: 7px;
  color: #fff; 
}
.marquee .text .marquee-text h4 {
  display: inline-flex;
  font-size: var(--normal-font-size);
  line-height: 35px;
  margin-right: 2.5rem;  
}

.marquee .text .marquee-text a {
  text-decoration: none;
  color: #fff;
}

.marquee .text .marquee-text a:hover {
  color: #f1f1f1;
}

.v-marquee {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: var(--h5-font-size);
  color: var(--second-color);
  padding: 0 20px;
  height: 300px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.v-marquee .marquee-inner {
  display: flex;
  flex-direction: column;
  animation: scrollUp 25s linear infinite;
}


.v-marquee .marquee-inner .marquee-text h4 {
  display: inline-flex;
  font-size: var(--normal-font-size);
  margin-bottom: 1rem;  
}

.v-marquee .marquee-inner .marquee-text a {
  text-decoration: none;
  color: var(--second-color);
}

.v-marquee .marquee-inner .marquee-text a:hover {
  color: #2B7CD3;
}

.v-marquee .marquee-inner .marquee-text .dt-box {
  width: 100%;
  height: 6rem;
  padding: 5px;
  background: var(--main-gradient);
  border-radius: .6rem;
  box-shadow: var(--normal-shadow);
  margin-bottom: 1rem;
}

.v-marquee .marquee-inner .marquee-text .dt-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  line-height: 20px;
  color: #fff;
  text-align: center;
}

.v-marquee .marquee-inner .marquee-text .dt-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--h5-font-size);
  font-weight: var(--font-normal);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.v-marquee .marquee-inner .marquee-text .marque-title h2 a {
  font-family: 'Poppins', sans-serif;
  font-size: var(--normal-font-size);
  font-weight: var(--font-normal);
  color: var(--main-color); 
  padding: 0;
  margin: .7rem 0 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 1.4rem;
  max-height: 2.8rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.v-marquee .marquee-inner .marquee-text .marque-title h3 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-normal);
  color: #000; 
  padding: 0;
  margin: 0;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.v-marquee:hover .marquee-inner {
  animation-play-state: paused; /* hover করলে থেমে যাবে */
}
/* ---------------- Site Marquee End -------------------- */

/* ---------------- Site Welcome Start ------------------ */
.welcome {
  width: 100%;
}

.welcome .text {
  font-size: var(--normal-font-size);
  text-align: justify;
  color: #4a4a4a;
  padding-bottom: .5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 1.6rem;
  max-height: 12.8rem;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

.welcome .img {
  width: 100%;
  border-radius: 10px;
}
.welcome .img img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: var(--normal-shadow);
}

.welcome .btn {
  font-family: 'Poppins', sans-serif;
  width: 25%;
  background: #fed403;
  padding: 10px 10px;
  color: #000;
  font-size: 13px;
  outline: none;
  border:none;
  border-radius: 5px;
  border-right: 3px solid red;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.welcome .btn:hover {
  opacity: .9;
}

.welcome-details {
  width: 100%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: var(--normal-shadow);
  padding: 4rem 6rem;
}
.welcome-details .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 15px;
  border: 1px solid goldenrod;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
  font-weight: 500;
  transition: all 0.3s ease;
}
.welcome-details .btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}
.welcome-details .back-btn {
  background-color: transparent;
}

.welcome-details .back-btn:hover {
  background-color: goldenrod;
  color: #fff;
  border: none;
}
/* ---------------- Site Welcome End ---------------------- */


/*----------------- Card Style Start ---------------------- */
.card {
  width: 100%;
  border-radius: .7rem;
  box-shadow: var(--normal-shadow);
}

.card .card-header {
  background: var(--main-gradient);
  height: 2.7rem;
  padding: 0 1rem;
  border-top-left-radius: .7rem;
  border-top-right-radius: .7rem;
  color: #fff;
  line-height: 2.7rem;
}

.card .card-body {
  padding: 1rem;
}

.card .card-body .img {
  width: 100%;
  border: .2rem solid #fff;
  box-shadow: var(--normal-shadow);
  overflow: hidden;
}

.card .card-body .img img {
  width: 100%;
}

.card .card-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--h5-font-size);
  font-weight: var(--font-normal);
  color: var(--second-color);
  text-align: left;
  margin-top: 1rem;
  margin-bottom: .7rem;
}

.card .card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--normal-font-size);
  font-weight: var(--font-normal);
  color: var(--bg-dark);
  text-align: left;
  margin-bottom: 1.5rem;
}
/*----------------- Card Style End ------------------------ */

/*----------------- Button Style Start -------------------- */
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--main-gradient);
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.icon-btn:hover {
  background: var(--second-color);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(0);
}

/* Subtle variant (outline look) */
.icon-btn-outline {
  background: transparent;
  color: #0d6efd;
  border: 2px solid #0d6efd;
}

.icon-btn-outline:hover {
  background: #0d6efd;
  color: #fff;
}

/* Icon size */
.icon-btn i {
  font-size: 14px;
  line-height: 1;
}
/*----------------- Button Style End ---------------------- */

/*----------------- Notice Search Start ------------------- */
.search-container {
  position: relative;
  width: 100%;
  padding: 1rem 4rem;
  border-radius: .7rem;
  background-color: #fff;
  box-shadow: var(--normal-shadow);
}

.search-container:hover {
  border-top: 3px solid goldenrod;
}

.has-search {
  position: relative;
}

.has-search .form-control {
  padding-left: 60px; /* বাম পাশে আইকনের জন্য স্পেস */
  height: 35px;
  border-radius: .5rem;
}

.has-search .form-control-feedback {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
  pointer-events: none;
}

#suggestion-box {
  position: absolute;
  width: 75%;
  top: 100%;
  left: 50px;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
}

#suggestion-box div {
  padding: 8px;
  cursor: pointer;
}

#suggestion-box div:hover {
  background: #f0f0f0;
}

.btn1 {
  width: 100%;
  height: 2.375rem;
  line-height: 2.375rem;
  border-radius: 10px;
  background: goldenrod;
  color: #fff;
  outline: none;
  border: none;
}

.btn1:hover {
  opacity: .9;
}

.btn2 {
  width: 100%;
  height: 2.375rem;
  line-height: 2.375rem;
  border-radius: 10px;
  background: transparent;
  color: goldenrod;
  outline: none;
  border: 1px solid goldenrod;
}

.btn2:hover {
  background: goldenrod;
  border: none;
  color: #fff;
}

.btn3 {
  width: 10%;
  font-size: var(--smaller-font-size);
  height: 2rem;
  line-height: 2rem;
  border-radius: 10px;
  background: #F4F6F9;
  color: #888888;
  outline: none;
  border: none;
}

.btn3:hover {
  opacity: .9;
}

.shape-container {
  position: relative;
  width: 100%;
  height: 110px;
  box-shadow: var(--normal-shadow);
}

.main-shape {
  width: 100%;
  height: 100%;
  padding: 1.5rem 4rem;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 100% 100%, 0 100%);
  transition: all 0.3s ease;
  border-radius: .7rem;
}

.main-shape i {
  color: goldenrod;
  margin-right: 10px;
  float: left;
}

.main-shape h4 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--normal-font-size);
  font-weight: var(--font-normal);
  color: goldenrod;
}

.triangle {
  position: absolute;
  top: 0;
  right: 0;
  width: 75px;
  height: 75px;
  border-top-right-radius: .7rem;
  background-color: #f1f1f1;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transition: background-color 0.3s ease;
}

.shape-container:hover .triangle {
  background-color: goldenrod;
}
/*----------------- Notice Search End --------------------- */

/* ---------------- Notice View Style Start --------------- */
.viewer-container {
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: var(--normal-shadow);
}

.viewer-container:hover {
    border-top: 3px solid goldenrod;
}

.viewer-container .noticeHd {
  width: 100%;
  height: 50px;
  border-bottom: 1px solid #c8c8c8;
  margin-bottom: 1rem;
}

.viewer-container .noticeHd h2 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--h5-font-size);
  font-weight: var(--font-medium);
  color: #000;
  line-height: 50px;
}

.viewer-container .noticeHd .nDate {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  width: fit-content;
}

.viewer-container .noticeHd .nDate .btn4 {
  font-size: var(--smaller-font-size);
  padding: .5rem 1rem;
  border-radius: 10px;
  background: #F4F6F9;
  color: #888888;
  outline: none;
  border: none;
}

.viewer-container .noticeHd .nDate .btn4:hover {
  opacity: .9;
}

.viewer-container .noticeHd .nDate i {
  font-size: 18px;
  color: #333;
}

.viewer-container .noticeHd .nDate .date {
  font-size: 14px;
  color: #555;
  font-family: 'Poppins', sans-serif;
}

.viewer-container .pdf-frame, .viewer-container .image-frame {
    width: 100%;
    height: 1000px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
}
.viewer-container .image-frame {
    height: auto;
    text-align: center;
    background: #f9f9f9;
}
.viewer-container .image-frame img {
    max-width: 100%;
    max-height: 1000px;
}

.viewer-container .noticeFoot {
  width: 100%;
  border-top: 1px solid #c8c8c8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1rem 0;
  flex-wrap: wrap;
  gap: 10px;
}

.viewer-container .noticeFoot .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 15px;
  border: 1px solid goldenrod;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
  font-weight: 500;
  transition: all 0.3s ease;
}

.viewer-container .noticeFoot .btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.viewer-container .noticeFoot .back-btn,
.viewer-container .noticeFoot .download-btn {
  background-color: transparent;
}

.viewer-container .noticeFoot .back-btn:hover,
.viewer-container .noticeFoot .download-btn:hover {
  background-color: goldenrod;
  color: #fff;
  border: none;
}

.viewer-container .noticeFoot .share-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-container .noticeFoot .share-section .share-text {
  font-weight: 600;
  color: #333;
  margin-right: 4px;
}

.viewer-container .noticeFoot .share-section .icon-btn {
  border: none;
  background: #e9ecef;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.viewer-container .noticeFoot .share-section .icon-btn:hover {
  transform: scale(1.1);
}

.viewer-container .noticeFoot .share-section .fb,
.viewer-container .noticeFoot .share-section .tw,
.viewer-container .noticeFoot .share-section .wa {
color: #1877f2;      /* Facebook */
color: #000;         /* Twitter/X */
color: #25d366;      /* WhatsApp */
}

/* -----------------------------
  RESPONSIVE
--------------------------------*/
@media (max-width: 768px) {
  .viewer-container .noticeFoot {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .viewer-container .noticeFoot .share-section {
    margin-top: 10px;
  }

  .viewer-container .noticeFoot .btn {
    width: 100%;
    justify-content: center;
  }
}
/* ---------------- Notice View Style Start --------------- */

/*----------------- Pagination Style Start --------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to left, #fff, #c2c2c2, #fff);
  padding: 4px 16px;
  user-select: none;
  font-family: "Poppins", sans-serif;
  margin: 40px auto;
}

/* All buttons */
.pagination a,
.pagination span {
  text-decoration: none;
  color: #222;
  font-weight: 400;
  margin: 0 6px;
  padding: 4px 8px;
  border-radius: 50%;
  transition: all 0.25s ease;
}

/* Hover effect */
.pagination a:hover {
  background: rgba(0,0,0,0.08);
}

/* Active page */
.pagination a.active {
  background: #fff;
  color: #000;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.1) inset;
  transform: scale(1.15);
}

/* Prev / Next buttons */
.pagination .prev,
.pagination .next {
  font-size: 20px;
  font-weight: bold;
  padding: 8px 10px;
  color: #444;
  border-radius: 50%;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: rgba(0,0,0,0.1);
}

/* Disabled buttons */
.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Dots */
.pagination .dots {
  font-weight: 600;
  color: #666;
  pointer-events: none;
}
/*----------------- Pagination Style End ----------------- */

/* ---------------- Site Responsive ----------------------- */
@media (max-width: 768px) {
  .bnr-area {
    flex-direction: column; 
    align-items: center; 
  }

  .bnr-area .bnr-logo{
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    margin: 0 auto;
  }

  .bnr-area .bnr-text {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .bnr-area .bnr-text {
    text-align: center; 
    padding: 1rem 0;
  }

  .marquee {
    display: none;
  }
}