417 lines
8.3 KiB
CSS
417 lines
8.3 KiB
CSS
/* ===== CUSTOMER TESTIMONIALS SECTION ===== */
|
|
|
|
.testimonials-section {
|
|
padding: 6rem 0;
|
|
background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(20, 20, 40, 0.3));
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.testimonials-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background:
|
|
radial-gradient(circle at 20% 20%, rgba(109, 40, 217, 0.1) 0%, transparent 50%),
|
|
radial-gradient(circle at 80% 80%, rgba(82, 238, 245, 0.1) 0%, transparent 50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.testimonials-container {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.testimonials-heading {
|
|
text-align: center;
|
|
margin-bottom: 4rem;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.testimonials-heading h2 {
|
|
font-size: 3.2rem;
|
|
color: #52eef5;
|
|
margin-bottom: 1rem;
|
|
font-family: 'VT323', monospace;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
position: relative;
|
|
}
|
|
|
|
.testimonials-heading h2::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -15px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100px;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.testimonials-heading p {
|
|
font-size: 1.4rem;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Floating Testimonials Track */
|
|
.testimonials-track-container {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
height: 600px;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.testimonials-track {
|
|
display: flex;
|
|
width: 200%;
|
|
animation: testimonialFloat 60s linear infinite;
|
|
gap: 2rem;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.testimonials-track:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
@keyframes testimonialFloat {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
/* Individual Testimonial Card */
|
|
.testimonial-card {
|
|
flex: 0 0 380px;
|
|
background: linear-gradient(135deg, rgba(25, 35, 55, 0.95) 0%, rgba(35, 45, 65, 0.98) 100%);
|
|
border: 1px solid rgba(82, 238, 245, 0.2);
|
|
border-radius: 20px;
|
|
padding: 2.5rem;
|
|
margin: 1rem 0;
|
|
backdrop-filter: blur(15px);
|
|
box-shadow:
|
|
0 12px 40px rgba(0, 0, 0, 0.3),
|
|
0 0 60px rgba(82, 238, 245, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.4s ease;
|
|
animation: cardFloat 8s ease-in-out infinite;
|
|
animation-delay: var(--delay, 0s);
|
|
}
|
|
|
|
.testimonial-card:nth-child(1) { --delay: 0s; }
|
|
.testimonial-card:nth-child(2) { --delay: 1.5s; }
|
|
.testimonial-card:nth-child(3) { --delay: 3s; }
|
|
.testimonial-card:nth-child(4) { --delay: 4.5s; }
|
|
.testimonial-card:nth-child(5) { --delay: 6s; }
|
|
.testimonial-card:nth-child(6) { --delay: 7.5s; }
|
|
|
|
@keyframes cardFloat {
|
|
0%, 100% {
|
|
transform: translateY(0px) rotateX(0deg);
|
|
}
|
|
25% {
|
|
transform: translateY(-15px) rotateX(2deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-8px) rotateX(0deg);
|
|
}
|
|
75% {
|
|
transform: translateY(-20px) rotateX(-2deg);
|
|
}
|
|
}
|
|
|
|
.testimonial-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(45deg,
|
|
transparent 30%,
|
|
rgba(82, 238, 245, 0.1) 50%,
|
|
transparent 70%);
|
|
opacity: 0;
|
|
transition: opacity 0.4s ease;
|
|
}
|
|
|
|
.testimonial-card:hover {
|
|
transform: translateY(-10px) scale(1.02);
|
|
box-shadow:
|
|
0 20px 60px rgba(0, 0, 0, 0.4),
|
|
0 0 80px rgba(82, 238, 245, 0.2);
|
|
border-color: rgba(82, 238, 245, 0.5);
|
|
}
|
|
|
|
.testimonial-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Quote Icon */
|
|
.quote-icon {
|
|
position: absolute;
|
|
top: 1.5rem;
|
|
right: 1.5rem;
|
|
font-size: 2.5rem;
|
|
color: rgba(82, 238, 245, 0.3);
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Customer Info */
|
|
.customer-info {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.customer-avatar {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #ffffff;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-right: 1rem;
|
|
box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.testimonial-card:hover .customer-avatar {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
|
|
}
|
|
|
|
.customer-details h4 {
|
|
font-size: 1.3rem;
|
|
color: #52eef5;
|
|
margin: 0 0 0.3rem 0;
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.customer-designation {
|
|
font-size: 0.95rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin: 0 0 0.2rem 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.customer-company {
|
|
font-size: 0.9rem;
|
|
color: rgba(168, 85, 247, 0.8);
|
|
margin: 0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Review Content */
|
|
.review-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.review-text {
|
|
font-size: 1.1rem;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
line-height: 1.7;
|
|
margin-bottom: 1.5rem;
|
|
font-style: italic;
|
|
position: relative;
|
|
}
|
|
|
|
.review-text::before {
|
|
content: '"';
|
|
font-size: 3rem;
|
|
color: rgba(82, 238, 245, 0.3);
|
|
position: absolute;
|
|
left: -1rem;
|
|
top: -0.5rem;
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
.review-text::after {
|
|
content: '"';
|
|
font-size: 3rem;
|
|
color: rgba(82, 238, 245, 0.3);
|
|
position: absolute;
|
|
right: -0.5rem;
|
|
bottom: -1.5rem;
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
/* Rating Stars */
|
|
.rating {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.star {
|
|
color: #fbbf24;
|
|
font-size: 1.2rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.testimonial-card:hover .star {
|
|
transform: scale(1.1);
|
|
text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
|
|
}
|
|
|
|
/* Course Badge */
|
|
.course-badge {
|
|
display: inline-block;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
color: #ffffff;
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 1200px) {
|
|
.testimonial-card {
|
|
flex: 0 0 350px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.testimonials-track-container {
|
|
height: 500px;
|
|
}
|
|
|
|
.testimonial-card {
|
|
flex: 0 0 320px;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.testimonials-heading h2 {
|
|
font-size: 2.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.testimonials-section {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.testimonials-track-container {
|
|
height: 450px;
|
|
}
|
|
|
|
.testimonial-card {
|
|
flex: 0 0 280px;
|
|
padding: 1.5rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.testimonials-heading h2 {
|
|
font-size: 2.4rem;
|
|
}
|
|
|
|
.testimonials-heading p {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.customer-info {
|
|
flex-direction: row;
|
|
text-align: left;
|
|
}
|
|
|
|
.customer-avatar {
|
|
width: 50px;
|
|
height: 50px;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.review-text {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.testimonials-container {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.testimonial-card {
|
|
flex: 0 0 260px;
|
|
padding: 1.2rem;
|
|
}
|
|
|
|
.testimonials-heading h2 {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
/* Additional Visual Effects */
|
|
.testimonials-section .atmospheric-particles {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.testimonials-section .atmospheric-particles::before,
|
|
.testimonials-section .atmospheric-particles::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: rgba(82, 238, 245, 0.4);
|
|
border-radius: 50%;
|
|
animation: float 6s ease-in-out infinite;
|
|
}
|
|
|
|
.testimonials-section .atmospheric-particles::before {
|
|
top: 20%;
|
|
left: 15%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.testimonials-section .atmospheric-particles::after {
|
|
top: 60%;
|
|
right: 20%;
|
|
animation-delay: 3s;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0px) scale(1);
|
|
opacity: 0.4;
|
|
}
|
|
50% {
|
|
transform: translateY(-20px) scale(1.2);
|
|
opacity: 0.8;
|
|
}
|
|
}
|