body {
    font-family: "Inter", sans-serif;
}

:root {
    --hero-navy: #14233a;
    --hero-olive: #4A5D4E;
    --hero-olive-hover: #5a6c4b;
    --hero-muted: #6B8270;
}

/* ================= HEADER ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.header-container {
    padding-left: 5vw;
    padding-right: 5vw;
}

/* scrolled state */
.site-header.scrolled {
    background-color: rgba(15, 39, 68, 0.97);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* ---------- Top bar ---------- */
.header-topbar {
    max-height: 40px;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.site-header.scrolled .header-topbar {
    max-height: 0;
    opacity: 0;
}

.topbar-contact {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.topbar-contact svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Navbar ---------- */
.site-header .navbar {
    padding: 0px 0 18px;
    transition: padding 0.35s ease;
}

.site-header.scrolled .navbar {
    padding: 12px 0;
}

.header-logo {
    display: flex;
    flex-direction: column;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    color: #fff !important;
}

.header-logo span {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.site-header .navbar-nav .nav-link {
    position: relative;
    padding: 8px 14px !important;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

/* small underline on hover / active */
.site-header .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
    color: #fff;
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* ---------- Right actions ---------- */
.header-actions {
    gap: 12px;
}

.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-search-btn:hover,
.header-search-btn[aria-expanded="true"] {
    background: #fff;
    border-color: #fff;
    color: #0F2744;
}

.btn-header {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: #fff;
    border-color: #fff;
    color: #0F2744;
}

/* ---------- Search dropdown ---------- */
.header-search {
    background-color: rgba(15, 39, 68, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-search-form {
    display: flex;
    gap: 10px;
    padding: 16px 0;
}

.header-search-form input {
    flex: 1;
    padding: 11px 18px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    outline: none;
}

.header-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.header-search-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.header-search-form button {
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--hero-olive);
    border: none;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.header-search-form button:hover {
    background: var(--hero-olive-hover);
}

/* ---------- Mobile ---------- */
.site-header .navbar-toggler {
    padding: 6px 8px;
    border-color: rgba(255, 255, 255, 0.35);
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .header-topbar {
        display: none;
    }
    .site-header .navbar {
        padding: 14px 0;
    }
    /* solid background whenever the mobile menu is open */
    .site-header.menu-open {
        background-color: rgba(15, 39, 68, 0.98);
    }
    .site-header .navbar-collapse {
        padding: 16px 0 10px;
    }
    .site-header .navbar-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .site-header .navbar-nav .nav-link::after {
        display: none;
    }
    .header-actions {
        margin-top: 16px;
    }
}
/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background-color: var(--hero-navy);
    color: #fff;
}

.hero-swiper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Background image + slow zoom on active slide */
.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--hero-navy);
    background-size: cover;
    background-position: center right;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

/* Navy tint, darker on the left for text legibility */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 32, 55, 0.95) 0%, rgba(22, 38, 64, 0.75) 35%, rgba(26, 44, 74, 0.35) 70%, rgba(26, 44, 74, 0.25) 100%),
        linear-gradient(0deg, rgba(18, 32, 55, 0.6) 0%, rgba(18, 32, 55, 0) 40%);
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-left: 5vw;
    padding-right: 5vw;
}

/* ---------- Content ---------- */
.hero-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hero-muted);
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 28px;
}

.hero-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero-primary,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background-color: var(--hero-olive);
    border: 1px solid var(--hero-olive);
    color: #fff;
}

.btn-hero-primary:hover {
    background-color: var(--hero-olive-hover);
    border-color: var(--hero-olive-hover);
    color: #fff;
}

.btn-hero-primary svg {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-hero-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--hero-navy);
}

/* ---------- Feature bullets (middle of image) ---------- */
.hero-features {
    position: absolute;
    z-index: 2;
    left: 42%;
    top: 68%;
}

.hero-features li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    color: white;
    white-space: nowrap;
}

.hero-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: white;
}

/* ---------- Text entrance animation ---------- */
.hero-content > *,
.hero-features {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.swiper-slide-active .hero-content > *,
.swiper-slide-active .hero-features {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .hero-eyebrow   { transition-delay: 0.3s; }
.swiper-slide-active .hero-title     { transition-delay: 0.45s; }
.swiper-slide-active .hero-text      { transition-delay: 0.6s; }
.swiper-slide-active .hero-btns      { transition-delay: 0.75s; }
.swiper-slide-active .hero-features  { transition-delay: 0.9s; }

/* ---------- Pagination: — 01 — 02 ——— 03 ---------- */
.hero-pagination {
    position: absolute;
    z-index: 5;
    left: 5vw !important;
    bottom: 50px !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-pagination .hero-bullet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.hero-pagination .hero-bullet .line {
    display: block;
    width: 16px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
    transition: width 0.4s ease;
}

/* progress fill on the active line */
.hero-pagination .hero-bullet .line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-pagination .hero-bullet:hover,
.hero-pagination .hero-bullet-active {
    color: #fff;
}

.hero-pagination .hero-bullet-active .line {
    width: 40px;
}

.hero-pagination .hero-bullet-active .line::after {
    animation: heroProgress var(--hero-delay, 6000ms) linear forwards;
}

@keyframes heroProgress {
    to { transform: scaleX(1); }
}

/* ---------- Scroll indicator ---------- */
.hero-scroll {
    position: absolute;
    z-index: 5;
    right: 5vw;
    bottom: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.hero-scroll:hover {
    color: #fff;
}

.hero-scroll svg {
    animation: heroScroll 1.6s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .hero-features {
        left: 48%;
    }
}

@media (max-width: 991.98px) {
    .hero-features {
        display: none;
    }
    .hero-overlay {
        background: linear-gradient(90deg, rgba(18, 32, 55, 0.92) 0%, rgba(22, 38, 64, 0.7) 100%);
    }
}

@media (max-width: 575.98px) {
    .hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }
    .hero-swiper .swiper-slide {
        min-height: 100vh;
    }
    .hero-container {
        padding: 100px 20px 110px;
    }
    .hero-text {
        font-size: 14px;
    }
    .hero-pagination {
        left: 20px !important;
        bottom: 36px !important;
    }
    .hero-scroll {
        right: 20px;
        bottom: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg,
    .hero-content > *,
    .hero-features {
        transition: none;
    }
}

section.programs {
    padding: 80px 0px;
}

.section-heading h6 {
    letter-spacing: 3.36px;
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #4A5D4E;
    margin-bottom: 15px;
}

.section-heading h2 {
    color: #0F2744;
    font-weight: bold;
    letter-spacing: -1.2px;
    font-size: 55px;
}

section.programs {
    padding: 80px 0px;
    background-color: #F7F9FB;
    overflow: hidden;
}

.section-heading img {
    display: inline-block;
    margin-top: 10px;
}

/* ================= LOGO MARQUEE ================= */
.logo-marquee {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
    /* fade both edges */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: logoMarquee 30s linear infinite;
}

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

.logo-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo-marquee-group li {
    padding-right: 86px; /* spacing between names (padding, not gap, keeps the loop seamless) */
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.75px;
    text-transform: uppercase;
    white-space: nowrap;
    color: #C1C1C3;
    transition: color 0.3s ease;
}

.logo-marquee-group li:hover {
    color: #0F2744;
}

@keyframes logoMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 767.98px) {
    .section-heading h2 { font-size: 32px; }
    .logo-marquee { margin-top: 35px; }
    .logo-marquee-group li { font-size: 16px; padding-right: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track { animation: none; }
}

/* ================= SECTION HEADING (shared) ================= */
.section-heading p {
    font-size: 15px;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 0;
}

/* ================= PRODUCTS ================= */
section.products {
    padding: 80px 0;
    background-color: #F7F9FB;
}

.products-heading {
    margin-bottom: 45px;
}

.products-heading h2 {
    margin-bottom: 0;
    line-height: 1.1;
}

.products-heading p {
    padding-bottom: 8px;
}

/* ---------- Card ---------- */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 39, 68, 0.08);
}

.product-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #F1F3F5;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: #0F2744;
    border-radius: 50px;
}

/* ---------- Body ---------- */
.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 26px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F2744;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.product-title span {
    font-size: 11px;
    font-weight: 400;
    color: #9CA3AF;
    margin-right: 2px;
}

.product-subtitle {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #767676;
    margin-bottom: 14px;
}

.product-text {
    font-size: 13px;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 20px;
    /* clamp to 3 lines like the design */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;              /* pins buttons to the bottom */
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E8EC;
}

.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #0F2744;
    background: transparent;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-product:hover {
    background: #0F2744;
    color: #fff;
}

.btn-product svg {
    transition: transform 0.3s ease;
}

.btn-product:hover svg {
    transform: translateX(3px);
}

.product-link {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: var(--hero-olive);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .products-heading p {
        margin-top: 16px;
    }
}

@media (max-width: 767.98px) {
    section.products {
        padding: 60px 0;
    }
    .products-heading {
        margin-bottom: 30px;
    }
    .product-img {
        height: 210px;
    }
}

/* ================= COMPARE BANNER ================= */
.compare-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 60px;
    padding: 34px 40px;
    background-color: #0F2744;
    border-radius: 24px;
}

.compare-text h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #fff;
    margin-bottom: 6px;
}

.compare-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.btn-compare {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 13px;
    font-weight: 500;
    color: #6B8270;
    background: transparent;
    border: 1px solid #6B8270;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-compare:hover {
    background: var(--hero-olive);
    border-color: var(--hero-olive);
    color: #fff;
}

.btn-compare svg {
    transition: transform 0.3s ease;
}

.btn-compare:hover svg {
    transform: translateX(4px);
}

/* ================= HEARTBEAT DIVIDER ================= */
.pulse-divider {
    display: flex;
    align-items: center;
    margin-top: 40px;
    color: #D6D1C2;
}

.pulse-line {
    flex: 1;
    height: 1.5px;
    background-color: currentColor;
}

.pulse-line-left {
    flex: 0 0 35%;   /* puts the pulse about 1/3 across like the design */
}

