@media(max-width:991px) {
    .navbar {
        background: rgba(0, 22, 46, .96)
    }

    .navbar-collapse {
        padding: 16px 0
    }

    .nav-link {
        padding: 12px 0
    }

    .nav-cta {
        margin-top: 10px
    }

    .language-item {
        margin-top: 10px;
    }

    .hero-stats {
        margin-top: 55px
    }

    /* .story-track {
        width: 100%;
        display: block
    } */

    .story-panel {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 90px 9%;
        gap: 35px
    }

    .story-copy,
    .story-image {
        width: 48%;
    }
    
}

@media(max-width:650px) {
    .navbar small{
        position: absolute;
        bottom:5px;
    }
    .hero {
        min-height: 720px;
        margin-top: 30px;
        padding: 20px 0;
    }

   

    .hero-stats {
        gap: 10px;
        border-left: 0;
        border-top: 1px solid #ffffff28;
        padding-top: 10px;
        margin-top: 20px;
    }

    .hero-stats strong {
        font-size: 2.7rem
    }
    .process-card{
        padding:0;
    }
    .identity-section,
    .selection-section,
    .jisde-section,
    .contact-section {
        padding: 85px 0
    }

    .jisde-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 38px; }
    .jisde-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

    .story-panel {
        display: flex;
        flex-direction: column;
        padding: 80px 7%;
        justify-content: center
    }

    .panel-two {
        flex-direction: column-reverse
    }
    .swiper-slide{
        height: 50%;
        flex-wrap: wrap;
        padding: 20px;
        gap:0;
    }
    .story-copy,
    .story-image,
    .story-image-container {
        width: 100%
    }

    .story-image {
        height: 25vh
    }

    .story-copy h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .contact-meta {
        gap: 12px;
        flex-direction: column
    }

    .business-card-wrap {
        margin-top: 50px
    }

    .hero-scroll {
        display: none
    }
    .col-lg-6{
        margin-top: 0;
    }
    .selection-intro{
        padding: 0;
    }
    .coach-registration-cta {
        margin-top: 65px;
        padding: 30px 22px;
        box-shadow: 7px 7px 0 rgba(214, 167, 44, .8);
    }
    .animation-translate_fade{
        transform: translate(100px, 300px);
    }
    .animation-translate_fade_left{
        transform: translate(-100px, 300px);
    }
    #data-collection{
        top:-50%;
        
    }
    .unskew{
        height: 100px;
    }
    .output_pictures{
        height: 50px;
    }
    .output_pictures_container{
        width: 100%;
        gap:0;
        align-items: end;

    }
    .output_pictures_container p{
        font-size: 13px;
    }
}

@media(max-width:650px) {
    .jisde-heading h2 { font-size: 2.5rem; }
    .jisde-heading > p { font-size: 1.3rem; }
    .jisde-steps { grid-template-columns: 1fr; }
    .jisde-card { min-height: 185px; grid-template-columns: 50% 1fr; }
    .jisde-card-copy { padding: 10px 7px; }
    .jisde-card h3 { font-size: 1.3rem; }
    .jisde-card p { font-size: .78rem; }
    .jisde-cta { align-items: flex-start; flex-direction: column; margin-top: 55px; padding: 29px 24px; box-shadow: 7px 7px 0 var(--gold); }
    .jisde-steps > li:nth-child(n)> .jisde-card { animation-delay: 0s; }
    .jisde-stake p{font-size: 1rem;}
    .jisde-stake h3{
        font-size: 1.3rem;
    }
}

@media(max-width:650px) {
    html[dir="rtl"] .hero-stats {
        border-right: 0;
        padding-right: 0;
    }

    /* html[dir="rtl"] .arrow-container {
        left: auto;
        right: -20px;
    }

    html[dir="rtl"] .arrow-container img {
        left: 30px;
        right: auto;
    }

    html[dir="rtl"] .arrow-info {
        left: -15px;
        right: auto;
    } */

    /* html[dir="rtl"] .animation-translate_fade {
        transform: translate(-100px, 300px);
    }

    html[dir="rtl"] .animation-translate_fade_left {
        transform: translate(100px, 300px);
    } */
}

/* from motion.css */

@media (max-width: 991px) {

    /* These copies exist only to make the desktop animation loop seamlessly. */
    /* .story-panel:nth-child(n+3) {
        display: none;
    } */

    .story-panel {
        width: calc(100% - 32px);
        min-height: calc(100vh - 32px);
        margin: 16px;
        border: 1px solid rgba(214, 167, 44, .32);
        border-radius: 20px;
        background: rgba(255, 255, 255, .04);
    }
    

    /* .story-controls {
        display: none;
    } */
}


@media (max-width: 650px) {
    .hero-side {
        margin-top: 24px;
    }

    .coach-portrait {
        height: 275px;
        margin: 0 0 14px;
        
    }
    .coach-shadow{
        box-shadow: 10px 12px 0 rgba(214, 167, 44, .62);
        border-radius: 22px;
        background: #03244a;
    }
   
    .hero-stats>div {
        min-width: fit-content;
        flex: 1;
        padding: 16px 14px;
    }
    .arrow-container{
        left: -20px;
    }
    .arrow-container img{
        top:-20px;
        left: -30px;
    }
    html[dir="rtl"] .arrow-container img{
        left: 10px;
    }
    .arrow-info{
        right: -15px;
    }
    .arrow-info h3{
        font-size: 1rem;
    }
    .arrow-info p{
        font-size: 1rem;
        letter-spacing: 1px;
    }
}
