:root {
  --bg: #ffffff;
  --bg-2: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --border: #e3e7ec;
  --text: #161a22;
  --muted: #63697a;
  --accent: #C10001;
  --accent-2: #142544;
  --accent-dark: #8f0001;
  --info: #0077cc;
  --success: #1a9e5c;
  --danger: #c0392b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.text-muted {
  color: var(--muted) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-gold {
  color: var(--accent-2) !important;
}

.bg-surface {
  background: var(--surface);
}

/* ══════════════════════════════
   TOPBAR
══════════════════════════════ */
.topbar {
  background: #142544;
  color: rgba(255, 255, 255, .9);
  padding: .45rem 0;
  font-size: .9rem;
  font-weight: bold;
}

.topbar a {
  color: rgba(255, 255, 255, .85);
}

.topbar a:hover {
  color: #fff;
}

.topbar i {
  color: #ff5a5f;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */

.main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, .1);
  border-bottom-color: var(--accent);
}

.main-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  transition: .2s;
}

.main-nav .nav-link:hover {
  background: rgba(193, 0, 1, .06);
  color: var(--accent) !important;
}

.main-nav .nav-link.active-page {
  color: var(--accent) !important;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #C10001, #8f0001);
  color: #fff;
  font-weight: 900;
  border-radius: 9px;
  margin-right: .55rem;
  box-shadow: 0 4px 14px rgba(193, 0, 1, .35);
}

.brand-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -.02em;
}

.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler i {
  color: var(--text);
}

.dropdown-menu {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.dropdown-menu .dropdown-item {
  color: var(--text);
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(193, 0, 1, .06);
  color: var(--accent);
}

.dropdown-menu-dark {
  background: #fff;
  border: 1px solid var(--border);
}

.dropdown-menu-dark .dropdown-item {
  color: var(--text);
}

.dropdown-menu-dark .dropdown-item:hover {
  background: rgba(193, 0, 1, .06);
  color: var(--accent);
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  border-radius: 10px;
  font-weight: 600;
  padding: .6rem 1.1rem;
  transition: .22s;
}

.btn-accent {
  background: linear-gradient(135deg, #C10001, #8f0001);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(193, 0, 1, .3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d40002, #C10001);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 0, 1, .4);
}

.btn-outline-accent {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(193, 0, 1, .3);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════
   TICKER
══════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  padding: .48rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: .78rem;
  font-weight: 600;
  color: #000;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .5rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: linear-gradient(150deg, #ffffff 0%, #fbfbfc 45%, #f4f6f8 100%);
}

/* subtle dot pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(193, 0, 1, .12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 100%);
  pointer-events: none;
}

/* right-side red glow */
.hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 0, 1, .08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--text);
}

.hero h1 .text-accent {
  background: linear-gradient(100deg, #C10001 30%, #E63946 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 600px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(193, 0, 1, .07);
  color: var(--accent);
  padding: .4rem .9rem;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(193, 0, 1, .2);
  letter-spacing: .02em;
}

/* Hero search box */
.hero-search {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}

.hero-search h5 {
  color: var(--text);
}

.hero-search .form-control,
.hero-search .form-select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  height: 48px;
  border-radius: 10px;
}

.hero-search .form-control::placeholder {
  color: #9aa1b0;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hero-stat {
  position: relative;
  padding-left: .85rem;
}

.hero-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  border-radius: 3px;
}

.hero-stat .num {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #C10001, #E63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .lbl {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* ══════════════════════════════
   GRADIENT DIVIDER
══════════════════════════════ */
.grad-divider {
  height: 2px;
  border: none;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), var(--accent), transparent);
  opacity: .4;
}

/* ══════════════════════════════
   SECTION
══════════════════════════════ */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .25rem;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Alternate section themes */
.section-light {
  background: #ffffff;
  color: var(--text);
}

.section-light .section-title {
  color: var(--text);
}

.section-light .section-sub {
  color: var(--muted);
}

.section-light a:not(.btn) {
  color: var(--text);
}

