/*
Theme Name: Phulbari Coal
Theme URI: http://localhost/fulbari2
Author: Phulbari Coal Team
Author URI: http://localhost/fulbari2
Description: Modern glassmorphism corporate portal WordPress theme for Phulbari Coal Project. Same-as-it-is design with rich glass panels, gradient hero sliders, interactive media hub, parallax showcase, dynamic menus, and full Elementor Website Builder free version editing support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: phulbari
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, block-styles

This theme is licensed under the GNU General Public License v2 or later.
*/

:root {
  --navy: #061c2b;
  --blue: #087ca7;
  --cyan: #21c4d7;
  --green: #36b778;
  --lime: #b7df5a;
  --gold: #ffc94a;
  --orange: #ff7849;
  --paper: #f3fbfb;
  --ink: #15313d;
  --muted: #71868e;
  --glass: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: "DM Serif Display", serif;
}

a {
  text-decoration: none;
}

.section {
  padding: 95px 0;
}

.eyebrow {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
}

.muted {
  color: var(--muted);
}

.top {
  background: #041722;
  color: #bad2da;
  padding: 8px 0;
  font-size: 11px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2px 6px;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  color: #bad2da !important;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lang-btn:hover {
  color: #fff !important;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(8, 124, 167, 0.4);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  margin: 0 1px;
}


.navbar {
  position: absolute;
  z-index: 50;
  width: 100%;
  background: linear-gradient(#071d2cc7, transparent);
  border-bottom: 1px solid #ffffff20;
}

.navbar-brand {
  font: 30px "DM Serif Display", serif;
  color: #fff !important;
}

.navbar-brand span {
  color: var(--cyan);
}

.nav-link {
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  padding: 22px 12px !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.current-menu-item > .nav-link {
  color: var(--cyan) !important;
}

.dropdown-menu {
  border: 0;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 60px #001b2735;
  min-width: 285px;
}

.dropdown-item {
  font-size: 11px;
  border-radius: 9px;
  padding: 9px 11px;
  color: var(--ink);
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #e8f8f8;
  color: var(--blue);
}

.btn-main {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 12px 30px #087ca72d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-main:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px #087ca744;
}

.btn-glass {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 30px;
  border: 1px solid #ffffff55;
  background: #ffffff12;
  backdrop-filter: blur(12px);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.btn-glass:hover {
  background: #ffffff25;
  color: #fff !important;
}

.hero {
  height: 780px;
  position: relative;
  overflow: hidden;
  background: #061c2b;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #041925ef, #062b3cb8 48%, #05304742), linear-gradient(0deg, #04192599, transparent 50%);
}

.hero .inner {
  height: 100%;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(4.5rem, 8.2vw, 8rem);
  line-height: 0.82;
  max-width: 950px;
}

.hero h1 span {
  background: linear-gradient(90deg, #62e4e7, #d8ef75, #ffc94a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  max-width: 650px;
  color: #d6e8ed;
  line-height: 1.8;
}

.hero-tag {
  display: inline-block;
  border: 1px solid #ffffff50;
  background: #ffffff13;
  backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 8px 13px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 900;
  text-transform: uppercase;
}

.play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #102d38 !important;
  box-shadow: 0 0 0 10px #ffffff15;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 14px #ffffff25;
}

.carousel-indicators [data-bs-target] {
  width: 45px;
  height: 4px;
  border: 0;
  border-radius: 5px;
}

.glass-float {
  position: relative;
  z-index: 8;
  margin-top: -70px;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #fff;
  backdrop-filter: blur(22px);
  border-radius: 26px;
  box-shadow: 0 25px 80px #052c3c25;
  padding: 12px;
}

.quick {
  padding: 24px;
  border-right: 1px solid #cfe2e5;
}

.quick:last-child {
  border: 0;
}

.quick i {
  font-size: 23px;
  color: var(--blue);
}

.quick strong {
  display: block;
  font-size: 13px;
  margin-top: 10px;
}

.quick small {
  font-size: 10px;
  color: var(--muted);
}

.about-photo {
  position: relative;
}

.about-photo > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 30px;
}

.float-card {
  position: absolute;
  right: -20px;
  bottom: 35px;
  width: 260px;
  padding: 24px;
  background: #ffffffc7;
  backdrop-filter: blur(18px);
  border: 1px solid #fff;
  border-radius: 22px;
  box-shadow: 0 20px 50px #052b3a2a;
}

.float-card b {
  font: 32px "DM Serif Display", serif;
  color: var(--blue);
  display: block;
}

.feature {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #dcebed;
}

.feature i {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #dff9f5, #e9f5ff);
  color: var(--blue);
  flex-shrink: 0;
}

.feature h5 {
  font: 800 13px 'Manrope', sans-serif;
  margin: 0;
}

.feature p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}

.gradient-section {
  background: radial-gradient(circle at 15% 15%, #dff7ef 0, transparent 28%), radial-gradient(circle at 90% 20%, #e2f5ff 0, transparent 25%), linear-gradient(135deg, #f7fcfb, #f5fbff);
}

.topic {
  display: block;
  height: 100%;
  padding: 22px;
  border-radius: 20px;
  background: #ffffffb5;
  border: 1px solid #fff;
  box-shadow: 0 10px 30px #0b52650c;
  backdrop-filter: blur(10px);
  color: var(--ink);
  transition: 0.3s;
}

.topic:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px #0a52651c;
  color: var(--ink);
}

.topic i {
  font-size: 21px;
  color: var(--blue);
}

.topic strong {
  display: block;
  font-size: 13px;
  margin-top: 15px;
}

.topic small {
  font-size: 10px;
  color: var(--muted);
}

.parallax {
  min-height: 600px;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.parallax:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #04202ddd, #06495b80);
}

.parallax .container {
  position: relative;
  z-index: 2;
}

.glass-dark {
  max-width: 680px;
  padding: 45px;
  border-radius: 28px;
  background: #082c388f;
  border: 1px solid #ffffff2e;
  backdrop-filter: blur(16px);
  color: #fff;
}

.glass-dark h2 {
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  line-height: 0.92;
}

.chip {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid #ffffff2d;
  border-radius: 20px;
  background: #ffffff0f;
  font-size: 10px;
  margin: 4px;
}

.media-card {
  height: 390px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #061c2bd8, transparent 65%);
}

.media-card .cap {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}

.media-card h3 {
  font-size: 1.7rem;
  margin: 4px 0;
}

.media-card small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #bde9e9;
}

