/*
 * Custom CSS for: Life at JDG
 * Page: /life-at-jdg
 * Generated: 2026-03-27 06:43:47
 */

/* ===========================================
LIFE AT JDG PAGE
============================================== */

.lag-intro-section {
    margin: 0 auto;
    padding: 168px 0;
    text-align: center;
    max-width: min(1080px, 100%);
}

.lag-intro--heading {
    font-family: var(--jdg-heading-font-family);
    font-weight: 600;
    font-size: clamp(36px, 4.8vw, 72px);
    line-height: clamp(44px, 6vw, 90px);
    letter-spacing: clamp(-0.02em, -0.03vw, -0.03em);
    text-transform: capitalize;

    background: var(--heading-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lag-intro--description {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: clamp(22px, 1.8vw, 28px);
    letter-spacing: 0;
    text-align: center;
    color: var(--jdg-white);
    opacity: 0.6;
}

.lag-scroll-section .container {
    display: flex;
    gap: 70px;
}

.lag-sticky-text-container {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-width: 50%;
    flex-shrink: 0;
}

.scroll-section--text_wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/*.lag-sticky-text-container .scroll-section--heading {*/
/*    font-family: var(--jdg-heading-font-family);*/
/*    font-weight: 600;*/
/*    font-style: SemiBold;*/
/*    font-size: clamp(2.1875rem, 2vw, 3rem);*/
/*    line-height: 100%;*/
/*    letter-spacing: -3%;*/
/*    color: var(--jdg-white);*/
/*}*/

.lag-sticky-text-container .scroll-section--description_wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lag-sticky-text-container
    .scroll-section--description_wrapper
    .scroll-section--description {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
    line-height: normal;
    color: var(--jdg-white);
    opacity: 0.5;
    letter-spacing: -3%;
}

.scroll-section--image_wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.scroll-section--image_wrapper .scroll-section--image_item img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 34.34px 0px #000000e5;
    height: 300px;
    object-fit: cover;
}

.scroll-section--image_item {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
    padding: 26px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    gap: 20px;
    border: 1px solid;
    border-image-source: linear-gradient(
        150.09deg,
        rgba(49, 249, 187, 0.3) -3.04%,
        rgba(79, 70, 229, 0.3) 80.38%
    );
    opacity: 27%;
    margin-top: -25px;
    flex-direction: column;
    box-shadow: 0px 20px 15.8px 0px #000000ab;
    z-index: 1;
    height: auto !important;
}

.scroll-section-image_title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-style: Regular;
    text-align: left;
    font-size: clamp(1.375rem, 1.2vw, 1.625rem);
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: -4px;
    color: var(--jdg-white);
}

.scroll-section-image_desc {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(1rem, 0.8vw, 1.125rem);
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--jdg-white);
}

/* .scroll-section--image_wrapper .scroll-section--image_item:first-child {
    opacity: 100%;
    margin-top: 0px;
    z-index: 4;
}

.scroll-section--image_item:nth-child(2) {
    z-index: 3;
}

.scroll-section--image_item:nth-child(3) {
    z-index: 2;
}

.scroll-section--image_item:nth-child(4) {
    z-index: 1;
} */

/* Initial animation state */
.scroll-section--image_item {
    opacity:1;
    transition: opacity 0.4s ease;
    will-change: transform, opacity;
}

/* Active card */
.scroll-section--image_item.is-active {
    opacity: 1;
}

.main-title {
    text-align: center;
    margin-bottom: 60px;
}

/*.main-title h2 {*/
/*    font-weight: 600;*/
/*    font-size: clamp(28px, 4vw, 48px);*/
/*    line-height: clamp(36px, 5vw, 60px);*/
/*    letter-spacing: -0.03em;*/
/*    color: var(--jdg-white);*/
/*}*/

.w-card-cn {
    background: #131314;
    padding: 24px;
    text-align: center;
    border-radius: 25px;
    transition: 0.2s ease all;
    height: 100%;
}

.w-card-cn:hover {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
    transition: 0.2s ease all;
}

