/* Bergbauer Technology Solutions — supplementary styles
   Kept separate from the vendor style.css so template updates stay clean. */

/* ---- Technology marquee (replaces the old partner-logo strip) ---- */
.mil-tech-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mil-tech-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: mil-marquee 32s linear infinite;
}
.mil-tech-marquee:hover .mil-tech-marquee-track {
    animation-play-state: paused;
}
.mil-tech-marquee-group {
    display: flex;
    align-items: center;
}
.mil-tech-marquee span.mil-tech-item {
    font-family: "Syne", sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.02em;
    color: rgba(18, 24, 32, 0.32);
    white-space: nowrap;
    padding: 0 32px;
    transition: color 0.3s ease;
}
.mil-tech-marquee span.mil-tech-item:hover {
    color: #121820;
}
.mil-tech-marquee span.mil-tech-dot {
    color: #f57c00;
    font-size: 8px;
    vertical-align: middle;
}
@keyframes mil-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .mil-tech-marquee-track { animation: none; }
}
@media screen and (max-width: 767px) {
    .mil-tech-marquee span.mil-tech-item { font-size: 16px; padding: 0 20px; }
}

/* ---- Value proposition grid (replaces fabricated testimonials) ---- */
.mil-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
@media screen and (max-width: 992px) {
    .mil-value-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}
@media screen and (max-width: 576px) {
    .mil-value-grid { grid-template-columns: 1fr; }
}
.mil-value-card .mil-icon-frame {
    margin-bottom: 25px;
}
.mil-value-card h5 {
    margin-bottom: 15px;
}
.mil-value-card p {
    margin: 0;
}

/* ---- Technology stack / platforms grid (replaces arbitrary skill bars) ---- */
.mil-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: rgba(18, 24, 32, 0.08);
    border: 1px solid rgba(18, 24, 32, 0.08);
}
.mil-stack-card {
    background-color: #fff;
    padding: 40px 35px;
}
@media screen and (max-width: 992px) {
    .mil-stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 576px) {
    .mil-stack-grid { grid-template-columns: 1fr; }
}
.mil-stack-card h6 {
    margin-bottom: 18px;
}
.mil-stack-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mil-stack-card ul li {
    color: rgba(18, 24, 32, 0.5);
    font-size: 14px;
    line-height: 190%;
    padding-left: 16px;
    position: relative;
}
.mil-stack-card ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #f57c00;
}

/* ---- Header: quote CTA button next to the nav ---- */
.mil-nav-cta {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 26px;
    border-radius: 30px;
    font-family: "Syne", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #fff !important;
    background-color: #f57c00;
    margin-left: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}
.mil-nav-cta:hover {
    background-color: #121820;
    transform: translateY(-2px);
}
.mil-top-panel-transparent .mil-nav-cta {
    color: #fff !important;
}

/* ---- Footer contact list ---- */
.mil-footer-contact li a {
    color: inherit;
}
.mil-footer-contact li a:hover {
    color: #f57c00;
}

/* ---- Simple fade/rise-in used on the hero eyebrow badge ---- */
.mil-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}
.mil-badge-row .mil-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f57c00;
    box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.6);
    animation: mil-pulse 2s infinite;
}
@keyframes mil-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(245, 124, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .mil-badge-row .mil-pulse { animation: none; }
}
