.reviews {
    padding: 4rem 1rem;
    text-align: center;
    overflow: hidden;
}

.review-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slides {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.review-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    height: 350px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #444;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

.nav-btn {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
    margin: 0 10px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    color: white;
}

.avatarnew {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.avatarnew svg {
    width: 100%;
    height: 100%;
}