.w-img {
    margin-bottom: 20px;
}

.w-content h3 {
    font-weight: 400;
    font-size: clamp(16px, 2.2vw, 26px);
    line-height: clamp(22px, 2.8vw, 32px);
    text-align: center;
    color: var(--jdg-white);
    margin-bottom: 16px;
}

.w-content p {
    font-weight: 400;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: clamp(22px, 2.4vw, 28px);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.cel-slider {
    position: relative;
    background: none;
    overflow: hidden;
}

/* Background layer */
.cel-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/front/imgs/cel-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

/* Text wrapper */
.cel-text {
    position: relative;
    z-index: 1;
}

/* Diwali text */
.cel-text h3 {
    font-weight: 800;
    font-size: clamp(46px, 13vw, 280px);
    line-height: 86%;
    text-align: center;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SVG ROPE CONTAINER */
.rope-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* THE CARD FRAME */
.card {
    position: absolute;
    width: 130px;
    height: 160px;
    background-color: #f5f5f0;
    padding: 10px;
    padding-top: 14px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.4);
    transform-origin: top center;
    box-sizing: border-box;
    z-index: 2;
    border-radius: 3px;
    /* Start fully visible - no fade in */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* THE CLIP - Main body */
.card::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 32px;
    background: linear-gradient(135deg, #5a9fe0, #2a6db8);
    border: 2px solid #1e5090;
    border-radius: 5px 5px 3px 3px;
    z-index: 10;
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        0 3px 6px rgba(0, 0, 0, 0.4);
}

/* THE CLIP DETAIL - Metal pin/rivet */
.card::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #e0e0e0, #999);
    border-radius: 50%;
    z-index: 11;
    box-shadow:
        inset 2px 2px 3px rgba(255, 255, 255, 0.9),
        0 2px 3px rgba(0, 0, 0, 0.5);
}

/* Card image styling */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #ddd;
    border-radius: 2px;
}

