.marquee-wrapper {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.videos {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    padding: 0.5rem;
}

.videos .item {
    display: inline-block;
    width: calc(33.333% - 0.34rem);
    min-height: 6rem;
    border: 1px dashed red;
    white-space: normal;
    vertical-align: top;
    margin-right: 0.5rem;
}

.videos .item:nth-child(4n),
.videos .item:nth-child(5n),
.videos .item:nth-child(6n) {
    min-height: 3rem;
    border: 1px dashed orange;
}

.videos:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


        /*--------------------------------------------------------------
    # Gallery
    --------------------------------------------------------------*/
    .gallery-page__filter__list {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 50px;
    }
    .gallery-page__filter__list li {
      padding: 10px 20px;
      font-size: 14px;
      cursor: pointer;
    }
    .gallery-page__filter__list li.active {
      background-color: #55D9D7;
    }
    .gallery-page__card {
      position: relative;
      overflow: hidden;
      background-color: #362048;
    }
    .gallery-page__card img {
      transform: scale(1);
      display: block;
      width: 100%;
      transition: transform 500ms ease, opacity 500ms ease;
      opacity: 1;
    }
    .gallery-page__card__hover {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(54, 32, 72, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      transform: scale(1, 0);
      transition: transform 500ms ease;
      transform-origin: bottom center;
    }
    .gallery-page__card__hover .img-popup {
      position: relative;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 70px;
      height: 70px;
      background-color:  #ffffff;
      border-radius: 50%;
      transition: all 400ms ease;
    }
    @media (max-width: 1399px) {
      .gallery-page__card__hover .img-popup {
        width: 50px;
        height: 50px;
      }
    }
    .gallery-page__card__hover .img-popup:hover {
      background-color: #AE61BE;
    }
    .gallery-page__card:hover img {
      transform: scale(1.05);
      opacity: 0.9;
      mix-blend-mode: screen;
    }
    .gallery-page__card:hover .gallery-page__card__hover {
      transform-origin: top center;
      transform: scale(1, 1);
    }
    .gallery-page__card__icon {
      width: 20px;
      height: 20px;
      display: block;
      position: relative;
    }
    .gallery-page__card__icon::after, .gallery-page__card__icon::before {
      content: "";
      width: 2px;
      height: 100%;
      background-color: #AE61BE;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: all 400ms ease;
    }
    .gallery-page__card__icon::after {
      transform: translate(-50%, -50%) rotate(90deg);
    }
    .img-popup:hover .gallery-page__card__icon::before, .img-popup:hover .gallery-page__card__icon::after {
      background-color: #ffffff;
    }

    .gallery-instagram {
      position: relative;
      z-index: 1;
      margin-top: -193px;
    }
    .gallery-instagram--home-3 {
      margin: 0;
      background-color: #fff;
    }
    .gallery-instagram--home-3 .gallery-instagram__content {
      padding: 40px 30px;
      background-color: #362048;
      height: 100%;
    }
    .gallery-instagram--home-3 .sec-title {
      margin-bottom: 101px;
    }
    .gallery-instagram--home-3 .sec-title__title {
      color: #fff;
    }
    .gallery-instagram--home-3 .gallery-instagram__image__link {
      background: rgba(54, 32, 72, 0.8);
    }
    .gallery-instagram--home-3 .gallery-instagram__image__link::after {
      display: none;
    }
    @media (min-width: 576px) {
      .gallery-instagram .container-fluid {
        padding: 0;
      }
    }
    .gallery-instagram__image {
      position: relative;
    }
    .gallery-instagram__image img {
      width: 100%;
      display: block;
    }
    .gallery-instagram__image__link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      position: relative;
      position: absolute;
      top: 0;
      left: 0;
      font-size: 40px;
      color: #55D9D7;
      background: rgba(54, 32, 72, 0.9);
      transform-origin: bottom;
      transform-style: preserve-3d;
      transform: scaleY(0);
      transition: all 400ms ease-in-out;
    }
    .gallery-instagram__image__link svg {
      width: 1em;
      height: 1em;
      fill: currentColor;
    }
    .gallery-instagram__image__link::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border: 5px solid #55D9D7;
    }
    .gallery-instagram__image__link > * {
      position: relative;
      z-index: 1;
      transition: all 500ms ease;
    }
    .gallery-instagram__image__link > *:hover {
      color: #fff;
    }
    .gallery-instagram__image:hover .gallery-instagram__image__link {
      transform: scaleY(1);
    }
 /* css for new videos      */
    .cent{
    text-align:center;
  }
  /* Swiper Container Adjustments */