.section-light a:not(.btn):hover {
  color: var(--accent);
}

.section-dark {
  background: #0f1b2e;
  color: #f0eeec;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, .55);
}

.section-dark .text-muted {
  color: rgba(255, 255, 255, .5) !important;
}

.section-dark a:not(.btn) {
  color: #f0eeec;
}

.section-dark a:not(.btn):hover {
  color: var(--accent);
}

.section-dark .panel {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, .1);
  color: #f0eeec;
}

.section-dark .panel h6,
.section-dark .panel h3,
.section-dark .panel h4 {
  color: #fff;
}

.section-dark .cat-card {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, .1);
}

.section-dark .cat-label {
  color: #f0eeec;
}

.section-dark .product-card {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, .1);
}

.section-dark .product-body h6 {
  color: #fff;
}

.section-dark .product-body .part-no {
  color: rgba(255, 255, 255, .45);
}

.section-dark .cta-block {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, .1);
}

.section-dark .stat-card {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, .1);
}

.section-dark .stat-card .num {
  color: #fff;
}

.section-dark .stat-card .lbl {
  color: rgba(255, 255, 255, .5);
}

.section-dark .form-control,
.section-dark .form-select {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, .15);
  color: #f0eeec;
}

.section-dark .form-control::placeholder {
  color: rgba(255, 255, 255, .3);
}

.section-dark .form-label {
  color: #f0eeec;
}

.section-dark .hero-search-card {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, .1);
}

.section-dark .hero-search-card h3 {
  color: #fff;
}

.section-img-wrap {
  overflow: hidden;
  border-radius: 16px;
  height: 100%;
}

.section-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
  display: block;
}

.section-img-wrap:hover img {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.3);
}

/* ══════════════════════════════
   FEATURE STRIP
══════════════════════════════ */
.feature-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

/* ══════════════════════════════
   CATEGORY CARDS
══════════════════════════════ */
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: .28s;
  height: 100%;
  overflow: hidden;
  text-align: center;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 0, 1, .35);
  box-shadow: 0 14px 36px rgba(193, 0, 1, .12);
}

.cat-img-wrap {
  background: #f5f5f5;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cat-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .4s ease, filter .4s ease;
}

.cat-card:hover .cat-img-wrap img {
  transform: scale(1.12);
  filter: brightness(1.08) saturate(1.3);
}

.cat-label {
  padding: .7rem .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
}

/* ══════════════════════════════
   PRODUCT CARD
══════════════════════════════ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: .28s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 0, 1, .3);
  box-shadow: 0 16px 40px rgba(193, 0, 1, .12);
}

.product-thumb {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f6f8fa, #eef1f4);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-thumb i {
  font-size: 3.4rem;
  color: rgba(193, 0, 1, .25);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.25);
}

.badge-tag {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: linear-gradient(135deg, #C10001, #8f0001);
  color: #fff;
  font-size: .7rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(193, 0, 1, .4);
}

.badge-stock {
  position: absolute;
  top: .6rem;
  right: .6rem;
  font-size: .7rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  font-weight: 600;
}

.badge-stock.in_stock {
  background: rgba(26, 158, 92, .1);
  color: var(--success);
}

.badge-stock.out_of_stock {
  background: rgba(192, 57, 43, .1);
  color: var(--danger);
}

.badge-stock.on_request {
  background: rgba(0, 119, 204, .1);
  color: var(--info);
}

.product-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body .part-no {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-body h6 {
  margin: .25rem 0 .35rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.5rem;
  color: var(--text);
}

.price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
}

/* ══════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, #fff5f5, #fff);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 42px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 350px at 90% 50%, rgba(193, 0, 1, .06), transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  font-weight: 900;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--muted);
}

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

.breadcrumb .active {
  color: var(--accent);
}

/* ══════════════════════════════
   FILTER SIDEBAR
══════════════════════════════ */
.filter-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 90px;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.filter-card h6 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
}

.filter-card .list-group-item {
  background: transparent;
  border: none;
  padding: .4rem 0;
  color: var(--text);
}

