/* প্রতিদিন শিখি — Bootstrap theme overrides */
:root {
  --eso-teal: #0d7377;
  --eso-teal-dark: #032326;
  --eso-amber: #e8a838;
  --bs-success: #0d7377;
  --bs-success-rgb: 13, 115, 119;
}

body {
  font-family: "Hind Siliguri", system-ui, sans-serif;
  background: #f7faf9;
  color: #142126;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

.brand-text {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif;
  font-weight: 800;
  color: var(--eso-teal-dark);
}

.brand-display {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif;
  font-weight: 800;
}

.hero-brand-title {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  background: linear-gradient(90deg, #fff 0%, #ffe08a 55%, #e8a838 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-brand-title {
    color: #ffe08a !important;
    -webkit-text-fill-color: #ffe08a;
    background: none;
  }
}

.navbar-brand .brand-text { color: var(--eso-teal-dark); font-size: 1.35rem; }

.eso-nav {
  background: rgba(247, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 115, 119, 0.12);
}

.search-wrap { max-width: 460px; width: 100%; }

.hero-bs {
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(232, 168, 56, 0.28), transparent 55%),
    linear-gradient(155deg, #032326 0%, #0a4a4f 42%, #0d7377 100%);
  position: relative;
  overflow: hidden;
}

.hero-bs::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.35), transparent 65%);
  pointer-events: none;
}

.hero-bs .container { position: relative; z-index: 1; }

.hero-carousel { max-width: 520px; margin-left: auto; }
.hero-slide-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 260px;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide-fallback {
  width: 100%;
  height: 100%;
  min-height: 260px;
}
.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(3, 35, 38, 0.88));
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 12%;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-line {
  font-family: "Anek Bangla", sans-serif;
  color: #fff4dc !important;
}

.min-vh-60 { min-height: 60vh; }

.progress-chip {
  background: linear-gradient(180deg, #fff, #d8f3f0);
  border: 1px solid rgba(13, 115, 119, 0.12);
  border-radius: 0.9rem;
}

.course-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(3, 35, 38, 0.12) !important;
}

.course-img,
.course-img-placeholder {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  min-height: 140px;
}

.course-img-placeholder { background: transparent; }

.journey-bs {
  background: linear-gradient(160deg, #032326, #0d7377 70%, #0a5c63);
}

.journey-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.9rem;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--eso-amber);
  color: #032326;
  font-weight: 800;
}

.feature-box {
  background: linear-gradient(165deg, #fff 60%, #d8f3f0);
  border: 1px solid rgba(13, 115, 119, 0.12);
  border-radius: 1rem;
}

.feature-box.alt {
  background: linear-gradient(165deg, #fff 55%, #fff4dc);
}

.partner-chip {
  background: #fff;
  border: 1px dashed rgba(13, 115, 119, 0.25);
  border-radius: 0.75rem;
  font-weight: 600;
  color: #0a3d42;
}

.eso-footer {
  background: #032326;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover { color: var(--eso-amber); }

.video-card { border-radius: 1rem; overflow: hidden; }

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(3, 35, 38, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  pointer-events: none;
}

.object-fit-cover { object-fit: cover; }

.btn-success {
  --bs-btn-bg: #0d7377;
  --bs-btn-border-color: #0d7377;
  --bs-btn-hover-bg: #0a5c63;
  --bs-btn-hover-border-color: #0a5c63;
  --bs-btn-active-bg: #032326;
  --bs-btn-active-border-color: #032326;
}

.nav-tabs .nav-link {
  white-space: nowrap;
  color: #3d4f55;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  color: #032326;
  border-bottom-color: var(--eso-amber);
}

@media (max-width: 575.98px) {
  .brand-display { font-size: 2.4rem !important; }
  .hero-bs .btn-lg { width: 100%; }
}

.exam-card {
  background: #fff;
  border: 1px solid rgba(13, 115, 119, 0.12);
  border-radius: 1rem;
}

.status-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.status-icon.pass { background: #d1fae5; color: #047857; }
.status-icon.fail { background: #fee2e2; color: #b91c1c; }
.status-icon.pending { background: #f3f4f6; color: #6b7280; }

.certificate {
  max-width: 820px;
}
.certificate-inner {
  border: 10px double #0d7377;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #e8a838, #0d7377) border-box;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(3, 35, 38, 0.12);
}
.cert-brand {
  font-family: "Anek Bangla", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #032326;
}
.cert-tagline { color: #0d7377; font-weight: 600; }
.cert-title {
  font-family: "Anek Bangla", sans-serif;
  font-weight: 800;
  color: #0d7377;
  letter-spacing: 0.04em;
}
.cert-name {
  font-family: "Anek Bangla", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #032326;
  border-bottom: 2px solid #e8a838;
  display: inline-block;
  padding: 0 1rem 0.25rem;
}
.cert-meta { border-top: 1px dashed rgba(13,115,119,.3); padding-top: 1rem; }

@media print {
  nav, footer, .btn, .breadcrumb, #copyMsg { display: none !important; }
  .certificate-inner { box-shadow: none; }
}
