@media (max-width:768px){.testimonial-slide{width:95%;padding:1.5rem}blockquote{font-size:1rem}.student-photo{width:80px;height:80px}}@media (max-width:480px){.testimonial-slide{padding:1.2rem}blockquote{font-size:.95rem}.student-info strong{font-size:1rem}.student-info span{font-size:.85rem}}.testimonial-carousel{position:relative;height:400px;overflow:hidden;margin:0 auto}.testimonial-slide{position:absolute;top:0;left:0;width:100%;opacity:0;transform:translateY(30px);transition:all .8s cubic-bezier(.16, 1, .3, 1);z-index:1}.testimonial-slide.active{opacity:1;transform:translateY(0);z-index:2}.testimonial-slide.exiting{opacity:0;transform:translateY(-30px);transition:all .8s cubic-bezier(.16, 1, .3, 1)}.testimonial-slide{background:var(--light);border-radius:var(--border-radius);padding:2.5rem;box-shadow:0 20px 40px rgba(0,0,0,.1);border:1px solid rgba(255,94,91,.1);transform-style:preserve-3d;perspective:1000px}.testimonial-slide::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(255,255,255,.6));z-index:-1;border-radius:var(--border-radius)}.testimonial-slide.active{box-shadow:0 25px 50px rgba(255,94,91,.2)}.student-photo{transition:all .6s .3s cubic-bezier(.16, 1, .3, 1);transform:scale(.9)}.testimonial-slide.active .student-photo{transform:scale(1)}.student-info,blockquote{transition:all .6s .4s cubic-bezier(.16, 1, .3, 1);opacity:0;transform:translateY(20px)}.testimonial-slide.active .student-info,.testimonial-slide.active blockquote{opacity:1;transform:translateY(0)}.testimonial-pagination{display:flex;justify-content:center;gap:10px;margin-top:2rem}.testimonial-pagination-dot{width:12px;height:12px;border-radius:50%;background:rgba(15,26,61,.2);cursor:pointer;transition:all .3s ease}.testimonial-pagination-dot.active{background:var(--accent);transform:scale(1.2)}@media (max-width:768px){.testimonial-carousel{height:450px}.testimonial-slide{padding:1.5rem}}@media (min-width:769px){.testimonial-slide{width:100%!important;max-width:100%!important}.testimonial-carousel{max-width:100%!important}.testimonial-content{max-width:1200px;margin:0 auto;padding:0 2rem}}