/*
	Namangan filarmoniyasi — premium frontend theme
	DataLife Engine uchun. Faqat shablon qatlami (presentation).
	Hech qanday DLE core / engine / backend bog'liqligi yo'q.
*/

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  --primary: #071D33;
  --primary-dark: #09243D;
  --primary-soft: #10314f;
  --accent: #F6C744;
  --accent-dark: #e3b32f;
  --background: #F7F9FB;
  --white: #FFFFFF;
  --text: #102033;
  --muted: #536273;
  --border: #E5EAF0;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(7, 29, 51, 0.06);
  --shadow-sm: 0 6px 18px rgba(7, 29, 51, 0.06);
  --shadow: 0 14px 40px rgba(7, 29, 51, 0.10);
  --shadow-lg: 0 26px 60px rgba(7, 29, 51, 0.16);

  --container: 1280px;
  --gutter: 20px;
  --section-y: 84px;

  --font-head: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;

  --transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover, a:focus { color: var(--accent-dark); text-decoration: none; outline: none; }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

::selection { background: var(--accent); color: var(--primary); }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

.bi-eyebrow {
  color: var(--accent-dark);
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.bi-section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  margin: 0;
}

.bi-section--dark .bi-section__title,
.bi-section--dark h1,
.bi-section--dark h2,
.bi-section--dark h3 { color: var(--white); }

.bi-lead { color: var(--muted); font-size: 17px; line-height: 1.85; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.bi-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  text-transform: uppercase;
  transition: var(--transition);
}

.bi-btn i { font-size: 13px; }

.bi-btn--gold { background: var(--accent); color: var(--primary); box-shadow: 0 10px 24px rgba(246, 199, 68, 0.35); }
.bi-btn--gold:hover, .bi-btn--gold:focus { background: var(--accent-dark); color: var(--primary); transform: translateY(-2px); }

.bi-btn--primary { background: var(--primary); color: var(--white); }
.bi-btn--primary:hover, .bi-btn--primary:focus { background: var(--primary-dark); color: var(--accent); transform: translateY(-2px); }

.bi-link-arrow {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  white-space: nowrap;
}
.bi-link-arrow i { color: var(--accent-dark); transition: var(--transition); }
.bi-link-arrow:hover { color: var(--accent-dark); }
.bi-link-arrow:hover i { transform: translateX(5px); }

/* ==========================================================================
   5. HEADER / TOPBAR
   ========================================================================== */
.bi-header { background: var(--primary); position: relative; z-index: 1030; }

.bi-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
}
.bi-topbar__inner { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; min-height: 44px; padding: 6px 0; }
.bi-topbar__list { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.bi-topbar__list li { align-items: center; display: flex; gap: 8px; }
.bi-topbar__list i { color: var(--accent); }
.bi-topbar__list a { color: inherit; }
.bi-topbar__list a:hover { color: var(--accent); }
.bi-topbar__social { align-items: center; display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.bi-topbar__social a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.bi-topbar__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); transform: translateY(-2px); }

.bi-navbar { align-items: center; display: flex; gap: 22px; justify-content: space-between; min-height: 78px; position: relative; }

