/* --- Decor Elements --- */

/* 1. Infinite Marquee Bar */
.marquee-section {
    width: 100%;
    background-color: var(--primary-orange); /* Uses the active primary color */
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
    border-bottom: 2px solid rgba(0,0,0,0.5);
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 20s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000; /* Contrast against the bright background */
    display: flex;
    align-items: center;
    gap: 50px;
}

.marquee-item::after {
    content: "•";
    color: rgba(0,0,0,0.5);
    font-size: 2rem;
    line-height: 0;
}

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

/* 2. Rotating Stamp Badge */
.rotating-badge {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    z-index: 15;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cdefs%3E%3Cpath id='textcircle' d='M250,400 a150,150 0 0,1 0,-300 a150,150 0 0,1 0,300Z' transform='rotate(12,250,250)'/%3E%3C/defs%3E%3Ctext fill='%23ffffff' font-family='Oswald' font-size='38' font-weight='500' letter-spacing='2'%3E%3CtextPath xlink:href='%23textcircle' textLength='940'%3EESTABLISHED 2024 • BE GROUP • DIGITAL ARCHITECTS •%3C/textPath%3E%3C/text%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: spinBadge 20s linear infinite;
    mix-blend-mode: difference; /* Cool blend effect */
}

/* Inner Solid Circle for Logo/Icon */
.badge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Great Vibes', cursive;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

@keyframes spinBadge {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-item { font-size: 1rem; gap: 30px; }
    .rotating-badge { width: 100px; height: 100px; top: -20px; left: -20px; }
    .badge-center { width: 30px; height: 30px; font-size: 0.8rem; }
}