.filter-card .list-group-item:hover,
.filter-card .list-group-item.active {
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}

.filter-card .list-group-item .count {
  float: right;
  color: var(--muted);
  font-size: .8rem;
}

/* ══════════════════════════════
   FORMS
══════════════════════════════ */
.form-control,
.form-select {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: .65rem .85rem;
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 .22rem rgba(193, 0, 1, .12);
}

.form-control::placeholder {
  color: #9aa1b0;
}

.form-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
}

/* ══════════════════════════════
   PRODUCT DETAIL
══════════════════════════════ */
.detail-img {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.detail-img i {
  font-size: 6rem;
  color: rgba(193, 0, 1, .2);
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.spec-table th {
  color: var(--muted);
  font-weight: 600;
  width: 40%;
}

.spec-table td,
.spec-table th {
  padding: .65rem 0;
  border-color: var(--border);
}

/* ══════════════════════════════
   CTA BLOCK
══════════════════════════════ */
.cta-block {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.cta-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}

.cta-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 300px at 90% 50%, rgba(193, 0, 1, .04), transparent 60%);
}

/* ══════════════════════════════
   STAT CARD (used in about section)
══════════════════════════════ */
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.stat-card .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.stat-card .lbl {
  color: var(--muted);
  font-size: .85rem;
}

.stat-card .ico {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: rgba(193, 0, 1, .08);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 4.3rem;
}

/* ══════════════════════════════
   PANEL
══════════════════════════════ */
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: #142544;
  border-top: none;
  color: rgba(255, 255, 255, .75);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff5a5f, #fff, #ff5a5f);
}

.site-footer h6 {
  color: #fff;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding-bottom: .5rem;
}

.site-footer p.text-muted {
  color: rgba(255, 255, 255, .65) !important;
}

.site-footer .border-top {
  border-color: rgba(255, 255, 255, .2) !important;
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, .55) !important;
}

.site-footer a.text-muted {
  color: rgba(255, 255, 255, .55) !important;
}

.site-footer a.text-muted:hover {
  color: #ff5a5f !important;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  padding: .3rem 0;
  /*color: rgba(255, 255, 255, .75);*/
}

.footer-list a {
  color: rgba(255, 255, 255, .75);
}

.footer-list a:hover {
  color: #ff5a5f;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  margin-right: .4rem;
  color: rgba(255, 255, 255, .85);
  transition: .25s;
}

.social-row a:hover {
  background: #ff5a5f;
  color: #ffffff;
  border-color: #ff5a5f;
  box-shadow: 0 4px 14px rgba(255, 90, 95, .4);
  transform: translateY(-2px);
}

/* ══════════════════════════════
   ADMIN PANEL
══════════════════════════════ */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

.admin-side {
  width: 250px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 1rem .8rem;
  flex-shrink: 0;
  min-height: 100vh;
}

.admin-side .brand {
  padding: .5rem .6rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: .8rem;
}

.admin-side a.nav-link {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .2rem;
}

.admin-side a.nav-link i {
  width: 18px;
  text-align: center;
}

.admin-side a.nav-link:hover,
.admin-side a.nav-link.active {
  background: rgba(193, 0, 1, .07);
  color: var(--accent);
}