.pulse-wave {
    flex-shrink: 0;
    display: block;
    margin: 0 -1px;  /* closes any hairline gap with the lines */
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .compare-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        margin-top: 40px;
    }
    .compare-text h3 {
        font-size: 20px;
    }
    .pulse-line-left {
        flex: 0 0 20%;
    }
}

/* ================= SECTION HEADING – LIGHT VARIANT ================= */
.section-heading-light h2 {
    color: #fff;
    margin-bottom: 18px;
}

.section-heading-light p {
    color: rgba(255, 255, 255, 0.6);
}

.heading-pulse {
    display: block;
    margin: 0 auto 18px;
    color: #3B82F6;
}

/* ================= INDUSTRIES ================= */
section.industries {
    padding: 90px 0;
    background-color: #0F2744;
}

.industries-grid {
    margin-top: 40px;
    margin-bottom: 45px;
}

.industry-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    background-color: #14233a;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* dark gradient at the bottom so the title is readable */
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(11, 29, 51, 1) 0%,
    rgba(11, 29, 51, 0.3) 50%,
    rgba(11, 29, 51, 0) 100%
  );
  transition: background 0.4s ease;
}

.industry-card h3 {
    position: absolute;
    z-index: 2;
    left: 14px;
    right: 14px;
    bottom: 16px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    transition: transform 0.4s ease;
}

.industry-card:hover img {
    transform: scale(1.07);
}

.industry-card:hover h3 {
    transform: translateY(-4px);
}

/* ---------- Light outline button ---------- */
.btn-light-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-light-outline:hover {
    background: #fff;
    border-color: #fff;
    color: #0F2744;
}

.btn-light-outline svg {
    transition: transform 0.3s ease;
}

.btn-light-outline:hover svg {
    transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.industries {
        padding: 60px 0;
    }
    .section-heading-light h2 {
        font-size: 32px;
    }
    .industries-grid {
        margin-top: 30px;
        margin-bottom: 35px;
    }
}

/* ================= DYNAMAX SUITE ================= */
section.dynamax {
    padding: 90px 0 70px;
    background-color: #F3F0EA;
}

.dynamax-heading {
    margin-bottom: 45px;
}

.dynamax-heading h2 {
    line-height: 1.08;
    margin-bottom: 20px;
}

.dynamax-heading p {
    max-width: 560px;
}

/* ---------- Feature list ---------- */
.dx-list {
    border-top: 1px solid #E2DED5;
}

.dx-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 26px 0;
    border-bottom: 1px solid #E2DED5;
    cursor: pointer;
    outline: none;
}

.dx-num {
    flex: 0 0 100px;
    font-size: 55px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #E2DED5;
    transition: color 0.35s ease;
}

.dx-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #A3A3A3;
    margin-bottom: 8px;
    transition: color 0.35s ease;
}

.dx-info p {
    font-size: 14px;
    line-height: 1.7;
    color: #BDBAB3;
    margin-bottom: 0;
    transition: color 0.35s ease;
}

/* hover + keyboard focus */
.dx-item:hover .dx-num,
.dx-item:focus-visible .dx-num { color: #CFCBC1; }
.dx-item:hover h3,
.dx-item:focus-visible h3      { color: #6B7280; }

/* active */
.dx-item.active .dx-num { color: #4A5D4E; }
.dx-item.active h3      { color: #0F2744; }
.dx-item.active p       { color: #6B7280; }

/* ---------- Buttons ---------- */
.dx-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.btn-navy,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-navy {
    background: #0F2744;
    border: 1px solid #0F2744;
    color: #fff;
}

.btn-navy:hover {
    background: var(--hero-olive);
    border-color: var(--hero-olive);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: 1px solid #D6D1C2;
    color: #374151;
}

.btn-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: #0F2744;
}

/* ---------- Sticky preview ---------- */
.dx-sticky {
    position: sticky;
    top: 60px;          /* adjust to your header height */
}

.dx-preview {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #0F2744;
    box-shadow: 0 25px 50px rgba(15, 39, 68, 0.18);
}

.dx-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.6s ease;
}

.dx-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 39, 68, 0.95) 0%, rgba(15, 39, 68, 0.55) 40%, rgba(15, 39, 68, 0.15) 100%);
}

.dx-preview-content {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
    max-width: 420px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.dx-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8FA694;
    margin-bottom: 10px;
}

.dx-preview-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.dx-preview-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* fade-out state while swapping content */
.dx-preview.is-changing .dx-preview-img {
    opacity: 0;
    transform: scale(1.04);
}

.dx-preview.is-changing .dx-preview-content {
    opacity: 0;
    transform: translateY(10px);
}

/* ---------- Specs box ---------- */
.dx-specs {
    margin-top: 16px;
    padding: 20px 26px;
    background: #0F2744;
    border-radius: 12px;
}

.dx-specs p {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

.dynamax .pulse-divider {
    margin-top: 60px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .dx-sticky {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    section.dynamax {
        padding: 60px 0 50px;
    }
    .dx-item {
        gap: 16px;
        padding: 20px 0;
    }
    .dx-num {
        flex-basis: 52px;
        font-size: 32px;
    }
    .dx-preview-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    .dx-preview-title {
        font-size: 20px;
    }
}

/* ================= WHY IST ================= */
section.why-ist {
    position: relative;
    padding: 90px 0;
    background-color: #0F2744;
    overflow: hidden;
}

/* ---------- Background heartbeat lines ---------- */
.why-bg-line {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.why-bg-line-top    { top: 26%; }
.why-bg-line-bottom { top: 64%; }

.why-bg-line .pulse-line-left {
    flex: 0 0 34%;
}

/* ---------- Heading ---------- */
.why-heading {
    margin-bottom: 40px;
}

.why-heading h6 {
    color: #6B8270;
}

.why-heading h2 {
    margin-bottom: 14px;
}

.why-pulse {
    display: block;
    color: rgba(255, 255, 255, 0.25);
}

/* ---------- List ---------- */
.why-list {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: default;
}

.why-num {
    flex: 0 0 80px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: rgba(255, 255, 255, 0.07);
    transition: color 0.35s ease;
}

.why-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 6px;
    transition: color 0.35s ease;
}

.why-info p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 0;
    transition: color 0.35s ease;
}

/* highlighted: the default active item, or the hovered one */
.why-item.active .why-num,
.why-item:hover .why-num  { color: #8FA694; }
.why-item.active h3,
.why-item:hover h3        { color: #fff; }
.why-item.active p,
.why-item:hover p         { color: rgba(255, 255, 255, 0.7); }

/* while hovering another item, dim the default active one */
.why-list:hover .why-item.active:not(:hover) .why-num { color: rgba(255, 255, 255, 0.07); }
.why-list:hover .why-item.active:not(:hover) h3       { color: rgba(255, 255, 255, 0.25); }
.why-list:hover .why-item.active:not(:hover) p        { color: rgba(255, 255, 255, 0.15); }

.why-btn {
    margin-top: 45px;
}

/* ---------- Image card ---------- */
.why-card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    background: #14233a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.why-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.why-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 29, 51, 0.95) 0%, rgba(11, 29, 51, 0.4) 30%, rgba(11, 29, 51, 0) 55%);
}

.why-card-content {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 20px;
    bottom: 30px;
}

.why-card-content .dx-label {
    color: #6B8270;
    margin-bottom: 6px;
}

.why-card-content p {
    max-width: 300px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .why-card {
        margin-top: 50px;
        aspect-ratio: 16 / 11;
    }
    .why-bg-line {
        display: none;
    }
}

@media (max-width: 767.98px) {
    section.why-ist {
        padding: 60px 0;
    }
    .why-num {
        flex-basis: 56px;
        font-size: 28px;
    }
}

section.why-ist:before {
    content: "";
    background-image: url(../img/why-ist-bg.png);
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    top: 0;
    left: 0;
    background-position: center center;
}

/* ================= COMPARISON MATRIX ================= */
section.matrix {
    padding: 90px 0;
    background-color: #fff;
}

.matrix-heading {
    margin-bottom: 45px;
}

.matrix-heading h2 {
    line-height: 1.08;
    margin-bottom: 20px;
}

/* ---------- Table ---------- */
.matrix-wrap {
    border-bottom: 1px solid #E5E8EC;
}

.matrix-table {
    width: 100%;
    min-width: 900px;            /* scrolls sideways on small screens */
    border-collapse: collapse;
}

.matrix-table thead th {
    padding: 18px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    color: #fff;
    background-color: #0F2744;
}

.matrix-table td {
    padding: 16px 12px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    color: #4B5563;
    background-color: #fff;
    border-top: 1px solid #EEF0F3;
    transition: background-color 0.25s ease;
}

/* zebra rows */
.matrix-table tbody tr:nth-child(even) td {
    background-color: #F7F9FB;
}

.matrix-table tbody tr:hover td {
    background-color: #EEF2F6;
}

/* Product column */
.matrix-table th:first-child,
.matrix-table td:first-child {
    text-align: left;
    padding-left: 16px;
}

.matrix-table td:first-child {
    font-size: 15px;
    font-weight: 700;
    color: #0F2744;
}

/* Battery column */
.matrix-table td:nth-child(9) {
    font-weight: 700;
    color: #4A5D4E;
}

/* Best For column */
.matrix-table th:last-child,
.matrix-table td:last-child {
    text-align: left;
}

.matrix-table td:last-child {
    font-size: 13px;
    color: #6B7280;
}

.matrix-table td strong {
    font-weight: 600;
    color: #111827;
}

/* ---------- Icons ---------- */
.ic-check,
.ic-x {
    width: 14px;
    height: 14px;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.ic-check { stroke: #4B5563; }
.ic-x     { stroke: #C5C9CF; }

/* ---------- Notes + buttons ---------- */
.matrix-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 40px;
    margin-top: 20px;
    font-size: 12px;
    color: #9CA3AF;
}

.matrix-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.matrix-btns .btn-ghost {
    color: #0F2744;
    border-color: #DADDE2;
}

.matrix-btns .btn-ghost:hover {
    background: #0F2744;
    border-color: #0F2744;
    color: #fff;
}

/* ---------- Responsive: sticky product column while scrolling ---------- */
@media (max-width: 991.98px) {
    .matrix-table th:first-child,
    .matrix-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        box-shadow: 1px 0 0 #E5E8EC;
    }
}

@media (max-width: 767.98px) {
    section.matrix {
        padding: 60px 0;
    }
    .matrix-heading {
        margin-bottom: 30px;
    }
    .matrix-table td:first-child {
        font-size: 13px;
    }
}

/* ================= ENGINEERING RESOURCES ================= */
section.resources {
    padding: 90px 0 70px;
    background-color: #fff;
}

.resources-heading {
    margin-bottom: 45px;
}

.resources-heading h2 {
    line-height: 1.08;
    margin-bottom: 20px;
}

/* ---------- Card ---------- */
.resource-card {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    background-color: #F7F9FB;
    border: 1px solid #E5E8EC;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background-color: #fff;
    border-color: #D6DBE1;
    box-shadow: 0 12px 30px rgba(15, 39, 68, 0.08);
    transform: translateY(-3px);
}

.resource-card img {
    flex: 0 0 64px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.resource-info {
    padding-top: 4px;
}

.resource-info h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #0F2744;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.resource-card:hover h3 {
    color: var(--hero-olive);
}

.resource-dl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9CA3AF;
}

.resource-dl svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- See more banner ---------- */
.resources-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 24px 28px;
    background-color: #F3F0EA;
    border-radius: 16px;
}

.resources-banner p {
    font-size: 15px;
    color: #4B5563;
    margin-bottom: 0;
}

.btn-see-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #4A5D4E;
    background: transparent;
    border: 1px solid #4A5D4E;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background: #4A5D4E;
    color: #fff;
}

