#portin-page .hero {
    background-color: #fff;
    padding: 56px 0 0 0;
    position: relative;
    overflow: hidden;
}

#portin-page .hero-mobile {
    display: none;
}

#portin-page .hero-content {
    text-align: center;
    max-width: 704px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: #1f1f1f;
}

.hero-content p {
    margin: 0 auto 32px;
}

.hero-content button {
    padding: 10px 16px !important;
    border-radius: 8px;
}

#portin-page .hero h2 {
    font-size: 38px;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    line-height: 40px;
    margin-bottom: 40px;
    z-index: 100;
    position: relative;
}

#portin-page .hero p {
    font-size: 21px;
    font-weight: 400;
    line-height: 24px;
    z-index: 100;
    position: relative;
}

.hero-banner {
    width: 1024px;
    position: relative;
    margin: 0 auto;
}

.tab-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-content-title {
    margin-bottom: 28px;
    text-align: center;
}

.tabs-container {
    display: flex;
    justify-content: center;
    max-width: 704px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    overflow: hidden;
    background-color: #1f1f1f;
    border-radius: 30px;
    border: 2px solid #1f1f1f;
    margin-bottom: 40px;
    position: relative;
    z-index: 999;
    width: 100%;
}

.tab-btn {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 0;
    flex: 1;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.tab-btn.active {
    color: #1f1f1f;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
}

.tab-btn:focus {
    outline: none;
}

.tab-btn:focus {
    outline: none;
}

.tabs.two-tabs .tab-slider {
    position: absolute;
    height: 100%;
    width: 50%;
    background-color: #ffffff;
    z-index: 0;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 30px;
}

.tabs.two-tabs .tab-btn:nth-child(2).active~.tab-slider {
    left: 50%;
}

/* Slider for 3-tab layout */
.tabs.three-tabs .tab-slider {
    position: absolute;
    height: 100%;
    width: 33.3333%;
    background-color: #ffffff;
    z-index: 0;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 30px;
}

.tabs.three-tabs .tab-btn:nth-child(2).active~.tab-slider {
    left: 33.3333%;
}

.tabs.three-tabs .tab-btn:nth-child(3).active~.tab-slider {
    left: 66.6666%;
}

.toggle-link {
    font-size: 16px;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    text-align: center;
    margin-bottom: 32px;
    display: block;
    color: #FF9E1B !important;
    text-decoration: none;
    cursor: pointer;
}

#portin-page .section {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
    max-width: 704px;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
}

.steps>.step:last-child {
    margin-bottom: 0 !important;
}

.steps .step p {
    line-height: 23px;
}

#portin-page .steps-section {
    padding: 24px 0 56px 0;
    background-color: #fff;
}

#portin-page .steps-section .container {
    position: relative;
    display: grid;
    gap: 64px;
}

#portin-page .step {
    text-align: left;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 32px;
}

#portin-page .step-number {
    font-size: 12px;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    color: #1f1f1f;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#portin-page .step-number label {
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
}

#portin-page .step-info {
    margin: 0 auto;
    padding: 0 70px;
}

#portin-page .step-info p {
    font-size: 16px;
    line-height: 24px;
}

#portin-page .step-images {
    margin-top: -24px;
    margin-left: 47px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#portin-page .video-container {
    position: relative;
    width: 100%;
    max-width: 704px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    margin-bottom: 32px;
}

#portin-page .video-container video {
    border-radius: 10px;
}

#portin-page .video-mask {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.6);
    border-radius: 10px;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
}

#portin-page .video-thumbnail {
    width: 100%;
    height: 220px;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#portin-page .play-button {
    width: 60px;
    height: 60px;
    background-color: #ff9e1b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: absolute;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

#portin-page .play-button i {
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

#portin-page .video-title {
    color: #333;
    font-size: 20px;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
}

.promo-banner {
    background-color: #ff9e1b;
    color: #fff;
    border-radius: 8px;
    max-width: 704px;
    position: relative;
    overflow: hidden;
    z-index: 100;
    margin-bottom: 56px;
}

.promo-banner img {
    position: absolute;
    bottom: -30px;
    left: 7px;
    width: 109px;
    height: 151px;
}

.promo-content,
.banner-5G-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 32px 24px 136px;
}

.banner-5G-content {
    padding: 24px 32px 24px 0px !important
}

.promo-icon {
    border-radius: 8px;
    margin-right: 20px;
    width: 55px;
    height: 55px;
}

.promo-icon img {
    width: 50px;
    height: 50px;
    position: absolute;
}

