/* Header styles for SEO-friendly title and description */
.ecw-header {
    text-align: center;
    margin: 20px auto;
    width: 100%;
}
.ecw-title {
    margin: 0;
}
.ecw-description {
    margin: 10px 0 0;
}

/* Frontend CSS for Egochi Custom Wheel */
.ecw-container {
    display: flex;
    gap: 30px;
    font-family: Arial, sans-serif;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.ecw-wheel {
    width: 300px;
    height: 300px;
    position: relative;
}

.ecw-dial {
    width: 100%;
    height: 100%;
    border: 4px solid #FFC300;
    border-radius: 50%;
    position: relative;
}

/* Nucleus orbit and electrons behind the logo */
.ecw-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    border: 1px solid #FFC300;
    border-radius: 50%;
    z-index: 1;
}
.ecw-electron {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: black;
    border-radius: 50%;
    transform-origin: -40px;
    animation: orbit 4s linear infinite;
}
.ecw-electron:nth-child(2) {
    animation-delay: 2s;
}

/* Keyframes for electron orbit */
@keyframes orbit {
    from { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

/* Logo container for proper centering and pulse animation */
.ecw-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 2;
}

.ecw-logo-inner {
    width: 100%;
    height: 100%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Numbered buttons: positions set dynamically via JavaScript */
.ecw-number {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFC300;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
}
.ecw-number:hover {
    transform: scale(1.1);
}
.ecw-number.active {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Right-side text container */
.ecw-text {
    flex: 1;
    max-width: 600px;
}

/* New Arrow Navigation above the text */
.ecw-arrow-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.ecw-arrow {
    background: none;
    border: none;
    font-size: 24px;
    color: black;
    cursor: pointer;
    padding: 10px;
}
.ecw-step-number {
    background: #FFC300;
    color: black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    margin: 0 15px;
}

/* Slides hidden by default, except the active one */
.ecw-slide {
    display: none;
}
.ecw-slide.active {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .ecw-container {
        flex-direction: column;
        gap: 20px;
    }
    .ecw-wheel {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }
    .ecw-dial {
        border-width: 3px;
    }
    .ecw-logo-container {
        width: 60px;
        height: 60px;
    }
    .ecw-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .ecw-text {
        max-width: 100%;
        padding: 0 10px;
    }
}