.btn-see-more svg {
    transition: transform 0.3s ease;
}

.btn-see-more:hover svg {
    transform: translateX(4px);
}

.resources .pulse-divider {
    margin-top: 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.resources {
        padding: 60px 0 50px;
    }
    .resources-heading {
        margin-bottom: 30px;
    }
    .resources-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }
}

/* ================= BATTERY LIFE ================= */
section.battery {
    padding: 90px 0 70px;
    background-color: #F2F0E9;
}

.battery-heading {
    margin-bottom: 45px;
}

.battery-heading h2 {
    line-height: 1.08;
    margin-bottom: 20px;
}

.battery-card {
    padding: 44px 28px 30px;
    background: #fff;
    border: 1px solid #E8E4DA;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(15, 39, 68, 0.06);
}

/* tier colours */
.high { --bar: #4A5D4E; }
.mid  { --bar: #6B8270; }
.low  { --bar: #D6D1C2; }

/* ---------- Chart ---------- */
.bchart-row,
.bchart-axis {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    column-gap: 12px;
}

.bchart-row + .bchart-row {
    margin-top: 12px;
}

.bchart-label {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    color: #111827;
    white-space: nowrap;
}

.bchart-track {
    position: relative;
    height: 22px;
}

.bchart-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;                                   /* animated in */
    background-color: var(--bar);
    border-radius: 0 4px 4px 0;
    transition: width 1.1s cubic-bezier(.22, .61, .36, 1), filter 0.25s ease;
}

.bchart.is-visible .bchart-bar {
    width: calc(var(--days) / var(--max) * 100%);
}

/* stagger the bars */
.bchart-row:nth-child(1)  .bchart-bar { transition-delay: 0s; }
.bchart-row:nth-child(2)  .bchart-bar { transition-delay: .05s; }
.bchart-row:nth-child(3)  .bchart-bar { transition-delay: .1s; }
.bchart-row:nth-child(4)  .bchart-bar { transition-delay: .15s; }
.bchart-row:nth-child(5)  .bchart-bar { transition-delay: .2s; }
.bchart-row:nth-child(6)  .bchart-bar { transition-delay: .25s; }
.bchart-row:nth-child(7)  .bchart-bar { transition-delay: .3s; }
.bchart-row:nth-child(8)  .bchart-bar { transition-delay: .35s; }
.bchart-row:nth-child(9)  .bchart-bar { transition-delay: .4s; }
.bchart-row:nth-child(10) .bchart-bar { transition-delay: .45s; }
.bchart-row:nth-child(11) .bchart-bar { transition-delay: .5s; }

/* value shown on hover */
.bchart-bar em {
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    color: #0F2744;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.bchart-row:hover .bchart-bar    { filter: brightness(0.92); }
.bchart-row:hover .bchart-bar em { opacity: 1; }

/* ---------- Axis ---------- */
.bchart-axis {
    margin-top: 15px;
}

.bchart-ticks {
    position: relative;
    height: 22px;
    border-top: 1px solid #E5E7EB;
}

.bchart-ticks span {
    position: absolute;
    top: 6px;
    left: calc(var(--t) / 130 * 100%);
    transform: translateX(-50%);
    font-size: 12px;
    color: #374151;
}

.bchart-ticks span:first-child { transform: none; }
.bchart-ticks span:last-child  { transform: translateX(-100%); }

/* ---------- Legend + note ---------- */
.bchart-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 30px;
    margin-top: 30px;
}

.bchart-legend {
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bchart-legend li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #9CA3AF;
}

.bchart-legend li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--bar);
}

.bchart-note {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0;
}

.battery .pulse-divider {
    margin-top: 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.battery {
        padding: 60px 0 50px;
    }
    .battery-card {
        padding: 28px 16px 22px;
    }
    .bchart-row,
    .bchart-axis {
        grid-template-columns: 78px 1fr;
    }
    .bchart-label {
        font-size: 10px;
    }
    .bchart-track {
        height: 12px;
    }
    .bchart-bar em {
        opacity: 1;            /* no hover on touch, show values */
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bchart-bar { transition: none; }
}

/* ================= NEWS ================= */
section.news {
    padding: 90px 0;
    background-color: #F7F9FB;
}

.news-heading {
    margin-bottom: 40px;
}

.news-heading h2 {
    margin-bottom: 0;
    line-height: 1.1;
}

/* ---------- Card ---------- */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 39, 68, 0.08);
}

.news-img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #E5E8EC;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* ---------- Body ---------- */
.news-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
}

.news-date {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #4B5563;
    margin-bottom: 6px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.news-title a {
    color: #0F2744;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--hero-olive);
}

.news-text {
    font-size: 13px;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 22px;
}

.news-footer {
    margin-top: auto;             /* keeps Read More aligned across cards */
    padding-top: 16px;
    border-top: 1px solid #E5E8EC;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link svg {
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--hero-olive);
}

.news-link:hover svg {
    transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .news-heading p {
        margin-top: 16px;
    }
}

@media (max-width: 767.98px) {
    section.news {
        padding: 60px 0;
    }
    .news-heading {
        margin-bottom: 30px;
    }
}

/* ================= CTA ================= */
section.cta {
    padding: 55px 0 80px;
    background-color: #fff;
}

.cta-box {
    position: relative;
    padding: 50px 40px 46px;
    background-color: #0F2744;
    border-radius: 20px;
    overflow: hidden;
}

.cta-box .section-heading {
    max-width: 920px;
    margin: 0 auto;
}

.cta-pulse {
    display: block;
    margin: 0 auto 16px;
    color: #fff;
}

.cta-box .section-heading h2 {
    font-size: 45px;
    margin-bottom: 14px;
}

.cta-box .section-heading p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.cta-btns {
    margin-top: 30px;
}

.cta-btns .btn-hero-outline {
    border-color: rgba(255, 255, 255, 0.8);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.cta {
        padding: 40px 0 60px;
    }
    .cta-box {
        padding: 40px 22px;
        border-radius: 16px;
    }
    .cta-box .section-heading h2 {
        font-size: 30px;
    }
}

/* ================= FOOTER ================= */
.site-footer {
    padding: 50px 0 28px;
    background-color: #0B1F38;
    color: rgba(255, 255, 255, 0.6);
}

