.order-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.order-section h2 {
    text-align: center;
    color: #e6f1ff;
    font-family: 'Nunito', sans-serif;
    font-size: 36px;
    margin-bottom: 60px;
    font-weight: 700;
    
    background: linear-gradient(90deg, #409cff, #60aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    text-shadow: 0 4px 15px rgba(64, 156, 255, 0.2);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.order-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #409cff, transparent);
    border-radius: 2px;
}

.order-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    font-family: 'Nunito', sans-serif;
    
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 156, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 30px;
    text-align: center;
    
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    z-index: 1;
}

.card * {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.active {
    width: 440px;
    height: 440px;
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 10;
    padding: 35px;
    border-color: rgba(64, 156, 255, 0.3);
}

.card.side {
    width: 320px;
    height: 320px;
    opacity: 0.6;
    transform: scale(0.85);
    z-index: 5;
    padding: 25px;
    border-color: rgba(64, 156, 255, 0.05);
}

.card.side.left {
    transform: translateX(-240px) scale(0.85);
}

.card.side.right {
    transform: translateX(240px) scale(0.85);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    background: linear-gradient(145deg, rgba(64, 156, 255, 0.15), rgba(64, 156, 255, 0.1));
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #409cff;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 156, 255, 0.2);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: linear-gradient(145deg, rgba(64, 156, 255, 0.25), rgba(64, 156, 255, 0.2));
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 8px 25px rgba(64, 156, 255, 0.3),
        0 0 0 1px rgba(64, 156, 255, 0.1);
    color: #60aaff;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.review-content {
    text-align: center;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.review-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(64, 156, 255, 0.3);
    margin-bottom: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.card.active .review-avatar {
    width: 95px;
    height: 95px;
    border-width: 3px;
    border-color: rgba(64, 156, 255, 0.5);
    box-shadow: 0 0 20px rgba(64, 156, 255, 0.3);
    margin-bottom: 20px;
}

.card.side .review-avatar {
    width: 65px;
    height: 65px;
    border-width: 2px;
    border-color: rgba(64, 156, 255, 0.15);
    margin-bottom: 12px;
}

.review-author {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #a0b3d9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
}

.card.active .review-author {
    font-size: 22px;
    color: #ffffff;
    /* text-shadow: 0 0 10px rgba(64, 156, 255, 0.3); */
}

.card.side .review-author {
    font-size: 17px;
    color: #8896bb;
}

.review-text-container {
    background: rgba(10, 25, 47, 0.5);
    border-radius: 10px;
    padding: 18px;
    margin: 12px 0;
    border-left: 3px solid rgba(64, 156, 255, 0.3);
    position: relative;
    max-height: 180px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-height: 140px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-text-container::-webkit-scrollbar {
    width: 6px;
}

.review-text-container::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.3);
    border-radius: 3px;
}

.review-text-container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #409cff, #60aaff);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.review-text-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #60aaff, #80baff);
}

.review-text-container {
    scrollbar-width: thin;
    scrollbar-color: #409cff rgba(10, 25, 47, 0.3);
}

.card.active .review-text-container {
    max-height: 200px;
    padding: 22px;
    background: rgba(10, 25, 47, 0.7);
    border-left-color: #409cff;
    min-height: 160px;
}

.card.side .review-text-container {
    max-height: 160px;
    padding: 15px;
    background: rgba(10, 25, 47, 0.3);
    border-left-color: rgba(64, 156, 255, 0.15);
    min-height: 130px;
}

.review-text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
    color: #a0b3d9;
    word-wrap: break-word;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-right: 5px;
}

.card.active .review-text {
    font-size: 17px;
    line-height: 1.6;
    color: #c6d6f2;
}

.card.side .review-text {
    font-size: 14px;
    color: #8896bb;
}

.rating-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 12px;
    height: 22px;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.active .rating-stars {
    gap: 6px;
    margin-bottom: 16px;
    height: 26px;
}

.card.side .rating-stars {
    gap: 3px;
    margin-bottom: 10px;
    height: 20px;
}

.star {
    color: #ffd700;
    font-size: 17px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4));
    display: inline-block;
}

.card.active .star {
    font-size: 19px;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.card.side .star {
    font-size: 15px;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
    filter: drop-shadow(0 0 1px rgba(255, 215, 0, 0.3));
}

.review-date {
    font-size: 13px;
    color: #6a7ba5;
    margin-top: -6px;
    height: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.active .review-date {
    font-size: 14px;
    color: #a0b3d9;
    /* height: 20px; */
}

.card.side .review-date {
    font-size: 12px;
    color: #5a6a95;
    height: 16px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: relative;
    z-index: 25;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(64, 156, 255, 0.15);
    border: 1px solid rgba(64, 156, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator.active {
    background: linear-gradient(145deg, #409cff, #60aaff);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(64, 156, 255, 0.4);
}

.indicator:hover {
    background: rgba(64, 156, 255, 0.3);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .order-container {
        height: 440px;
    }
    
    .card {
        width: 320px;
        height: 320px;
    }
    
    .card.active {
        width: 380px;
        height: 380px;
    }
    
    .card.side {
        width: 280px;
        height: 280px;
    }
    
    .card.side.left {
        transform: translateX(-180px) scale(0.85);
    }
    
    .card.side.right {
        transform: translateX(180px) scale(0.85);
    }
}

@media (max-width: 768px) {
    .order-section {
        padding: 60px 20px;
    }
    
    .order-container {
        height: 420px;
    }
    
    .order-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .card {
        width: 300px;
        height: 300px;
        padding: 25px;
    }
    
    .card.active {
        width: 340px;
        height: 340px;
        padding: 30px;
    }
    
    .card.side {
        width: 260px;
        height: 260px;
        padding: 20px;
    }
    
    .card.side.left {
        transform: translateX(-140px) scale(0.85);
    }
    
    .card.side.right {
        transform: translateX(140px) scale(0.85);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .order-container {
        height: 400px;
    }
    
    .card {
        width: 280px;
        height: 280px;
        padding: 20px;
    }
    
    .card.active {
        width: 310px;
        height: 310px;
        padding: 25px;
    }
    
    .card.side {
        width: 230px;
        height: 230px;
        padding: 15px;
    }
    
    .card.side.left {
        transform: translateX(-100px) scale(0.85);
    }
    
    .card.side.right {
        transform: translateX(100px) scale(0.85);
    }
    
    .review-avatar {
        width: 65px;
        height: 65px;
    }
    
    .card.active .review-avatar {
        width: 80px;
        height: 80px;
    }
    
    .card.side .review-avatar {
        width: 55px;
        height: 55px;
    }
}