.body {
    position: relative;
    font-family: var(--font-family);
}

/* #region Banner Mobile */
.banner {
    position: relative;
    width: 100%;
    height: 463px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    transform: scale(2.5) translateY(-5%);
    transform-origin: top center;
    object-fit: cover;
}

.banner img,
.banner .text {
    position: absolute;
}

.building8 {
    bottom: 23%;
    width: 154px;
    height: 257px;
    z-index: 1;
    object-fit: contain;
}

.text {
    bottom: 49%;
    margin-left: 70px;
    font-family: var(--font-family);
    font-size: var(--font-h2-size);
    font-weight: var(--font-h2-weight);
    line-height: var(--font-h2-line-height);
    color: white;
    max-width: 250px;
}

/* #endregion */

/* #region Services Mobile*/
.services,
.production,
.video {
    padding: 40px 0 20px;
    font-family: var(--font-family);
    /* gap: 42px; */
    display: flex;
    color: var(--color-primary-blue);
    flex-direction: column;
}

.video {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Hide default play button overlay on Android/Chrome */
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

/* video::-webkit-media-controls-play-button {
  display: none !important;
} */

.production__title {
    padding-bottom: 33px;
}

    .services__title h2,
    .production__title h2 {
        font-size: var(--font-h4-size);
        font-weight: var(--font-h4-weight);
        line-height: var(--font-h4-line-height);
    }

.services__title {
    padding-bottom: 6px;
}

.services__content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    padding-top: 0;
}

.services__item-row-1,
.services__item-row-2 {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
    /* margin-top: 0; */
}

    .services__item-row-1.active,
    .services__item-row-2.active {
        padding-bottom: 24px;
    }

.services__item-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
}

.services__item-row-1.active > .services__item-content,
.services__item-row-2.active > .services__item-content {
    gap: 24px;
}


/*  */