.footer-top {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Brand ---------- */
.footer-logo {
    display: inline-block;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

.footer-tagline {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #4A5D4E;
}

.footer-about {
    max-width: 360px;
    margin: 18px 0 20px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-pulse {
    display: block;
    color: rgba(255, 255, 255, 0.2);
}

/* ---------- Columns ---------- */
.footer-title {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #6B8270;
}

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

.footer-links li + li {
    margin-top: 11px;
}

.footer-links a,
.footer-contact a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-contact li + li {
    margin-top: 8px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 30px;
    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-legal .footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8FA694;
}

.footer-legal .footer-cta:hover {
    color: #fff;
}

/* ---------- Floating support button ---------- */
.support-fab {
    position: fixed;
    z-index: 999;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--hero-olive);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.support-fab:hover {
    transform: translateY(-3px);
    background-color: var(--hero-olive-hover);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .footer-top > [class*="col-"] {
        margin-bottom: 30px;
    }
    .footer-top {
        padding-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

section.inner-banner {
    background-color: #0F2744;
    text-align: center;
    color: white;
    padding: 200px 0px 150px;
}

section.inner-banner h1 {
    font-weight: bold;
    letter-spacing: -1.2px;
    font-size: 60px;
    margin-bottom: 20px;
}

section.inner-banner p {
    color: #FFFFFFBF;
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
}

section.industries.inner-industries {
    background-color: white;
}

section.industries.inner-industries .industry-card h3 {
    left: 20px;
    bottom: 17px;
    max-width: 220px;
}

/* ================= SOFTWARE FEATURES ================= */
section.software-features {
    padding: 90px 0 70px;
    background-color: #FAFAF8;
}

.sf-heading h2 {
    font-size: 45px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.sf-grid {
    margin-top: 50px;
}

.sf-item {
    --line: 1;                    /* top border scale – animated by GSAP */
    position: relative;
    display: flex;
    align-items: flex-start;
    height: 100%;
    padding: 30px 0 45px;
    cursor: pointer;
    outline: none;
}

/* top border as a pseudo-element so it can "draw" in */
.sf-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #E7E4DD;
    transform: scaleX(var(--line));
    transform-origin: left;
}

.sf-num {
    flex: 0 0 90px;
    font-size: 55px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #ECEAE5;
    transition: color 0.35s ease;
}

.sf-info h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #A3A3A3;
    margin-bottom: 10px;
    transition: color 0.35s ease;
}

.sf-info p {
    font-size: 13px;
    line-height: 1.75;
    color: #BDBAB3;
    margin-bottom: 0;
    transition: color 0.35s ease;
}

/* highlighted: active item, hovered item or keyboard focus */
.sf-item.active .sf-num,
.sf-item:hover .sf-num,
.sf-item:focus-visible .sf-num { color: #4A5D4E; }

.sf-item.active h3,
.sf-item:hover h3,
.sf-item:focus-visible h3      { color: #0F2744; }

.sf-item.active p,
.sf-item:hover p,
.sf-item:focus-visible p       { color: #6B7280; }

/* while hovering another item, dim the active one */
.sf-grid:hover .sf-item.active:not(:hover) .sf-num { color: #ECEAE5; }
.sf-grid:hover .sf-item.active:not(:hover) h3       { color: #A3A3A3; }
.sf-grid:hover .sf-item.active:not(:hover) p        { color: #BDBAB3; }

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.software-features {
        padding: 60px 0 40px;
    }
    .sf-heading h2 {
        font-size: 30px;
    }
    .sf-grid {
        margin-top: 30px;
    }
    .sf-item {
        padding: 22px 0 28px;
    }
    .sf-num {
        flex-basis: 60px;
        font-size: 36px;
    }
}

/* ================= WHY IST CARDS ================= */
section.fc-section {
    padding: 80px 0;
    background-color: #fff;
}

.fc-card {
    position: relative;
    height: 100%;
    padding: 22px 24px 24px;
    background-color: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* thin olive accent that grows along the top on hover */
.fc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--hero-olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.fc-card:hover {
    transform: translateY(-4px);
    border-color: #D6DBE1;
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.08);
}

.fc-card:hover::before {
    transform: scaleX(1);
}

.fc-card h3 {
    font-weight: 600;
    line-height: 1.35;
    color: #0F2744;
    margin-bottom: 10px;
    font-size: 22px;
    letter-spacing: -0.3px;
}

.fc-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 0;
}

/* first card – larger title */
.fc-card-featured h3 {
    font-size: 20px;
    letter-spacing: -0.3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.fc-section {
        padding: 60px 0;
    }
}

/* ================= SUPPORT CARDS ================= */
section.support-section {
    padding: 80px 0;
    background-color: #fff;
}

.support-card {
    position: relative;
    height: 100%;
    padding: 22px 22px 26px;
    background-color: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: #D6DBE1;
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.08);
}

.support-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.support-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background-color: #0F2744;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.support-card:hover .support-num {
    background-color: var(--hero-olive);
}

.support-head h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #0F2744;
    margin: 0;
}

.support-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 14px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #0F2744;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-link svg {
    transition: transform 0.3s ease;
}

.support-link:hover {
    color: var(--hero-olive);
}

.support-link:hover svg {
    transform: translateX(4px);
}

/* make the whole card clickable via its link */
.support-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    section.support-section {
        padding: 60px 0;
    }
    .support-head h3 {
        font-size: 18px;
    }
}

/* ================= SUPPORT – INFO SECTIONS ================= */
.info-section {
    padding: 80px 0;
    scroll-margin-top: 80px;       /* anchor links land below the fixed header */
}

.info-section.bg-sand  { background-color: #F3F0EA; }
.info-section.bg-white { background-color: #fff; }
.info-section.bg-mist  { background-color: #F4F6F9; }

/* heading: pulse icon on the left, smaller h2 */
.info-heading {
    margin-bottom: 18px;
}

.info-heading .heading-pulse {
    margin: 0 0 14px;
}

.info-heading h2 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 0;
}

/* ---------- Body copy ---------- */
.info-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0F2744;
    margin: 28px 0 8px;
}

.info-body h3:first-child {
    margin-top: 10px;
}

.info-body p {
    font-size: 15px;
    line-height: 1.75;
    color: #6B7280;
    margin-bottom: 18px;
}

.info-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* navy outline pill (2nd button) */
.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
    background: transparent;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-line:hover {
    background: #0F2744;
    color: #fff;
}

/* ---------- Technical terms ---------- */
.terms-list {
    margin: 30px 0 0;
}

.term {
    margin: 25px 0;
    border-left: 2px solid #4A5D4E;
    padding-left: 20px;
}

.term:last-child {
    border-bottom: none;
}

.term dt {
    font-size: 16px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 6px;
}

.term dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #6B7280;
}

/* ---------- Notes & references ---------- */
.notes-grid {
    margin-top: 30px;
}

.note {
    margin-bottom: 30px;
}

.note h3,
.refs h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 10px;
}

.note p {
    font-size: 15px;
    line-height: 1.75;
    color: #6B7280;
    margin: 0;
}

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

.refs-list li {
    position: relative;
    padding-left: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
}

.refs-list li + li {
    margin-top: 6px;
}

.refs-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #4B5563;
}

.refs-rule {
    display: block;
    width: 140px;
    height: 1px;
    margin-top: 40px;
    background-color: #0F2744;
    transform-origin: left;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .refs-list + .refs-list,
    .refs .col-lg-6 + .col-lg-6 .refs-list {
        margin-top: 6px;
    }
}

@media (max-width: 767.98px) {
    .info-section {
        padding: 60px 0;
    }
    .info-heading h2 {
        font-size: 30px;
    }
}

/* ================= ALL RESOURCES PAGE ================= */
section.resources-all {
    padding: 80px 0;
}

/* "Download PDF" sits at the bottom of each card, like the design */
.resources-all .resource-card {
    align-items: stretch;
    min-height: 100%;
}

.resources-all .resource-card img {
    align-self: flex-start;
}

.resources-all .resource-info {
    display: flex;
    flex-direction: column;
    padding-bottom: 2px;
}

@media (max-width: 767.98px) {
    section.resources-all {
        padding: 60px 0;
    }
}

/* ================= ABOUT INTRO ================= */
section.about-intro {
    padding: 90px 0;
    background-color: #fff;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 28px;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    section.about-intro {
        padding: 60px 0;
    }
    .about-intro p {
        font-size: 16px;
    }
}

/* ================= PRODUCTS PAGE ADDITIONS ================= */

/* product names in the matrix are links */
.matrix-table td:first-child a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.matrix-table td:first-child a:hover {
    color: var(--hero-olive);
}

/* product image is now a link – keep it a block */
a.product-img {
    display: block;
}

/* product photos: show the whole product on a white background
   (works best once photos are cut out on white, per the client's notes) */
.products .product-img {
    background: #fff;
}

.products .product-img img {
    object-fit: contain;
    padding: 18px;
}

/* ================= PRODUCT DETAIL PAGES ================= */

/* header is solid on product pages (the hero is light, not a photo) */
.product-page .site-header {
    background-color: rgba(15, 39, 68, 0.97);
}

/* ---------- Hero ---------- */
section.pd-hero {
    padding: 150px 0 60px;              /* clears the fixed header */
    background:
        radial-gradient(circle at 15% 20%, rgba(74, 93, 78, 0.06), transparent 45%),
        #F5F7FA;
}

.pd-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    font-size: 13px;
    color: #9CA3AF;
}

.pd-crumbs a {
    color: #6B7280;
    text-decoration: none;
}

.pd-crumbs a:hover {
    color: var(--hero-olive);
}

.pd-crumbs [aria-current] {
    color: #0F2744;
    font-weight: 500;
}

.pd-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    width: 100%;
    padding: 40px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(15, 39, 68, 0.08);
    overflow: hidden;
}

.pd-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(15, 39, 68, 0.18));
    transition: transform 0.6s ease;
}

.pd-image:hover img {
    transform: scale(1.04);
}

.pd-image .product-badge {
    top: 18px;
    left: 18px;
}

.pd-intro {
    padding: 20px 0;
}

.pd-tagline {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--hero-olive);
}

.pd-intro h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #0F2744;
    margin-bottom: 10px;
}

.pd-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #4B5563;
    margin-bottom: 18px;
}

.pd-pulse {
    display: block;
    margin-bottom: 20px;
    color: #3B82F6;
}

.pd-intro p {
    font-size: 15px;
    line-height: 1.75;
    color: #6B7280;
}

.pd-btns .btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
    background: transparent;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pd-btns .btn-line:hover {
    color: #fff;
    background: #0F2744;
}

.pd-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* ---------- Quick spec tiles ---------- */
.pd-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 50px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 16px;
    overflow: hidden;
}

.pd-spec {
    padding: 22px 26px;
    border-right: 1px solid #E5E8EC;
}

.pd-spec:last-child {
    border-right: none;
}

.pd-spec span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9CA3AF;
}

.pd-spec strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0F2744;
}

/* ---------- Features / Ideal for ---------- */
section.pd-details {
    padding: 90px 0 70px;
    background: #fff;
    scroll-margin-top: 70px;
}

.pd-heading {
    margin-bottom: 26px;
}

.pd-heading h2 {
    font-size: 40px;
    margin-bottom: 0;
}

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

.pd-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
}

.pd-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #EEF0F3;
    font-size: 14.5px;
    line-height: 1.5;
    color: #374151;
}

.pd-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    padding: 3px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: var(--hero-olive);
    border-radius: 50%;
}

.pd-list a {
    color: #0F2744;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 39, 68, 0.25);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.pd-list a:hover {
    color: var(--hero-olive);
    border-color: var(--hero-olive);
}

.pd-ideal {
    height: 100%;
    padding: 30px 30px 20px;
    background: #F3F0EA;
    border-radius: 16px;
}

.pd-ideal h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 10px;
}

.pd-ideal .pd-list li {
    border-bottom-color: #E2DED5;
}

