224 lines
3.8 KiB
CSS
224 lines
3.8 KiB
CSS
.header {
|
|
text-align: center;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1.25rem;
|
|
background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(59, 130, 246, 0.1));
|
|
border: 1px solid rgba(236, 72, 153, 0.2);
|
|
border-radius: 50px;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--primary);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.title {
|
|
font-size: clamp(2rem, 5vw, 3rem);
|
|
font-weight: 800;
|
|
margin-bottom: 1rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.125rem;
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.testimonialSlider {
|
|
overflow: hidden;
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
}
|
|
|
|
.testimonialTrack {
|
|
display: flex;
|
|
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.testimonialCard {
|
|
min-width: 100%;
|
|
padding: 3rem 2rem;
|
|
background: var(--card-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 24px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.testimonialCard::before {
|
|
content: '"';
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 2rem;
|
|
font-size: 8rem;
|
|
font-family: Georgia, serif;
|
|
color: var(--primary);
|
|
opacity: 0.1;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stars {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.star {
|
|
animation: twinkle 2s ease-in-out infinite;
|
|
}
|
|
|
|
.star:nth-child(2) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.star:nth-child(3) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.star:nth-child(4) {
|
|
animation-delay: 0.6s;
|
|
}
|
|
|
|
.star:nth-child(5) {
|
|
animation-delay: 0.8s;
|
|
}
|
|
|
|
@keyframes twinkle {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.7;
|
|
transform: scale(0.95);
|
|
}
|
|
}
|
|
|
|
.testimonialText {
|
|
font-size: 1.25rem;
|
|
line-height: 1.8;
|
|
color: var(--text-primary);
|
|
margin-bottom: 2rem;
|
|
font-style: italic;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.authorImage {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.authorInfo {
|
|
flex: 1;
|
|
}
|
|
|
|
.authorName {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.authorRole {
|
|
font-size: 0.9375rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.dots {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--border-color);
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
padding: 0;
|
|
}
|
|
|
|
.dot:hover {
|
|
background: var(--primary);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.activeDot {
|
|
background: var(--primary);
|
|
width: 32px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 4rem;
|
|
padding-top: 3rem;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.statItem {
|
|
text-align: center;
|
|
}
|
|
|
|
.statNumber {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.statLabel {
|
|
font-size: 1rem;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.testimonialCard {
|
|
padding: 4rem 3rem;
|
|
}
|
|
|
|
.testimonialText {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.testimonialCard {
|
|
padding: 5rem 6rem;
|
|
}
|
|
} |