/* =========================================
   TESTIMONIALS PAGE STYLES
   ========================================= */

/* --- Hero Section --- */
.testimonials-hero {
    height: 45vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 50px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(178,173,129,0.1) 0%, var(--dark-bg) 70%);
}

.floating-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.float-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    animation: floatAnim 20s infinite alternate ease-in-out;
}

.shape-1 { width: 400px; height: 400px; background: rgba(178, 173, 129, 0.15); top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: rgba(91, 90, 80, 0.2); bottom: -50px; right: -50px; animation-delay: -5s;}

@keyframes floatAnim {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-text { position: relative; z-index: 2; }
.hero-text h1 { font-size: 3.8rem; font-weight: 300; letter-spacing: 2px; margin-bottom: 15px; }
.hero-text h1 span { color: #B2AD81; font-weight: 700; }
.hero-text p { font-size: 1.1rem; color: #a0a0a0; }


/* --- Video Grid Section --- */
.video-testimonials-section {
    padding: 50px 5% 100px 5%;
    position: relative;
    z-index: 2;
    min-height: 400px; /* Prevents footer jump while loading */
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Glassmorphism Video Card */
.video-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(178, 173, 129, 0.15);
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: rgba(178, 173, 129, 0.5);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 2px solid rgba(178, 173, 129, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-info p {
    color: #B2AD81;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Loading & Error States --- */
.loading-state, .error-state {
    text-align: center;
    padding: 50px 0;
    color: #a0a0a0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(178, 173, 129, 0.2);
    border-top: 3px solid #B2AD81;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Scroll Animation Classes */
.reveal { opacity: 0; transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-up { transform: translateY(50px); }