/* Marquee Block */
.marquee-block {
    background: linear-gradient(135deg, #028476 0%, #028476 50%, #030303 100%);
    color: white;
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 110%;
    margin-left: -5%;
    transform: rotate(-3deg);
    margin-top: -40px;
    margin-bottom: -80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Subtle pattern overlay */
.marquee-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    pointer-events: none;
}

/* Top and bottom accent borders */
.marquee-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%
    );
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 15s linear infinite;
    padding: 25px 0;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    font-size: 14px;
    position: relative;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.marquee-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.marquee-item svg {
    flex-shrink: 0;
    stroke: #a8e6cf;
    stroke-width: 3;
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 3px rgba(168, 230, 207, 0.5));
}

/* Separator dots between items */
.marquee-item::after {
    content: '•';
    position: absolute;
    right: -50px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
}

.marquee-item:last-child::after {
    display: none;
}

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

/* Pause on hover */
.marquee-block:hover .marquee-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
    .marquee-block {
        width: 105%;
        margin-left: -2.5%;
    }

    .marquee-content {
        gap: 60px;
        padding: 0 30px;
    }

    .marquee-item {
        font-size: 13px;
        padding: 6px 16px;
    }
}

@media (max-width: 768px) {
    .marquee-block {
        width: 100%;
        margin-left: 0;
        transform: rotate(0deg);
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .marquee-track {
        padding: 15px 0;
    }

    .marquee-content {
        gap: 40px;
        padding: 0 20px;
    }

    .marquee-item {
        font-size: 12px;
        padding: 6px 14px;
        gap: 8px;
    }

    .marquee-item svg {
        width: 14px;
        height: 14px;
    }
}
