/* Homepage Enhancements - 100% Optimization */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Hero Section */
.rit-hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced CTA Buttons */
.button.btn-gradient {
    position: relative;
    overflow: hidden;
}

.button.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .5s ease;
}

.button.btn-gradient:hover::before {
    left: 100%;
}

/* Sticky CTA Enhancements */
#rit-sticky-cta,
#rit-sticky-cta-mobile {
    animation: rit-cta-float 3s ease-in-out infinite;
}

.rit-sticky-btn,
.rit-sticky-btn-mobile {
    backdrop-filter: blur(10px);
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .rit-hero {
        padding: 60px 0 !important;
    }
    
    .rit-hero h1 {
        font-size: clamp(28px, 6vw, 36px) !important;
    }
    
    .rit-hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .rit-hero-ctas .button {
        width: 100%;
        justify-content: center;
    }
    
    /* Ensure touch targets are at least 44px */
    .button, .btn, a[href^="tel:"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Enhanced Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Loading States */
.rit-loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.rit-loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(14, 165, 233, 0.5);
    outline-offset: 2px;
}

/* Performance Optimizations */
.rit-hero svg,
.rit-process svg {
    will-change: transform;
}

/* Print Styles */
@media print {
    #rit-sticky-cta,
    #rit-sticky-cta-mobile {
        display: none !important;
    }
}





