/* Media Hero Section */
.testimonials-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/ortho-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    /* margin-bottom: 40px; */
}
.testimonials-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.testimonials-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-playlist{
    height: 200px;
    overflow-y: auto;
}

/* Transform Your Life Section */
.transform-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #600018 100%);
    position: relative;
    overflow: hidden;
}

.transform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.transform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.transform-text {
    color: white;
}

.transform-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.transform-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #f8fafc;
    line-height: 1.4;
}

.transform-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #e2e8f0;
    opacity: 0.95;
}

.transform-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: white;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.transform-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: linear-gradient(45deg, #ffffff, #f8fafc);
    color: #600018;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.transform-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #f8fafc, #ffffff);
    color: #1E3A8A;
}

.transform-image {
    position: relative;
    border-radius: 20px;
    width: max-content;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.transform-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.3), rgba(96, 0, 24, 0.3));
}

.transform-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .transform-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .transform-title {
        font-size: 3rem;
    }
    
    .transform-subtitle {
        font-size: 1.6rem;
    }
    
    .transform-features {
        align-items: center;
    }
    
    .transform-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .transform-section {
        padding: 80px 0;
    }
    
    .transform-title {
        font-size: 2.5rem;
    }
    
    .transform-subtitle {
        font-size: 1.4rem;
    }
    
    .transform-description {
        font-size: 1rem;
    }
    
    .transform-cta-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .transform-section {
        padding: 60px 0;
    }
    
    .transform-content {
        padding: 0 15px;
        gap: 30px;
    }
    
    .transform-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .transform-subtitle {
        font-size: 1.2rem;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .transform-cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .transform-image img {
        height: 400px;
    }
}







/* Thumbnails */
.thumbnail-img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

/* Wrapper to hold play icon */
.thumb-wrapper {
  position: relative;
  display: inline-block;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff0000;
  font-size: 1.5rem;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* so clicks go through to li */
}

/* Hover Effects */
.video-playlist .list-group-item {
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  border-radius: 6px;
  margin-bottom: 8px;
  padding: 10px;
  background: #bcc4dc;
}

.video-playlist .list-group-item:hover {
  background: #f8f9fa;
  transform: scale(1.02);
  cursor: pointer;
}

.video-playlist .list-group-item:hover .thumbnail-img {
  transform: scale(1.05);
}

.video-playlist .list-group-item:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* Active (selected video) */
.video-playlist .list-group-item.active {
  background: #ffe8ec;
  color:#600018;
  border-left: 4px solid #93122a;
}

.video-wrapper {
  position: relative;
  overflow: hidden;   /* ensures the iframe respects the radius */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(174, 85, 85, 0.2);
  margin-top: 45px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px); /* yahan blur ka level adjust kar sakte ho */
    z-index: -1; /* video ke peeche rahe */
  }

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px; /* makes sure video corners match */
}

/* Hover effect */
.video-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 15px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    text-decoration: none;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.7);
}
/* 
.whatsapp-link i {
    width: 100%;
    font-size: 32px;
    color: white;
} */
.icon-whatsapp{
 font-size: 32px !important;
    color: white !important;
}

/* Pulse animation for the WhatsApp icon */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .icon-whatsapp {
        font-size: 28px;
    }
}


/* Playlist same height as video player */
@media (min-width: 768px){
  .testimonials-playlist{
    height: 520px;
    display: flex;
    flex-direction: column;
  }

  .testimonials-playlist .video-playlist{
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
  }
}
