/* =========================================================
   SMY Logo Carousel — Frontend Styles
   Brand palette: Deep navy #0B1B3A, Teal #00B4D8, White
   ========================================================= */

/* ---------- Section Shell ---------- */
.smy-lc-section {
    width: 100%;
    padding: 64px 0 72px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Subtle grid texture overlay */
.smy-lc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Glowing accent bar at top */
.smy-lc-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00B4D8, transparent);
}

/* ---------- Header ---------- */
.smy-lc-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.smy-lc-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #00B4D8;
    margin-bottom: 12px;
    opacity: 0.9;
}

.smy-lc-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 700;
    color: #0B1B3A;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Teal underline accent */
.smy-lc-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #00B4D8;
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ---------- Track Wrapper ---------- */
.smy-lc-track-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Left fade */
.smy-lc-fade-left,
.smy-lc-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.smy-lc-fade-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.smy-lc-fade-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* ---------- Scrolling Track ---------- */
.smy-lc-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: smy-lc-scroll var(--smy-duration, 40s) linear infinite;
    will-change: transform;
}

/* Pause on hover */
.smy-lc-track-wrap:hover .smy-lc-track {
    animation-play-state: paused;
}

@keyframes smy-lc-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Individual Logo Item ---------- */
.smy-lc-item {
    flex: 0 0 auto;
    width: 160px;
    height: 90px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 180, 216, 0.18);
    border-radius: 10px;
    padding: 16px 20px;
    background: #f8fbfe;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Inner glow on hover */
.smy-lc-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 10px;
}

.smy-lc-item:hover {
    background: rgba(0, 180, 216, 0.08);
    border-color: rgba(0, 180, 216, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.15), 0 4px 8px rgba(0, 0, 0, 0.4);
}

.smy-lc-item:hover::before {
    opacity: 1;
}

/* ---------- Logo Image ---------- */
.smy-lc-item img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.35s ease, transform 0.35s ease;
    position: relative;
    z-index: 1;
}

.smy-lc-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ---------- Link reset ---------- */
.smy-lc-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .smy-lc-section {
        padding: 48px 0 56px;
    }

    .smy-lc-item {
        width: 130px;
        height: 76px;
        margin: 0 14px;
        padding: 12px 16px;
    }

    .smy-lc-fade-left,
    .smy-lc-fade-right {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .smy-lc-item {
        width: 110px;
        height: 68px;
        margin: 0 10px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .smy-lc-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 0 20px;
        gap: 16px;
    }
}
