/* ============================================================
   Sunara Energy FZE — "dark-navy premium" theme  (Bootstrap 5.3)
   v2 · Sep 2026
   ============================================================ */
:root {
  --navy-900: #041c4d;
  --navy-800: #082b70;
  --navy-700: #0b3585;
  --navy:     #0f3f9a;
  --blue:     #1a6fd8;
  --green:    #248a22;
  --green-l:  #5fbf3f;
  --orange:   #f28c00;
  --orange-d: #d67600;
  --gold:     #f7c200;
  --ink:      #101828;
  --muted:    #5b6777;
  --line:     #e6eaf0;
  --bg-soft:  #f5f7fa;
  --radius:   14px;
  --shadow:   0 18px 50px rgba(4, 28, 77, .14);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; line-height: 1.15; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
img { max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

.text-navy { color: var(--navy) !important; }
.text-orange { color: var(--orange) !important; }
.text-green { color: var(--green) !important; }
.bg-soft { background: var(--bg-soft); }
.bg-dark-navy { background: var(--navy-900); color: #c9d4e5; }
.bg-dark-navy h1, .bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy h4 { color: #fff; }
.bg-dark-navy .eyebrow { color: var(--gold); }
.bg-dark-navy .lead-muted { color: #aebbd0; }

.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .8; }
.eyebrow.center { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 1.1rem; }
.lead-muted { color: var(--muted); font-size: 1.12rem; max-width: 700px; }
.rule { height: 1px; background: var(--line); }

/* ---------- Buttons ---------- */
.btn { border-radius: 8px; font-weight: 600; letter-spacing: .01em; }
.btn-brand { background: var(--orange); border: 0; color: #fff; padding: .85rem 1.7rem; box-shadow: 0 8px 22px rgba(242,140,0,.32); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-brand:hover { background: var(--orange-d); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242,140,0,.4); }
.btn-outline-light-2 { border: 1.5px solid rgba(255,255,255,.55); color: #fff; padding: .8rem 1.6rem; background: transparent; }
.btn-outline-light-2:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; padding: .85rem 1.7rem; border: 0; }
.btn-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-navy { border: 1.5px solid var(--navy-800); color: var(--navy-800); padding: .8rem 1.6rem; background: transparent; }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.link-arrow { font-weight: 600; color: var(--navy-800); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.navbar { background: var(--navy-800); padding: .55rem 0; transition: box-shadow .25s, background .25s; border-bottom: 1px solid rgba(255,255,255,.06); }
.navbar.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); background: rgba(8,43,112,.96); backdrop-filter: blur(10px); }
.navbar-brand { flex-shrink: 0; padding: 0; }
.navbar-brand img { height: 42px; width: auto; }
.navbar .nav-link { color: rgba(255,255,255,.82); font-weight: 600; font-size: .95rem; padding: .55rem .9rem !important; position: relative; white-space: nowrap; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: #fff; }
.navbar .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px; background: var(--orange); border-radius: 2px; }
.navbar .btn-brand { padding: .55rem 1.15rem; font-size: .9rem; box-shadow: none; }
.navbar-toggler { border-color: rgba(255,255,255,.25); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar .dropdown-menu { background: var(--navy-800); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .6rem; box-shadow: 0 24px 50px rgba(0,0,0,.4); min-width: 280px; margin-top: 0; }
.navbar .dropdown-item { color: rgba(255,255,255,.85); font-weight: 500; border-radius: 8px; padding: .55rem .8rem; display: flex; align-items: center; gap: .7rem; font-size: .93rem; }
.navbar .dropdown-item i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--gold); font-size: .95rem; flex-shrink: 0; }
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus { background: rgba(255,255,255,.08); color: #fff; }
.navbar .dropdown-item.all { border-top: 1px solid rgba(255,255,255,.08); margin-top: .4rem; padding-top: .8rem; color: var(--orange); font-weight: 700; }
.navbar .dropdown-item.all i { background: var(--orange); color: #fff; }
.navbar .dropdown-header { color: rgba(255,255,255,.45); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .8rem .5rem; }
@media (min-width: 992px) {
  .navbar .navbar-nav { position: relative; }
  .navbar .nav-item.dropdown { position: static; }
  .navbar .dropdown-menu.cols { min-width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: 0 .5rem; left: auto; right: 0; top: 100%; }
  .navbar .dropdown-menu.cols.show { display: grid; }
  .navbar .dropdown-menu.cols > li:first-child, .navbar .dropdown-menu.cols > li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .navbar-brand img { height: 32px; } .navbar .nav-link { padding: .5rem .55rem !important; font-size: .88rem; } }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 .5rem; }
  .navbar .dropdown-menu { box-shadow: none; border: 0; background: rgba(255,255,255,.04); margin: .2rem 0 .6rem; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; min-height: calc(100vh - 66px); display: flex; align-items: center; overflow: hidden; padding: 6rem 0 5rem;
  /* Still image as the banner backdrop; the video (when it plays) replaces it — see body.video-on */
  background: var(--navy-800) url("../Images/hero-poster.jpg") center top / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(4,28,77,.93) 0%, rgba(8,43,112,.72) 42%, rgba(8,43,112,.12) 100%); }
.hero-overlay::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(4,28,77,.85), transparent); }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead { color: #c9d4e5; font-size: 1.2rem; max-width: 600px; margin-bottom: 2.2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.hero-tags span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .35rem .9rem; font-size: .82rem; color: #dbe4f2; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.hero-scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.hero-scroll i { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(6px) } }

/* Hero "at a glance" glass panel (desktop) */
.glance { width: 100%; max-width: 440px; background: rgba(4,28,77,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 1.6rem; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(0,0,0,.45); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.glance-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.glance-head img { width: 64px; height: 64px; background: #fff; border-radius: 16px; padding: 6px; flex-shrink: 0; }
.glance-head strong { display: block; font-family: "Montserrat", sans-serif; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.glance-head span { font-size: .8rem; color: #aebbd0; }
.glance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.1rem 0; }
.glance-grid div { background: rgba(255,255,255,.06); border-radius: 12px; padding: .75rem .9rem; }
.glance-grid b { display: block; font-family: "Montserrat", sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.glance-grid span { font-size: .78rem; color: #c9d4e5; }
.glance-products { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .6rem; }
.glance-products a { display: flex; align-items: center; gap: .5rem; color: #dbe4f2; font-size: .84rem; padding: .3rem .2rem; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glance-products a i { color: var(--gold); font-size: .95rem; flex-shrink: 0; }
.glance-products a:hover { color: #fff; background: rgba(255,255,255,.06); }
.glance-cta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; padding: .8rem 1rem; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 700; font-size: .95rem; }
.glance-cta:hover { background: var(--orange-d); color: #fff; }
@media (prefers-reduced-motion: reduce) { .glance { animation: none; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .glance { max-width: 340px; padding: 1.2rem; } .glance-products { display: none; } }

/* Stats strip (white) */
.stats-strip { background: #fff; color: var(--ink); position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.stats-strip .stat { padding: 2.2rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stats-strip .stat i { display: block; font-size: 1.5rem; color: var(--blue); margin-bottom: .5rem; }
.stats-strip .col-md-3:last-child .stat { border-right: 0; }
.stats-strip .num { font-family: "Montserrat", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--navy-800); line-height: 1; letter-spacing: -0.02em; }
.stats-strip .lbl { color: var(--muted); font-weight: 500; margin-top: .5rem; font-size: .9rem; }
@media (max-width: 767.98px) { .stats-strip .col-6:nth-child(2n) .stat { border-right: 0; } .stats-strip .stat { padding: 1.4rem .5rem; } .stats-strip .num { font-size: 1.9rem; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; color: #fff; padding: 6rem 0 4.5rem; background: var(--navy-800) url("../Images/hero-poster.jpg") center 30% / cover no-repeat; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4,28,77,.96) 0%, rgba(8,43,112,.86) 50%, rgba(8,43,112,.6) 100%); }
.page-head .container { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-head p { color: #c9d4e5; max-width: 720px; margin-bottom: 0; font-size: 1.12rem; }
.breadcrumb-light { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); }
.breadcrumb-light a { color: #aebbd0; }
.breadcrumb-light .active { color: #fff; }

/* ---------- Feature list (replaces cards) ---------- */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .ic { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--navy-800); }
.feature .ic.orange { background: var(--orange); }
.feature .ic.green { background: var(--green); }
.feature h4 { font-size: 1.08rem; margin-bottom: .25rem; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Tick list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.9rem; position: relative; margin-bottom: .65rem; }
.check-list li::before { content: "\f26b"; font-family: "bootstrap-icons"; color: var(--orange); position: absolute; left: 0; top: .05rem; font-size: 1.05rem; }

/* ---------- Product tiles (home + products page) ---------- */
.product-tile { display: block; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.6rem; height: 100%; color: var(--ink); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.product-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.product-tile:hover::after { transform: scaleX(1); }
.product-tile .ic { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: var(--navy-800); margin-bottom: 1.1rem; }
.product-tile .ic.orange { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.product-tile .ic.green { background: linear-gradient(135deg, var(--green), var(--green-l)); }
.product-tile .ic.blue { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.product-tile h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.product-tile p { color: var(--muted); font-size: .93rem; margin: 0 0 .8rem; }
.product-tile .more { font-size: .88rem; font-weight: 700; color: var(--orange); }

/* ---------- Products page ---------- */
.subnav { position: sticky; top: 66px; z-index: 1010; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: .3rem; overflow-x: auto; padding-top: .6rem; padding-bottom: .6rem; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: .45rem .95rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--navy-800); border: 1px solid transparent; }
.subnav a:hover, .subnav a.active { background: var(--navy-800); color: #fff; }
.product-section { padding: 5rem 0; border-top: 1px solid var(--line); }
.product-section:first-of-type { border-top: 0; }
.product-section .ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: var(--navy-800); margin-bottom: 1.2rem; }
.product-section .ic.orange { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.product-section .ic.green { background: linear-gradient(135deg, var(--green), var(--green-l)); }
.product-section .ic.blue { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.product-section h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.spec { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec .row-spec { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: 1rem 1.4rem; border-top: 1px solid var(--line); }
.spec .row-spec:first-child { border-top: 0; }
.spec .k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
.spec .v { color: var(--ink); }
.spec .v ul { margin: 0; padding-left: 1.1rem; }
.spec .v li { margin-bottom: .25rem; }
.spec .head { background: var(--navy-900); color: #fff; padding: .9rem 1.4rem; font-weight: 700; font-family: "Montserrat", sans-serif; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; }
.spec .head span { font-family: "Inter", sans-serif; font-weight: 500; font-size: .8rem; color: #aebbd0; }
@media (max-width: 575.98px) { .spec .row-spec { grid-template-columns: 1fr; gap: .25rem; } }
.sticky-side { position: sticky; top: 130px; }

/* Chemistry panels */
.formula { font-family: "Inter", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.formula sub { font-size: .72em; }
.spec.chem .head { background: var(--navy-800); }
.spec.chem .head .t { color: var(--gold); }
.spec .head .t { font-family: "Montserrat", sans-serif; font-weight: 700; }
.spec.chem .v.formula { font-weight: 600; color: var(--navy-800); }
.primer { background: linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); padding-top: 4rem; padding-bottom: 4rem; }
.fam { display: grid; gap: .6rem; margin-top: 1.4rem; }
.fam div { border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 10px; padding: .75rem 1rem; background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; align-items: center; }
.fam div:nth-child(2) { border-left-color: var(--blue); }
.fam div:nth-child(3) { border-left-color: var(--green); }
.fam div:nth-child(4) { border-left-color: var(--navy); }
.fam b { font-family: "Montserrat", sans-serif; font-size: .95rem; color: var(--navy-800); }
.fam .formula { font-size: 1.05rem; font-weight: 700; color: var(--navy-800); }
.fam small { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.table.cuts { font-size: .92rem; }
.table.cuts th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); background: var(--bg-soft); white-space: nowrap; }
.table.cuts td { vertical-align: middle; border-color: var(--line); padding: .7rem .9rem; }
.table.cuts td:first-child { font-weight: 600; color: var(--navy-800); white-space: nowrap; }
.table.cuts a { font-weight: 600; color: var(--navy-800); }
.table.cuts a:hover { color: var(--orange); }

/* Products: one product per screen — name + chemistry left, grades/spec right, compact type */
.product-scroller { padding: 2.5rem 0 3rem; }
.product-block { padding: 2.2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; } /* + html scroll-padding-top 96px = just under the sub-nav */
.product-block:first-child { border-top: 0; padding-top: 0; }
.product-block .ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: var(--navy-800); flex-shrink: 0; }
.product-block .ic.orange { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.product-block .ic.green { background: linear-gradient(135deg, var(--green), var(--green-l)); }
.product-block .ic.blue { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.product-block h2 { font-size: 1.65rem; }
.product-block .intro { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 1rem; }
.spec.compact { font-size: .84rem; line-height: 1.5; }
.spec.compact .head { padding: .55rem 1rem; font-size: .84rem; }
.spec.compact .head span { font-size: .72rem; }
.spec.compact .row-spec { grid-template-columns: 118px 1fr; gap: .6rem; padding: .55rem 1rem; }
.spec.compact .k { font-size: .68rem; letter-spacing: .1em; padding-top: .1rem; }
.spec.compact .v ul { padding-left: 1rem; }
.spec.compact .v li { margin-bottom: .1rem; }
.spec.chem.compact { font-size: .8rem; }
.spec.uses .head { background: var(--green); }
.spec.compact .row-spec.single { grid-template-columns: 1fr; }
@media (min-width: 1400px) { .spec.compact { font-size: .88rem; } .spec.chem.compact { font-size: .83rem; } }
@media (max-width: 991.98px) { .product-block { scroll-margin-top: 20px; padding: 1.8rem 0; } }
@media (max-width: 575.98px) { .spec.compact .row-spec { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Steps (how we work) ---------- */
.step { position: relative; padding: 2rem 1.6rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); height: 100%; background: rgba(255,255,255,.03); transition: background .25s, border-color .25s; }
.step:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.step .n { font-family: "Montserrat", sans-serif; font-size: 2.6rem; font-weight: 800; color: rgba(255,255,255,.12); line-height: 1; margin-bottom: 1rem; }
.step h4 { color: #fff; font-size: 1.1rem; }
.step p { color: #aebbd0; margin: 0; font-size: .95rem; }

/* ---------- Industries chips ---------- */
.chip { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.1rem; font-weight: 600; color: var(--navy-800); font-size: .92rem; background: #fff; transition: border-color .2s, transform .2s; }
.chip i { color: var(--orange); }
.chip:hover { border-color: var(--navy-800); transform: translateY(-2px); }

/* ---------- Insights ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .thumb { height: 150px; display: grid; place-items: center; color: #fff; font-size: 2.8rem; }
.post-card .thumb.icon-blue { background: linear-gradient(135deg, var(--navy-800), var(--blue)); }
.post-card .thumb.icon-green { background: linear-gradient(135deg, var(--green), var(--green-l)); }
.post-card .thumb.icon-orange { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.post-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .76rem; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.post-card h3 { font-size: 1.12rem; margin: .55rem 0; }
.post-card h3 a { color: var(--navy-800); }
.post-card h3 a:hover { color: var(--orange); }
.post-card p { color: var(--muted); flex: 1; font-size: .95rem; }
.article { max-width: 800px; }
.article p { font-size: 1.08rem; }
.article h2 { font-size: 1.55rem; margin-top: 2.4rem; }
.article blockquote { border-left: 4px solid var(--orange); padding: 1rem 1.4rem; color: var(--navy-800); font-weight: 600; background: var(--bg-soft); border-radius: 0 12px 12px 0; font-size: 1.15rem; }
.article ul { padding-left: 1.3rem; }

/* ---------- Contact ---------- */
.contact-box { background: var(--navy-900); color: #c9d4e5; border-radius: var(--radius); padding: 2.4rem; }
.contact-box h3 { color: #fff; }
.contact-box a { color: #fff; }
.contact-box a:hover { color: var(--orange); }
.contact-box .row-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-box .row-item i { color: var(--orange); font-size: 1.25rem; margin-top: .15rem; }
.contact-box strong { color: #fff; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.form-control, .form-select { border-radius: 8px; padding: .8rem 1rem; border-color: var(--line); background: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(15,63,154,.12); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(242,140,0,.35), transparent 65%); }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -140px; bottom: -220px; background: radial-gradient(circle, rgba(26,111,216,.3), transparent 65%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-band p { color: #c9d4e5; }

/* ---------- Footer ---------- */
footer { background: var(--navy-900); color: #aebbd0; }
footer h5 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
footer a { color: #aebbd0; }
footer a:hover { color: var(--orange); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .5rem; font-size: .95rem; }
footer .foot-logo { height: 44px; width: auto; }
footer .bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .85rem; color: #7f8fa8; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); margin-right: .4rem; color: #fff; }
.social a:hover { background: var(--orange); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-scroll i { animation: none; } }

/* ---------- Home background video (kept from v1: full-page fixed video, sections semi-transparent) ---------- */
.page-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -1; }
.home-bg { background: var(--navy-900) url("../Images/hero-poster.jpg") center / cover fixed no-repeat; }
.home-bg.video-on .hero { background: none; }   /* video is playing behind the page: let it show through */
.home-bg section.light { background: rgba(255,255,255,.97); }
.home-bg section.light.bg-soft { background: rgba(245,247,250,.97); }
.home-bg section.bg-dark-navy { background: rgba(4,28,77,.9); }
.home-bg section.stats-strip { background: #fff; }
.home-bg .cta-band { background: rgba(8,43,112,.92); }
.home-bg .navbar, .home-bg footer { position: relative; z-index: 2; }
.home-bg .navbar.sticky-top { position: sticky; z-index: 1020; }
@media (prefers-reduced-motion: reduce) { .page-video { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }   /* g-5 gutters overflow a 12px-padded container on phones */
  .section { padding: 3.8rem 0; }
  .hero { min-height: auto; padding: 5rem 0 4.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-scroll { display: none; }
  .navbar-brand img { height: 32px; }
  .page-head { padding: 3.6rem 0 3rem; }
  .product-section { padding: 3.2rem 0; }
  .contact-box { padding: 1.8rem; }
  html { scroll-padding-top: 70px; }
  .subnav { top: 58px; }
}
