/* Simple Rotating Text - Clean Implementation */

/* Base styles */
.rotating-text-section {
    padding: 100px 0;
    background: transparent !important;
    position: relative;
}

.rotating-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.rotating-text-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.static-text {
    color: #ffffff;
}

/* Rotating text container */
.rotating-text-element {
    background: #5865ff;
    padding: 0.25rem 1.5rem;
    border-radius: 12px;
    min-width: 200px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Text container */
.text-container {
    display: inline-flex;
    color: #ffffff;
    font-weight: 900;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Individual characters */
.char {
    color: #ffffff;
    font-weight: 900;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Button styles */
.rotating-text-cta {
    margin-top: 3rem;
}

.rotating-text-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rotating-text-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.rotating-text-button .arrow {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rotating-text-button:hover .arrow {
    transform: translateX(4px);
}

/* Responsive design */
@media (max-width: 768px) {
    .rotating-text-section {
        padding: 60px 0;
    }
    
    .rotating-text-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rotating-text-element {
        min-width: 150px;
        padding: 0.2rem 1rem;
    }
    
    .rotating-text-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rotating-text-title {
        font-size: 2rem;
    }
    
    .rotating-text-element {
        min-width: 120px;
        padding: 0.15rem 0.8rem;
    }
    
    .rotating-text-container {
        padding: 0 1rem;
    }
} 