.pd-ideal .pd-list li:last-child {
    border-bottom: none;
}

.pd-ideal .pd-list li svg {
    background: #0F2744;
}

/* ---------- Industries chips ---------- */
.pd-industries {
    margin-top: 50px;
}

.pd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-chip {
    padding: 8px 16px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    background: #F5F7FA;
    border: 1px solid #E5E8EC;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pd-chip:hover {
    color: #fff;
    background: #0F2744;
    border-color: #0F2744;
}

/* ---------- Help form ---------- */
section.pd-form-section {
    padding: 90px 0;
    background-color: #0F2744;
    scroll-margin-top: 70px;
}

.pd-form-section .section-heading h2 {
    font-size: 40px;
    line-height: 1.1;
}

.pd-form {
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.pd-form label,
.pd-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.pd-form input[type="text"],
.pd-form input[type="email"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pd-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.pd-form input:focus {
    border-color: #8FA694;
    background: rgba(255, 255, 255, 0.1);
}

.pd-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.pd-radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
}

.pd-radios input {
    accent-color: #8FA694;
}

.pd-hp {
    position: absolute;
    left: -9999px;
}

.pd-form-msg {
    margin-bottom: 16px;
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 10px;
}

.pd-form-msg.ok  { color: #DCFCE7; background: rgba(74, 93, 78, 0.6); }
.pd-form-msg.err { color: #FEE2E2; background: rgba(185, 28, 28, 0.45); }

/* ---------- Prev / next ---------- */
.pd-pager {
    padding: 34px 0;
    background: #F5F7FA;
    border-bottom: 1px solid #E5E8EC;
}

.pd-pager-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.pd-pager-link {
    text-decoration: none;
}

.pd-pager-link.next {
    text-align: right;
}

.pd-pager-link span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9CA3AF;
}

.pd-pager-link strong {
    font-size: 17px;
    color: #0F2744;
    transition: color 0.3s ease;
}

.pd-pager-link:hover strong {
    color: var(--hero-olive);
}

.pd-pager-all {
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    color: #0F2744;
    text-decoration: none;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pd-pager-all:hover {
    color: #fff;
    background: #0F2744;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    section.pd-hero {
        padding-top: 120px;
    }
    .pd-image {
        margin-bottom: 30px;
    }
    .pd-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-spec:nth-child(2) {
        border-right: none;
    }
    .pd-spec:nth-child(-n+2) {
        border-bottom: 1px solid #E5E8EC;
    }
    .pd-ideal {
        margin-top: 40px;
    }
    .pd-form-section .section-heading {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .pd-intro h1 {
        font-size: 38px;
    }
    .pd-subtitle {
        font-size: 17px;
    }
    .pd-features {
        grid-template-columns: 1fr;
    }
    .pd-heading h2,
    .pd-form-section .section-heading h2 {
        font-size: 30px;
    }
    .pd-spec strong {
        font-size: 20px;
    }
    .pd-form {
        padding: 22px;
    }
    .pd-pager-inner {
        grid-template-columns: 1fr 1fr;
    }
    .pd-pager-all {
        display: none;
    }
}


/* ================= HOME PAGE ADDITIONS ================= */

/* product cards: image is a link, show whole product on white */
a.product-img {
    display: block;
}

.products .product-img {
    background: #fff;
}

.products .product-img img {
    object-fit: contain;
    padding: 18px;
}

/* matrix product names are links */
.matrix-table td:first-child a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.matrix-table td:first-child a:hover {
    color: var(--hero-olive);
}

/* battery chart labels are links to the product pages */
a.bchart-label {
    text-decoration: none;
    transition: color 0.3s ease;
}

a.bchart-label:hover {
    color: var(--hero-olive);
}

/* ================= MENU: client's 8 items + Products dropdown ================= */

/* fit 8 items on laptop screens */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .site-header .navbar-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 13.5px;
    }
    .site-header .navbar-nav .nav-link::after {
        left: 10px;
        right: 10px;
    }
    .btn-header {
        padding: 9px 16px;
        font-size: 13px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-logo span {
        display: none;
    }
    .site-header .navbar-nav .nav-link {
        padding: 8px 7px !important;
        font-size: 13px;
    }
    .header-search-btn {
        display: none;
    }
}

/* ---------- Products: link + caret ---------- */
.nav-dd-head {
    display: flex;
    align-items: center;
}

.nav-dd-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: -8px;
    padding: 0;
    color: rgba(255, 255, 255, 0.75);
    background: none;
    border: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-dd-toggle:hover {
    color: #fff;
}

/* ---------- Mega dropdown ---------- */
.site-header .nav-mega {
    width: 640px;
    margin-top: 0;
    padding: 18px;
    background: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(15, 39, 68, 0.25);
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.nav-mega-item {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-mega-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0F2744;
}

.nav-mega-item span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #6B7280;
}

.nav-mega-item:hover,
.nav-mega-item.is-current {
    background: #F3F0EA;
}

.nav-mega-item:hover strong {
    color: var(--hero-olive);
}

.nav-mega-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 12px;
    padding: 14px 12px 4px;
    border-top: 1px solid #E5E8EC;
}

.nav-mega-foot a {
    font-size: 13px;
    font-weight: 600;
    color: var(--hero-olive);
    text-decoration: none;
}

.nav-mega-foot a:hover {
    color: #0F2744;
}

/* desktop: open on hover (clicking "Products" still goes to products.php) */
@media (min-width: 992px) {
    .nav-products {
        position: relative;
    }
    .nav-products .nav-mega {
        display: block;
        position: absolute;
        top: 100%;
        left: -20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    /* invisible bridge so the menu doesn't close while moving the mouse down */
    .nav-products .nav-mega::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -18px;
        height: 18px;
    }
    .nav-products:hover .nav-mega,
    .nav-products .nav-mega.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-products:hover .nav-dd-toggle {
        transform: rotate(180deg);
        color: #fff;
    }
}

/* mobile: caret opens the list inside the collapsed menu */
@media (max-width: 991.98px) {
    .nav-dd-head {
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-dd-head .nav-link {
        border-bottom: none !important;
    }
    .nav-dd-toggle {
        width: 40px;
        height: 40px;
        margin: 0;
    }
    .nav-dd-toggle[aria-expanded="true"] {
        transform: rotate(180deg);
    }
    .site-header .nav-mega {
        position: static !important;
        width: 100%;
        margin: 8px 0;
        padding: 10px;
        transform: none !important;
        border-radius: 10px;
    }
    .nav-mega-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= FORM PAGES (Request Pricing, Speak with an Engineer …) ================= */
section.form-page {
    padding: 90px 0;
    background: #F5F7FA;
    scroll-margin-top: 70px;
}

/* ---------- Left column ---------- */
.form-aside {
    position: sticky;
    top: 110px;
    margin-bottom: 40px;
}

.form-aside .section-heading h2 {
    font-size: 40px;
    margin-bottom: 26px;
}

.form-steps {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.form-steps li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #E5E8EC;
}

.form-steps li > span {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hero-olive);
}

.form-steps strong {
    display: block;
    font-size: 15px;
    color: #0F2744;
    margin-bottom: 2px;
}

.form-steps p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6B7280;
}

.form-contact {
    padding: 20px 22px;
    background: #0F2744;
    border-radius: 12px;
}

.form-contact a {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    line-height: 1.7;
}

.form-contact a:hover {
    color: #8FA694;
}

/* ---------- Form card ---------- */
.ist-form {
    padding: 36px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(15, 39, 68, 0.06);
}

.ist-form fieldset {
    margin-bottom: 28px;
}

.ist-form legend {
    float: none;
    width: auto;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hero-olive);
}

.ist-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.ist-form label em {
    font-style: normal;
    color: #B91C1C;
}

.ist-form input[type="text"],
.ist-form input[type="email"],
.ist-form input[type="tel"],
.ist-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    background: #F9FAFB;
    border: 1px solid #DADDE2;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ist-form textarea {
    resize: vertical;
    min-height: 110px;
}

.ist-form input:focus,
.ist-form textarea:focus {
    background: #fff;
    border-color: var(--hero-olive);
    box-shadow: 0 0 0 3px rgba(74, 93, 78, 0.15);
}

.ist-form .has-error input {
    border-color: #DC2626;
    background: #FEF2F2;
}

.ist-form small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #B91C1C;
}

/* ---------- Checkbox / radio "chips" ---------- */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ist-form .choice {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice span {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #F9FAFB;
    border: 1px solid #DADDE2;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.choice span::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid #9CA3AF;
    border-radius: 4px;
    background: #fff center / 10px no-repeat;
    transition: all 0.2s ease;
}

.choice input[type="radio"] + span::before {
    border-radius: 50%;
}

.choice:hover span {
    border-color: #9CA3AF;
}

.choice input:checked + span {
    color: #0F2744;
    background: #EEF2EF;
    border-color: var(--hero-olive);
}

.choice input:checked + span::before {
    border-color: var(--hero-olive);
    background-color: var(--hero-olive);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.choice input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(74, 93, 78, 0.25);
}

/* plain checkbox (privacy opt-out) */
.choice-plain span {
    padding: 0;
    background: none;
    border: none;
    font-weight: 400;
    align-items: flex-start;
}

.choice-plain input:checked + span {
    background: none;
}

.choice-plain span::before {
    margin-top: 2px;
}

/* ---------- Privacy + messages ---------- */
.form-privacy {
    margin: 4px 0 28px;
    padding: 18px 20px;
    background: #F5F7FA;
    border-radius: 10px;
}

.form-privacy p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #374151;
}

.form-privacy .small-print {
    margin: 12px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: #9CA3AF;
}

.form-hp {
    position: absolute;
    left: -9999px;
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    font-size: 14px;
    color: #991B1B;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 10px;
}

.form-thanks {
    padding: 60px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 16px;
}

.form-thanks svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    padding: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: var(--hero-olive);
    border-radius: 50%;
}

.form-thanks h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F2744;
}

