/* Translation System Fixes */

/* Fix for rotating text z-index issue */
.cd-words-wrapper {
    position: relative;
    z-index: 1;
}

.cd-words-wrapper b {
    position: absolute;
    z-index: 2;
}

.cd-words-wrapper b.is-visible {
    position: relative;
    z-index: 3;
}

/* Ensure hero content doesn't go behind image */
.rn-slider-area .content {
    position: relative;
    z-index: 10;
}

.rn-slider-area .header-caption {
    position: relative;
    z-index: 5;
}

/* Creative Footer Links Design - Enhanced with better visibility and higher specificity */
footer .footer-widget .footer-links,
.rn-footer-area .footer-widget .footer-links,
.rn-footer-area .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer .footer-widget .footer-links li,
.rn-footer-area .footer-widget .footer-links li,
.rn-footer-area .footer-links li {
    margin-bottom: 1rem !important;
    position: relative !important;
}

footer .footer-widget .footer-links li a,
.rn-footer-area .footer-widget .footer-links li a,
.rn-footer-area .footer-links li a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    padding: 0.6rem 1rem !important;
    padding-left: 2.5rem !important;
    display: block !important;
    border-radius: 8px !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border-left: 3px solid transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

footer .footer-widget .footer-links li a::before,
.rn-footer-area .footer-widget .footer-links li a::before,
.rn-footer-area .footer-links li a::before {
    content: '▸' !important;
    position: absolute !important;
    left: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.8 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #60a5fa !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

footer .footer-widget .footer-links li a:hover,
.rn-footer-area .footer-widget .footer-links li a:hover,
.rn-footer-area .footer-links li a:hover {
    color: #ffffff !important;
    padding-left: 3rem !important;
    background: linear-gradient(90deg, rgba(45, 55, 72, 0.2), rgba(26, 32, 44, 0.15)) !important;
    border-left-color: #2d3748 !important;
    transform: translateX(8px) !important;
    box-shadow: 0 4px 15px rgba(45, 55, 72, 0.3) !important;
}

footer .footer-widget .footer-links li a:hover::before,
.rn-footer-area .footer-widget .footer-links li a:hover::before,
.rn-footer-area .footer-links li a:hover::before {
    opacity: 1 !important;
    left: 1.2rem !important;
    color: #3b82f6 !important;
    transform: translateY(-50%) scale(1.3) rotate(90deg) !important;
}

/* Active state for current page */
footer .footer-widget .footer-links li a.active,
.rn-footer-area .footer-widget .footer-links li a.active,
.rn-footer-area .footer-links li a.active {
    color: #2563eb !important;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), rgba(59, 130, 246, 0.2)) !important;
    border-left-color: #2563eb !important;
}

footer .footer-widget .footer-links li a.active::before,
.rn-footer-area .footer-widget .footer-links li a.active::before,
.rn-footer-area .footer-links li a.active::before {
    opacity: 1 !important;
    color: #3b82f6 !important;
}

/* Pricing Feature List - Styles moved to custom-pricing.css */

/* Ensure proper stacking context for hero section */
.rn-slider-area {
    position: relative;
    z-index: 1;
}

.rn-slider-area .thumbnail {
    position: relative;
    z-index: 1;
}

.rn-slider-area .content {
    position: relative;
    z-index: 2;
}