.admin-main {
  flex: 1;
  padding: 1.5rem 2rem;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.table {
  color: var(--text);
}

.table thead th {
  background: var(--bg-2);
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-color: var(--border);
}

.table td,
.table th {
  border-color: var(--border);
  vertical-align: middle;
}

.status-pill {
  padding: .25rem .6rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-new {
  background: rgba(0, 119, 204, .1);
  color: var(--info);
}

.status-in_progress {
  background: rgba(241, 194, 0, .15);
  color: #a07800;
}

.status-responded {
  background: rgba(26, 158, 92, .1);
  color: var(--success);
}

.status-closed {
  background: rgba(122, 113, 109, .1);
  color: var(--muted);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff5f5 0%, #f4f6f8 100%);
  padding: 2rem;
}

.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 18px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════
   SCROLL-TO-TOP
══════════════════════════════ */
/* ══════════════════════════════
   HERO CAROUSEL
══════════════════════════════ */
.hero-carousel {
  position: relative;
  overflow: visible;
  background: #000;
  min-height: 600px;
}

.carousel-item {
  position: relative;
  display: none;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.carousel-item video.carousel-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.carousel-item.active {
  display: block;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 1.2s;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-inner {
  overflow: visible;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(193, 0, 1, 0.45) 100%);
  z-index: 1;
}

.carousel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  z-index: 2;
  padding: 60px;
  max-width: 700px;
}

.carousel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: slideInLeft 0.8s ease-out 0.3s both;
}

.carousel-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 0.8s ease-out 0.5s both;
}

.carousel-title .text-gold {
  background: linear-gradient(135deg, #E63946 0%, #ff5a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  animation: slideInLeft 0.8s ease-out 0.7s both;
}

.carousel-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease-out 0.9s both;
}

.carousel-buttons .btn {
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-buttons .btn-accent {
  background: linear-gradient(135deg, #C10001 0%, #8f0001 100%);
  color: #fff;
  border: none;
}

.carousel-buttons .btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(193, 0, 1, 0.5);
  background: linear-gradient(135deg, #8f0001 0%, #C10001 100%);
}

.carousel-buttons .btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: #C10001;
  border: none;
}

.carousel-buttons .btn-light:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 60px;
  z-index: 10;
  display: flex;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.carousel-indicators button.active {
  width: 14px;
  height: 14px;
  background: #fff;
  border-color: #fff;
  opacity: 1;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  padding: 0;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(193, 0, 1, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev::before,
.carousel-control-next::before {
  display: none;
}

/* Hero Search Overlay */
.hero-search-overlay {
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 20px;
  transform: translateY(-50%);
}

.hero-search-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 0 auto;
  animation: slideUp 0.8s ease-out 1.1s both;
}

.search-header {
  margin-bottom: 1.5rem;
}

.search-header h5 {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  margin: 0;
}

.search-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.search-input-group,
.search-select-group {
  display: flex;
  flex-direction: column;
}

.search-input-group label,
.search-select-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.search-input-group input,
.search-select-group select {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.search-input-group input:focus,
.search-select-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(193, 0, 1, 0.1);
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#scrollTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #C10001, #8f0001);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: .3s;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(193, 0, 1, .4);
}

#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
}

#scrollTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(193, 0, 1, .5);
}