.form-thanks p {
    margin-bottom: 26px;
    font-size: 16px;
    color: #6B7280;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .form-aside {
        position: static;
    }
    .choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    section.form-page {
        padding: 60px 0;
    }
    .ist-form {
        padding: 22px;
    }
    .choice-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= INNER PAGES: Battery Life, Testing Services, Rentals, Events, Log-In, Software ================= */

/* ---------- generic sections ---------- */
section.page-intro,
section.page-section {
    padding: 90px 0;
    background: #fff;
}

section.page-section-mist { background: #F5F7FA; }
section.page-section-sand { background: #F3F0EA; }

section.page-band {
    padding: 80px 0;
    background: #F5F7FA;
}

.page-band-heading {
    margin-bottom: 40px;
}

.page-band-heading h2,
.page-section .section-heading h2,
.page-intro .section-heading h2,
.page-dark .section-heading h2 {
    font-size: 40px;
    line-height: 1.12;
}

.page-section .section-heading,
.page-intro .section-heading {
    margin-bottom: 26px;
}

section.page-dark {
    padding: 90px 0;
    background: #0F2744;
}

.page-photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: #E5E8EC;
    box-shadow: 0 30px 60px rgba(15, 39, 68, 0.12);
}

.page-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-photo-dark {
    margin-top: 30px;
    background: #14233a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.page-pill {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #4A5D4E;
    background: #EEF2EF;
    border: 1px solid #CBD5CD;
    border-radius: 50px;
}

.page-ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.page-ticks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
}

.page-ticks svg,
.benefit-row svg {
    width: 18px;
    height: 18px;
    padding: 3px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: var(--hero-olive);
    border-radius: 50%;
}

.page-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hero-olive);
    text-decoration: none;
}

.page-more:hover { color: #0F2744; }

/* ---------- cards ---------- */
.icon-card,
.list-card,
.adv-card {
    height: 100%;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover,
.list-card:hover,
.adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.08);
}

.icon-card {
    padding: 28px 24px;
}

.icon-card-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: #fff;
    background: #0F2744;
    border-radius: 12px;
}

.icon-card-ic svg {
    width: 24px;
    height: 24px;
}

.icon-card h3,
.list-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 8px;
}

.icon-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
}

.icon-card-sm {
    padding: 20px;
}

.icon-card-sm h3 {
    margin: 0;
    font-size: 15px;
}

.icon-card-sm .icon-card-ic {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
}

.list-card {
    padding: 26px 24px 18px;
}

.list-card .pd-list li {
    padding: 9px 0;
    font-size: 14px;
}

.list-card .pd-list li:last-child {
    border-bottom: none;
}

.adv-card {
    padding: 24px;
    border-top: 3px solid var(--hero-olive);
}

.adv-card strong {
    display: block;
    font-size: 17px;
    color: #0F2744;
}

.adv-card span {
    font-size: 14px;
    color: #6B7280;
}

.page-quote {
    margin: 36px 0 0;
    padding: 24px 28px;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.35;
    color: #0F2744;
    background: #fff;
    border-left: 4px solid var(--hero-olive);
    border-radius: 0 12px 12px 0;
}

.page-markets {
    margin-top: 50px;
}

/* ---------- equipment list (dark) ---------- */
.equip-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.equip-list li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.equip-num {
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #8FA694;
}

.equip-list strong {
    display: block;
    font-size: 17px;
    color: #fff;
}

.equip-list span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- steps (rentals) ---------- */
.step-card {
    height: 100%;
    padding: 30px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.step-num {
    display: block;
    margin-bottom: 14px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #8FA694;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.step-card p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.benefit-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 30px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}

.benefit-row li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

/* ---------- code lists (software modules / accessories) ---------- */
.code-list {
    margin: 0;
}

.code-list > div {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #EEF0F3;
}

.code-list > div:last-child {
    border-bottom: none;
}

.code-list dt {
    flex: 0 0 100px;
    font-size: 13px;
    font-weight: 700;
    color: #0F2744;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code-list dd {
    margin: 0;
    font-size: 14px;
    color: #4B5563;
}

/* ---------- rental + battery tables ---------- */
.rental-table td:last-child {
    white-space: normal;
}

.rental-table td:first-child {
    width: 180px;
}

.battery-table td,
.battery-table th {
    text-align: center;
}

.battery-table th:first-child,
.battery-table td:first-child {
    text-align: left;
}

.battery-table td:last-child {
    font-size: 14px;
    color: #4B5563;
}

.battery-table .na {
    color: #C5C9CF;
}

.battery-table .all-rates {
    font-weight: 700;
    color: #4A5D4E;
}

.battery-table .all-rates span {
    font-weight: 400;
    color: #9CA3AF;
}

section.battery-table-section {
    background: #fff;
}

/* ---------- terms ---------- */
.terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.term-card {
    padding: 22px 24px;
    background: #fff;
    border-radius: 12px;
}

.term-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 6px;
}

.term-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: #6B7280;
}

/* ---------- contact strip ---------- */
section.page-contact {
    padding: 70px 0 90px;
    background: #fff;
}

.page-contact-box {
    padding: 44px;
    background: #0F2744;
    border-radius: 20px;
}

.page-contact-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-contact-box p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

.page-contact-list li {
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.page-contact-list span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8FA694;
}

.page-contact-list a {
    color: #fff;
    text-decoration: none;
}

.page-contact-list a:hover { color: #8FA694; }

.page-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-contact-btns .btn {
    justify-content: center;
}

/* ---------- events ---------- */
.event-list {
    display: grid;
    gap: 20px;
}

.event-card {
    display: flex;
    gap: 28px;
    padding: 28px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.08);
}

.event-date {
    flex: 0 0 92px;
    height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0F2744;
    border-radius: 12px;
}

.event-date span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8FA694;
}

.event-date strong {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.05;
}

.event-date em {
    font-size: 12px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
}

.event-card.is-past .event-date {
    background: #9CA3AF;
}

.event-card.is-past .event-date span {
    color: #fff;
}

.event-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B7280;
    background: #F3F4F6;
    border-radius: 50px;
}

.event-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 8px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.event-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #4A5D4E;
}

.event-meta svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.event-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6B7280;
}

.event-past-heading {
    margin-top: 60px;
}

.event-empty {
    padding: 40px;
    text-align: center;
    background: #fff;
    border: 1px dashed #DADDE2;
    border-radius: 16px;
}

/* ---------- log-in ---------- */
section.login-page {
    padding: 170px 0 100px;
    background:
        radial-gradient(circle at 80% 10%, rgba(74, 93, 78, 0.08), transparent 45%),
        #F5F7FA;
}

.login-body .site-header {
    background-color: rgba(15, 39, 68, 0.97);   /* solid header – no dark banner on this page */
}

.login-aside h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #0F2744;
    margin-bottom: 14px;
}

.login-aside p {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 24px;
}

.login-aside .page-contact-list li { color: #374151; }
.login-aside .page-contact-list span { color: var(--hero-olive); }
.login-aside .page-contact-list a { color: #0F2744; }

.login-form h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0F2744;
    margin-bottom: 20px;
}

.login-form > label {
    margin-bottom: 16px;
}

.ist-form input[type="password"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    background: #F9FAFB;
    border: 1px solid #DADDE2;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ist-form input[type="password"]:focus {
    background: #fff;
    border-color: var(--hero-olive);
    box-shadow: 0 0 0 3px rgba(74, 93, 78, 0.15);
}

.login-remember {
    margin-bottom: 22px !important;
}

.login-help {
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
    color: #6B7280;
}

.login-help a { color: var(--hero-olive); font-weight: 600; }

/* ---------- software page ---------- */
.sf-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.sf-btns .btn-line {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sf-btns .btn-line:hover {
    color: #fff;
    background: #0F2744;
}

.sf-item[id] {
    scroll-margin-top: 120px;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .page-intro .page-photo,
    .page-intro .row > [class*="col-"] + [class*="col-"] {
        margin-top: 30px;
    }
    .terms-grid {
        grid-template-columns: 1fr;
    }
    .login-page {
        padding-top: 130px;
    }
    .login-aside {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    section.page-intro,
    section.page-section,
    section.page-dark,
    section.page-band {
        padding: 60px 0;
    }
    .page-band-heading h2,
    .page-section .section-heading h2,
    .page-intro .section-heading h2,
    .page-dark .section-heading h2 {
        font-size: 30px;
    }
    .page-contact-box {
        padding: 28px 22px;
    }
    .event-card {
        flex-direction: column;
        gap: 18px;
        padding: 22px;
    }
    .event-date {
        flex-basis: auto;
        width: 92px;
    }
    .login-aside h1 {
        font-size: 32px;
    }
}

/* ================= FOOTER ADDITIONS ================= */

/* "All Products →" link under the product list */
.footer-links .footer-more {
    color: #8FA694;
    font-weight: 500;
}

.footer-links .footer-more:hover {
    color: #fff;
}

/* address row (not a link) */
.footer-contact .footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .footer-address svg {
    flex-shrink: 0;
    margin-top: 4px;
}

/* ---------- Sticky "Talk to an Engineer" button ----------
   Round icon by default; on desktop the label slides out on hover */
.support-fab {
    width: auto;
    min-width: 48px;
    padding: 0 14px;
    gap: 0;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
}

.support-fab-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    transition: max-width 0.35s ease, margin 0.35s ease;
}

@media (hover: hover) and (min-width: 992px) {
    .support-fab:hover .support-fab-label {
        max-width: 180px;
        margin-left: 8px;
    }
}

.hero-features ul {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =====================================================================
   INDUSTRIES & APPLICATIONS  (industries.php)
   Load AFTER style.css / product-page.css
   ===================================================================== */

.ind-section {
    padding: 80px 0 100px;
    background: #F5F7FA;
}

/* ---------- 2-column tile layout, mixed tile heights ---------- */
.ind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 8px;          /* tiles span N of these rows */
    grid-auto-flow: dense;        /* fills gaps so both columns stay even */
    column-gap: 18px;
}

.ind-tile {
    position: relative;
    display: block;
    margin-bottom: 18px;          /* vertical gap (inside the row span) */
    overflow: hidden;
    border-radius: 14px;
    background: #0F2744;
    text-decoration: none;
    isolation: isolate;
}

.ind-tile-lg {height: 400px;}   /* ≈ 462px */
.ind-tile-md { grid-row: span 44; }   /* ≈ 334px */
.ind-tile-sm { grid-row: span 32; }   /* ≈ 238px */

.ind-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* dark gradient overlay (client) */
.ind-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(10, 25, 45, 0.92) 0%, rgba(10, 25, 45, 0.45) 40%, rgba(10, 25, 45, 0.05) 75%);
    transition: background 0.4s ease;
}

