.custom-modal .modal-dialog {
    max-width: 80%;
    min-height: 100vh;
    margin: 2% auto;
    overflow: scroll;
    z-index: 999;

}

.modal-body {
    max-height: 100vh;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.popup-play-video {
    width: 90px;
    height: 90px;
    position: absolute;
    top: 0;
    transform: none !important;
    bottom: 0;
    z-index: 2;
    left: 0;
    cursor: pointer;
    right: 0;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.popup-play-video:hover {
    transform: none !important;
}

.pop-up-control {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    padding: 60px;
    position: relative;
}

.popup-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 33px;
    height: 33px;
    margin-top: 25px;
    margin-right: 25px;
    cursor: pointer;
}
.popup-grid-full-control {
    display: grid;
    grid-template-columns: 100%;
}
.popup-grid-control {
    display: grid;
    grid-template-columns: 70% 30%;
}

.popup-right-item-control {
    display: flex;
    flex-direction: column;
    padding: 4px;
    padding-left: 12px;
    order: 1;
}

.popup-right-header-orange {
    color: var(--orange-main);
    font-weight: bold;
    font-size: 25px;
    line-height: 1em;
}

.popup-right-normal-orange {
    color: var(--orange-main);
    font-weight: 200;
    margin-top: 8px;
    font-size: 15px;
}

.popup-right-desc-blue {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 300;
}

.popup-img-border {
    width: auto;
    height: auto;
    overflow: hidden;
    position: relative;
}

.popup-right-quote-control {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    margin-bottom: 36px;
}

.popup-right-quote-img {
    width: 60px;
    height: 60px;
    margin-top: 16px;
    margin-bottom: 16px;
    object-fit: contain;
}

.popup-right-quote-text-blue {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 900;
    margin-top: 16px;
    margin-bottom: 16px;

}

.popup-left-item-control {
    display: flex;
    flex-direction: column;
    padding: 4px;
    order: 0;
}

.popup-left-header-section-1 {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 85px;
    overflow-wrap: break-word;
    line-height: 0.95em;
    margin-top: 6px;
    margin-bottom: 6px;
}

.popup-left-sub-header-section-1 {
    color: var(--orange-main);
    font-weight: 900;
    font-size: 54px;
    margin-top: 26px;
    margin-bottom: 26px;
    line-height: 1.2em;
}

.popup-goto-top {
    margin-top: 50px;
    margin-bottom: 36px;
    width: 92px;
    height: 92px;
    margin-left: auto;
}

.popup-left-divider {
    width: 100%;
    background-color: #072165;
    height: 1px;
}

.popup-goto-top-control {
    display: flex;
    width: 100%;
}

.popup-arrow-control {
    cursor: pointer;
    display: flex;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.popup-arrow-text-prev {
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 24px;
}

.popup-arrow-title {
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 48px;
    text-align: center;
    margin-right: 48px;
    color: var(--primary-color);
}


/* Class to trigger the animation */
.animate-highlight {
    background-image: linear-gradient(to right, transparent 50%, yellow 50%);
    background-size: 200% 100%;
    animation: slideHighlight 1.5s ease-in 0.3s forwards;
  }
  
  @keyframes slideHighlight {
    from {
      background-position: 200% 0%;
    }
    to {
      background-position: 100% 0%;
    }
  }

.highlight-word {}

.popup-arrow-text-next {
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 24px;
}

.arrow {
    margin-top: auto;
    margin-bottom: auto;
    /* Rotate the entire SVG by 180 degrees around its center */
    transform: rotate(0deg);
    /* Ensures the rotation pivot is the center of the SVG */
    transform-origin: center;
    /* This transition ensures that the hover effect on the line is smooth */
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.arrow-rotate {
    margin-top: auto;
    margin-bottom: auto;
    /* Rotate the entire SVG by 180 degrees around its center */
    transform: rotate(0deg);
    /* Ensures the rotation pivot is the center of the SVG */
    transform-origin: center;
    /* This transition ensures that the hover effect on the line is smooth */
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.arrow-line {

    cursor: pointer;
    stroke-dasharray: 45;
    /* Full length of the line */
    stroke-dashoffset: 0;
    -webkit-transition: stroke-dashoffset 0.3s ease;
    transition: stroke-dashoffset 0.3s ease;
    /* Transition for a smooth effect */
}

svg:hover .arrow-line {
    stroke-dashoffset: -15;
}

/* Extra large devices (large desktops, 1400px and up) */
@media (max-width: 1400px) {

    .popup-left-header-section-1 {
        font-size: 70px;
    }

    .popup-left-sub-header-section-1 {
        font-size: 45px;
    }

    .popup-right-desc-blue {
        font-size: 14px;
    }

    .pop-up-control {
        padding: 36px 26px;
    }

    .popup-right-quote-text-blue{
        font-size: 20px;
    }

}

/* Large devices (laptops/desktops, 1200px and up) */
@media (max-width: 1200px) {
    .pop-up-control {
        padding: 36px;
    }

    .popup-left-header-section-1 {
        font-size: 70px;
    }

    .popup-left-sub-header-section-1 {
        font-size: 45px;
    }

    .popup-close {
        margin-top: 16px;
        margin-right: 16px;
    }

    .popup-grid-control {
        grid-template-columns: 100%;
    }
}


/* Medium devices (small laptops, 992px and up) */
@media (max-width: 992px) {
    .custom-modal .modal-dialog {
        max-width: 95%;
        padding: 30px;
      
    }

    .modal-body{
        /* max-height: fit-content;
        height: fit-content;
        overflow-y: scroll;
        scroll-behavior: auto;
        scrollbar-width: 0px; */
    }
    
    .pop-up-control {
        padding: 24px;
      
    }

    .popup-right-header-orange {
        font-size: 20px;
    }

    .popup-right-normal-orange {
        font-size: 14px;
        text-align: left;
    }

    .popup-right-desc-blue {
        font-size: 15px;
    }


    .popup-close {
        width: 32px;
        height: 32px;
        margin-top: 15px;
        margin-right: 15px;
    }

    .popup-left-header-section-1 {
        font-size: 70px;
    }

    .popup-left-sub-header-section-1 {
        font-size: 40px;
        text-align: left;
    }

    .popup-right-quote-text-blue {
        font-size: 18px;
        text-align: left;
    }

    .popup-goto-top {
        cursor: pointer;
        margin-left: auto;
        width: 52px;
        height: 52px;
    }

    .popup-arrow-title {
        width: 150px;
        font-size: 22px;
        line-height: 1.5em;
    }



}

@media (max-width: 768px) {


    .popup-right-normal-orange {
        font-size: 12px;
    }

    .popup-grid-control {
        display: grid;
        grid-template-columns: 100%;
    }

    .pop-up-control {
        padding: 16px;
    }

    .custom-modal .modal-dialog {
        padding: 0px;
    }

    .popup-right-item-control {
        order: 0;
    }

    .popup-left-item-control {
        order: 1;
    }

    .popup-right-header-orange {
        font-size: 14px;
        text-align: left;
        overflow-wrap: break-word;
    }

    .popup-close {
        position: absolute;
        right: 0;
        top: 0;
        width: 23px;
        height: 23px;
        margin-top: 10px;
        margin-right: 5px;
        cursor: pointer;
    }

    .popup-left-header-section-1 {
        font-size: 45px;
        overflow-wrap: break-word;
        text-align: center;
    }

    .popup-left-sub-header-section-1 {
        font-size: 28px;
        text-align: center;
    }

    .popup-right-desc-blue {
        font-size: 14px;
        margin-top: 24px;
        line-height: 1.5em;
        text-align: left;
    }

    .popup-arrow-text-prev {
        font-size: 16px;
        margin-left: 6px;
        display: none;
    }

    .popup-arrow-text-next {
        font-size: 16px;
        margin-right: 6px;
        display: none;
    }

    .popup-arrow-title {
        width: 120px;
        font-size: 16px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .popup-goto-top {
        margin-left: auto;
        cursor: pointer;
        width: 52px;
        height: 52px;
    }

    .popup-right-quote-img:nth-child(3) {
        margin-left: auto;
    }

    .popup-play-video {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 552px) {
    .custom-modal .modal-dialog {
        /* max-width: 95%;
        height: auto;
        margin: 1.5rem auto;
        overflow: scroll;
        z-index: 999; */

    }

    .popup-right-normal-orange {
        font-size: 12px;
    }

    .popup-grid-control {
        display: grid;
        grid-template-columns: 100%;
    }

    .pop-up-control {
        padding: 16px 8px;
    }

    .custom-modal .modal-dialog {
        padding: 0px;
    }

    .popup-right-item-control {
        order: 0;
    }

    .popup-left-item-control {
        order: 1;
    }

    .popup-right-header-orange {
        font-size: 14px;
        text-align: left;
        overflow-wrap: break-word;
    }

    .popup-close {
        position: absolute;
        right: 0;
        top: 0;
        width: 23px;
        height: 23px;
        margin-top: 10px;
        margin-right: 5px;
        cursor: pointer;
    }

    .popup-left-header-section-1 {
        margin-top: 14px;
        margin-bottom: 14px;
        font-size: 40px;
        line-height: 1em;
        overflow-wrap: break-word;
        text-align: center;
    }

    .popup-left-sub-header-section-1 {
        font-size: 28px;
        text-align: center;
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .popup-right-desc-blue {
        font-size: 14px;
        margin-top: 24px;
        line-height: 1.5em;
        text-align: left;
    }

    .popup-arrow-text-prev {
        font-size: 16px;
        margin-left: 6px;
        display: none;
    }

    .popup-arrow-text-next {
        font-size: 16px;
        margin-right: 6px;
        display: none;
    }

    .popup-arrow-title {
        width: 120px;
        font-size: 16px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .popup-goto-top {
     
        cursor: pointer;
        width: 42px;
        height: 42px;
    }
    .popup-right-quote-img{
        margin-top: 0px;
        margin-bottom: 0px;
    }
 

    .popup-right-quote-img:nth-child(3) {
        margin-left: auto;
       
    }

    .popup-play-video {
        width: 40px;
        height: 40px;
    }

    .popup-right-quote-control{
        margin-bottom: 24px;
    }

    .popup-left-header-section-1{
        border-top: 1px solid var(--primary-color);
        border-bottom: 1px solid var(--primary-color);
        border-width: 0.3px;
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .popup-left-divider{
       display: none;
    }

    .popup-left-divider-2{
        display: none;
    }

    .arrow-rotate{
        opacity: 0.7;
    }

    .arrow{

     opacity: 0.7;
    }
}