/* ══════════════════════════════
   REVEAL ANIMATION
══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: .75s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 991px) {
  .admin-side {
    width: 100%;
    min-height: auto;
    position: static;
  }

  .admin-shell {
    flex-direction: column;
  }

  .admin-main {
    padding: 1rem;
  }

  .carousel-content {
    padding: 40px;
    max-width: 100%;
  }

  .carousel-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
  }

  .carousel-buttons {
    gap: 0.8rem;
  }

  .ticker-wrap {
    display: none;
  }

  .navbar-brand img {
    max-width: 160px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: .35rem 0;
  }

  .topbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    text-align: center;
  }

  .topbar a {
    display: inline-block;
  }

  .main-nav .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .navbar-brand img {
    max-width: 130px;
    width: auto;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-block.row {
    padding: 1.5rem 1.2rem !important;
  }

  .carousel-item {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }

  .carousel-content {
    padding: 30px 20px;
  }

  .carousel-kicker {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .carousel-title {
    font-size: clamp(1.3rem, 3.5vw, 2.2rem);
    margin-bottom: 1rem;
  }

  .carousel-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .carousel-buttons {
    gap: 0.6rem;
  }

  .carousel-buttons .btn {
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-indicators {
    left: 20px;
    bottom: 20px;
  }

  .hero-search-overlay {
    position: relative;
    transform: translateY(0);
    bottom: auto;
    margin-top: -40px;
    padding: 40px 20px 20px;
  }

  .search-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-carousel {
    min-height: auto;
    padding-bottom: 0px;
  }
}

@media (max-width: 576px) {
  .topbar {
    font-size: .72rem;
  }

  .main-nav .navbar-toggler {
    margin-left: auto;
  }

  .navbar-brand img {
    max-width: 120px;
  }

  .hero {
    padding: 70px 0 90px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Stat cards */
  .stat-card {
    padding: .7rem .6rem;
    flex-direction: column;
    text-align: center;
    gap: .4rem;
  }

  .stat-card .num {
    font-size: 1.2rem;
  }

  .stat-card .ico {
    width: 34px;
    height: 34px;
    font-size: .95rem;
  }

  /* CTA block */
  .cta-block.row {
    padding: 1.5rem !important;
  }

  .cta-block h3 {
    font-size: 1.15rem;
  }

  /* Search */
  .search-body {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .hero-search-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  /* Page header */
  .page-header {
    padding: 36px 0 24px;
  }

  /* Cat card compact */
  .cat-label {
    font-size: .68rem;
    padding: .5rem .3rem;
  }

  /* Carousel */
  .carousel-item {
    height: 320px;
    background-attachment: scroll;
  }

  .carousel-content {
    padding: 16px;
  }

  .carousel-kicker {
    font-size: .72rem;
    padding: .4rem .8rem;
    margin-bottom: .8rem;
  }

  .carousel-title {
    font-size: clamp(1rem, 5vw, 1.6rem);
    margin-bottom: .6rem;
  }

  .carousel-description {
    font-size: .82rem;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .carousel-buttons {
    gap: .5rem;
    flex-direction: column;
  }

  .carousel-buttons .btn {
    padding: .55rem .9rem;
    font-size: .82rem;
    width: 100%;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 34px;
    height: 34px;
    font-size: .85rem;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .carousel-indicators {
    left: 10px;
    bottom: 10px;
    gap: .4rem;
  }

  .carousel-indicators button {
    width: 6px;
    height: 6px;
  }

  .carousel-indicators button.active {
    width: 11px;
    height: 11px;
  }

  /* Footer */
  .site-footer .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ══════════════════════════════
   BLOG CARDS
══════════════════════════════ */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .28s;
  text-decoration: none;
  color: var(--text);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 0, 1, .3);
  box-shadow: 0 16px 40px rgba(193, 0, 1, .12);
  color: var(--text);
}

.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.3);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  font-size: 2.5rem;
  color: rgba(193, 0, 1, .2);
}

.blog-cat-badge {
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  background: linear-gradient(135deg, #C10001, #8f0001);
  color: #fff;
  font-size: .7rem;
  padding: .28rem .6rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(193, 0, 1, .35);
}

.blog-card-body {
  padding: 1.1rem;
}

.blog-meta {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.blog-card-title {
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.35;
  margin: .2rem 0 .5rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .75rem;
}

.blog-read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: .2s;
}

.blog-card:hover .blog-read-more {
  gap: .55rem;
}

/* ══════════════════════════════
   BLOG SIDEBAR
══════════════════════════════ */
.blog-sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}

.blog-sidebar-title {
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.blog-sidebar-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem 0;
  color: var(--text);
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  transition: .18s;
}

.blog-sidebar-link:last-child {
  border-bottom: none;
}

.blog-sidebar-link:hover,
.blog-sidebar-link.active {
  color: var(--accent);
  font-weight: 600;
}

.blog-sidebar-count {
  background: var(--bg-2);
  color: var(--muted);
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 99px;
  font-weight: 600;
}

.blog-recent-item {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: .18s;
  text-decoration: none;
}

.blog-recent-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-recent-item:hover {
  color: var(--accent);
}

.blog-recent-item.active .blog-recent-title {
  color: var(--accent);
  font-weight: 700;
}

.blog-recent-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.blog-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-recent-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: .9rem;
  color: rgba(193, 0, 1, .25);
}