.ind-tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 26px;
}

.ind-tile-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.ind-tile-lg .ind-tile-title { font-size: 26px; max-width: 80%; }
.ind-tile-sm .ind-tile-title { font-size: 17px; }

.ind-tile-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A9BCAD;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* hover effects (client: modern tile page with hover effects) */
.ind-tile:hover img,
.ind-tile:focus-visible img {
    transform: scale(1.06);
}

.ind-tile:hover::after,
.ind-tile:focus-visible::after {
    background: linear-gradient(0deg, rgba(10, 25, 45, 0.95) 0%, rgba(10, 25, 45, 0.6) 50%, rgba(10, 25, 45, 0.2) 100%);
}

.ind-tile:hover .ind-tile-more,
.ind-tile:focus-visible .ind-tile-more {
    max-height: 30px;
    opacity: 1;
}

.ind-tile:focus-visible {
    outline: 3px solid var(--hero-olive);
    outline-offset: 3px;
}

/* ---------- Pop-up ---------- */
.ind-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.ind-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #E5E8EC;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.ind-modal-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #0F2744;
    stroke-width: 2;
    stroke-linecap: round;
}

.ind-modal-close:hover {
    background: #0F2744;
    border-color: #0F2744;
}

.ind-modal-close:hover svg { stroke: #fff; }

.ind-modal-img {
    position: relative;
    height: 100%;
    min-height: 260px;
    background: #0F2744;
}

.ind-modal-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ind-modal-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 25, 45, 0.75) 0%, rgba(10, 25, 45, 0) 45%);
}

.ind-modal-img .dx-label {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 1;
    color: #fff;
}

.ind-modal-text {
    padding: 44px 44px 40px;
}

.ind-modal-text h2 {
    margin: 0 40px 14px 0;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0F2744;
}

.ind-modal-intro {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #44546A;
}

.ind-modal-text h3 {
    margin: 22px 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hero-olive);
}

.ind-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 22px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.ind-list li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #1E2F45;
}

.ind-list svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    fill: none;
    stroke: var(--hero-olive);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-chip.is-plain:hover {      /* products without a page are not links */
    color: #374151;
    background: #F5F7FA;
    border-color: #E5E8EC;
}

.ind-articles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ind-articles a {
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #0F2744;
    text-decoration: none;
}

.ind-articles a:hover span { text-decoration: underline; }

.ind-articles svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    fill: none;
    stroke: var(--hero-olive);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ind-modal-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ind-modal-btns .btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
    background: transparent;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ind-modal-btns .btn-line:hover {
    color: #fff;
    background: #0F2744;
}

.modal-backdrop.show { opacity: 0.75; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ind-tile-lg { grid-row: span 48; }
    .ind-tile-md { grid-row: span 38; }
    .ind-tile-sm { grid-row: span 30; }
    .ind-tile-lg .ind-tile-title { font-size: 21px; max-width: none; }
    .ind-modal-img { min-height: 220px; }
    .ind-modal-text { padding: 30px 26px 30px; }
    .ind-tile-more { max-height: 30px; opacity: 1; }   /* no hover on touch */
}

@media (max-width: 575.98px) {
    .ind-section { padding: 50px 0 70px; }
    .ind-grid { grid-template-columns: 1fr; }
    .ind-tile-lg,
    .ind-tile-md,
    .ind-tile-sm { grid-row: span 30; }
    .ind-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .ind-tile img,
    .ind-tile-more { transition: none; }
}

/* =====================================================================
   DYNAMAX™ SUITE SOFTWARE PAGE  (software.php)
   Client: alternate white / light-gray sections, section titles on
   dark blue, slightly rounded screenshots, pairs side by side with the
   caption centred below.  Load AFTER style.css
   ===================================================================== */

/* ---------- Intro ---------- */
.dm-intro {
    padding: 90px 0;
    background: #fff;
}

.dm-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.dm-btns .btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
    background: transparent;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.dm-btns .btn-line:hover {
    color: #fff;
    background: #0F2744;
}

.dm-intro-card {
    padding: 34px 36px;
    background: #F5F7FA;
    border: 1px solid #E5E8EC;
    border-left: 3px solid var(--hero-olive);
    border-radius: 16px;
}

.dm-intro-card .dx-label {
    display: block;
    margin-bottom: 16px;
}

.dm-intro-card .dm-list {
    grid-template-columns: 1fr 1fr;
}

/* ---------- Check list (line icons instead of Word-style bullets) ---------- */
.dm-list {
    display: grid;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-list li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #1E2F45;
}

.dm-list svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(74, 93, 78, 0.12);
    fill: none;
    stroke: var(--hero-olive);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Screenshot sections ---------- */
.dm-sec {
    position: relative;
    padding: 80px 0;
}

.dm-sec-white { background: #fff; }
.dm-sec-gray  { background: #F5F7FA; }

.dm-anchor {
    position: absolute;
    top: 0;
}

/* section titles on dark blue (client) */
.dm-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 36px;
    padding: 14px 26px 14px 16px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    background: linear-gradient(90deg, #0F2744 0%, #163B63 100%);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(15, 39, 68, 0.15);
}

.dm-title span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--hero-olive);
    border-radius: 8px;
}

/* rounded screenshots (client) */
.dm-shot {
    margin: 0;
    width: auto;
}

.dm-shot-img {
    display: inline-block;
    overflow: hidden;
    /* background: #fff; */
    /* border: 1px solid #E1E5EA; */
    border-radius: 12px;
    /* box-shadow: 0 20px 45px rgba(15, 39, 68, 0.12); */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 100%;
}

.dm-shot-img:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 28px 55px rgba(15, 39, 68, 0.18); */
}

.dm-shot-img img {
    display: block;
    max-width: 100%;
    height: auto;
}

.dm-shot figcaption,
.dm-caption {
    margin: 16px 0 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #44546A;
}

.dm-caption {
    margin-top: 22px;
}

/* pairs: same height so captions line up */
.dm-pair .dm-shot-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.dm-pair .dm-shot-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dm-pair-list {
    max-width: 900px;
    margin-bottom: 34px;
}

.dm-pair-list .dm-list {
    grid-template-columns: 1fr 1fr;
}

.dm-after {
    margin: 34px auto 0;
    padding: 22px 28px;
    background: rgba(15, 39, 68, 0.04);
    border-radius: 12px;
}

.dm-text p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.7;
    color: #1E2F45;
}

/* ---------- Specifications (dark) ---------- */
.dm-specs {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F2744 0%, #163B63 100%);
    color: #fff;
}

.dm-specs-heading p {
    color: rgba(255, 255, 255, 0.7);
}

.dm-specs .dm-btns { margin-bottom: 40px; }

.dm-spec-list {
    margin: 0;
    display: grid;
    gap: 0;
}

.dm-spec-list > div {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dm-spec-list > div:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dm-spec-list dt {
    font-size: 14px;
    font-weight: 600;
    color: #A9BCAD;
}

.dm-spec-list dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .dm-intro,
    .dm-sec { padding: 60px 0; }
    .dm-specs { padding: 70px 0; }
    .dm-intro-card { margin-top: 30px; }
    .dm-text { margin-bottom: 26px; }
}

@media (max-width: 767.98px) {
    .dm-intro-card .dm-list,
    .dm-pair-list .dm-list { grid-template-columns: 1fr; }
    .dm-spec-list > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .dm-title { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .dm-shot-img { transition: none; }
}

/* =====================================================================
   ABOUT IST  (about.php) – large, easy-to-read text (client)
   ===================================================================== */
.about-statement {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 110px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(74, 93, 78, 0.08) 0%, rgba(74, 93, 78, 0) 45%),
        #F5F7FA;
}

.about-statement .container { width: 100%; }

.about-statement .dx-label {
    display: block;
    margin-bottom: 18px;
}

.about-title {
    max-width: 980px;
    margin: 0 0 22px;
    font-size: clamp(2.2rem, 4.6vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    color: #0F2744;
}

.about-pulse {
    display: block;
    margin-bottom: 40px;
    color: var(--hero-olive);
}

.about-lead {
    max-width: 1000px;
    margin-bottom: 30px;
    font-size: clamp(1.1rem, 1.6vw, 1rem);
    font-weight: 400;
    line-height: 1.75;
    color: #2B3B52;
}

.about-lead:first-of-type {
    padding-left: 24px;
    border-left: 3px solid var(--hero-olive);
    color: #0F2744;
}

.about-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 44px;
}

.about-btns .btn-hero-primary {
    padding: 15px 30px;
    font-size: 15px;
}

.about-btns .btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 500;
    color: #0F2744;
    background: transparent;
    border: 1px solid #0F2744;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.about-btns .btn-line:hover {
    color: #fff;
    background: #0F2744;
}

@media (max-width: 767.98px) {
    .about-statement { min-height: 0; padding: 70px 0; }
    .about-pulse { margin-bottom: 28px; }
    .about-lead:first-of-type { padding-left: 16px; }
}

/* ---------- Why IST: "Talk to an Engineer" card ---------- */
.fc-card.fc-card-cta {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background: var(--hero-olive);
    border-color: var(--hero-olive);
    transition: background 0.3s ease, transform 0.3s ease;
}

.fc-card.fc-card-cta h3,
.fc-card.fc-card-cta p {
    color: #fff;
}

.fc-card.fc-card-cta p {
    opacity: 0.85;
}

