/* Greening Earth Footer Animation Styles */
.greening-footer-animation {
    background: transparent !important;
    height: 75px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.greening-landscape {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 1 !important;
}

/* Planting animation */
.planting-spot {
    position: absolute !important;
    bottom: 10px !important;
    width: 20px !important;
    height: 20px !important;
    z-index: 5 !important;
    opacity: 0;
    animation: plant 2s forwards !important;
}

.planting-spot::before {
    content: "" !important;
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    background-color: transparent !important;
    border: 2px solid #2e7d32 !important;
    border-radius: 50% !important;
    opacity: 0.7;
    animation: pulse 1.5s infinite !important;
}

/* Trees - all green styles */
.greening-tree {
    position: absolute !important;
    bottom: 10px !important;
    z-index: 5 !important;
    opacity: 0;
    animation: grow 1.5s forwards !important;
}

/* Classic pine tree */
.tree-pine .tree-trunk {
    position: absolute !important;
    width: 4px !important;
    height: 15px !important;
    background-color: #5d4037 !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tree-pine .tree-top {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
    border-bottom: 18px solid #2e7d32 !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Round deciduous tree */
.tree-round .tree-trunk {
    position: absolute !important;
    width: 5px !important;
    height: 16px !important;
    background-color: #5d4037 !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tree-round .tree-top {
    position: absolute !important;
    width: 22px !important;
    height: 22px !important;
    background-color: #4CAF50 !important;
    border-radius: 50% !important;
    bottom: 13px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Bushy tree */
.tree-bushy .tree-trunk {
    position: absolute !important;
    width: 4px !important;
    height: 14px !important;
    background-color: #5d4037 !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tree-bushy .tree-top {
    position: absolute !important;
    width: 24px !important;
    height: 18px !important;
    background-color: #388e3c !important;
    border-radius: 40% 40% 50% 50% !important;
    bottom: 11px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Cypress tree */
.tree-cypress .tree-trunk {
    position: absolute !important;
    width: 4px !important;
    height: 18px !important;
    background-color: #5d4037 !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tree-cypress .tree-top {
    position: absolute !important;
    width: 16px !important;
    height: 22px !important;
    background-color: #2e7d32 !important;
    border-radius: 8px 8px 12px 12px !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Animation keyframes */
@keyframes plant {
    0% {
        opacity: 1;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

@keyframes grow {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tree size variations */
.tree-small {
    transform: scale(0.8) !important;
}

.tree-large {
    transform: scale(1.1) !important;
}
