/* Series Carousel Section */
.series-carousel-section {
    padding: 5rem 0 0 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.section-header {
    position: relative;
}

.series-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

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

/* Carousel Wrapper */
.series-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e9ecef;
    color: #4361ee;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-arrow:hover {
    background: #4361ee;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: -24px;
}

.carousel-arrow.next {
    right: -24px;
}

/* Series Cards Container */
.series-cards-container {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    padding: 1rem;
    scroll-behavior: smooth;
}

/* Series Card */
.series-card {
    flex: 0 0 100%;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.4;
    transform: scale(0.95);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.series-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 60px rgba(67, 97, 238, 0.15);
    border-color: #4361ee;
}

.series-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.series-card.active::before {
    opacity: 1;
}

/* Series Header */
.series-header {
    margin-bottom: 1.5rem;
}

.series-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4361ee;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.series-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

/* Series Content */
.series-content {
    margin-bottom: 2rem;
}

.series-description {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.series-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    font-weight: 500;
}

.stat i {
    color: #4361ee;
    font-size: 1.1rem;
}

/* Series Actions */
.series-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.btn-outline {
    background: transparent;
    color: #4361ee;
    border: 2px solid #4361ee;
}

.btn-outline:hover {
    background: #4361ee;
    color: white;
    transform: translateY(-2px);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #4361ee;
    transform: scale(1.2);
}

/* Platform Badges */
.platform-badges {
    margin-top: 4rem;
}

.badges-label {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 50px;
    color: #495057;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.badge:hover {
    background: white;
    border-color: #4361ee;
    color: #4361ee;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.badge i {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .series-carousel-wrapper {
        max-width: 600px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .series-carousel-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .series-card {
        padding: 2rem;
    }

    .series-title {
        font-size: 1.5rem;
    }

    .series-actions {
        flex-direction: column;
    }

    .carousel-arrow {
        display: none;
    }

    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* JavaScript Animation Classes */
.series-card.slide-left {
    animation: slideLeft 0.5s ease-out;
}

.series-card.slide-right {
    animation: slideRight 0.5s ease-out;
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}



.onde {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}


/* Animation */

.parallaxonde > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallaxonde > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallaxonde > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallaxonde > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallaxonde > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .onde {
    height:40px;
    min-height:40px;
  }
}