.blog-recent-title {
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-recent-date {
  font-size: .74rem;
  color: var(--muted);
  margin-top: .15rem;
}

.blog-tag {
  display: inline-block;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: .28rem .7rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 500;
  transition: .2s;
  text-decoration: none;
}

.blog-tag:hover,
.blog-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(193, 0, 1, .3);
}

/* ══════════════════════════════
   BLOG DETAIL PAGE
══════════════════════════════ */
.blog-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/7;
}

.blog-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  font-size: 1.01rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-body h2,
.blog-body h3,
.blog-body h4 {
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: var(--text);
  letter-spacing: -.02em;
}

.blog-body h2 {
  font-size: 1.55rem;
}

.blog-body h3 {
  font-size: 1.25rem;
  color: var(--accent);
}

.blog-body h4 {
  font-size: 1.05rem;
}

.blog-body p {
  margin-bottom: 1.1rem;
}

.blog-body ul,
.blog-body ol {
  margin-bottom: 1.1rem;
  padding-left: 1.5rem;
}

.blog-body li {
  margin-bottom: .4rem;
}

.blog-body strong {
  font-weight: 700;
  color: var(--text);
}

.blog-body blockquote {
  border-left: 4px solid var(--accent);
  padding: .8rem 1.2rem;
  margin: 1.5rem 0;
  background: rgba(193, 0, 1, .04);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-style: italic;
}

.blog-body a {
  color: var(--accent);
  text-decoration: underline;
}

.blog-body a:hover {
  color: var(--accent-2);
}

.blog-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
}

.blog-body pre {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  font-size: .88rem;
}

.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.blog-body table th,
.blog-body table td {
  border: 1px solid var(--border);
  padding: .6rem .8rem;
  font-size: .92rem;
}

.blog-body table th {
  background: var(--bg-2);
  font-weight: 700;
}

.blog-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.blog-share-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.blog-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .85rem;
  transition: .25s;
  text-decoration: none;
}

.blog-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.blog-share-btn.facebook {
  background: #1877f2;
}

.blog-share-btn.twitter {
  background: #000;
}

.blog-share-btn.linkedin {
  background: #0a66c2;
}

.blog-share-btn.whatsapp {
  background: #25d366;
}

.blog-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.blog-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Pagination for blog */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  font-weight: 500;
  padding: .45rem .8rem;
}

.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .page-link:hover {
  background: rgba(193, 0, 1, .07);
  color: var(--accent);
  border-color: rgba(193, 0, 1, .3);
}

/* ══════════════════════════════
   FEATURE ICON CARDS (homepage strip)
══════════════════════════════ */
.feat-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem 2.2rem;
  border-right: 1px solid var(--border);
  height: 100%;
  transition: background .25s;
  background: #fff;
}

.feat-icon-card:hover {
  background: rgba(193, 0, 1, .025);
}

/* last child — no right border */
.feature-strip .row > div:last-child .feat-icon-card {
  border-right: none;
}

.feat-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 6px 22px rgba(193, 0, 1, .35);
}

.feat-icon-card:hover .feat-icon-wrap {
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 14px 32px rgba(193, 0, 1, .45);
}

.feat-icon-title {
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.3;
}

.feat-icon-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 190px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
  .feat-icon-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.8rem 1rem;
  }

  .feature-strip .row > div:last-child .feat-icon-card {
    border-bottom: none;
  }
}

@media (max-width: 575px) {
  .feat-icon-card {
    padding: 1.4rem .8rem;
  }

  .feat-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
    margin-bottom: .9rem;
  }

  .feat-icon-title {
    font-size: .78rem;
  }

  .feat-icon-desc {
    font-size: .74rem;
  }
}

/* ══════════════════════════════
   BRANDS SCROLLING SECTION
══════════════════════════════ */
.brands-section {
  padding: 56px 0 60px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.brands-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0;
}

.brands-label span {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  border-radius: 2px;
}