.services__item-content > picture {
    display: block;
    overflow: hidden;
    opacity: 1;
    order: 2;
    max-height: 162px;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.services__item-content-img {
    max-height: 162px;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.services__item-content > p {
    display: block;
    overflow: hidden;
    opacity: 1;
    order: 3;
    max-height: 400px;
    height: fit-content;
}

    .services__item-content > p.hidden {
        max-height: 0;
        transition: max-height 0.5s ease
    }

.services__item-content > picture.hidden {
    opacity: 0;
    max-height: 0;
}

.services__item-header-line {
    border-bottom: 1px solid var(--color-primary-blue);
}

/* 
.services__item-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
} */

.services__item-content-header {
    display: flex;
    flex-direction: row;
    width: 100%;
    order: 1;
    justify-content: space-between;
}

    .services__item-content-header .collapseBtn {
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

    .services__item-content-header h2 {
        font-size: var(--font-h3-size);
        font-weight: var(--font-h3-weight);
        line-height: var(--font-h3-line-height);
        padding-top: 0;
        max-width: 85%;
    }

.services__item-content p {
    font-size: var(--font-body-md-size);
    font-weight: var(--font-body-md-weight);
    line-height: var(--font-body-md-line-height);
    order: 3;
    height: fit-content;
    max-height: 400px;
    padding-top: 0;
    display: block;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.7s ease;
}



/* #endregion */

/* #region Production Capabilities Mobile*/
.production__main {
    position: relative;
    margin-left: 4px;
}

    .production__main .production__track-bar {
        position: absolute;
        left: -6px;
        width: 10px;
        /* height: 100%; */
    }

    .production__main .production__progress-bar {
        position: absolute;
        left: -6px;
        width: 10px;
        transition: transform 0.3s ease;
    }

.production__container {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* border-left: 1px solid var(--color-stroke-blue); */
}

.production__item:first-of-type {
    padding: 0 6px 0 18px;
}

.production__item.active:first-of-type {
    padding: 26px 6px 26px 18px;
    /* padding: 0px 6px 0px 18px; */
}

.production__item:last-of-type {
    padding: 1px 6px 1px 18px;
}

.production__item.active:not(:first-of-type):not(:last-of-type) {
    padding: 41px 12px;
}

.production__item {
    display: flex;
    position: absolute;
    flex-direction: column;
    /* gap: 24px; */
    padding: 9.5px 6px 9.5px 18px;
    /* transform: translateY(20px); */
    transition: top 0.5s ease;
}

    .production__item:first-of-type {
        transform: none;
    }

    .production__item.active:first-of-type {
        transform: none;
    }

    .production__item.active {
        gap: 32px;
        padding: 26px 6px 26px 12px;
    }

        /* .production__item:last-child {
  padding: 1px 12px;
} */

        .production__item.active:last-child {
            padding: 26px 12px;
        }

    /* .production__item.neighbor-active {
  padding: 0 12px 0 12px;
} */

    .production__item .production__text {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
        padding: 0;
    }

.production__text .production__text-number {
    text-decoration: none;
    width: fit-content;
    font-size: var(--font-number-size);
    font-weight: var(--font-number-weight);
    line-height: var(--font-number-line-height);
    padding-bottom: 24px;
    color: var(--color-primary-blue);
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
    transition: 0.5s all;
    /* transition: text-decoration 0.5s ease; */
}

    .production__text .production__text-number.active {
        /* text-decoration: underline;
  text-underline-offset: 3px; */
        text-decoration-color: inherit;
    }

.production__text .production__text-title {
    font-size: var(--font-h3-size);
    font-weight: var(--font-h3-weight);
    padding-bottom: 32px;
    line-height: var(--font-h3-line-height);
}

/* .production__item:first-of-type {
  padding: 0px 12px 9px 12px;
} */

.production__item:first-of-type .production__text .production__text-title {
    /* font-size: var(--font-h3-size);
  font-weight: var(--font-h3-weight); */
    padding-bottom: 21px;
    max-width: none;
}

    /*.production__item:last-of-type .production__text .production__text-title {
    max-width: 70%;
}*/

    .production__item:first-of-type .production__text .production__text-title.active {
        padding-bottom: 24px;
        padding-top: 0;
    }

.production__text .production__text-title.active {
    padding-bottom: 24px;
}

.production__text .production__text-desc {
    font-size: var(--font-body-md-size);
    font-weight: var(--font-body-md-weight);
    line-height: var(--font-body-md-line-height);
    /* opacity: 0; */
    transform: scaleY(0);
    max-height: 0;
    transform-origin: top;
    padding-bottom: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

    .production__text .production__text-desc.active {
        max-height: 500px;
        transform-origin: top;
        transform: scaleY(1);
        padding-bottom: 4px;
        /* opacity: 1; */
    }

    .production__text .production__text-desc.special_active {
        max-height: 500px;
        /* top: 0; */
        /* position: relative; */
        opacity: 0;
        /* transform: scaleY(1); */
    }

/* 
.slide-up {

  transform: translateY(-20px) !important;
}

.slide-down {

  transform: translateY(20px) !important; */
/* } */

.production__img {
    display: block;
    min-width: none;
    opacity: 0;
    margin: 168.5px 0;
    visibility: hidden;
    max-height: 0;
    inset: 0;
    position: fixed;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

    .production__img.active {
        opacity: 1;
        min-height: 255px;
        height: auto;
        /*min-width: 330px;*/
        width: auto;
        max-height: 470px;
        visibility: visible;
        margin: 0;
        position: relative;
        object-fit: contain;
    }

/* #endregion */

/* #region Video Playback */
.video__container {
    position: relative;
    /* width: 100%; */
    /* margin-bottom: 60px; */
    display: flex;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video__element {
    width: 100%;
    max-height: 200px;
    min-height: 200px;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* Overlay for opacity effect */
.video__play-button {
    background-color: var(--color-primary-blue);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.video__play-icon {
    width: 27px;
    height: 25px;
}

.video__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition: opacity 0.3s ease;
}

    .video__overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.video__center-play {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 36px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .video__center-play:hover {
        transform: scale(1.1);
        background: rgba(255, 255, 255, 0.9);
        color: black;
    }

/* Controls floating INSIDE video */
.video__controls {
    position: absolute;
    font-family: var(--font-family);
    bottom: 0;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    color: white;
    font-size: 14px;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.video__container:hover .video__controls {
    opacity: 1;
}

/* Buttons */
.video__controls button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0px;
    transition: color 0.2s ease;
}

    .video__controls button:hover {
        color: var(--color-primary-blue);
    }

.volume-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-bar {
    width: 30px;
    margin-left: 6px;
    -webkit-appearance: none;
    height: 4px;
    background: var(--color-disabled-white);
    border-radius: 2px;
    cursor: pointer;
}

    .volume-bar::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--color-primary-blue);
    }

    .volume-bar::-moz-range-thumb {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--color-primary-blue);
    }


/* Seek bar */
.seek-bar {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: var(--color-disabled-white);
    border-radius: 2px;
    cursor: pointer;
}

    .seek-bar::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--color-primary-blue);
    }

    .seek-bar::-moz-range-thumb {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--color-primary-blue);
    }


/* #endregion */

/* #region*/
/* DESKTOP VER */
@media only screen and (min-width: 1280px) {

    /* #region Banner */
    .banner {
        position: relative;
        width: 100%;
        height: 610px;
        overflow: hidden;
    }

        .banner img,
        .banner .text {
            position: absolute;
        }

    .banner-img {
        width: 100%;
        height: 100%;
        transform: unset;
        object-fit: cover;
        transform-origin: unset;
        object-position: 50% 17%;
    }

    .building8 {
        bottom: 6%;
        width: 244px;
        height: 375px;
        z-index: 1;
    }

    .text {
        bottom: 35%;
        margin-left: 150px;
        font-family: var(--font-family);
        font-size: var(--font-h1-size);
        font-weight: var(--font-h1-weight);
        line-height: var(--font-h1-line-height);
        color: var(--color-bg-white);
        max-width: 350px;
    }

    /* #endregion */

    /* #region Services */
    .services,
    .production,
    .video {
        padding: 60px 0 40px 0;
    }

    .video,
    .production {
        padding-bottom: 60px;
    }

    .video {
        padding-top: 0;
    }

    .production__title {
        padding-bottom: 42px;
    }

    .services__title {
        padding-bottom: 0;
    }

    .services__content {
        /* display: grid;
    grid-template-columns: repeat(6, 1fr); */
        gap: 25px 24px;
        padding-top: 36px;
    }

    .services__item-row-1 {
        grid-column: span 3;
    }

        .services__item-row-1.active,
        .services__item-row-1 {
            padding-bottom: 0;
            padding-top: 0;
        }

    .services__item-row-2 {
        grid-column: span 2;
        padding-top: 36px;
    }

    .services__item-content {
        display: flex;
        flex-direction: column;
        /* gap: 40px; */
        gap: 0;
    }

    .services__item-content-header {
        order: 2;
        padding-top: 0;
    }

        .services__item-content-header h2 {
            font-size: var(--font-h2-size);
            font-weight: var(--font-h2-weight);
            line-height: var(--font-h2-line-height);
        }

        .services__item-content-header .collapseBtn {
            display: none;
        }

    .services__item-content > picture {
        display: block;
        overflow: hidden;
        opacity: 1;
        max-height: 300px;
        transition: none;
    }

    .services__item-content-img {
        max-height: 300px;
        min-width: 0;
        height: 300px;
    }

    .services__item-content > picture.hidden img {
        object-fit: cover;
        min-height: 500px !important
    }

    .services__item-content p {
        line-height: var(--font-body-lg-line-height);
    }

    .services__item-row-1.active > .services__item-content,
    .services__item-row-2.active > .services__item-content {
        gap: 0;
    }

    .services__item-row-1 .services__item-content h2 {
        padding-top: 40px;
        max-width: 60%;
    }

    .services__item-row-1 .services__item-content p {
        padding: 24px 0 15px;
        max-width: 68%;
    }

    /* .services__item-row-1
    > .services__item-content
    > .services__item-content-header,
  .services__item-row-2
    > .services__item-content
    > .services__item-content-header
    .services__item-row-2.active,
  .service__item-row-1.active {
    padding-top: 0;
  } */

    .services__item-row-2 .services__item-content h2 {
        padding-top: 40px;
        max-width: 80%;
    }

    .services__item-row-2 .services__item-content p {
        padding-top: 24px;
        max-width: 80%;
    }


    /* #endregion */

    /* #region Production Capabilities */

    .production__main .production__track-bar {
        left: 58.56%;
        width: 10px;
    }

    .production__main .production__progress-bar {
        left: 58.56%;
        width: 10px;
    }

    .production__item {
        position: relative;
        flex-direction: row;
        padding: 0 !important;
        transition: none;
        cursor: pointer;
        /* height: 143px; */
    }

        /* .production__item.active:last-child {
    padding: 0;
  }

  .production__item.active:first-of-type {
    padding: 0;
  }
  .production__item.active:not(:first-of-type):not(:last-of-type) {
    padding: 0;
  } */

        .production__item.active {
            /* display: flex;
  flex-direction: column;
   */
            padding: 0 !important;
            gap: 101px;
            /* padding: 26px 6px 26px 12px; */
        }

    /* 
  .production__item:first-of-type .production__text .production__text-title {
    font-size: var(--font-h2-size);
    font-weight: var(--font-h2-weight);
    line-height: var(--font-h2-line-height);
    max-width: none;
    padding-bottom: 2px;
  } */

    .production__img {
        /* min-width: 722px;
    height: 537px; */
        aspect-ratio: 722 / 537;
        object-fit: cover;
        /* opacity: 1; */
        position: fixed;
        top: 0;
        /* always from the top of the container */
        left: 0;
        width: auto;
        max-height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

        .production__img.active {
            margin: 168.5px 0;
            height: 536px;
            width: 722px;
            position: absolute;
            visibility: visible;
        }

    .production__item .production__text {
        order: 2;
        /* transform: translateY(24px); */
        margin-left: 826px;
        transition: transform 0.5s ease;
        position: absolute;
        top: 0;
        transition: top 0.5s ease;
        padding: 24px 24px 24px 24px;
    }

        .production__item .production__text .production__text-number,
        .production__text-title {
            padding-bottom: 6.5px;
            padding-top: 4.5px;
            line-height: var(--font-number-selected-line-height);
        }

    .production__item:first-of-type .production__text .production__text-title {
        padding-bottom: 2px;
    }

    .production__text .production__text-title {
        padding-bottom: 2px;
        padding-top: 22px;
        font-size: var(--font-h2-size);
        font-weight: var(--font-h2-weight);
        line-height: var(--font-h2-line-height);
    }

        .production__text .production__text-title.active {
            padding-bottom: 24px;
        }

    .production__item:first-of-type .production__text .production__text-title.active {
        font-size: var(--font-h2-size);
        font-weight: var(--font-h2-weight);
        line-height: var(--font-h2-line-height);
        padding-top: 22px;
        padding-bottom: 24px;
        /* max-width: 70%; */
    }

    /* .production__item:last-child {
    padding: 0px 12px;
  } */

    .production__text .production__text-desc.active {
        padding-bottom: 6px;
        /* transform: translateY(0);
    line-height: var(--font-body-md-line-height);
    transition: transform 0.5s ease;
    position: relative; */
    }

    .production__img.hidden {
        opacity: 0;
    }

    /* #endregion */

    /* #region Video Playback */
    .video__container {
        position: relative;
        height: 585px;
        display: flex;
        padding: 0 48px;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .video__element {
        width: 100%;
        height: 100%;
        max-height: 600px;
        object-fit: cover;
        display: block;
        z-index: 1;
    }

    /* Overlay for opacity effect */

    /* Center play button */
    .video__play-button {
        background-color: var(--color-primary-blue);
        border-radius: 50%;
        width: 127px;
        height: 125px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
    }

    .video__play-icon {
        width: 27px;
        height: 25px;
    }

    .video__overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 48px;
        right: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.2);
        z-index: 3;
        transition: opacity 0.3s ease;
    }

        .video__overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

    .video__center-play {
        background: rgba(0, 0, 0, 0.6);
        border: none;
        color: white;
        font-size: 36px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        cursor: pointer;
        transition: transform 0.3s ease, background 0.3s ease;
    }

        .video__center-play:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.9);
            color: black;
        }

    /* Controls floating INSIDE video */
    .video__controls {
        position: absolute;
        font-family: var(--font-family);
        bottom: 0;
        left: 48px;
        right: 48px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
        color: white;
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 4;
    }

    .video__container:hover .video__controls {
        opacity: 1;
    }

    /* Buttons */
    .video__controls button {
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
        padding: 4px;
        transition: color 0.2s ease;
    }

        .video__controls button:hover {
            color: var(--color-primary-blue);
        }

    .volume-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .volume-bar {
        width: 80px;
        margin-left: 6px;
        -webkit-appearance: none;
        height: 4px;
        background: var(--color-disabled-white);
        border-radius: 2px;
        cursor: pointer;
    }

        .volume-bar::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-primary-blue);
        }

        .volume-bar::-moz-range-thumb {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-primary-blue);
        }


    /* Seek bar */
    .seek-bar {
        flex: 1;
        -webkit-appearance: none;
        height: 4px;
        background: var(--color-disabled-white);
        border-radius: 2px;
        cursor: pointer;
    }

        .seek-bar::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-primary-blue);
        }

        .seek-bar::-moz-range-thumb {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-primary-blue);
        }

    /* #endregion */

    /* #region Footer */
    .footer.footer__facade {
        margin-top: 0;
    }

    /* #endregion */
}