.promo-text h5 {
    font-size: 21px;
    line-height: 24px;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    color: #fff;
}

.promo-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
}

.promo-button {
    background-color: #ff9e1b;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 15px;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    cursor: pointer;
    width: 127px;
}

.promo-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.banner-5G-content .promo-button {
    width: 136px;
    border-radius: 8px;
}

.faq-section {
    padding: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.faq-section .container {
    padding: 0px;
}

.faq-section .faq-title-container {
    display: flex;
    align-items: center;
}

.faq-section h2 {
    margin-left: 10px;
    font-size: 24px;
    margin-bottom: 0;
}

.faq-section h2 i {
    color: #ff9e1b;
    font-size: 24px;
    margin-right: 10px;
}

.faq-section .faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.faq-section .faq-question {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
}

.faq-section .faq-question i {
    transition: transform 0.3s;
}

.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px 0 0;
}

.faq-section .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-section .faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 15px;
}

#portin-page #allTopics .readmore-accordion-content {
    border-bottom: 1px solid #f1f1f1;
}

#portin-page #allTopics .readmore-accordion-item:first-child {
    border-top: 1px solid #f1f1f1;
}

#portin-page .readmore-accordion-item {
    overflow: hidden;
}

#portin-page .readmore-section {
    display: block;
    margin-top: 32px;
}

#portin-page .readmore-accordion {
    margin-bottom: 56px;
}

#portin-page .readmore-accordion-footer {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #1f1f1f;
}

#portin-page .readmore-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out, padding 0.2s ease-out;
    color: #1f1f1f;
    text-align: left;
}

#portin-page .readmore-accordion-content.active {
    padding-bottom: 1.5rem;
    max-height: 1000px;
    transition: max-height 0.2s ease-in, padding 0.2s ease-in;
}

.close-button-container {
    display: none
}

.portin-divider {
    width: 100%;
    background: #d5d5d5;
    margin-bottom: 56px;
}

