/* Reviews Page Specific Styles */

.reviews-section {
    max-width: 1200px;
    width: 92%;
    margin: 60px auto;
    padding: 40px 0;
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    margin-bottom: 40px;
}

/* Review Cards */
.review-card {
    position: absolute;
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    pointer-events: none;
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 10;
}

.review-card.prev {
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(252, 163, 17, 0.3);
}

.client-avatar svg {
    color: var(--color-bg);
    width: 48px;
    height: 48px;
}

.client-info {
    flex: 1;
}

.client-name {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0 0 5px 0;
    font-weight: bold;
}

.client-role {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 10px 0;
}

.rating {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--color-accent);
    font-size: 1.2rem;
    animation: starPop 0.3s ease backwards;
}

.star:nth-child(1) {
    animation-delay: 0.1s;
}

.star:nth-child(2) {
    animation-delay: 0.2s;
}

.star:nth-child(3) {
    animation-delay: 0.3s;
}

.star:nth-child(4) {
    animation-delay: 0.4s;
}

.star:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes starPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.review-content {
    position: relative;
    margin-bottom: 30px;
    min-height: 150px;
}

.review-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
    white-space: pre-wrap;
}

.cursor {
    display: inline-block;
    color: var(--color-accent);
    font-weight: bold;
    animation: blink 0.8s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.project-type {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-accent-secondary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.carousel-btn:hover {
    background: rgba(252, 163, 17, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -70px;
}

.carousel-btn.next {
    right: -70px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--color-accent);
    width: 32px;
    border-radius: 6px;
}

/* Glassmorphism Enhancement */
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.1) 0%, rgba(252, 163, 17, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.review-card.active::before {
    opacity: 1;
}

/* Footer Container Styles */
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.footer-container h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-link svg {
    flex-shrink: 0;
}

.copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 10px 0 0 0;
}