/* ESG & Sustainability Tracker Styles */
.esg-tracker-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 28px;
    padding: 30px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.esg-tracker-card:hover {
    border-color: #10b981;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
}

/* Semi-Circular Meter */
.esg-meter-container {
    width: 200px;
    height: 100px;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

.esg-meter-base {
    width: 200px;
    height: 200px;
    border: 20px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.esg-meter-fill {
    width: 200px;
    height: 200px;
    border: 20px solid transparent;
    border-top-color: #10b981;
    border-right-color: #10b981;
    border-radius: 50%;
    position: absolute;
    top: 0;
    transform: rotate(-45deg); /* Start at 0 */
    transition: 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 0 10px #10b981);
}

.esg-meter-value {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 950;
    color: #fff;
    line-height: 1;
}

.esg-badge-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.esg-badge {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #10b981;
    transition: 0.5s;
    cursor: help;
}

.esg-badge.unlocked {
    background: #10b981;
    color: #000;
    box-shadow: 0 0 20px #10b981;
    animation: badgeFloat 3s infinite ease-in-out;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.esg-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.esg-action-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.esg-action-item:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
    transform: scale(1.02);
}

.esg-action-item i {
    color: #10b981;
    margin-bottom: 8px;
    display: block;
}

.esg-action-item span {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
