/* Custom Product Footer Styles */
* {
    box-sizing: border-box;
}

.custom-product-footer {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    margin-top: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #333;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #F59AA5;
    padding: 4rem 0;
    color: white;
}

.why-choose-us .section-title {
    color: white;
    margin-bottom: 3rem;
}

.features-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
    object-fit: contain;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: white;
    opacity: 0.95;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #F59AA5;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #F59AA5;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0 0 0;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 0 1.5rem 0;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-button {
    background-color: #F59AA5;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #e88a96;
    transform: translateY(-2px);
}

/* Video Testimonials Section */
.video-testimonials {
    background-color: #CDE1F7;
    padding: 4rem 0;
}

.video-testimonials-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.video-testimonials-text {
    flex: 0 0 300px;
}

.video-testimonials-videos {
    flex: 1;
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.video-testimonials-videos .video-item {
    flex: 0 0 auto;
    width: 150px;
    aspect-ratio: 9 / 16;
}

.video-testimonials-text {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.video-testimonials-text .section-title {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.3;
}

.video-testimonials-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-quote .stars {
    color: #ffc107;
    font-size: 1.5rem;
}

.video-testimonials-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    align-items: start;
    justify-items: center;
}

.video-testimonials-videos > .video-item:nth-child(4),
.video-testimonials-videos > .video-item:nth-child(5) {
    grid-column: span 1;
    grid-row: 2;
}

.video-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.video-slider {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 400px;
    overflow-x: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
    width: 166.66%;
    min-height: 400px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.video-slider-container {
    overflow-x: hidden;
}
       
.video-slider {
    width: 100%;
    height: 400px; /* Fixed height for layout */
}

.video-item {
    width: 33.33%;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.video-slide {
    width: 33.33%;
    min-width: 0;
    min-height: 300px; /* Debug min height */
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    background-color: rgba(0, 0, 255, 0.1); /* Debug background */
    border: 2px solid blue; /* Debug border */
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16; /* Portrait aspect ratio */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    border: 2px solid red; /* Debug border */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border: 2px solid blue; /* Debug border */
}

.slider-btn {
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.video-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
    width: 100%;
    max-width: 300px;
    position: relative;
    z-index: 2;
    padding: 0;
    transform: translateX(-5%); /* Center dots under videos */
}

.video-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 60px;
    box-sizing: border-box;
    overflow: hidden;
}

.video-slider {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 166.66%;
}

.video-item-container {
    width: 33.33%;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

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

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Text & Image Testimonials Section */
.text-image-testimonials {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 1.5rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.testimonial-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.author-name {
    font-weight: 500;
    color: #333;
}

.verified {
    color: #28a745;
    font-size: 0.8rem;
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
    
    .video-testimonials-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-testimonials-text .section-title {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .video-slider-container {
        max-width: 100%;
    }
    
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.video-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
    width: 100%;
    max-width: 300px;
    position: relative;
    z-index: 2;
    padding: 0;
    transform: none; /* Remove translateX */
}
    
    .why-choose-us,
    .faq-section,
    .video-testimonials,
    .text-image-testimonials {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .feature-item {
        flex: 1 1 45%;
        min-width: 45%;
        padding: 0.5rem;
    }
    
    .testimonial-content {
        padding: 1rem;
    }
    
    .testimonial-title {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}