.brands-label span:last-child {
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Track wrapper — clips the scrolling */
.brands-track-wrap {
  position: relative;
  overflow: hidden;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: brandsScroll 32s linear infinite;
  padding: 0.5rem 0;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes brandsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 52px;
  padding: 0 1rem;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter .3s, opacity .3s;
}

.brand-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-logo-item img {
  height: 42px;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.brand-text-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  height: 42px;
  padding: 0 .5rem;
}

@media (max-width: 576px) {
  .brands-section {
    padding: 40px 0 44px;
  }

  .brands-track {
    gap: 2.5rem;
    animation-duration: 22s;
  }

  .brand-logo-item {
    height: 40px;
  }

  .brand-logo-item img {
    height: 30px;
    max-width: 90px;
  }
}

/* ══════════════════════════════
   MEGA MENU
══════════════════════════════ */
.main-nav {
  background: #fff;
  border-bottom: 2px solid var(--border);
  transition: box-shadow .3s;
  position: relative;
  z-index: 1050;
  overflow: visible !important;
}

.navbar-collapse {
  overflow: visible !important;
}

.mega-parent {
  position: static !important;
}

/* invisible bridge so mouse can travel from link → menu */
.mega-parent > .mega-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  background: #fff;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(15, 23, 42, .12);
  z-index: 1049;
  animation: megaFadeIn .2s ease;
}

.mega-parent:hover .mega-menu,
.mega-parent:focus-within .mega-menu {
  display: block;
}

@keyframes megaFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  max-width: 1320px;
  margin: 0 auto;
}

.mega-cats {
  padding: 1.4rem 1.5rem 1.4rem 2rem;
  border-right: 1px solid var(--border);
}

.mega-heading {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .8rem;
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .15rem .8rem;
}

.mega-cat-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .5rem;
  border-radius: 8px;
  color: var(--text);
  font-size: .87rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
  overflow: hidden;
}

.mega-cat-link:hover {
  background: rgba(193, 0, 1, .06);
  color: var(--accent);
}

.mega-cat-link.mega-all {
  color: var(--accent);
  font-weight: 700;
}

/* 2nd level submenu */
.mega-item {
  position: relative;
}

.mega-sub {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  box-shadow: 6px 8px 32px rgba(15, 23, 42, .1);
  list-style: none;
  padding: .5rem 0;
  margin: 0;
  z-index: 100;
  animation: megaFadeIn .15s ease;
}

.mega-item.has-sub:hover .mega-sub {
  display: block;
}

.mega-sub-link {
  display: block;
  padding: .42rem 1rem;
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.mega-sub-link:hover {
  background: rgba(193, 0, 1, .06);
  color: var(--accent);
}

.mega-sub-arrow {
  font-size: .62rem;
  opacity: .45;
  transition: opacity .15s;
}

.mega-item.has-sub:hover .mega-sub-arrow {
  opacity: 1;
  color: var(--accent);
}

/* Mobile 2nd level */
@media (max-width: 991px) {
  .mega-sub {
    position: static;
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    box-shadow: none;
    padding: .25rem 0 .25rem .8rem;
    margin: .2rem 0 .2rem .5rem;
    background: var(--bg);
    animation: none;
  }

  .mega-item.has-sub .mega-sub {
    display: none;
  }

  .mega-item.has-sub.mob-sub-open .mega-sub {
    display: block;
  }

  .mega-sub-arrow {
    display: inline-block;
  }

  .mega-item.has-sub.mob-sub-open .mega-sub-arrow {
    transform: rotate(90deg);
    opacity: 1;
    color: var(--accent);
  }
}

.mega-cat-thumb {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.mega-cat-icon {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: rgba(193, 0, 1, .08);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: .75rem;
  flex-shrink: 0;
}

.mega-feature {
  padding: 0;
}

.mega-feature-img {
  height: 100%;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-image .25s;
}

.mega-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, .3) 0%, rgba(193, 0, 1, .65) 100%);
}

.mega-feature-content {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  z-index: 1;
}

.mega-feature-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.mega-feature-sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
  margin: 0 0 .4rem;
}

