html, body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

* {
    font-family: 'Lato', sans-serif;
}

/* Customer Reviews Section - Professional E-commerce Design */
#reviewsSection {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

#reviewsSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(3, 122, 122, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(3, 122, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
}

.reviews-container h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.reviews-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(3, 122, 122), transparent);
    border-radius: 2px;
}

/* Homepage reviews: vertical infinite marquee (duplicate segments in JS) */
.reviews-marquee-outer {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.reviews-marquee-viewport {
    position: relative;
    overflow: hidden;
    height: min(520px, 58vh);
    min-height: 300px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.reviews-marquee-viewport--empty {
    height: auto;
    min-height: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

.reviews-marquee-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    animation: reviews-marquee-y 50s linear infinite;
    will-change: transform;
}

@keyframes reviews-marquee-y {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -50%, 0);
    }
}

.reviews-marquee-outer:hover .reviews-marquee-track {
    animation-play-state: paused;
}

.reviews-marquee-segment.reviews-list {
    margin-bottom: 0;
    flex-shrink: 0;
}

.reviews-section-compact .reviews-marquee-viewport .review-item:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reviews-section-compact .reviews-marquee-viewport .review-item:hover::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-marquee-track {
        animation: none !important;
    }

    .reviews-marquee-viewport:not(.reviews-marquee-viewport--empty) {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Review Statistics - Modern Card Design */
.reviews-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
}

.stats-left {
    flex: 1;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 15px;
}

.rating-stars-large {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-stars-large i {
    color: #ffc107;
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
    transition: transform 0.3s ease;
}

.rating-stars-large:hover i {
    transform: scale(1.1);
}

.rating-stars-large i.far {
    color: #444;
}

.rating-stars-large i.fa-star-half-alt {
    color: #ffc107;
}

.total-reviews {
    color: #b0b0b0;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.stats-right {
    flex: 1;
    padding-left: 50px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-bar span:first-child {
    min-width: 60px;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.rating-bar span:first-child i {
    color: #ffc107;
    font-size: 14px;
}

.bar-container {
    flex: 1;
    height: 10px;
    background: linear-gradient(90deg, #2a2a2a, #1a1a1a);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(42, 42, 42, 0.5);
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(3, 122, 122), #4dd0e1);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(3, 122, 122, 0.5);
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.rating-bar .percentage {
    min-width: 45px;
    text-align: right;
    color: #b0b0b0;
    font-size: 15px;
    font-weight: 600;
}

/* Filter and Sort Controls */
.reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(42, 42, 42, 0.8);
    flex-wrap: wrap;
}

.reviews-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    flex-wrap: wrap;
}

.filter-label {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.rating-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-filter-btn {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.rating-filter-btn i {
    color: #ffd700;
    font-size: 13px;
}

.rating-filter-btn:hover {
    background: rgba(3, 122, 122, 0.3);
    border-color: rgba(3, 122, 122, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 122, 122, 0.3);
}

.rating-filter-btn.active {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    border-color: rgb(3, 122, 122);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3, 122, 122, 0.4);
}

.rating-filter-btn.active i {
    color: #ffffff;
}

.reviews-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.sort-select {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.sort-select:hover {
    background-color: rgba(3, 122, 122, 0.2);
    border-color: rgba(3, 122, 122, 0.6);
}

.sort-select:focus {
    outline: none;
    background-color: rgba(3, 122, 122, 0.3);
    border-color: rgb(3, 122, 122);
    box-shadow: 0 0 0 3px rgba(3, 122, 122, 0.2);
}

.sort-select option {
    background: #2a2a2a;
    color: #ffffff;
    padding: 10px;
}

/* Reviews List - Professional Card Design */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

/* Homepage: 4-column card grid (responsive) */
.reviews-list.reviews-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.reviews-list.reviews-list-grid .review-item.review-card {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
}

.reviews-section-compact .review-header {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.reviews-section-compact .reviewer-info {
    align-items: flex-start;
    gap: 12px;
}

.reviews-section-compact .reviewer-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 17px;
    border-width: 2px;
    margin-top: 2px;
}

.reviews-section-compact .reviewer-details {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.reviews-section-compact .reviewer-name {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.reviews-section-compact .review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    row-gap: 6px;
}

.reviews-section-compact .review-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    line-height: 1;
}

.reviews-section-compact .review-stars i {
    font-size: 13px;
    line-height: 1;
    vertical-align: middle;
}

.reviews-section-compact .review-date {
    font-size: 12px;
    line-height: 1.2;
    color: #9a9a9a;
    font-weight: 500;
    white-space: normal;
    max-width: 100%;
}

.reviews-section-compact .review-content {
    flex: 1 1 auto;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 0;
    text-align: left;
}

.reviews-section-compact .review-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: #c4c4c4;
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-clamp: 2;
}

.reviews-section-compact .write-review-button-container {
    margin: 12px auto 28px;
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 1199px) {
    .reviews-list.reviews-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .reviews-list.reviews-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .reviews-list.reviews-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .reviews-list.reviews-list-grid .review-item.review-card {
        padding: 18px 16px;
    }
}

.review-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(42, 42, 42, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(3, 122, 122), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(3, 122, 122, 0.2),
                0 4px 20px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: rgba(3, 122, 122, 0.5);
}

.review-item:hover::before {
    opacity: 1;
}

.review-header {
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.review-item:hover .reviewer-avatar {
    transform: scale(1.1) rotate(5deg);
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.review-stars i {
    color: #ffc107;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(255, 193, 7, 0.3));
}

.review-stars i.far {
    color: #444;
}

.review-date {
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.review-content {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(42, 42, 42, 0.8);
}

.review-content p {
    margin: 0;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.no-reviews-message {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 16px;
    border: 1px solid rgba(42, 42, 42, 0.8);
}

.no-reviews-message p {
    color: #b0b0b0;
    font-size: 18px;
    font-weight: 500;
}

/* Pagination - Modern Design */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(42, 42, 42, 0.8);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    box-sizing: border-box;
}

.pagination::-webkit-scrollbar {
    display: none;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border: 1px solid rgba(42, 42, 42, 0.8);
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    color: #b0b0b0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    color: white;
    border-color: rgb(3, 122, 122);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
}

.pagination-btn.active {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    color: white;
    border-color: rgb(3, 122, 122);
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
    transform: scale(1.1);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.pagination-ellipsis {
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 600;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    }
    
/* Video Testimonials Section - Standalone */
    #videoTestimonialsSection.video-testimonials-section-standalone {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 0;
    display: block !important;
    position: relative;
    overflow: hidden;
    }
    
    .video-testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
        width: 100%;
    }
    
.video-testimonials-content {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(42, 42, 42, 0.8);
    }
    
.video-testimonials-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 40px 20px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(42, 42, 42, 0.8);
    display: block !important;
    }
    
.video-testimonials-container .video-testimonials-section {
    margin-bottom: 0;
}

.video-testimonials-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
    }
    
.video-testimonials-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(3, 122, 122), transparent);
    border-radius: 2px;
    }
    
.video-testimonials-container h2.video-testimonials-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
    }
    
.video-testimonials-container h2.video-testimonials-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(3, 122, 122), transparent);
    border-radius: 2px;
    }
    