.testimonial-swiper-wrapper {
    position: relative;
    /* padding: 0 50px 60px 50px; */
}

.testimonial-swiper {
    overflow: visible;
}

.swiper-wrapper {
    padding-bottom: 20px;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide .story-card {
    width: 100%;
    animation: none; /* Disable individual card animations */
}

/* Navigation Buttons */
.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7b147b, #ff6b9d);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 20, 123, 0.25);
}

.testimonial-nav-btn::after {
    font-size: 20px;
    font-weight: 900;
}

.testimonial-nav-btn:hover {
    background: linear-gradient(135deg, #6a0f6a, #e65588);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(123, 20, 123, 0.4);
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

/* Pagination */
.testimonial-pagination {
  position: relative !important; /* Change from absolute */
    bottom: auto !important;
    margin-top: 40px !important; /* Space from slides */
    text-align: center;
    z-index: 10;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d1d1;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #7b147b, #ff6b9d);
    width: 32px;
    border-radius: 6px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .testimonial-swiper-wrapper {
        padding: 0 40px 60px 40px;
    }
    
    .testimonial-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-nav-btn::after {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .testimonial-swiper-wrapper {
        padding: 0 30px 60px 30px;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-nav-btn::after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonial-swiper-wrapper {
        padding: 0 20px 60px 20px;
    }
    
    .testimonial-nav-btn {
        width: 36px;
        height: 36px;
    }
}

/* Keep all your existing CSS styles from before */
.success-stories-section {
    background: linear-gradient(180deg, #fafbff 0%, #f8f9fe 100%);
    position: relative;
    z-index: 000;
    overflow: hidden;
}

/* ... rest of your existing CSS ... */

/* Section Base */
.success-stories-section {
    background: linear-gradient(180deg, #fafbff 0%, #f8f9fe 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.success-stories-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 20, 123, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.success-stories-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    /* background: radial-gradient(circle, rgba(255, 107, 157, 0.06) 0%, transparent 70%); */
    border-radius: 50%;
    animation: floatSlow 25s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(5deg); }
}

/* Section Header */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(123, 20, 123, 0.1), rgba(255, 107, 157, 0.1));
    border: 1px solid rgba(123, 20, 123, 0.2);
    color: #7b147b;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    /* font-size: 2.5rem; */
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color:#000;
    /* color: #6c757d;
    font-weight: 400; */
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.stories-grid {
    display: grid;
 grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
    position: relative;
    z-index:000;
}

/* Card Design */
.story-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
}

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }
.story-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card__inner {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(123, 20, 123, 0.08);
}

.story-card:hover .story-card__inner {
    transform: translateY(-8px);
    /* box-shadow: 0 20px 50px rgba(123, 20, 123, 0.15); */
    border-color: rgba(123, 20, 123, 0.2);
}

/* Thumbnail Section */
.story-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    /* background: linear-gradient(135deg, #f0e6f6 0%, #ffeef5 100%); */
    overflow: hidden;
}

.story-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover .story-thumbnail img {
    transform: scale(1.08);
}

/* Overlay */
.story-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(123, 20, 123, 0.85), rgba(255, 107, 157, 0.85)); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.story-card:hover .story-overlay {
    opacity: 1;
}

/* Play Button */
.play-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.play-btn-wrapper:hover {
    transform: scale(1.1);
}

.play-btn {
    width: 80px;
    height: 80px;
    background:#7b147b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.play-btn svg {
    margin-left: 3px;
    filter: drop-shadow(0 2px 4px rgba(123, 20, 123, 0.3));
}

.watch-text {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Story Number Badge */
.story-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #7b147b, #ff6b9d);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(123, 20, 123, 0.3);
    z-index: 2;
}

/* Card Footer */
.story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.story-info {
    flex: 1;
}

.story-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.story-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #7b147b;
    font-weight: 500;
}

.stat-item svg {
    width: 16px;
    height: 16px;
}

.story-action {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #7b147b, #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.story-card:hover .story-action {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(123, 20, 123, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .play-btn {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .story-footer {
        padding: 1.25rem;
    }
}