/* ── Mobile mega menu ── */
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    border: none;
    box-shadow: none;
    border-top: 1px solid var(--border);
    animation: none;
    display: none;
  }

  .mega-parent.mobile-open .mega-menu {
    display: block;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .mega-cats {
    padding: .75rem 1rem;
    border-right: none;
  }

  .mega-list {
    grid-template-columns: 1fr 1fr;
    gap: .1rem;
  }

  .mega-feature {
    display: none;
  }

  .mega-toggle .fa-chevron-down {
    transition: transform .22s;
  }

  .mega-parent.mobile-open .mega-toggle .fa-chevron-down {
    transform: rotate(180deg);
  }
}

@media (max-width: 480px) {
  .mega-list {
    grid-template-columns: 1fr;
  }
}

.video-section {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

/* Background video */
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark + red overlay */
.video-overlay {
  z-index: 1;
  background: linear-gradient(135deg, rgba(10, 6, 6, 0.82) 0%, rgba(120, 0, 0, 0.70) 50%, rgba(10, 6, 6, 0.88) 100%);
}

/* Subtle animated dot grid on top of overlay */
.video-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* All content sits above overlay */
.video-content {
  position: relative;
  z-index: 3;
}

/* Kicker badge */
.video-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(193, 0, 1, .25);
  border: 1px solid rgba(193, 0, 1, .5);
  color: #ffb3b3;
  padding: .42rem 1rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}

/* Headline */
.video-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.video-title-accent {
  background: linear-gradient(100deg, #ff4444 10%, #C10001 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.video-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2rem;
}

/* CTA row */
.video-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.video-actions .btn-accent {
  background: linear-gradient(135deg, #C10001, #8b0000);
  box-shadow: 0 6px 22px rgba(193, 0, 1, .55);
  border: none;
  color: #fff;
}

.video-actions .btn-accent:hover {
  background: linear-gradient(135deg, #e00002, #C10001);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(193, 0, 1, .65);
  color: #fff;
}

.video-btn-outline {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(6px);
}

.video-btn-outline:hover {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

/* Stats grid — 2×2 */
.video-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.video-stat-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: background .3s, transform .3s, border-color .3s;
  cursor: default;
}

.video-stat-card:hover {
  background: rgba(193, 0, 1, .22);
  border-color: rgba(193, 0, 1, .5);
  transform: translateY(-4px);
}

.video-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(193, 0, 1, .3);
  border: 1px solid rgba(193, 0, 1, .5);
  color: #ff9999;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin: 0 auto 0.8rem;
  transition: background .3s;
}

.video-stat-card:hover .video-stat-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.video-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .3rem;
}

.video-stat-num span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #E63946;
  margin-left: 1px;
}

.video-stat-lbl {
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
  .video-section {
    padding: 70px 0;
    min-height: auto;
  }

  .video-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
  }

  .video-stat-card {
    padding: 1rem .75rem;
  }

  .video-stat-num {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .video-section {
    padding: 56px 0;
  }

  .video-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .video-desc {
    font-size: .95rem;
  }

  .video-bg {
    inset: auto;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    padding: 0px;
  }

  .video-section {
    padding: 0px !important;
  }
}

@media (max-width: 575px) {
  .video-section {
    padding: 44px 0;
  }

  .video-kicker {
    font-size: .7rem;
  }

  .video-actions {
    flex-direction: column;
  }

  .video-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .video-stat-card {
    padding: .85rem .6rem;
  }

  .video-stat-num {
    font-size: 1.25rem;
  }

  .video-stat-icon {
    width: 38px;
    height: 38px;
    font-size: .95rem;
  }
}

/* ══════════════════════════════
   IMAGE SLIDER SECTION
══════════════════════════════ */
.img-slider-section {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.img-slider-section .carousel-item {
  height: 520px;
  background: #000;
}

.img-slider-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .img-slider-section .carousel-item,
  .img-slider-img {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .img-slider-section .carousel-item,
  .img-slider-img {
    height: 200px;
  }
}