.video-testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-slider-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
    gap: 20px;
    padding: 0 10px;
    }
    
.video-slide {
    min-width: calc(33.333% - 14px);
    width: calc(33.333% - 14px);
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    opacity: 1;
    }
    
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 120%; /* Much taller height - optimized for vertical videos like YouTube Shorts */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(42, 42, 42, 0.8);
    }
    
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    opacity: 1;
    filter: none;
}

.video-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.video-slider-btn {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-slider-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(3, 122, 122, 0.6);
    background: linear-gradient(135deg, #4dd0e1, rgb(3, 122, 122));
    }
    
.video-slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.video-slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    }
    
    .video-slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
.video-slider-dot.active {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    transform: scale(1.3);
    border-color: rgb(3, 122, 122);
    box-shadow: 0 4px 12px rgba(3, 122, 122, 0.5);
    }
    
.video-slider-dot:hover {
    background: rgb(3, 122, 122);
    transform: scale(1.2);
}

/* Review Form Styles */
.write-review-button-container {
    text-align: center;
    margin: 40px 0;
}

.btn-write-review {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-write-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 122, 122, 0.6);
    background: linear-gradient(135deg, #4dd0e1, rgb(3, 122, 122));
}

.btn-write-review:active {
    transform: translateY(-1px);
}

.btn-write-review i {
    font-size: 16px;
}

.review-form-container {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(42, 42, 42, 0.8);
    display: none;
}

.review-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.review-form-header h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-form-header p {
    margin: 0;
    color: #b0b0b0;
    font-size: 15px;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #1a1a1a;
    color: #ffffff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(3, 122, 122);
    box-shadow: 0 0 0 3px rgba(3, 122, 122, 0.2);
    background: #0f0f0f;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.rating-input-container {
    margin: 15px 0;
}

.rating-input-stars {
    display: flex;
    gap: 10px;
    cursor: pointer;
    justify-content: center;
}

.rating-input-stars i {
    font-size: 36px;
    color: #444;
    transition: all 0.2s ease;
}

.rating-input-stars i.fas {
    color: #ffc107;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.4));
}