/* TABLET */
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .services__item-content > img {
        height: auto;
        max-height: 335px;
    }
    /*.production__img.active{*/
    /*    max-height: 500px;*/
    /*}*/
    .production__img {
        height: auto;
    }

        .production__img.active {
            opacity: 1;
            min-height: unset;
            height: auto;
            min-width: 330px;
            width: auto;
            max-height: 420px;
            visibility: visible;
            margin: 0;
            position: relative;
            object-fit: contain;
        }

    .video__element {
        min-height: 400px;
        max-height: 400px;
        height: 100%;
    }

    .services__content {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 25px 24px;
        padding-top: 36px;
    }

    .services__title {
        padding-bottom: 0;
    }

    .services__content {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 25px 24px;
        padding-top: 36px;
    }

    .services__item-row-1 {
        grid-column: span 3;
    }

        .services__item-row-1.active,
        .services__item-row-1 {
            padding-bottom: 0;
            padding-top: 0;
        }

    .services__item-row-2 {
        grid-column: span 2;
        padding-top: 36px;
    }


    .services__item-content > picture {
        display: block;
        overflow: hidden;
        opacity: 1;
        max-height: 300px;
        transition: none;
    }

    .services__item-content-img {
        max-height: 300px;
        min-width: 0;
        height: 300px;
    }

    .services__item-content-header {
        display: flex;
        flex-direction: row;
        width: 100%;
        order: 1;
        margin-bottom: 16px;
        justify-content: space-between;
    }

    .services__item-content p {
        font-size: var(--font-body-md-size);
        font-weight: var(--font-body-md-weight);
        line-height: var(--font-body-md-line-height);
        order: 3;
        height: fit-content;
        max-height: 400px;
        padding-top: 16px;
        display: block;
        overflow: hidden;
        opacity: 1;
        transition: max-height 0.7s ease;
    }

    /* #region Production Capabilities */



    /* #endregion */

}

@media (width: 1440px) {
    .building8 {
        bottom: 6%;
        width: 244px;
        height: 375px;
        z-index: 1;
        left: 3%;
    }

    .text {
        bottom: 35%;
        font-family: var(--font-family);
        font-size: var(--font-h1-size);
        font-weight: var(--font-h1-weight);
        line-height: var(--font-h1-line-height);
        color: white;
        max-width: 350px;
    }
}
