@font-face {
  font-family: "SolaimanLipi";
  src: url("../fonts/SolaimanLipi/SolaimanLipi.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Noto Sans Bengali";
  src: url("https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@500;700&display=swap")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --c-secondary: #00b4d8;
  --c-primary: #8b5cf6;
  --c-ternary: #ff6584;
  --c-subject: #8b5cf6;
  --c-chapter: #00b4d8;
  --bg-light: #f8f9ff;
  --text-dark: #1a1a2e;
  --c-model: #10b981;
  --white: #ffffff;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "SolaimanLipi", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.brand-text {
  font-family: "Noto Serif Bengali", serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 10px;
  background: linear-gradient(90deg, var(--c-subject), var(--c-chapter));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-section {
  display: block;
  min-height: calc(100vh - 70px);
  padding: 20px 0;
  animation: fadeInPage 0.5s ease-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* --- Background Decoration --- */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
  animation: floatShape 15s infinite ease-in-out alternate;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--c-primary);
  top: -50px;
  left: -50px;
  opacity: 0.2;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--c-secondary);
  bottom: -100px;
  right: -100px;
  opacity: 0.2;
  animation-delay: -5s;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: var(--c-ternary);
  bottom: -100px;
  right: -100px;
  opacity: 0.2;
  animation-delay: -5s;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 30px);
  }
}

.list-col {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding-right: 20px;
}

.notice-col {
  padding-left: 20px;
}

.item-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-left: 5px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.item-card.anim-show {
  opacity: 1;
  transform: translateY(0);
}

.item-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-title {
  font-family: "Noto Serif Bengali", serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.item-sub {
  font-size: 0.85rem;
  color: #888;
}

.badge-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-free {
  background-color: rgba(0, 180, 216, 0.15);
  color: var(--c-chapter);
  border: 1px solid var(--c-chapter);
}

.badge-paid {
  background-color: rgba(255, 101, 132, 0.15);
  color: #ff6584;
  border: 1px solid #ff6584;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
}

.back-btn:hover {
  color: var(--text-dark);
  transform: translateX(-3px);
}

/* Model Theme */
.theme-model .item-card {
  border-left-color: var(--c-model);
}

.theme-model .item-card:hover {
  background: #ecfdf5;
}

.theme-model .icon-box {
  background: rgba(16, 185, 129, 0.1);
  color: var(--c-model);
}

/* Subject Theme */
.theme-subject .item-card {
  border-left-color: var(--c-subject);
}

.theme-subject .item-card:hover {
  background: #f5f3ff;
}

.theme-subject .icon-box {
  background: rgba(139, 92, 246, 0.1);
  color: var(--c-subject);
}

.theme-subject .count-badge {
  color: var(--c-subject);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Chapter Theme */
.theme-chapter .item-card {
  border-left-color: var(--c-chapter);
}

.theme-chapter .item-card:hover {
  background: #f0f9ff;
}

.theme-chapter .icon-box {
  background: rgba(0, 180, 216, 0.1);
  color: var(--c-chapter);
}

.theme-chapter .count-badge {
  color: var(--c-chapter);
  font-weight: 600;
  font-size: 0.85rem;
}


/* Notice */

.notice-board {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.notice-header {
  font-family: "Noto Serif Bengali", serif;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-subject);
}

.notice-item {
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  color: #555;
  line-height: 1.5;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  display: block;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .list-col {
    border-right: none;
    padding-right: 15px;
  }

  .notice-col {
    padding-left: 15px;
    margin-top: 30px;
  }

  .notice-board {
    position: static;
  }
}
