<div class="goals-grid">
<div class="goal-card">
<div class="goal-icon">🥤</div>
<div class="goal-title">Eliminate Single-Use Plastics</div>
<div class="goal-description">Commit to reducing plastic waste by avoiding single-use items. Opt for biodegradable or compostable alternatives for straws, utensils, and packaging.</div>
<div class="progress-container">
<div class="progress-bar">
<div class="progress-fill" style="width: 50%;"></div>
</div>
<span class="progress-text">50% Complete</span>
</div>
</div>
<div class="goal-card">
<div class="goal-icon">📦</div>
<div class="goal-title">Use Reusable Containers</div>
<div class="goal-description">Embrace sustainability by using glass or stainless steel containers for food storage and transport. This reduces reliance on disposable packaging and promotes a zero-waste lifestyle.</div>
<div class="progress-container">
<div class="progress-bar">
<div class="progress-fill" style="width: 30%;"></div>
</div>
<span class="progress-text">30% Complete</span>
</div>
</div>
</div>
css:
/* Goals Grid*/
.goals-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.goal-card {
background: #fff;
border: 1.5px solid #e0e0e0;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(76, 175, 80, 0.07);
padding: 2rem 1.5rem;
text-align: center;
transition: transform 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
min-height: 280px;
}
.goal-card:hover {
transform: translateY(-10px) scale(1.03);
box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}
.goal-card:active {
transform: translateY(-2px) scale(0.98);
box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
transition: transform 0.1s, box-shadow 0.1s;
}
.goal-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.goal-title {
font-size: 1.5rem;
font-weight: bold;
color: #256029;
margin-bottom: 1rem;
}
.goal-description {
font-size: 1.1rem;
color: #222;
line-height: 1.5;
text-align: center;
flex-grow: 1;
margin-bottom: 1.5rem;
}
.progress-container {
width: 100%;
margin-top: auto;
}
.progress-bar {
background: #e0e0e0;
border-radius: 10px;
height: 10px;
margin-bottom: 0.5rem;
overflow: hidden;
width: 100%;
}
.progress-fill {
background: linear-gradient(#6b9e32, #68b116);
height: 100%;
border-radius: 10px;
}
.progress-text {
font-size: 1.2rem;
}
can you edit it to make it so that less divs are used