.fc-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.fc-cta-link svg {
    transition: transform 0.3s ease;
}

.fc-card.fc-card-cta:hover {
    background: #0F2744;
    border-color: #0F2744;
    transform: translateY(-4px);
}

.fc-card.fc-card-cta:hover .fc-cta-link svg {
    transform: translateX(4px);
}

/* =====================================================================
   SUPPORT – additions for the client's updated text (rev. 09/20/26)
   Load AFTER support-sections.css
   ===================================================================== */

.info-anchor {
    position: absolute;
    top: -80px;
}

.info-section { position: relative; }

/* technical terms in two columns on desktop */
@media (min-width: 992px) {
    .terms-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 56px;
    }
    .terms-grid .term:last-child {
        border-bottom: 1px solid #EEF0F3;
    }
}

/* ---------- Examples of Acceleration ---------- */
.accel-chart {
    margin: 10px 0 46px;
    padding: 34px 34px 28px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 16px;
}

.accel-chart h3 {
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 700;
    color: #0F2744;
}

.accel-scale {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 8px;
}

.accel-scale span {
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #0F2744;
}

.accel-scale .zone-1 { background: #3FA86B; color: #fff; }
.accel-scale .zone-2 { background: #F2E46B; }
.accel-scale .zone-3 { background: #F5B731; }
.accel-scale .zone-4 { background: #E5483B; color: #fff; }

.accel-zone {
    height: 100%;
    padding: 16px 18px;
    border-top: 4px solid;
    border-radius: 10px;
    background: #F8F9FB;
}

.accel-zone.zone-1 { border-color: #3FA86B; }
.accel-zone.zone-2 { border-color: #E2D04A; }
.accel-zone.zone-3 { border-color: #F5B731; }
.accel-zone.zone-4 { border-color: #E5483B; }

.accel-zone strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #0F2744;
}

.accel-zone ul {
    margin: 0;
    padding-left: 16px;
}

.accel-zone li {
    font-size: 13px;
    line-height: 1.55;
    color: #4B5563;
}

.accel-zone li + li { margin-top: 4px; }

.accel-note {
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #6B7280;
}

.note + .note { margin-top: 30px; }

.note-formula {
    display: inline-block;
    margin: 14px 0 !important;
    padding: 8px 20px;
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #0F2744 !important;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 8px;
}

/* ---------- References ---------- */
.refs-intro {
    margin-bottom: 16px;
    font-size: 14px;
    color: #6B7280;
}

.refs-list li + li { margin-top: 10px; }

.refs-label {
    display: block;
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hero-olive);
}

.refs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.refs-chips span {
    padding: 7px 14px;
    font-size: 13px;
    color: #0F2744;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 50px;
}

@media (max-width: 991.98px) {
    .refs-label { margin-top: 26px; }
}

@media (max-width: 575.98px) {
    .accel-chart { padding: 24px 18px; }
    .accel-scale span { font-size: 11px; padding: 8px 0; }
}

/* =====================================================================
   RMA FORM  (rma-form.php) – additions to css/forms.css
   ===================================================================== */

/* date + file inputs match the other fields */
.ist-form input[type="date"],
.ist-form input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 14px;
    font-size: 14px;
    color: #111827;
    background: #F9FAFB;
    border: 1px solid #DADDE2;
    border-radius: 8px;
    outline: none;
}

.ist-form input[type="file"] {
    padding: 9px 12px;
    cursor: pointer;
}

.ist-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #0F2744;
    border: 0;
    border-radius: 50px;
    cursor: pointer;
}

.ist-form .has-error input[type="date"],
.ist-form .has-error input[type="file"] {
    border-color: #DC2626;
    background: #FEF2F2;
}

/* label for radio groups */
.form-label-text {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.form-label-text em {
    font-style: normal;
    color: #B91C1C;
}

.ist-form small.form-hint {
    color: #6B7280;
}

/* bill-to / ship-to (open only when needed) */
.form-more {
    margin-top: 18px;
    padding: 0;
    border: 1px solid #E5E8EC;
    border-radius: 10px;
    background: #F9FAFB;
}

.form-more summary {
    position: relative;
    padding: 14px 44px 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #0F2744;
    cursor: pointer;
    list-style: none;
}

.form-more summary::-webkit-details-marker { display: none; }

.form-more summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: var(--hero-olive);
}

.form-more[open] summary::after { content: "–"; }

.form-more > .row {
    padding: 4px 18px 20px;
}

.form-contact-address {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================================
   ENGINEERING RESOURCES – additions (load after style.css)
   ===================================================================== */

/* landing target (resources.php#slug) */
.resource-card {
    scroll-margin-top: 120px;
}

.resource-card.is-target {
    background: #fff;
    border-color: var(--hero-olive);
    box-shadow: 0 0 0 3px rgba(74, 93, 78, 0.18), 0 16px 34px rgba(15, 39, 68, 0.1);
    animation: resPulse 1.6s ease 0.4s 2;
}

@keyframes resPulse {
    50% { box-shadow: 0 0 0 7px rgba(74, 93, 78, 0.12), 0 16px 34px rgba(15, 39, 68, 0.1); }
}

/* article not uploaded yet */
.resource-card.is-pending {
    cursor: default;
}

.resource-card.is-pending:hover {
    transform: none;
    box-shadow: none;
}

.resource-card.is-pending .resource-dl {
    color: #B0894A;
}

/* thumbnail placeholder until the client sends a photo */
.resource-thumb {
    flex: 0 0 80px;
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0F2744 0%, #163B63 100%);
}

.resource-thumb svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =====================================================================
   SITE SEARCH – header suggestions + search.php results page
   ===================================================================== */

/* ---------- Header: live suggestions ---------- */
.header-search-field {
    position: relative;
    flex: 1;
}

.header-search-field input {
    width: 100%;
}

.header-search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.header-search-suggest a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0F2744;
    text-decoration: none;
    border-radius: 9px;
}

.header-search-suggest a:hover,
.header-search-suggest a.is-active {
    background: #F2F5F8;
}

.suggest-type {
    flex: 0 0 74px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hero-olive);
}

.suggest-all a {
    justify-content: center;
    font-weight: 600;
    color: var(--hero-olive);
}

.suggest-empty {
    padding: 12px;
    font-size: 13px;
    color: #6B7280;
}

/* ---------- Results page ---------- */
.search-page {
    padding: 70px 0 100px;
    background: #F5F7FA;
}

.search-page-form {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 8px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 50px;
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.06);
}

.search-page-form svg {
    position: absolute;
    left: 24px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: #9CA3AF;
    stroke-width: 2;
    stroke-linecap: round;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 12px 12px 48px;
    font-size: 16px;
    color: #0F2744;
    border: 0;
    outline: none;
    background: transparent;
}

.search-count {
    margin-bottom: 18px;
    font-size: 14px;
    color: #6B7280;
}

.search-results {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.search-result {
    display: block;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.search-result:hover {
    border-color: #D0D6DD;
    box-shadow: 0 16px 34px rgba(15, 39, 68, 0.08);
    transform: translateY(-2px);
}

.search-type {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #0F2744;
    border-radius: 50px;
}

.search-type-product  { background: var(--hero-olive); }
.search-type-industry { background: #163B63; }
.search-type-article  { background: #8A6D3B; }
.search-type-support,
.search-type-form     { background: #4B5563; }

.search-result h3 {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #0F2744;
}

.search-result p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.65;
    color: #4B5563;
}

.search-result mark {
    padding: 0 2px;
    color: inherit;
    background: rgba(74, 93, 78, 0.18);
    border-radius: 3px;
}

.search-url {
    font-size: 12px;
    color: var(--hero-olive);
}

.search-empty {
    padding: 34px;
    background: #fff;
    border: 1px solid #E5E8EC;
    border-radius: 14px;
}

.search-empty h2 {
    font-size: 22px;
    color: #0F2744;
}

.search-empty p {
    font-size: 15px;
    color: #4B5563;
}

.search-empty a:not(.pd-chip) {
    color: var(--hero-olive);
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .header-search-suggest a {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .suggest-type { flex: none; }
    .search-page-form { border-radius: 16px; flex-wrap: wrap; }
    .search-page-form svg { top: 30px; }
    .search-page-form .btn { width: 100%; justify-content: center; }
    .search-result { padding: 18px; }
}

/* =====================================================================
   LINE ICONS (include/icons.php) – replace "Word document" bullets
   Thin olive line icons in a soft square tile
   ===================================================================== */
.ist-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 6px;
    color: var(--hero-olive);
    background: rgba(74, 93, 78, 0.10);
    border: 1px solid rgba(74, 93, 78, 0.18);
    border-radius: 9px;
    transition: background 0.3s ease, color 0.3s ease;
}

li:hover > .ist-icon {
    color: #fff;
    background: var(--hero-olive);
}

/* product pages: override the old round check style */
.pd-list li {
    align-items: center;
}

.pd-list li svg.ist-icon {
    width: 32px;
    height: 32px;
    margin-top: 0;
    padding: 6px;
    stroke: currentColor;
    stroke-width: 1.6;
    background: rgba(74, 93, 78, 0.10);
    border-radius: 9px;
}

.pd-list li:hover svg.ist-icon {
    background: var(--hero-olive);
}

/* DynaMax page lists */
.dm-list li {
    align-items: center;
}

.dm-list svg.ist-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-top: 0;
    padding: 6px;
    stroke: currentColor;
    stroke-width: 1.6;
    border-radius: 8px;
}

/* dark backgrounds */
.section-heading-light .ist-icon,
.page-dark .ist-icon {
    color: #A9BCAD;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

/* article with more than one PDF – stacked download buttons */
.resource-card.has-multi h3 a {
    color: inherit;
    text-decoration: none;
}
.resource-card.has-multi h3 a:hover { text-decoration: underline; }

.resource-dl-group {
    display: flex;
    gap: 6px;
}
.resource-dl-group .resource-dl {
    text-decoration: none;
}
.resource-dl-group .resource-dl:hover {
    text-decoration: underline;
    color: #4A5D4E;
}