@media (max-width: 992px) {
    #portin-page .hero h2 {
        font-size: 32px;
    }

    #portin-page .hero {
        background-color: #fff;
        padding: 60px 0;
        position: relative;
        overflow: hidden;
    }

    #portin-page .hero-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    #portin-page .container {
        padding: 0 24px;
    }

    #portin-page .hero {
        display: none;
    }

    #portin-page .hero-mobile {
        display: block;
        margin-bottom: 56px;
    }

    #portin-page .hero-mobile h2 {
        font-size: 28px;
        font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
        line-height: 32px;
        margin-bottom: 24px;
    }

    #portin-page .hero-mobile p {
        margin-bottom: 16px;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
    }

    #portin-page .hero-mobile button {
        margin: 0px auto;
    }

    #portin-page .steps-section {
        padding-top: 0;
    }

    #portin-page .steps-section .container {
        gap: 56px;
    }

    .steps {
        margin-bottom: 0px;
    }

    #portin-page .step {
        margin-bottom: 24px;
    }

    #portin-page .step h3 {
        font-size: 18px;
    }

    #portin-page .step p {
        font-size: 16px;
    }

    #portin-page .step-info {
        padding: 0;
    }

    #portin-page .step-images {
        flex-direction: row;
        align-items: center;
        margin-top: -16px;
    }

    #portin-page .step-image {
        max-height: 45px;
    }

    #portin-page .video-thumbnail {
        height: 180px;
    }

    #portin-page .play-button {
        width: 50px;
        height: 50px;
    }

    #portin-page .video-title {
        font-size: 16px;
    }

    .promo-banner {
        text-align: center;
        padding: 24px 16px 24px 120px;
    }

    .promo-banner img {
        top: 27px;
        left: 17px;
        width: 80px;
        height: 112px;
    }

    .promo-content,
    .banner-5G-content {
        flex-direction: column;
        padding: 0px;
        text-align: left;
        gap: 24px;
        align-items: flex-start;
    }

    .banner-5G-content {
        padding: 0px !important;
        padding-left: 10px !important;
    }

    .promo-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .banner-5G-content .promo-text {
        width: auto;
    }

    .promo-text h3 {
        font-size: 18px;
        margin-bottom: 5px;
        margin-left: 0;
    }

    .promo-text p {
        font-size: 14px;
        margin-left: 0px;
    }

    .promo-button {
        width: 139px;
    }

    .banner-5G-content .promo-button {
        width: 150px;
    }

    .faq-section h2 {
        font-size: 20px;
    }

    #portin-page .video-container.fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        max-width: none;
        margin: 0;
        z-index: 9999;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #portin-page .video-container.fullscreen video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #portin-page .video-container.fullscreen .play-button {
        display: none;
    }

    #portin-page .fullscreen-close {
        display: none;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        font-size: 24px;
        z-index: 10000;
    }

    #portin-page .video-container.fullscreen .fullscreen-close {
        display: block;
    }

    #portin-page .video-container {
        transition: all 0.3s ease-in-out;
        margin-bottom: 24px;
    }

    #portin-page .video-container video {
        transition: all 0.3s ease-in-out;
    }

    #portin-page .video-container.fullscreen {
        transition: all 0.3s ease-in-out;
        transform-origin: center center;
    }

    @keyframes enterFullscreen {
        from {
            transform: scale(0.9);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes exitFullscreen {
        from {
            transform: scale(1);
            opacity: 1;
        }

        to {
            transform: scale(0.9);
            opacity: 0;
        }
    }

    #portin-page .video-container.fullscreen-enter {
        animation: enterFullscreen 0.3s ease-in-out forwards;
    }

    #portin-page .video-container.fullscreen-exit {
        animation: exitFullscreen 0.3s ease-in-out forwards;
    }

    #portin-page body.video-fullscreen {
        overflow: hidden;
        background: #1f1f1f;
        /* Black background when fullscreen */
    }

    #portin-page body.video-fullscreen .hero,
    #portin-page body.video-fullscreen .hero-mobile,
    #portin-page body.video-fullscreen .step:not(:has(.video-container.fullscreen)),
    #portin-page body.video-fullscreen .promo-banner,
    #portin-page body.video-fullscreen .faq-section,
    #portin-page body.video-fullscreen footer,
    #portin-page body.video-fullscreen {
        display: none !important;
    }

    .tab-content-title {
        margin-bottom: 24px;
    }

    .tab-content-title h2 {
        font-size: 28px;
        font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    }

    .tab-content-title span {
        font-size: 16px;
    }

    .tabs {
        margin-bottom: 32px;
    }

    .toggle-link {
        margin-bottom: 24px;
    }

    .portin-divider {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    #portin-page {
        /* Hide play button when in fullscreen */
        /* Add a close button for fullscreen mode */
    }

    #portin-page .hero {
        display: none;
    }

    #portin-page .hero-mobile {
        display: block;
        margin-bottom: 56px;
    }

    #portin-page .hero-mobile h1 {
        font-size: 28px;
        font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
        line-height: 32px;
        margin-bottom: 24px;
    }

    #portin-page .hero-mobile p {
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
    }

    .tabs {
        display: flex;
        overflow: hidden;
        background-color: #1f1f1f;
        border-radius: 30px;
        border: 2px solid #1f1f1f;
        margin-bottom: 32px;
        position: relative;
        z-index: 999;
        width: 100%;
        height: 40px;
        align-items: center;
    }

    .tab-content-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 56px;
    }

    #portin-page .video-thumbnail {
        height: 160px;
    }

    #portin-page .video-container.fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100svh;
        max-width: none;
        margin: 0;
        z-index: 9999;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: env(safe-area-inset-top);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
    }

    #portin-page .video-container.fullscreen video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #portin-page .video-container.fullscreen .play-button {
        display: none;
    }

    #portin-page .fullscreen-close {
        display: none;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        font-size: 24px;
        z-index: 10000;
        align-items: center;
        justify-content: center;
    }

    #portin-page .video-container.fullscreen .fullscreen-close {
        display: flex;
    }

    #portin-page .video-container {
        transition: all 0.3s ease-in-out;
    }

    #portin-page .video-container video {
        transition: all 0.3s ease-in-out;
    }

    #portin-page .video-container.fullscreen {
        transition: all 0.3s ease-in-out;
        transform-origin: center center;
    }

    @keyframes enterFullscreen {
        from {
            transform: scale(0.9);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes exitFullscreen {
        from {
            transform: scale(1);
            opacity: 1;
        }

        to {
            transform: scale(0.9);
            opacity: 0;
        }
    }

    #portin-page .video-container.fullscreen-enter {
        animation: enterFullscreen 0.3s ease-in-out forwards;
    }

    #portin-page .video-container.fullscreen-exit {
        animation: exitFullscreen 0.3s ease-in-out forwards;
    }

    .faq-section .container {
        padding: 0px 24px;
    }

    footer.footer .container {
        padding: 0px 24px !important;
    }

    .close-button-container {
        display: none;
        position: absolute;
        top: 70px;
        left: 10px;
        z-index: 999999;
    }
}

.almost-black {
    color: #1f1f1f;
}