.rp-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.rp-rope-svg {
    position: absolute;
    top: 11px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.rp-rope-svg path {
    stroke-width: 1px;
    stroke: #fff;
}

.cel-text h3 {
    font-weight: 800;
    font-size: clamp(46px, 13vw, 280px);
    line-height: 86%;
    text-align: center;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    z-index: -10;
    position: relative;
}

.rp-card {
    position: absolute;
    width: 371.2819519042969px;
    height: 445.1240234375px;
    transform-origin: top center;
    box-sizing: border-box;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* .rp-card::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 32px;
    background: linear-gradient(135deg, #5a9fe0, #2a6db8);
    border: 2px solid #1e5090;
    border-radius: 5px 5px 3px 3px;
    z-index: 10;
    box-shadow:
        inset 3px 3px 6px rgba(255,255,255,0.3),
        inset -2px -2px 4px rgba(0,0,0,0.2),
        0 3px 6px rgba(0,0,0,0.4);
} */
/* 
.rp-card::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #e0e0e0, #999);
    border-radius: 50%;
    z-index: 11;
    box-shadow:
        inset 2px 2px 3px rgba(255,255,255,0.9),
        0 2px 3px rgba(0,0,0,0.5);
} */
section.cel-slider-main {
    height: auto;
    padding-bottom: 286px;
    background-image: url("/assets/front/imgs/cel-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

/* Image line layer */
.cel-pics {
    position: relative;
    z-index: 2;
}
.how-it-work {
    padding-bottom: 0;
}
/* ─── wrapper ─── */
.dgurus-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin-left: 30px;
    padding-bottom: 60px;
}

/* ─── track ─── */
.dgurus-slider-track {
    display: flex;
    --dgurus-pos: 0;
    --dgurus-step: 33.3333%;
    transform: translateX(calc(var(--dgurus-pos) * var(--dgurus-step) * -1));
    transition: transform 0.6s ease;
    gap: 32px;
}

.why-choose .row {
    align-items: center;
}

/* ─── each card ─── */
.dgurus-slide {
    flex-shrink: 0;
    width: 33.3333%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    text-align: center;
}

.dgurus-slide:first-child {
    border-left: none;
}

.dgurus-slide-title {
    color: #fff;
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 20px !important;
    width: 290px !important;
    max-width: 100%;
    margin: auto;
}

.dgurus-slide-text {
    color: rgba(102, 102, 102, 1);
    font-size: clamp(1rem, 0.8vw, 1.125rem);
    line-height: 28px;
}

/* ─── tablet  →  2 visible ─── */
@media (max-width: 900px) {
    .dgurus-slider-track {
        --dgurus-step: 50%;
    }

    .dgurus-slide {
        width: 50%;
        padding: 36px 22px;
    }
}

/* ─── mobile  →  1 visible ─── */
@media (max-width: 560px) {
    .dgurus-slider-track {
        --dgurus-step: 100%;
    }

    .dgurus-slide {
        width: 100%;
        padding: 30px 18px;
    }
}

.mj-process {
    color: #fff;
}

/* Title */
.mj-title {
    font-size: clamp(2.1875rem, 2vw, 3rem);
    line-height: 1.2;
    font-weight: 500;
}

/* Card */
.mj-card {
    display: flex;
    gap: 30px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    color: #aaa;
    transition: 0.3s ease;
    margin-bottom: 20px;
}

section.mj-process {
    padding-top: 114px;
    padding-bottom: 151px;
}

.mj-card-active {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
    color: #fff;
}

.mj-card-img img {
    width: 304px;
    height: 259px;
    border-radius: 14px;
    object-fit: cover;
    max-width: 100%;
    min-height: 100%;
}

.mj-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.mj-card-content h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
}

.mj-card-content p {
    font-size: clamp(1rem, 0.8vw, 1.125rem);
    line-height: 28px;
    width: 485px;
    max-width: 100%;
}

/* Sticky Title CSS */
span.mj-step img {
    height: 69px !important;
}

.mj-process {
    position: relative;
    overflow: visible;
}

.mj-sticky-title {
    position: sticky;
    top: 0;
    z-index: 99;
}

/* Step number */

/* Hover */
.mj-card:hover {
    transform: translateY(-6px);
}

/* Responsive tweak */
@media (max-width: 991px) {
    .mj-title {
        margin-bottom: 20px;
    }

    .mj-card {
        flex-direction: column;
    }

    .mj-card-img img {
        width: 100%;
        height: 200px;
    }

    .service-card-box {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .main-card-section.service-card-section {
        padding: 60px 30px 0;
    }

    .mj-sticky-title {
        position: static !important;
    }
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial-section {
    background-image: url("/assets/front/imgs/test-bg.png");
    padding: 112px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ============================================
   TESTIMONIAL SLIDE
   ============================================ */
.testimonial-slide {
    width: 50%;
    padding: 20px;
    flex-shrink: 0;
}

.slide-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px 30px;
    background: transparent;
    position: relative;
}

/* ============================================
   QUOTE ICON
   ============================================ */
.quote-icon {
    flex-shrink: 0;
    width: 70px;
    height: 60px;
    color: rgba(255, 255, 255, 0.08);
    margin-top: -10px;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   SLIDE TEXT CONTENT
   ============================================ */
.slide-text {
    flex: 1;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    color: rgba(255, 128, 0, 1);
    font-size: clamp(1rem, 0.8vw, 1.125rem);
    line-height: 1;
}

/* Testimonial Heading */
.testimonial-heading {
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Testimonial Text */
.testimonial-text {
    font-size: clamp(0.875rem, 0.8vw, 1rem);
    color: #b0b7c3;
    line-height: 1.7;
    margin-bottom: 69px;
}

/* Divider Line */
.divider {
    width: 100%;
    height: 1px;
    background: rgba(229, 229, 229, 1);
    margin-bottom: 20px;
}

/* ============================================
   AUTHOR INFO
   ============================================ */
.author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: clamp(1rem, 0.8vw, 1.125rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.author-designation {
    font-size: clamp(0.75rem, 0.7vw, 0.875rem);
    color: #9ca3af;
}

.author-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ============================================
   SLIDER DOTS NAVIGATION
   ============================================ */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--jdg-btn-gradient);
    width: 35px !important;
    border: 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 6px !important;
}
.section-header {
    text-align: center;
    margin-bottom: 79px;
}

/*.section-header h2 {*/
/*    font-size: clamp(28px, 4vw, 48px);*/
/*    line-height: clamp(36px, 5vw, 60px);*/
/*    font-weight: 600;*/
/*    text-align: center;*/
/*    letter-spacing: -0.03em;*/
/*    color: #ffffff;*/
/*    margin-bottom: 25px;*/
/*}*/

.section-header p {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: clamp(18px, 1.6vw, 22px);
    text-align: center;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.5);
}
/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .testimonial-section {
        padding: 60px 20px;
    }

    .testimonial-slide {
        min-width: 50%;
    }

    .slide-content {
        gap: 20px;
        padding: 30px 20px;
    }

    .quote-icon {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Mobile: 1 slide per view */
    .testimonial-slide {
        min-width: 100%;
        padding: 10px;
    }

    .slide-content {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .quote-icon {
        width: 50px;
        height: 50px;
        margin-top: 0;
    }

    .star-rating {
        margin-bottom: 12px;
    }

    .star {
        color: rgba(255, 128, 0, 1);
    }

    .testimonial-heading {
        margin-bottom: 12px;
    }

    .divider {
        margin-bottom: 16px;
    }

    .author-image {
        width: 48px;
        height: 48px;
    }

    .slider-dots {
        gap: 8px;
        margin-top: 35px;
    }

    .dot {
        width: 30px;
        height: 2.5px;
    }

    .dot.active {
        width: 40px;
    }
}

/* ============================================
   EXTRA SMALL MOBILE
   ============================================ */
   @media only screen and (max-width:575px){
.rp-card {
    width: 70%;
    height: auto;
}
   }
@media (max-width: 480px) {
    .testimonial-section {
        padding: 40px 10px;
    }

    .slide-content {
        padding: 20px 15px;
    }

    .quote-icon {
        width: 40px;
        height: 40px;
    }

    .author-image {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */
.testimonial-slide {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Smooth hover effect on slides */
.slide-content:hover .quote-icon {
    color: rgba(255, 255, 255, 0.12);
    transition: color 0.3s ease;
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */
.dot:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .slider-dots {
        display: none;
    }

    .testimonial-slide {
        min-width: 100%;
        page-break-inside: avoid;
    }
}

/* video section start */

.video-moments-section {
    background-image: url("/assets/front/imgs/video-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 78px;
}

.video-moments-section h2 {
    font-weight: 800;
    font-size: clamp(48px, 10vw, 133.327px);
    line-height: 0.86;
    text-align: center;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    margin-bottom: 126px;
}

.video-slider-container {
    position: relative;
    width: 100%;
}

.video-slider-track {
    display: flex;
    gap: 20px;
    animation: slide 40s linear infinite;
    will-change: transform;
}

.video-slider-track:hover {
    animation-play-state: running;
}

.video-slide {
    flex-shrink: 0;
    width: 280px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    animation: slideUpDown 3s ease-in-out infinite;
}

/* Staggered effect */
.video-slide:nth-child(2n) {
    margin-top: 73px;
}

/* Up-down floating animation with different delays */
.video-slide:nth-child(1) {
    animation-delay: 0s;
}

.video-slide:nth-child(2) {
    animation-delay: 0.2s;
}

.video-slide:nth-child(3) {
    animation-delay: 0.4s;
}

.video-slide:nth-child(4) {
    animation-delay: 0.6s;
}

.video-slide:nth-child(5) {
    animation-delay: 0.8s;
}

.video-slide:nth-child(6) {
    animation-delay: 1s;
}

.video-slide:nth-child(7) {
    animation-delay: 1.2s;
}

.video-slide:nth-child(8) {
    animation-delay: 1.4s;
}

.video-slide:nth-child(9) {
    animation-delay: 1.6s;
}

.video-slide:nth-child(10) {
    animation-delay: 1.8s;
}

.video-slide:nth-child(11) {
    animation-delay: 2s;
}

.video-slide:nth-child(12) {
    animation-delay: 2.2s;
}

.video-slide:nth-child(13) {
    animation-delay: 2.4s;
}

.video-slide:nth-child(14) {
    animation-delay: 2.6s;
}

.video-slide:nth-child(15) {
    animation-delay: 2.8s;
}

.video-slide:nth-child(16) {
    animation-delay: 3s;
}

@keyframes slideUpDown {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* .slide:nth-child(2n) {
    animation: slideUpDownOffset 3s ease-in-out infinite;
} */

@keyframes slideUpDownOffset {
    0%,
    100% {
        transform: translateY(30px);
    }

    50% {
        transform: translateY(15px);
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .video-slide {
        width: 240px;
        height: 420px;
    }

    @keyframes slideUpDown {
        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-12px);
        }
    }

    @keyframes slideUpDownOffset {
        0%,
        100% {
            transform: translateY(25px);
        }

        50% {
            transform: translateY(13px);
        }
    }

    .video-moments-section {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .video-slide {
        width: 180px;
        height: 320px;
        border-radius: 16px;
    }

    @keyframes slideUpDown {
        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes slideUpDownOffset {
        0%,
        100% {
            transform: translateY(20px);
        }

        50% {
            transform: translateY(10px);
        }
    }

    .video-slider-track {
        gap: 15px;
    }

    .video-moments-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .video-slide {
        width: 160px;
        height: 280px;
    }

    @keyframes slideUpDown {
        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-8px);
        }
    }

    @keyframes slideUpDownOffset {
        0%,
        100% {
            transform: translateY(15px);
        }

        50% {
            transform: translateY(7px);
        }
    }
}

/* jdg outing slider */
/* CSS Variables for easy customization */
:root {
    --orbit-width: 90vw;
    --orbit-height: 70vh;
    --orbit-radius-x: 35vw;
    --orbit-radius-y: 10vh;
    --active-scale: 1.2;
    --inactive-scale: 0.75;
    --inactive-blur: 5px;
    --inactive-opacity: 0.5;
    --animation-duration: 24s;
    --image-size: 180px;
}

@media (max-width: 768px) {
    :root {
        --orbit-width: 95vw;
        --orbit-height: 60vh;
        --orbit-radius-x: 47.5vw;
        --orbit-radius-y: 30vh;
        --image-size: 120px;
    }
}

@media (max-width: 480px) {
    :root {
        --orbit-height: 50vh;
        --orbit-radius-y: 25vh;
        --image-size: 90px;
    }
}

/* Main Container */
.orbital-slider {
    position: relative;
    width: 100vw;
    height: 175vh;
    background: url("/assets/front/imgs/cs-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center Text Container */
.center-content {
    position: relative;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

/* Stacked text elements for CSS-only text changes */
.center-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    font-size: clamp(52px, 8.5vw, 133.327px);
    line-height: 0.86;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    /* or 115px */
    text-align: center;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Each heading appears during specific animation phases */
.center-heading:nth-child(1) {
    animation: textFade1 var(--animation-duration) infinite;
}

.center-heading:nth-child(2) {
    animation: textFade2 var(--animation-duration) infinite;
}

.center-heading:nth-child(3) {
    animation: textFade3 var(--animation-duration) infinite;
}

.center-heading:nth-child(4) {
    animation: textFade4 var(--animation-duration) infinite;
}

.center-heading:nth-child(5) {
    animation: textFade5 var(--animation-duration) infinite;
}

.center-heading:nth-child(6) {
    animation: textFade6 var(--animation-duration) infinite;
}

.center-heading:nth-child(7) {
    animation: textFade7 var(--animation-duration) infinite;
}

.center-heading:nth-child(8) {
    animation: textFade8 var(--animation-duration) infinite;
}

/* Text fade animations - each appears for 1/8 of the total duration */
@keyframes textFade1 {
    0%,
    10% {
        opacity: 1;
    }

    12.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade2 {
    0%,
    12.5% {
        opacity: 0;
    }

    13%,
    22.5% {
        opacity: 1;
    }

    25%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade3 {
    0%,
    25% {
        opacity: 0;
    }

    26%,
    35% {
        opacity: 1;
    }

    37.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade4 {
    0%,
    37.5% {
        opacity: 0;
    }

    38%,
    47.5% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade5 {
    0%,
    50% {
        opacity: 0;
    }

    51%,
    60% {
        opacity: 1;
    }

    62.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade6 {
    0%,
    62.5% {
        opacity: 0;
    }

    63%,
    72.5% {
        opacity: 1;
    }

    75%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade7 {
    0%,
    75% {
        opacity: 0;
    }

    76%,
    85% {
        opacity: 1;
    }

    87.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade8 {
    0%,
    87.5% {
        opacity: 0;
    }

    88%,
    97.5% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Orbit Container */
.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Individual Image Wrapper - positioned on orbital path */
.orbit-image {
    position: absolute;
    width: clamp(260px, 32vw, 421px);
    aspect-ratio: 421 / 316;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    animation: orbit var(--animation-duration) linear infinite;
}

/* Stagger each image around the circle */
.orbit-image:nth-child(1) {
    animation-delay: calc(var(--animation-duration) * 0 / 8);
}

.orbit-image:nth-child(2) {
    animation-delay: calc(var(--animation-duration) * -1 / 8);
}

.orbit-image:nth-child(3) {
    animation-delay: calc(var(--animation-duration) * -2 / 8);
}

.orbit-image:nth-child(4) {
    animation-delay: calc(var(--animation-duration) * -3 / 8);
}

.orbit-image:nth-child(5) {
    animation-delay: calc(var(--animation-duration) * -4 / 8);
}

.orbit-image:nth-child(6) {
    animation-delay: calc(var(--animation-duration) * -5 / 8);
}

.orbit-image:nth-child(7) {
    animation-delay: calc(var(--animation-duration) * -6 / 8);
}

.orbit-image:nth-child(8) {
    animation-delay: calc(var(--animation-duration) * -7 / 8);
}

/* Orbital rotation animation */
@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
            translateX(var(--orbit-radius-x)) translateY(0) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
            translateX(var(--orbit-radius-x)) translateY(0) rotate(-360deg);
    }
}

/* Image styling */
.orbit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(var(--inactive-blur));
    opacity: var(--inactive-opacity);
    transform: scale(var(--inactive-scale));
}

/* Active state - when image is on the right side (0-45deg and 315-360deg) */
.orbit-image:nth-child(1) img {
    animation: activePulse var(--animation-duration) infinite;
}

.orbit-image:nth-child(2) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -1 / 8);
}

.orbit-image:nth-child(3) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -2 / 8);
}

.orbit-image:nth-child(4) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -3 / 8);
}

.orbit-image:nth-child(5) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -4 / 8);
}

.orbit-image:nth-child(6) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -5 / 8);
}

.orbit-image:nth-child(7) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -6 / 8);
}

.orbit-image:nth-child(8) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -7 / 8);
}

/* Active pulse animation - sharp and enlarged when on right side */
@keyframes activePulse {
    0%,
    6% {
        filter: blur(0);
        opacity: 1;
        transform: scale(var(--active-scale));
    }

    12%,
    88% {
        filter: blur(var(--inactive-blur));
        opacity: var(--inactive-opacity);
        transform: scale(var(--inactive-scale));
    }

    94%,
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(var(--active-scale));
    }
}

/* Responsive adjustments for tablet */

@media (max-width: 768px) {
    .orbital-slider {
        min-height: 500px;
    }
}

/* Responsive adjustments for mobile */

@media (max-width: 480px) {
    .orbital-slider {
        min-height: 400px;
    }

    .center-heading {
        letter-spacing: 0.05em;
    }
}