Skip to content

Commit 735b0b5

Browse files
committed
Refresh hero stats and testimonials copy
1 parent b1457dd commit 735b0b5

2 files changed

Lines changed: 99 additions & 22 deletions

File tree

index.html

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,21 @@ <h1 class="hero-title">
4848
</div>
4949
<div class="hero-visual">
5050
<div class="hero-card">
51+
<div class="hero-card-header">
52+
<span>Client results</span>
53+
<strong>Proven delivery</strong>
54+
</div>
5155
<div class="hero-stats">
5256
<div class="stat-item">
53-
<div class="stat-num">8+</div>
54-
<div class="stat-label">Services</div>
55-
</div>
56-
<div class="stat-item">
57-
<div class="stat-num">1K+</div>
58-
<div class="stat-label">App Downloads</div>
59-
</div>
60-
<div class="stat-item">
61-
<div class="stat-num">4</div>
62-
<div class="stat-label">Expert Engineers</div>
57+
<div class="stat-num">520+</div>
58+
<div class="stat-label">Projects Completed</div>
6359
</div>
6460
<div class="stat-item">
65-
<div class="stat-num">🌍</div>
66-
<div class="stat-label">Global Reach</div>
61+
<div class="stat-num">4.9 <span class="stat-star"></span></div>
62+
<div class="stat-label">Overall Rating</div>
6763
</div>
6864
</div>
65+
<div class="hero-card-note">Trusted across Freelancer and Upwork by clients around the world.</div>
6966
</div>
7067
</div>
7168
</div>
@@ -219,7 +216,7 @@ <h2 class="section-title">Trusted by clients worldwide</h2>
219216
<div class="review-time">8 months ago</div>
220217
</div>
221218
<div class="review-project">Aircraft Technician Log App Development</div>
222-
<p class="review-text">"Codebase is a great developer who have a lot of knowledges. Really good communication, patient and always answering my questions. Do not hesitate to have a project with them."</p>
219+
<p class="review-text">"Codebase, as a company, is a great team of developers with a lot of knowledge. They communicate really well, are patient, and always answer my questions. Do not hesitate to start a project with them."</p>
223220
</div>
224221

225222
<div class="review-card fade-up">

styles.css

Lines changed: 89 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,32 +153,112 @@ nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
153153
}
154154

155155
.hero-card {
156-
background: var(--gray-100);
157-
border-radius: 16px;
158-
padding: 3rem;
156+
background: var(--white);
157+
border: 1px solid var(--gray-200);
158+
border-radius: 14px;
159+
padding: 1.5rem;
159160
width: 100%;
160-
max-width: 400px;
161+
max-width: 420px;
161162
position: relative;
163+
box-shadow: 0 22px 60px rgba(0,0,0,0.10);
164+
}
165+
166+
.hero-card::before {
167+
content: "";
168+
position: absolute;
169+
inset: 0;
170+
border-radius: inherit;
171+
background: linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0));
172+
pointer-events: none;
173+
}
174+
175+
.hero-card-header {
176+
position: relative;
177+
display: flex;
178+
justify-content: space-between;
179+
gap: 1rem;
180+
align-items: center;
181+
padding-bottom: 0.9rem;
182+
margin-bottom: 0.9rem;
183+
border-bottom: 1px solid var(--gray-200);
162184
}
163185

164-
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
186+
.hero-card-header span {
187+
color: var(--gray-400);
188+
font-size: 0.72rem;
189+
font-weight: 700;
190+
letter-spacing: 0.12em;
191+
text-transform: uppercase;
192+
}
165193

166-
.stat-item { text-align: center; }
194+
.hero-card-header strong {
195+
color: var(--black);
196+
font-size: 0.82rem;
197+
font-weight: 700;
198+
background: var(--black);
199+
color: var(--white);
200+
padding: 0.45rem 0.65rem;
201+
border-radius: 999px;
202+
white-space: nowrap;
203+
}
204+
205+
.hero-stats {
206+
position: relative;
207+
display: grid;
208+
grid-template-columns: 1fr 1fr;
209+
gap: 0.85rem;
210+
}
211+
212+
.stat-item {
213+
text-align: left;
214+
background: var(--gray-100);
215+
border: 1px solid var(--gray-200);
216+
border-radius: 12px;
217+
padding: 1.15rem;
218+
min-height: 132px;
219+
display: flex;
220+
flex-direction: column;
221+
justify-content: space-between;
222+
}
167223
.stat-num {
168-
font-size: 2.5rem;
224+
display: flex;
225+
align-items: center;
226+
gap: 0.35rem;
227+
font-size: 2.9rem;
169228
font-weight: 800;
170229
letter-spacing: -0.03em;
171230
line-height: 1;
172231
}
232+
233+
.stat-star {
234+
color: #f5a400;
235+
font-size: 1.25rem;
236+
line-height: 1;
237+
transform: translateY(-0.25rem);
238+
}
239+
173240
.stat-label {
174241
font-size: 0.75rem;
175242
color: var(--gray-400);
176-
font-weight: 500;
177-
margin-top: 0.25rem;
243+
font-weight: 700;
244+
margin-top: 1rem;
178245
letter-spacing: 0.05em;
179246
text-transform: uppercase;
180247
}
181248

249+
.hero-card-note {
250+
position: relative;
251+
margin-top: 0.9rem;
252+
padding: 0.9rem 1rem;
253+
background: var(--black);
254+
border-radius: 10px;
255+
color: var(--white);
256+
font-weight: 500;
257+
letter-spacing: 0;
258+
font-size: 0.85rem;
259+
line-height: 1.6;
260+
}
261+
182262
/* ── SECTION COMMON ── */
183263
section { padding: 6rem 5%; }
184264
.section-inner { max-width: 1200px; margin: 0 auto; }

0 commit comments

Comments
 (0)