/* Who We Are Section - Logo Background */

/* Target the text content container specifically */
.elementor-element-bfdcc69 {
    position: relative !important;
    overflow: visible !important;
}

/* Add single logo watermark behind the text content */
.elementor-element-bfdcc69::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-image: url('2025/08/aufg-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.03;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

/* Ensure content stays above background */
.elementor-element-c43a61d > * {
    position: relative;
    z-index: 1;
}

/* Add subtle gradient overlay for better text readability */
.elementor-element-4a600b1 {
    position: relative;
    z-index: 2;
}

/* Ensure proper layering */
.elementor-element-bd5ce06 {
    position: relative;
    z-index: 1;
}

/* Text content area gets subtle background for readability */
.elementor-element-4718828,
.elementor-element-651d413,
.elementor-element-215f4c0 {
    position: relative;
    z-index: 2;
}

/* Add animated fade-in for the logo background */
@keyframes fadeInBackground {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.03;
    }
}

.elementor-element-bfdcc69::before {
    animation: fadeInBackground 2s ease-out 1s both;
}

/* Optional: Add subtle parallax effect on scroll */
@media (min-width: 768px) {
    .elementor-element-c43a61d::before,
    .elementor-element-c43a61d::after {
        transition: transform 0.5s ease-out;
    }
}

/* Mobile optimization */
@media (max-width: 767px) {
    .elementor-element-c43a61d::before {
        width: 400px;
        height: 400px;
        right: -30%;
        opacity: 0.02;
    }
    
    .elementor-element-c43a61d::after {
        width: 300px;
        height: 300px;
        left: -30%;
        opacity: 0.015;
    }
    
    .elementor-element-bfdcc69 {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
    }
}

/* Enhanced visual with subtle blue tint */
.elementor-element-c43a61d {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(248, 251, 255, 1) 50%,
        rgba(255, 255, 255, 1) 100%) !important;
}

/* Optional: Subtle floating animation for the single watermark */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.02);
    }
}

/* Apply gentle floating to the single watermark */
.elementor-element-bfdcc69::before {
    animation: fadeInBackground 2s ease-out 1s both,
               gentleFloat 15s ease-in-out 3s infinite;
}