/* Impact Level Widget Styles */
.impact-level-container {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
}

/* Background Overlay */
.impact-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content Wrapper */
.impact-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Main Heading */
.impact-main-heading {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 4rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Cards Container - New Layout Structure */
.impact-cards-container {
    margin-bottom: 4rem;
    position: relative;
}

.impact-cards-row-1 {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: stretch;
}

/* Second Row - Single Centered Card */
.impact-cards-row-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}
.impact-card-image img {
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Hover Effects */
.impact-card:hover,
.impact-card.hovered,
.impact-card.touched {
    transform: translateY(-10px) scale(1.02);
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); */
}

.impact-card:hover .impact-card-image img,
.impact-card.hovered .impact-card-image img,
.impact-card.touched .impact-card-image img {
    transform: scale(1.1);
}


/* Bottom Text */
.impact-bottom-text {
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

/* Decorative Elements */
.impact-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.impact-dot-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
    background-size: 20px 20px;
    animation: floatPattern 20s linear infinite;
}

.impact-dots-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.impact-dots-2 {
    bottom: 15%;
    left: 5%;
    animation-delay: -10s;
}

.impact-wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewY(-2deg);
    animation: waveMove 15s ease-in-out infinite alternate;
}

/* Animations */
@keyframes floatPattern {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes waveMove {
    0% { transform: skewY(-2deg) translateX(-50px); }
    100% { transform: skewY(-2deg) translateX(50px); }
}

/* Animation Classes */
.impact-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Animations */
.fadeIn { animation: fadeIn 0.8s ease-out forwards; }
.fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.fadeInDown { animation: fadeInDown 0.8s ease-out forwards; }
.fadeInLeft { animation: fadeInLeft 0.8s ease-out forwards; }
.fadeInRight { animation: fadeInRight 0.8s ease-out forwards; }

/* Zoom Animations */
.zoomIn { animation: zoomIn 0.8s ease-out forwards; }

/* Bounce Animations */
.bounceIn { animation: bounceIn 0.8s ease-out forwards; }

/* Slide Animations */
.slideInUp { animation: slideInUp 0.8s ease-out forwards; }
.slideInDown { animation: slideInDown 0.8s ease-out forwards; }
.slideInLeft { animation: slideInLeft 0.8s ease-out forwards; }
.slideInRight { animation: slideInRight 0.8s ease-out forwards; }

/* Rotate Animations */
.rotateIn { animation: rotateIn 0.8s ease-out forwards; }

/* Flip Animations */
.flipInX { animation: flipInX 0.8s ease-out forwards; }
.flipInY { animation: flipInY 0.8s ease-out forwards; }

/* Keyframes for Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-100px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-200deg); }
    to { opacity: 1; transform: rotate(0); }
}

@keyframes flipInX {
    from { opacity: 0; transform: perspective(400px) rotateX(90deg); }
    to { opacity: 1; transform: perspective(400px) rotateX(0deg); }
}

@keyframes flipInY {
    from { opacity: 0; transform: perspective(400px) rotateY(90deg); }
    to { opacity: 1; transform: perspective(400px) rotateY(0deg); }
}



/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .impact-card,
    .impact-dot-pattern,
    .impact-wave-pattern {
        animation: none;
        transition: none;
    }
    
    .impact-card:hover,
    .impact-card.hovered,
    .impact-card.touched {
        transform: none;
    }
}

/* No Animation Class */
.no-animation,
.no-animation * {
    animation: none !important;
    transition: none !important;
}