.bi-mainnav { background: rgba(0, 0, 0, 0.12); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.bi-mainnav .bi-nav { flex-wrap: wrap; gap: 2px; justify-content: center; }

.bi-brand { align-items: center; display: flex; gap: 14px; min-width: 0; }
.bi-brand__logo {
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 52px;
  justify-content: center;
  padding: 7px 10px;
  width: 52px;
}
.bi-brand__logo img { max-height: 100%; width: auto; }
.bi-brand__name {
  color: var(--white);
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.bi-brand__name span { color: rgba(255, 255, 255, 0.6); display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

.bi-nav { align-items: center; display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.bi-nav__item { position: relative; }
.bi-nav__link {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.03em;
  padding: 16px 18px;
  position: relative;
  text-transform: uppercase;
  transition: var(--transition);
}
.bi-nav__link::after {
  background: var(--accent);
  border-radius: var(--radius-pill);
  bottom: 8px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  width: 0;
}
.bi-nav__link:hover,
.bi-nav__link:focus,
.bi-nav__item.current > .bi-nav__link { color: var(--accent); }
.bi-nav__link:hover::after,
.bi-nav__link:focus::after,
.bi-nav__item.current > .bi-nav__link::after { width: 56%; }
.bi-nav__link .fa-angle-down { font-size: 10px; opacity: 0.7; transition: transform 0.3s ease; }
.bi-nav__item.show > .bi-nav__link .fa-angle-down { transform: rotate(180deg); }

.bi-nav .dropdown-menu {
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 6px;
  min-width: 240px;
  overflow: hidden;
  padding: 8px;
}
.bi-nav .dropdown-item {
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 14px;
}
.bi-nav .dropdown-item:hover, .bi-nav .dropdown-item:focus { background: var(--background); color: var(--primary); }

.bi-actions { align-items: center; display: flex; gap: 10px; }

.bi-lang { position: relative; }
.bi-lang__btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--white);
  display: inline-flex;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  height: 42px;
  letter-spacing: 0.06em;
  padding: 0 15px;
}
.bi-lang__btn:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.bi-lang .dropdown-menu { background: var(--white); border: 0; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-top: 8px; min-width: 90px; padding: 6px; }
.bi-lang .dropdown-item { border-radius: 8px; color: var(--text); font-weight: 600; text-align: center; }
.bi-lang .dropdown-item:hover, .bi-lang .dropdown-item.active { background: var(--accent); color: var(--primary); }

.bi-actions .bi-btn { padding: 12px 22px; }

.bi-burger {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 12px;
  color: var(--white);
  display: none;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.bi-burger:hover { background: var(--accent); color: var(--primary); }

/* Mobile panel */
.bi-mobile-panel { display: none; }
.bi-search {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  display: flex;
  overflow: hidden;
  padding: 4px 4px 4px 18px;
}
.bi-search input {
  background: transparent;
  border: 0;
  color: var(--white);
  min-width: 0;
  outline: none;
  width: 150px;
}
.bi-search input::placeholder { color: rgba(255, 255, 255, 0.55); }
.bi-search button { align-items: center; background: var(--accent); border: 0; border-radius: 50%; color: var(--primary); display: inline-flex; height: 38px; justify-content: center; width: 38px; }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.bi-hero { position: relative; }
.bi-hero__slide { height: clamp(450px, 56vw, 550px); overflow: hidden; position: relative; }
.bi-hero__slide img { height: 100%; object-fit: cover; width: 100%; }
.bi-hero__slide::after {
  background:
    linear-gradient(90deg, rgba(7, 29, 51, 0.95) 0%, rgba(7, 29, 51, 0.78) 42%, rgba(7, 29, 51, 0.30) 100%),
    linear-gradient(180deg, rgba(7, 29, 51, 0.15) 0%, rgba(7, 29, 51, 0.55) 100%);
  content: "";
  inset: 0;
  position: absolute;
}
.bi-hero__content {
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.bi-hero__badge {
  background: var(--accent);
  border-radius: var(--radius-pill);
  color: var(--primary);
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding: 8px 18px;
  text-transform: uppercase;
}
.bi-hero__title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.bi-hero__text {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 620px;
}
.bi-hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; }

.bi-hero__play {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  text-transform: uppercase;
}
.bi-hero__play:hover { color: var(--accent); }
.bi-hero__play-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  transition: var(--transition);
  width: 52px;
}
.bi-hero__play:hover .bi-hero__play-icon { background: var(--accent); border-color: var(--accent); color: var(--primary); transform: scale(1.06); }

.bi-hero .carousel-indicators { bottom: 26px; gap: 8px; margin: 0; z-index: 4; }
.bi-hero .carousel-indicators [data-bs-target] {
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: var(--radius-pill);
  height: 4px;
  opacity: 1;
  transition: var(--transition);
  width: 26px;
}
.bi-hero .carousel-indicators .active { background: var(--accent); width: 44px; }
.bi-hero .carousel-control-prev,
.bi-hero .carousel-control-next { opacity: 0; transition: var(--transition); width: 8%; z-index: 4; }
.bi-hero:hover .carousel-control-prev,
.bi-hero:hover .carousel-control-next { opacity: 0.8; }

/* ==========================================================================
   7. SECTIONS
   ========================================================================== */
.bi-section { padding: var(--section-y) 0; position: relative; }
.bi-section--alt { background: var(--white); }
.bi-section--muted { background: var(--background); }
.bi-section--dark { background: var(--primary); }
.bi-section--dark .bi-lead,
.bi-section--dark p { color: rgba(255, 255, 255, 0.72); }

.bi-section__head {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 44px;
}
.bi-section__head--center { align-items: center; flex-direction: column; text-align: center; }
.bi-section__head--center .bi-eyebrow { margin-left: auto; margin-right: auto; }
.bi-section__intro { color: var(--muted); margin: 12px 0 0; max-width: 620px; }
.bi-section--dark .bi-section__intro { color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   8. CARDS (events / festival / concerts)
   ========================================================================== */
.bi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.bi-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }

.bi-card__media { overflow: hidden; position: relative; }
.bi-card__media img { aspect-ratio: 4 / 3; display: block; object-fit: cover; transition: transform 0.6s ease; width: 100%; }
.bi-card:hover .bi-card__media img { transform: scale(1.07); }

.bi-card__date {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  left: 16px;
  line-height: 1;
  padding: 9px 12px;
  position: absolute;
  text-align: center;
  top: 16px;
}
.bi-card__date b { color: var(--primary); display: block; font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.bi-card__date span { color: var(--accent-dark); display: block; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.bi-card__tag {
  background: rgba(7, 29, 51, 0.82);
  border-radius: var(--radius-pill);
  bottom: 16px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  left: 16px;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  position: absolute;
  text-transform: uppercase;
}

.bi-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.bi-card__title { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0; }
.bi-card__title a { color: var(--text); }
.bi-card__title a:hover { color: var(--primary); }
.bi-card__meta { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13.5px; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.bi-card__meta li { align-items: center; display: inline-flex; gap: 7px; }
.bi-card__meta i { color: var(--accent-dark); }
.bi-card__icon { color: var(--accent-dark); font-size: 24px; line-height: 1; }

.bi-card__foot { align-items: center; border-top: 1px solid var(--border); display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.bi-card__foot span { color: var(--muted); font-size: 13px; font-weight: 600; }
.bi-card__price { color: var(--primary); font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.bi-card__price del { color: var(--muted); font-size: 14px; font-weight: 500; margin-left: 8px; }
.bi-card__arrow {
  align-items: center;
  background: var(--background);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  transition: var(--transition);
  width: 38px;
}
.bi-card:hover .bi-card__arrow { background: var(--accent); color: var(--primary); transform: rotate(-45deg); }

/* Tadbir kartasi (event) — biroz ixchamroq */
.bi-card--event .bi-card__body { gap: 8px; padding: 18px 18px 20px; }
.bi-card--event .bi-card__meta { font-size: 12.5px; gap: 6px 12px; }
.bi-card--event .bi-card__title { font-size: 15px; line-height: 1.4; }
.bi-card--event .bi-card__text { color: var(--muted); font-size: 13.5px; line-height: 1.65; margin: 0; }
.bi-card--event .bi-card__foot { padding-top: 14px; }

/* ==========================================================================
   9. ABOUT
   ========================================================================== */
.bi-about { overflow: hidden; }
.bi-about__media { position: relative; }
.bi-about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.bi-about__icon {
  align-items: center;
  background: var(--accent);
  border-radius: 22px;
  color: var(--primary);
  display: inline-flex;
  font-size: 30px;
  height: 82px;
  justify-content: center;
  margin-bottom: 22px;
  width: 82px;
}
.bi-about__title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.bi-about__list { display: grid; gap: 14px 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 24px 0 30px; padding: 0; }
.bi-about__list li { align-items: flex-start; color: var(--text); display: flex; font-weight: 500; gap: 10px; }
.bi-about__list i { color: var(--accent-dark); margin-top: 5px; }

/* ==========================================================================
   10. NEWS
   ========================================================================== */
.bi-news__featured {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}
.bi-news__featured:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.bi-news__featured-media { overflow: hidden; }
.bi-news__featured-media img { aspect-ratio: 16 / 10; display: block; object-fit: cover; transition: transform 0.6s ease; width: 100%; }
.bi-news__featured:hover .bi-news__featured-media img { transform: scale(1.05); }
.bi-news__featured-body { display: flex; flex-direction: column; gap: 12px; padding: 26px; }

.bi-news__meta { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13.5px; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.bi-news__meta i { color: var(--accent-dark); }
.bi-news__cat { color: var(--accent-dark); font-weight: 700; }
.bi-news__featured-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; margin: 0; }
.bi-news__featured-title a { color: var(--text); }
.bi-news__featured-title a:hover { color: var(--primary); }

.bi-news-last { list-style: none; margin: 0; padding: 0; }
.bi-news-last > li { display: flex; gap: 14px; margin-bottom: 16px; }
.bi-news-last > li:last-child { margin-bottom: 0; }
.bi-news-last .img-holder { border-radius: var(--radius-sm); flex: 0 0 84px; overflow: hidden; }
.bi-news-last .img-holder img { aspect-ratio: 1 / 1; height: 100%; object-fit: cover; width: 100%; }
.bi-news-last .title h3 { font-size: 14.5px; line-height: 1.45; margin: 0 0 4px; text-transform: none; }
.bi-news-last .title h3 a { color: var(--text); }
.bi-news-last .title h3 a:hover { color: var(--primary); }
.bi-news-last .title p { color: var(--muted); font-size: 12.5px; margin: 0; }
.bi-news-last .title p i { color: var(--accent-dark); margin-right: 6px; }

.bi-shop-pop { list-style: none; margin: 0; padding: 0; }
.bi-shop-pop > li { display: flex; gap: 14px; margin-bottom: 16px; }
.bi-shop-pop > li:last-child { margin-bottom: 0; }
.bi-shop-pop .img-holder { border-radius: var(--radius-sm); flex: 0 0 84px; overflow: hidden; }
.bi-shop-pop .img-holder img { aspect-ratio: 1 / 1; height: 100%; object-fit: cover; width: 100%; }
.bi-shop-pop .title h3 { font-size: 14.5px; line-height: 1.45; margin: 0 0 4px; text-transform: none; }
.bi-shop-pop .title h3 a { color: var(--text); }
.bi-shop-pop .title p { color: var(--primary); font-family: var(--font-head); font-size: 13px; font-weight: 700; margin: 0; }

.bi-news__list { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.bi-news-item {
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex: 1 1 auto;
  gap: 16px;
  overflow: hidden;
  padding: 14px;
  transition: var(--transition);
}
.bi-news-item:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: transparent; }
.bi-news-item__thumb { border-radius: var(--radius-sm); flex: 0 0 116px; overflow: hidden; }
.bi-news-item__thumb img { height: 100%; object-fit: cover; width: 100%; }
.bi-news-item__body { display: flex; flex-direction: column; gap: 7px; justify-content: center; min-width: 0; }
.bi-news-item__title { font-size: 15.5px; font-weight: 700; line-height: 1.45; margin: 0; }
.bi-news-item__title a { color: var(--text); }
.bi-news-item__title a:hover { color: var(--primary); }
.bi-news-item__date { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.bi-news-item__date i { color: var(--accent-dark); margin-right: 6px; }

/* Yangilik mini item (news-mini) — rasm eniga (landscape) */
.bi-news-item--mini { align-items: center; }
.bi-news-item--mini .bi-news-item__thumb { align-self: center; aspect-ratio: 4 / 3; flex: 0 0 142px; }
.bi-news-item--mini .bi-news-item__thumb img { height: 100%; object-fit: cover; width: 100%; }

/* ==========================================================================
   11. TEAM
   ========================================================================== */
.bi-team__card { text-align: center; }
.bi-team__photo {
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  height: 190px;
  margin: 0 auto 22px;
  overflow: hidden;
  position: relative;
  width: 190px;
}
.bi-team__photo img { height: 100%; object-fit: cover; transition: transform 0.6s ease; width: 100%; }
.bi-team__card:hover .bi-team__photo img { transform: scale(1.08); }
.bi-team__card h3 { color: var(--white); font-size: 18px; margin: 0 0 4px; }
.bi-team__role { color: var(--accent); display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 12px; text-transform: uppercase; }
.bi-team__card p { color: rgba(255, 255, 255, 0.68); font-size: 14px; line-height: 1.7; margin: 0 auto; max-width: 280px; }
.bi-team__social { display: flex; gap: 10px; justify-content: center; list-style: none; margin: 18px 0 0; padding: 0; }
.bi-team__social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.bi-team__social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }

/* ==========================================================================
   12. PARTNERS
   ========================================================================== */
.bi-partners { padding: 64px 0; }
.bi-partners__grid { align-items: center; display: grid; gap: 26px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bi-partners__item {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  min-height: 110px;
  padding: 20px;
  transition: var(--transition);
}
.bi-partners__item img { filter: grayscale(100%); max-height: 58px; opacity: 0.75; transition: var(--transition); width: auto; }
.bi-partners__item:hover { border-color: transparent; box-shadow: var(--shadow-sm); }
.bi-partners__item:hover img { filter: grayscale(0); opacity: 1; }

/* ==========================================================================
   13. CONTACT / MAP BAND
   ========================================================================== */
.bi-contact-band { background: var(--background); }
.bi-contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); height: 100%; padding: 30px; }
.bi-contact-card h3 { font-size: 20px; }
.bi-contact-card__row { align-items: flex-start; display: flex; gap: 14px; margin-bottom: 18px; }
.bi-contact-card__row:last-child { margin-bottom: 0; }
.bi-contact-card__row i { color: var(--accent-dark); font-size: 20px; margin-top: 2px; }
.bi-contact-card__row strong { color: var(--text); display: block; font-family: var(--font-head); font-size: 14px; }
.bi-contact-card__row span, .bi-contact-card__row a { color: var(--muted); }
.bi-map-frame { border: 1px solid var(--border); border-radius: var(--radius); height: 100%; min-height: 340px; overflow: hidden; }
.bi-map-frame iframe { display: block; height: 100%; min-height: 340px; width: 100%; }

/* ==========================================================================
   14. PAGE HERO / BREADCRUMB
   ========================================================================== */
.bi-page-hero {
  background: linear-gradient(90deg, rgba(7, 29, 51, 0.96), rgba(9, 36, 61, 0.82)), url('/templates/BuildIndusty/img/breadcrumb/breadcrumb-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 74px 0;
}
.bi-page-hero h1 { color: var(--white); font-size: clamp(26px, 3.4vw, 42px); margin: 0; }
.bi-breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 0; }
.bi-breadcrumb, .bi-breadcrumb a { color: var(--muted); font-size: 14px; }
.bi-breadcrumb a:hover { color: var(--accent-dark); }

/* ==========================================================================
   15. CONTENT (inner pages)
   ========================================================================== */
.bi-content { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow-wrap: anywhere; padding: 30px; }
.bi-content img { border-radius: var(--radius-sm); height: auto; max-width: 100%; }
.bi-content iframe, .bi-content video, .bi-content table { max-width: 100%; }
.bi-content table { display: block; overflow-x: auto; }
.bi-content pre { overflow-x: auto; }

.bi-article__title { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; margin: 0 0 16px; }
.bi-article__meta { margin-bottom: 22px; }
.bi-article__media { margin: 0 0 26px; }
.bi-article__media img { border-radius: var(--radius); width: 100%; }
.bi-article__body { color: #33414f; font-size: 16.5px; line-height: 1.85; overflow-wrap: anywhere; }
.bi-article__body p { margin: 0 0 1em; }
.bi-article__body h2, .bi-article__body h3 { margin-top: 1.4em; }
.bi-article__body img { border-radius: var(--radius-sm); height: auto; max-width: 100%; }
.bi-article__body table { display: block; max-width: 100%; overflow-x: auto; }
.bi-article__body iframe, .bi-article__body video { max-width: 100%; }
.bi-content h2, .bi-content h3 { margin-top: 1.4em; }
.bi-content > :first-child { margin-top: 0; }
.bi-content p { color: #33414f; }

.bi-sidebar__box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; padding: 24px; }
.bi-sidebar__title { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin: 0 0 18px; padding-bottom: 12px; position: relative; text-transform: uppercase; }
.bi-sidebar__title::after { background: var(--accent); border-radius: var(--radius-pill); bottom: 0; content: ""; height: 3px; left: 0; position: absolute; width: 46px; }

.bi-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 34px 0 0; padding: 0; }
.bi-pagination a, .bi-pagination span {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  display: inline-flex;
  font-family: var(--font-head);
  font-weight: 600;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0 12px;
}
.bi-pagination a:hover, .bi-pagination .current { background: var(--primary); border-color: var(--primary); color: var(--white); }

.bi-search-result { margin-bottom: 18px; }
.bi-search-result:last-child { margin-bottom: 0; }
.bi-news-archive #dle-content { display: grid; gap: 30px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
.bi-news-archive #dle-content > * { margin: 0 !important; max-width: none !important; padding: 0 !important; width: auto !important; }
@media (min-width: 576px) { .bi-news-archive #dle-content { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .bi-news-archive #dle-content { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bi-catmenu, .bi-catmenu__sub { list-style: none; margin: 0; padding: 0; }
.bi-catmenu li { border-bottom: 1px solid var(--border); }
.bi-catmenu li:last-child { border-bottom: 0; }
.bi-catmenu a { align-items: center; color: var(--text); display: flex; font-weight: 500; justify-content: space-between; padding: 11px 0; }
.bi-catmenu a::before { color: var(--accent-dark); content: "\f105"; font-family: FontAwesome; margin-right: 10px; }
.bi-catmenu a span { color: var(--muted); font-size: 13px; }
.bi-catmenu a:hover { color: var(--primary); }
.bi-catmenu__sub { padding-left: 18px; }

.bi-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; margin: 0 auto 40px; padding: 0; }
.bi-filter li span { border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text); cursor: pointer; display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 9px 22px; text-transform: uppercase; transition: var(--transition); }
.bi-filter li span:hover { border-color: var(--primary); }
.bi-filter li.active span { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Legacy content components restyled to the new design language */
.sec-title h1, .sec-title-two h2 { color: var(--text); font-family: var(--font-head); font-weight: 700; }
.sec-title p { color: var(--accent-dark); font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.thm-btn {
  align-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  padding: 13px 26px;
  text-transform: uppercase;
  transition: var(--transition);
}
.thm-btn.yellow-bg { background: var(--accent); color: var(--primary); }
.thm-btn.yellow-bg:hover { background: var(--accent-dark); color: var(--primary); transform: translateY(-2px); }

.single-blog-post, .single-product-item, .single-project {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.single-blog-post:hover, .single-product-item:hover { box-shadow: var(--shadow); transform: translateY(-5px); }

.single-blog-post .img-holder img,
.single-product-item .img-holder img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.single-blog-post .text-holder, .single-product-item .title { padding: 22px; }
.single-blog-post .blog-title { font-size: 18px; margin: 0 0 10px; }
.single-blog-post .blog-title a { color: var(--text); }
.single-blog-post .meta-info { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.single-blog-post .meta-info i { color: var(--accent-dark); margin-right: 6px; }

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.bi-footer { background: var(--primary); color: rgba(255, 255, 255, 0.7); padding-top: 78px; }
.bi-footer__grid { display: grid; gap: 44px; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
.bi-footer h3 { color: var(--white); font-size: 17px; margin: 0 0 22px; padding-bottom: 12px; position: relative; }
.bi-footer h3::after { background: var(--accent); border-radius: var(--radius-pill); bottom: 0; content: ""; height: 3px; left: 0; position: absolute; width: 40px; }
.bi-footer p { color: rgba(255, 255, 255, 0.68); font-size: 14.5px; line-height: 1.8; }
.bi-footer__brand { align-items: center; display: flex; gap: 14px; margin-bottom: 20px; }
.bi-footer__brand .bi-brand__logo { height: 54px; width: 54px; }
.bi-footer__brand b { color: var(--white); display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.3; }
.bi-footer__brand span { color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.bi-footer__links { list-style: none; margin: 0; padding: 0; }
.bi-footer__links li { margin-bottom: 12px; }
.bi-footer__links a { align-items: center; color: rgba(255, 255, 255, 0.7); display: inline-flex; font-size: 14.5px; gap: 10px; }
.bi-footer__links a i { color: var(--accent); font-size: 11px; }
.bi-footer__links a:hover { color: var(--accent); }

.bi-footer__contact { list-style: none; margin: 0; padding: 0; }
.bi-footer__contact li { align-items: flex-start; display: flex; gap: 12px; margin-bottom: 16px; }
.bi-footer__contact i { color: var(--accent); margin-top: 3px; }
.bi-footer__contact span, .bi-footer__contact a { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; }

.bi-newsletter { display: flex; gap: 8px; margin-top: 18px; }
.bi-newsletter input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--white);
  min-width: 0;
  outline: none;
  padding: 12px 18px;
  width: 100%;
}
.bi-newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.bi-newsletter input:focus { border-color: var(--accent); }
.bi-newsletter button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.bi-newsletter button:hover { background: var(--accent-dark); }

.bi-footer__social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.bi-footer__social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.bi-footer__social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }

.bi-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  margin-top: 64px;
  padding: 24px 0;
}
.bi-footer__bottom a { color: var(--accent); }
.bi-footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   17. SCROLL TO TOP
   ========================================================================== */
.scroll-to-top {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  bottom: 28px;
  box-shadow: var(--shadow);
  color: var(--primary);
  display: none;
  height: 48px;
  justify-content: center;
  position: fixed;
  right: 28px;
  width: 48px;
  z-index: 999;
}
.scroll-to-top:hover { background: var(--primary); color: var(--accent); transform: translateY(-4px); }

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  :root { --section-y: 70px; }
  .bi-footer__grid { gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
  .bi-footer__grid > *:last-child { grid-column: 1 / -1; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .bi-nav__link { font-size: 13.5px; padding: 12px 13px; }
  .bi-search input { width: 130px; }
  .bi-actions .bi-btn { font-size: 13px; padding: 12px 18px; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .bi-search input { width: 150px; }
}

@media (max-width: 991.98px) {
  :root { --section-y: 58px; --gutter: 18px; }

  .bi-topbar { display: none; }
  .bi-navbar { min-height: 70px; gap: 12px; }
  .bi-burger { display: inline-flex; }
  .bi-mainnav { display: none; }

  .bi-brand__name { font-size: 13.5px; }

  .bi-mobile-panel {
    -webkit-overflow-scrolling: touch;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    left: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 18px var(--gutter) 26px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1029;
  }
  body.bi-nav-open .bi-mobile-panel { display: block; }

  .bi-nav { flex-direction: column; gap: 0; width: 100%; }
  .bi-nav__item { border-bottom: 1px solid rgba(255, 255, 255, 0.07); width: 100%; }
  .bi-nav__item.current { border-left: 3px solid var(--accent); }
  .bi-nav__link { border-radius: var(--radius-sm); justify-content: space-between; padding: 15px 10px; width: 100%; }
  .bi-nav__link::after { display: none; }
  .bi-nav .dropdown-menu { background: rgba(255, 255, 255, 0.05); box-shadow: none; margin: 0 0 12px; min-width: 0; position: static; width: 100%; }
  .bi-nav .dropdown-item { color: rgba(255, 255, 255, 0.8); }
  .bi-nav .dropdown-item:hover, .bi-nav .dropdown-item:focus { background: rgba(255, 255, 255, 0.08); color: var(--accent); }

  .bi-actions--desktop { display: none; }
  .bi-mobile-panel .bi-actions { flex-wrap: wrap; margin-top: 18px; width: 100%; }
  .bi-mobile-panel .bi-actions .bi-btn { flex: 1 1 auto; }
  .bi-mobile-panel .bi-lang { flex: 1 1 auto; }
  .bi-mobile-panel .bi-lang .dropdown-menu { margin: 8px 0 0; min-width: 0; position: static; width: 100%; }
  .bi-mobile-panel .bi-lang .dropdown-item { text-align: left; }
  .bi-mobile-panel .bi-search { background: rgba(255, 255, 255, 0.08); margin-bottom: 16px; padding: 6px 6px 6px 18px; }
  .bi-mobile-panel .bi-search input { width: 100%; }

  .bi-about__list { grid-template-columns: 1fr; }
  .bi-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bi-footer__grid { grid-template-columns: 1fr 1fr; }

  .bi-content { padding: 24px; }
}

@media (max-width: 767.98px) {
  :root { --section-y: 48px; }

  .bi-hero__slide { height: 500px; }
  .bi-hero__actions { gap: 12px; }
  .bi-hero__play span { display: none; }

  .bi-section__head { align-items: flex-start; }
  .bi-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .bi-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .bi-footer__bottom { text-align: center; }
}

@media (max-width: 575.98px) {
  :root { --gutter: 16px; }
  .bi-brand__name { display: none; }
  .bi-news-item__thumb { flex: 0 0 92px; }
  .bi-news-item--mini .bi-news-item__thumb { flex: 0 0 104px; }
  .bi-card__body { padding: 18px; }
  .bi-news__featured-body { padding: 20px; }
  .bi-team__photo { height: 160px; width: 160px; }
}
