:root {
    --color-primary-light: #FFECD3;
    --color-primary-dark: #fbbf24;
    --color-accent-green: #3a6b35;
    --color-accent-orange: #e67e22;
    --color-text-dark: #333;
    --color-text-light: #666;
    --color-bg-light: #fdfdfd;
}

.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.star-rating {
    color: var(--color-primary-dark);
}

.swiper-slide {
    height: auto !important;
    display: block;
}

.testimonial-card {
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 378px;
    height: 100%;
}

.testimonial-card.expanded {
    z-index: 20;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.quote-bg-icon {
    font-family: serif;
    font-size: 7rem;
    color: var(--color-primary-light);
    line-height: 0.5;
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content p.text-gray-700 {
    flex-grow: 1;
    line-height: 1.6;
    font-size: 1.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7; /* instead of 5 */
    line-clamp: 7;
    max-height: calc(1.6em * 7.2);
    transition: all 0.3s ease-in-out;
    margin-bottom: 1rem;
}

.testimonial-content p.text-gray-700.expanded {
    -webkit-line-clamp: unset;
    max-height: 220px;
    overflow-y: scroll;

}

.expandable-content {
    transition: all 0.3s ease;
}

.testimonial-content p.text-gray-700.expanded + .expand-overlay {
    opacity: 0;
    display: none;
}

.read-more-button {
    background-color: transparent;
    border: none;
    color: var(--color-primary-dark);
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    text-decoration: underline;
    transition: color 0.2s ease;
    text-align: left;
    margin-top: 0.5rem;
    z-index: 3;
    display: block;
}

.read-more-button:hover {
    color: var(--color-accent-orange);
}

.js-hidden {
  display: none !important;
}


/* Remaining video styles (unchanged) */

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.05) 70%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 1.5rem;
}

.video-container:hover .video-overlay {
    opacity: 1;
    pointer-events: all;
}

.play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-pause-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.play-pause-btn i {
    font-size: 24px;
    color: #333;
    margin-left: 3px;
}

.play-pause-btn.paused i {
    margin-left: 0;
}

.controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 1.5rem 1.5rem;
}

.video-container:hover .controls-bar {
    transform: translateY(0);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-accent-orange));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

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

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.time-display {
    color: white;
    font-size: 14px;
    font-weight: 500;
    min-width: 70px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--color-primary-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary-dark);
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--color-primary-dark);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .swiper-button-prev {
        left: -30px;
    }
    .swiper-button-next {
        right: -30px;
    }
}

@media (min-width: 1024px) {
    .swiper-button-prev {
        left: -60px;
    }
    .swiper-button-next {
        right: -60px;
    }
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .play-pause-btn {
        width: 60px;
        height: 60px;
    }

    .play-pause-btn i {
        font-size: 20px;
    }

    .controls-bar {
        padding: 16px 20px;
        gap: 12px;
    }

    .volume-slider {
        width: 60px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }
}