.rating-input-stars i:hover {
    transform: scale(1.2);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-submit-review {
    background: linear-gradient(135deg, rgb(3, 122, 122), #4dd0e1);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-submit-review:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 122, 122, 0.6);
    background: linear-gradient(135deg, #4dd0e1, rgb(3, 122, 122));
}

.btn-submit-review:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel-review {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    color: #b0b0b0;
    border: 2px solid rgba(42, 42, 42, 0.8);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cancel-review:hover {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    border-color: #444;
    color: #ffffff;
    transform: translateY(-2px);
}

.form-message {
    padding: 18px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid;
}

.form-success {
    background: rgba(46, 125, 50, 0.2);
    color: #81c784;
    border-color: rgba(46, 125, 50, 0.5);
}

.form-error {
    background: rgba(198, 40, 40, 0.2);
    color: #e57373;
    border-color: rgba(198, 40, 40, 0.5);
}

.form-message i {
    font-size: 20px;
}

/* Responsive Design */
@media(max-width: 1023px) {
    #reviewsSection {
        margin: 0 auto;
        padding: 50px 0;
    }
    
    #videoTestimonialsSection.video-testimonials-section-standalone {
        margin: 0 auto;
        padding: 50px 0;
    }
    
    .reviews-container {
        padding: 0 20px;
    }
    
    .video-testimonials-container {
        padding: 0 20px;
    }
    
    .reviews-container h2,
    .video-testimonials-title,
    .video-testimonials-container h2.video-testimonials-title {
        font-size: 32px;
    }
    
    .reviews-stats {
        flex-direction: column;
        gap: 40px;
        padding: 35px;
    }
    
    .stats-right {
        padding-left: 0;
        width: 100%;
    }
    
    .rating-breakdown {
        width: 100%;
    }
    
    .reviews-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .reviews-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .rating-filters {
        justify-content: flex-start;
    }
    
    .reviews-sort {
        width: 100%;
        justify-content: space-between;
    }
    
    .sort-select {
        flex: 1;
        min-width: 0;
    }
    
    .video-testimonials-content {
        padding: 30px 25px;
    }
}

@media(max-width: 767px) {
    #reviewsSection {
        margin: 0px auto;
        padding: 40px 0;
    }
    
    .reviews-controls {
        padding: 16px;
        gap: 16px;
    }
    
    .filter-label,
    .sort-label {
        font-size: 14px;
    }
    
    .rating-filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .sort-select {
        font-size: 13px;
        padding: 8px 14px;
        padding-right: 36px;
        min-width: 140px;
    }
    
    .reviews-filters {
        gap: 10px;
    }
    
    .rating-filters {
        gap: 8px;
    }
    
    .reviews-container {
        padding: 0 20px;
    }
    
    .reviews-container h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }
    
    .reviews-stats {
        padding: 25px;
        margin-bottom: 40px;
    }
    
    .rating-number {
        font-size: 48px;
    }
    
    .rating-stars-large i {
        font-size: 24px;
    }
    
    .review-item {
        padding: 25px;
    }
    
    .reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .reviewer-name {
        font-size: 16px;
    }
    
    .review-content p {
        font-size: 15px;
    }
    
    /* Restructure pagination container on mobile - prev/next outside scrollable area */
    .pagination-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    /* Prev button outside scrollable area (always visible on mobile) */
    .pagination-btn-prev-mobile {
        position: relative;
        z-index: 10;
        flex-shrink: 0;
        margin: 0;
        min-width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Next button outside scrollable area (always visible on mobile) */
    .pagination-btn-next-mobile {
        position: relative;
        z-index: 10;
        flex-shrink: 0;
        margin: 0;
        min-width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Scrollable pagination container (only page numbers) */
    .pagination {
        padding: 12px 15px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
        background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 100px); /* Reserve space for prev/next buttons */
        box-sizing: border-box;
    }
    
    .pagination::-webkit-scrollbar {
        display: none;
    }
    
    .pagination-btn {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .pagination-ellipsis {
        font-size: 13px;
        flex-shrink: 0;
    }
    
    #videoTestimonialsSection.video-testimonials-section-standalone {
        margin: 0 auto;
        padding: 40px 0;
    }
    
    .video-testimonials-container {
        padding: 0 15px;
    }
    
    .video-testimonials-content {
        padding: 25px 20px;
    }
    
    .video-testimonials-title,
    .video-testimonials-container h2.video-testimonials-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .video-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .video-slider-dot {
        width: 12px;
        height: 12px;
    }
    
    .video-slide {
        min-width: 100%;
        width: 100%;
    }
    
    .video-slider-track {
        gap: 15px;
        padding: 0 5px;
    }
    
    
    .review-form-container {
        padding: 30px 20px;
    }
    
    .review-form-header h3 {
        font-size: 22px;
    }
    
    .rating-input-stars i {
        font-size: 32px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit-review,
    .btn-cancel-review {
        width: 100%;
        justify-content: center;
    }
}

@media(max-width: 479px) {
    #reviewsSection {
        margin: 0px auto;
        padding: 30px 0;
    }
    
    .reviews-container {
        padding: 0 20px;
    }
    
    .reviews-container h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .reviews-stats {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .rating-number {
        font-size: 40px;
    }
    
    .rating-stars-large i {
        font-size: 20px;
    }
    
    /* Smaller pagination buttons on very small mobile */
    .pagination-container {
        gap: 6px;
        padding: 0 8px;
    }
    
    .pagination-btn-prev-mobile,
    .pagination-btn-next-mobile {
        min-width: 36px;
        height: 36px;
        padding: 0;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pagination {
        gap: 6px;
        padding: 10px 12px;
        max-width: calc(100% - 88px); /* Reserve space for smaller prev/next buttons */
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
        flex-shrink: 0;
        padding: 0 8px;
    }
    
    .pagination-ellipsis {
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .reviewer-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .reviewer-name {
        font-size: 15px;
    }
    
    .review-content p {
        font-size: 14px;
    }
}
