/* Hero Text Scrolling Animation */

/* Blue box container - left aligned */
.elementor-element-83f1235 {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 30px !important;
    width: auto !important;
    margin: 0 !important;
    margin-right: auto !important;
}

/* Welcome to text container */
.elementor-element-57487af {
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-element-57487af .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-element-57487af .elementor-heading-title {
    animation: fadeInSlideUp 1.5s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* Parent container - left aligned content */
.elementor-element-ad15f7d {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column !important;
}

/* Arabian United text - also left aligned */
.elementor-element-d114340 {
    width: 100% !important;
    text-align: left !important;
}

.elementor-element-d114340 .elementor-widget-container {
    text-align: left !important;
}

.elementor-element-d114340 .elementor-heading-title {
    text-align: left !important;
}

/* Arabian United Float Glass Company text */
.elementor-element-d114340 .elementor-heading-title {
    animation: fadeInSlideUp 1.8s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

/* Subtle fade in and slide up animation */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add a gentle floating effect after load */
.elementor-element-57487af,
.elementor-element-d114340 {
    position: relative;
}

.elementor-element-57487af .elementor-heading-title,
.elementor-element-d114340 .elementor-heading-title {
    display: inline-block;
}

/* Only initial fade in animation - no floating */
/* Animation is already applied above in the heading styles */

/* Parallax-like effect on scroll */
.elementor-element-83f1235 {
    transition: transform 0.5s ease-out;
}

/* Optional: Add text shadow for better readability */
.elementor-element-57487af .elementor-heading-title,
.elementor-element-d114340 .elementor-heading-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile optimization - keep initial animation only */
@media (max-width: 767px) {
    .elementor-element-57487af .elementor-heading-title,
    .elementor-element-d114340 .elementor-heading-title {
        animation-duration: 1.2s;
    }
    
    .elementor-element-83f1235 {
        padding: 8px 20px !important;
    }
}