/* Testimonials Page Styles */

.testimonials-hero {
   background: url('../public/banner.webp') center/cover no-repeat;
    padding: 12rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.testimonials-hero-content {
    position: relative;
    z-index: 1;
}

.testimonials-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.02em;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* Generic inline video wrapper (if used) */
.video-wrapper {
    position: relative;
    width: 100%;
    max-height: 500px !important; /* maximum height */
    overflow: hidden;
    box-shadow: none;
    padding-bottom: 0%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    border: 0;
    box-shadow: var(--shadow-lg);
}


.testimonials-hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.testimonials-intro {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E91E63 0%, #FF9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
}

.video-testimonials-section {
    padding: 6rem 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.testimonial-video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.15);
    border-color: rgba(233, 30, 99, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testimonial-video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #E91E63 0%, #FF9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-video-card:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.5);
}

.video-play-button.large {
    width: 90px;
    height: 90px;
    font-size: 2rem;
}

.video-card-content {
    padding: 2rem;
}

.video-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.video-card-content p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.view-comments {
    display: inline-flex;
    align-items: center;
    color: #E91E63;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.view-comments:hover {
    transform: translateX(5px);
    color: #FF9800;
}

.interview-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.interview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(233, 30, 99, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(255, 152, 0, 0.15) 0%, transparent 60%);
}

.interview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.interview-text {
    color: white;
}

.interview-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.interview-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.interview-video {
    position: relative;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.video-modal-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    padding: 1.5rem;
}

.video-modal-inner {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.video-modal .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-height: none;
    box-shadow: none;
}

.video-modal .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
}

@media (max-width: 768px) {
    .video-modal-content {
        padding: 1rem;
    }
}

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

.telegram-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.telegram-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 2px solid rgba(233, 30, 99, 0.1);
}

.telegram-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.telegram-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.telegram-cta p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 136, 204, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.share-story-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.share-story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.share-story-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.share-story-content p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.testimonials-cta {
    padding: 7rem 0;
    background: linear-gradient(135deg, #E91E63 0%, #FF9800 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.testimonials-cta .cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.testimonials-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.btn-cta-large {
    display: inline-block;
    padding: 1.75rem 5rem;
    background: white;
    color: #E91E63;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.btn-cta-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .interview-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        padding: 8rem 0 6rem;
    }

    .testimonials-hero-title {
        font-size: 3rem;
    }

    .testimonials-hero-subtitle {
        font-size: 1.15rem;
    }

    .intro-text .section-title {
        font-size: 2.2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .interview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .interview-text h2 {
        font-size: 2.2rem;
    }

    .video-placeholder {
        height: 300px;
    }

    .telegram-cta {
        padding: 3rem 2rem;
    }

    .telegram-cta h2 {
        font-size: 2rem;
    }

    .share-story-content h2 {
        font-size: 2.2rem;
    }

    .testimonials-cta h2 {
        font-size: 2.2rem;
    }

    .btn-cta-large {
        padding: 1.5rem 3rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .testimonials-hero {
        padding: 6rem 0 4rem;
    }

    .testimonials-hero-title {
        font-size: 2.2rem;
    }

    .testimonials-hero-subtitle {
        font-size: 1rem;
    }

    .intro-text .section-title {
        font-size: 1.8rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .video-card-content {
        padding: 1.5rem;
    }

    .video-card-content h3 {
        font-size: 1.15rem;
    }

    .interview-text h2 {
        font-size: 1.8rem;
    }

    .interview-text p {
        font-size: 1rem;
    }

    .video-placeholder {
        height: 250px;
    }

    .telegram-cta {
        padding: 2.5rem 1.5rem;
    }

    .telegram-cta h2 {
        font-size: 1.6rem;
    }

    .telegram-cta p {
        font-size: 1rem;
    }

    .btn-telegram {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }

    .share-story-content h2 {
        font-size: 1.8rem;
    }

    .testimonials-cta h2 {
        font-size: 1.8rem;
    }

    .testimonials-cta p {
        font-size: 1.05rem;
    }

    .btn-cta-large {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
}

.video-embed-section {
    padding: 80px 20px;
    background: #f7f9fc;
    font-family: 'Poppins', sans-serif;
}

.video-container {
    max-width: 1200px;
    margin: auto;
}

.video-container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #222;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.video-item {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .video-container h2 {
        font-size: 28px;
    }
}
