/* Custom CSS overrides and animations */

/* Inline SVG icon sizing — mimics old Font Awesome font-icon behavior.
   Icon scales with the surrounding text-size utility (text-xl, text-2xl, etc.)
   and inherits color via currentColor, so text-accent / text-white etc. still work. */
.icon-svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* Client Logo Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Swiper custom arrows */
.swiper-button-next, .swiper-button-prev {
    color: var(--color-accent) !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-accent) !important;
}

/* Fix for background overlays */
.bg-overlay {
    position: relative;
}
.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.bg-overlay > * {
    position: relative;
    z-index: 2;
}