.media-card .play-sm {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 3;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffd9;
  color: var(--blue);
}

.news-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e0ecee;
  height: 100%;
  box-shadow: 0 10px 30px #073f4b0b;
}

.news-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.news-card .body {
  padding: 23px;
}

.badge-news {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  background: #e6f7f5;
  color: #087b7d;
  border-radius: 20px;
  padding: 7px 10px;
  display: inline-block;
}

.badge-press {
  background: #fff1dc;
  color: #ad6a00;
}

.news-card h3 {
  font-size: 1.55rem;
  margin-top: 14px;
}

.news-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
}

.news-card time {
  font-size: 9px;
  color: #91a2a7;
}

.video-feature {
  min-height: 520px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  background-size: cover;
  background-position: center;
}

.video-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #051e2ce8, #051e2c28);
}

.video-feature .body {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 45px;
}

.video-feature h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.album-strip .item img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.album-strip .item h4 {
  font-size: 1.25rem;
  margin-top: 12px;
}

.album-strip .item small {
  color: var(--muted);
}

.stats {
  background: linear-gradient(110deg, #075f82, #0a978d, #65ae67);
  border-radius: 30px;
  padding: 38px;
  color: #fff;
}

.stat {
  text-align: center;
  border-right: 1px solid #ffffff32;
}

.stat:last-child {
  border: 0;
}

.stat b {
  font: 42px "DM Serif Display", serif;
  display: block;
}

.stat small {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta {
  background: linear-gradient(120deg, #dff9f2, #e7f6ff 50%, #fff2ce);
  padding: 55px;
  border-radius: 32px;
}

.cta h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

footer {
  background: #051d2b;
  color: #9db8c1;
  padding: 70px 0 25px;
}

footer h5 {
  color: #fff;
  font: 800 12px 'Manrope', sans-serif;
  text-transform: uppercase;
  margin-bottom: 15px;
}

footer a {
  display: block;
  color: #9db8c1;
  font-size: 11px;
  margin: 9px 0;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.75s;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

.page-head {
  padding: 190px 0 95px;
  color: #fff;
  background: linear-gradient(120deg, #062739, #087d8c);
  position: relative;
}

.page-head h1 {
  font-size: clamp(3.8rem, 7vw, 6.5rem);
}

.content-card {
  background: #fff;
  border: 1px solid #e0ecee;
  border-radius: 22px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 10px 30px #0b526508;
}

.content-card h3 {
  font-size: 1.7rem;
}

.content-card p,
.content-card li {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.download-card {
  background: #fff;
  border: 1px solid #e0ecee;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  box-shadow: 0 5px 20px #052c3c0a;
}

.pdf {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff0ef;
  color: #d64a45;
  font-size: 20px;
  flex-shrink: 0;
}

.form-control {
  border: 1px solid #dce8eb;
  border-radius: 12px;
  padding: 13px;
  font-size: 12px;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #087ca71a;
}

/* Expanded visual gallery */
.more-photos {
  padding: 90px 0;
  background: linear-gradient(135deg, #f7fbfa, #edf8fb);
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 175px;
  gap: 12px;
}

.photo-wall figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #17313a;
}

.photo-wall figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.photo-wall figure:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}

.photo-wall figure:nth-child(3),
.photo-wall figure:nth-child(4),
.photo-wall figure:nth-child(5) {
  grid-column: span 4;
}

.photo-wall figure:nth-child(6) {
  grid-column: span 5;
}

.photo-wall figure:nth-child(7) {
  grid-column: span 7;
}

.photo-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.photo-wall figure:hover img {
  transform: scale(1.06);
}

.photo-wall figure:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #061d29c9, transparent 58%);
}

.photo-wall figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 15px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.photo-wall figcaption small {
  display: block;
  font-size: 8px;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Final Media Centre */
.media-hub {
  padding: 90px 0;
  background: linear-gradient(135deg, #f7fbfb, #edf7fa);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.media-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #102833;
}

.media-grid figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.media-grid figure:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}

.media-grid figure:nth-child(3),
.media-grid figure:nth-child(4),
.media-grid figure:nth-child(5) {
  grid-column: span 4;
}

.media-grid figure:nth-child(6) {
  grid-column: span 12;
}

.media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.media-grid figure:hover img {
  transform: scale(1.05);
}

.media-grid figure:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #051d2bcf, transparent 60%);
}

.media-grid figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.media-grid figcaption small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.media-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.media-tabs a {
  padding: 10px 18px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #dce8eb;
  color: #29454d;
  font-size: 11px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.media-tabs a:hover,
.media-tabs a.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.press-card {
  height: 100%;
  background: #fff;
  border: 1px solid #dfeaed;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px #0b526508;
  transition: transform 0.3s ease;
}

.press-card:hover {
  transform: translateY(-5px);
}

.press-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.press-card .pbody {
  padding: 22px;
}

.press-card h3 {
  font-size: 1.55rem;
}

.press-card p {
  font-size: 11px;
  line-height: 1.75;
  color: #71868e;
}

.press-tag {
  display: inline-block;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  border-radius: 20px;
  background: #e4f7f6;
  color: #087b7d;
}

.video-tile {
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #061c2b;
}

.video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-tile:hover img {
  transform: scale(1.05);
}

.video-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #061c2bd9, transparent 65%);
}

.video-tile .vbody {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
}

.video-tile .vplay {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #087ca7;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.video-tile:hover .vplay {
  transform: scale(1.1);
}

/* Elementor and WordPress compatibility */
.entry-content {
  width: 100%;
}

.elementor-page .page-content,
.elementor-page .entry-content {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Responsive queries */
@media (max-width: 991px) {
  .navbar {
    position: relative;
    background: #061c2b;
  }
  .nav-link {
    padding: 8px 0 !important;
  }
  .hero {
    height: 680px;
  }
  .glass-float {
    margin-top: 0;
  }
  .quick {
    border-right: 0;
    border-bottom: 1px solid #dce8eb;
  }
  .section {
    padding: 70px 0;
  }
  .parallax {
    background-attachment: scroll;
  }
  .float-card {
    right: 10px;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid #ffffff32;
    padding: 16px;
  }
  .page-head {
    padding: 100px 0 70px;
  }
}

@media (max-width: 767px) {
  .photo-wall {
    display: block;
  }
  .photo-wall figure {
    height: 260px;
    margin-bottom: 12px;
  }
  .media-grid {
    display: block;
  }
  .media-grid figure {
    height: 260px;
    margin-bottom: 12px;
  }
}

/* Bilingual Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 3px 8px;
  backdrop-filter: blur(8px);
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

.lang-btn {
  color: #c9e4ed;
  text-decoration: none;
  padding: 2px 7px;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1.3;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: #21c4d7;
  color: #061c2b !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(33, 196, 215, 0.35);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

/* Bangla Typography */
body.lang-bn {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4,
body.lang-bn h5 {
  font-family: 'Hind Siliguri', 'DM Serif Display', 'Manrope', sans-serif;
  font-weight: 700;
}

/* ========================================================
   PROJECT TOPICS 2-COLUMN LAYOUT & SIDEBAR NAVIGATION
   ======================================================== */
.content-card {
  background: #ffffff;
  border: 1px solid #e2edf0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(6, 28, 43, 0.05);
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.project-sidebar-card {
  position: sticky;
  top: 95px;
  background: #ffffff;
  border: 1px solid #dce8eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(6, 28, 43, 0.06);
  margin-bottom: 30px;
  z-index: 10;
}

.project-sidebar-header {
  background: linear-gradient(135deg, #061c2b, #0a354e);
  color: #fff;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-sidebar-header h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-sidebar-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  margin: 0;
}

.topic-nav-list {
  max-height: calc(100vh - 210px);
  overflow-y: auto;
  padding: 10px;
}

.topic-nav-list::-webkit-scrollbar {
  width: 5px;
}

.topic-nav-list::-webkit-scrollbar-track {
  background: #f1f6f8;
  border-radius: 10px;
}

.topic-nav-list::-webkit-scrollbar-thumb {
  background: #cbdfe5;
  border-radius: 10px;
}

.topic-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  color: #15313d;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  transition: all 0.2s ease;
  margin-bottom: 4px;
  border: 1px solid transparent;
}

.topic-nav-item:hover {
  background: #f0f8fa;
  color: #087ca7;
  border-color: #d1ecf1;
  transform: translateX(3px);
}

.topic-nav-item.active {
  background: linear-gradient(135deg, #087ca7, #065b7c) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(8, 124, 167, 0.28);
  font-weight: 700;
}

.topic-nav-item .topic-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e5f3f7;
  color: #087ca7;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.topic-nav-item.active .topic-num {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.topic-nav-item .topic-label {
  flex-grow: 1;
}

.topic-nav-item .topic-icon {
  font-size: 0.88rem;
  color: #8da4ac;
  flex-shrink: 0;
  margin-left: 6px;
}

.topic-nav-item.active .topic-icon {
  color: #ffc94a;
}

.topic-detail-card {
  background: #ffffff;
  border: 1px solid #e0ecf0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 35px rgba(6, 28, 43, 0.05);
}

.topic-detail-card h1,
.topic-detail-card h2,
.topic-detail-card h3,
.topic-detail-card h4 {
  color: #061c2b;
}

.topic-detail-card p {
  color: #274350;
  line-height: 1.75;
  font-size: 1.02rem;
}

.topic-detail-card .lead-sm {
  font-size: 1.05rem;
  line-height: 1.8;
}

.topic-detail-card figure {
  margin: 28px 0;
}

.topic-detail-card figure img {
  max-height: 520px;
  width: 100%;
  object-fit: contain;
  background: #fbfdfd;
  border: 1px solid #e0ecf0;
}

.topic-detail-card figcaption {
  font-size: 0.88rem;
  color: #607983;
  margin-top: 10px;
}

.topic-detail-card .table {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.topic-detail-card .table th {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-feature-list li {
  font-size: 0.98rem;
  color: #274350;
  line-height: 1.6;
}

/* Bottom Pagination */
.topic-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 45px;
  padding-top: 28px;
  border-top: 1px solid #e5eff2;
}

.topic-page-btn {
  display: flex;
  flex-direction: column;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid #dce8eb;
  background: #f8fbfb;
  text-decoration: none;
  color: #15313d;
  transition: all 0.25s ease;
  width: 48%;
}

.topic-page-btn:hover {
  background: #eef7fa;
  border-color: #087ca7;
  color: #087ca7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 124, 167, 0.12);
}

.topic-page-btn .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71868e;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topic-page-btn .title {
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 991px) {
  .project-sidebar-card {
    position: static;
    margin-bottom: 30px;
  }
  .topic-nav-list {
    max-height: 380px;
  }
  .topic-detail-card {
    padding: 24px;
  }
  .topic-pagination {
    flex-direction: column;
  }
  .topic-page-btn {
    width: 100%;
  }
}


