.custom-container {
    max-width: 1660px;
    margin-left: auto;
    margin-right: auto;
}

 .myth {
    background: #f0ebff;
    padding: 0vw 5vw 2.5vw;
}

.btm-top-header1 {
    font-size: 4.2rem;
    letter-spacing: 2px;
    line-height: 126px;
    color: #3c236f;
    text-align: center;
    font-weight: 400;
    margin-bottom: 2vw;
}

.carousel-inner {
    width: 82%;
    transform: none !important;
}

.myth-card-item {
    padding: 0vw 0.65vw;
}

.card {
    background-color: #ffffff96; 
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    border: none;
    border-radius: 30px !important;
    cursor: pointer;
}

.card.ver-2 {
    background-color: #F0EBFF;
    min-height: 400px;
}

.card-img-top {
    /* border-radius: 30px !important; */
}

.card-body {
    padding: 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-text {
    font-size: 0.85vw;
    line-height: 1.15;
    font-weight: 400;
    flex-grow: 1;
}

.card-title {
    font-weight: 700;
    line-height: 1.15;
    font-size: 1.25vw;
    color: #57368c;
}

.carousel-control-prev {
    left: -5%;
    opacity: 1;
}

.carousel-control-next {
    right: -5%;
    opacity: 1;
}

.carousel-control-prev img {
    width: 3.8vw;
}

.carousel-control-next img {
    width: 3.8vw;
}

.carousel-indicators { 
    bottom: -15%;
}

.carousel-indicators.ver2 {
    bottom: -11%;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0vw 0.5vw;
    background-color: #fff;
}

.carousel-indicators .active {
    background-color: #8969d6 !important;
}

.sign-up {
    background: #3c236f;
    background-image: url('/images/pic-rb.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    padding: 18vw 0rem 1rem 0rem;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
/*    margin-top: -5rem;*/
}
#responseMessage{
    transform: translateX(-18%);
}

.email-container {
    width: 35%;
    padding: 0.599vw 1.0vw;
    border-radius: 50px; 
    border: 1px solid #57369c;
    font-size: 0.833vw; 
    outline: none; 
    margin-bottom: 0 !important;
}

input.email-container::placeholder {
    color: rgba(187, 187, 187, 1);
}

#emailForm a {
    margin-left: 1vw;
    padding: 0.75vw 2vw; 
    border: none;
    border-radius: 50px;
    background-color: #e7e7e7;
    color: #9770b9;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer; 
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#emailForm a:focus {
    outline: none;
}

#emailForm button {
    margin-left: 1vw;
    padding: 1vw 1.5vw; 
    border: none;
    border-radius: 50px;
    background-color: #57369c;
    color: #fff;
    font-size: 0.833vw;
    line-height: 1;
    font-weight: 700;
    cursor: pointer; 
    transition: background-color 0.3s ease;
    outline: none;
    border: none;
    box-shadow: 1px 2px 20px 3px #D2C0FF; 
}

#emailForm button:hover {
    background-color: #57369c;
    box-shadow: 0px 6px 12px #D2C0FF; 
}

#emailForm button:focus {
    outline: none;
    box-shadow: none;
}

.top-header1 {
    color: #fff;
}

.btm-header1 {
    font-weight: 300;
    text-align: center;
    color: #8969D6;
/*    color: rgba(137, 105, 214, 1);*/
    font-size: 4.375vw;
}

.btm-header1 span {
    font-weight: 700;
    font-style: italic;
    color: #57369c;
/*    color: rgba(87, 54, 156, 1);*/
}

.home-footer {
    justify-content: center;
    display: flex;
}

.home-footer-nav {
    color: white;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-footer-nav .app-logo .row {
    gap: 25px;
    margin-bottom: 25px;
}

.home-footer-nav .app-logo img {
    width: 10%;
}

.home-footer a {
    color: inherit;
}

.footer-nav {
    display: none;
}

.email-container::placeholder {
    color: #bbbbbb; 
    font-size: 0.833vw;
    opacity: 0.7; 
}

.btm-section {
    box-shadow: 0px 0px 0px 16px rgb(255, 255, 255, 0.3);
    background: rgba(254, 254, 254, 0.95);
    border-radius: 35px;
    padding: 4.167vw 0rem;
    z-index: 4;
    position: relative;
    margin-bottom: -14vw;
}

/* blur effect for box shadow */
.btm-section::before {
    content: "";
    position: absolute;
    /* ikut box-shadow px */
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    backdrop-filter: blur(2px);
    border-radius: 55px;
    z-index: -1;
}

.copyright {
    font-size: 1rem;
    color: #fff;
    line-height: 20.8px;
    text-align: center;
    margin: 1rem;
    font-weight: 300;
}

.icons {
    width: 35px;
    height: 35px;
    margin: 0 .5rem;
}

/*Popup Modal*/
.modal-open .modal {
    overflow-y: hidden;
}

.modal-backdrop.show {
    opacity: .8;
}

.modal-dialog {
    display: flex;
    align-items: center;
    min-height: 100vh !important;
}

.modal-content {
    margin: auto;
}

.modal-backdrop {
    background-color: #000000a1;
}

.modal-dialog-centered {
    max-width: 34vw;
    min-height: calc(100% - 20.5rem);
}    

.modal-dialog {
    margin: auto;
}

.custom-close {
    position: absolute;
    top: -28px;
    right: -27px;
    background-color: transparent;
    border: none;
    color: #fff;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.custom-close:focus,
.custom-close:active,
.custom-close:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.close-btn {
    font-size: 1.2vw;
}

.modal-header {
    border-bottom: none;
    padding: 1.3vw;
}

.modal-header img {
    border-radius: 1vw;
    height: 14vw;
    object-fit: cover;
}

.modal-content {
    border-radius: 30px;
}

.modal-title {
    font-size: 1.3vw;
    line-height: 1.0;
    color: #57369c;
    font-weight: 700;
}

.modal-body {
    line-height: 1.25;
    font-size: 0.85vw;
    padding: 0rem 1.5vw 2vw;
}

.myth-display {
    /* display: none; */
}

@media(max-width: 1660px) {
    #responseMessage{
        transform: translateX(-17%);
    }
    .custom-container {
        max-width: 1440px;
    }

    .custom-container button {
        font-size: 1vw;
    }

    .email-container {
/*        width: 60% !important;*/
    }

    .contact div {
        margin-top: 5rem;
    }

    .close-btn {
        font-size: 1.5vw;
    }
}

@media(max-width: 1440px) {
    .custom-container {
        max-width: 1200px;
    }

    .close-btn {
        font-size: 1.8vw;
    }

    .card.ver-2 {
        min-height: 340px;
    }

    .myth-display{
        width: 100%;
    }

    .myth-card-item {
        padding: 0vw 1.25vw;
    }

    .carousel-item.active>div>.card.tab2-card {
        background-color: #F0EBFF !important;
        padding: 0;
        width: 100%;
    }
}

/*Ipad Pro*/
@media (max-width: 1366px) and (max-height: 1024px) and (orientation: landscape) {
    .card-text {
        line-height: 14px !important;
        font-size: 0.875rem !important;
    }
}

@media(max-width: 1300px) {
    .myth {
        padding-bottom: 15rem;
    }

    .btm-top-header1 {
        font-size: 3.75rem;
    }

    .card-body, .myth-body {
        padding: 1rem 1rem !important;
    }

    .card-title {
        font-weight: 700;
        line-height: 18px;
        font-size: 1rem;
    }

    .card-text {
        line-height: 16px;
        font-size: .8rem;
    }

    .prev, .next {
        width: 30%;
    }

    .carousel-indicators li {
        width: 8px;
        height: 8px;
    }

    .email-container {
/*        width: 40% !important;*/
    }

    .btm-section {
        padding: 3rem 0rem;
/*        margin-bottom: -10rem;*/
    }

    .btm-header1 {
/*        font-size: 3.5rem;*/
    }

    .sign-up {
/*        padding: 14rem 0rem 1rem 0rem;*/
    }

    .close-btn {
        font-size: 2.0vw;
    }
}

@media(max-width: 1200px) {
    .custom-container {
        max-width: 960px;
    }

    :root {
        font-size: 12px;
    }

    .home-footer-nav {
        height: auto;
    }

    .copyright {
        line-height: 15px !important;
    }
}

@media(max-width: 1024px) and (orientation: portrait) {
    .card-container {
        width: 300px;
    }

    .icons {
        width: 20px;
        height: 20px;
    }

    .myth-body {
        padding: 2rem 2rem !important;
    }

    .carousel-control-next {
        right: -2%;
    }

    .carousel-control-prev {
        left: -2%;
    }

    .card-title {
        line-height: 30px;
        font-size: 3.7vw;
        margin: 2rem 0
    }    

    .card-text {
        font-size: 3.1vw !important;
        line-height: 1.2 !important;
    }

    .card.ver-2 {
        min-height: 260px;
    }
}

@media (max-width: 1180px) and (orientation: landscape) {
    .card-title {
        font-size: 1.68vw;
    }

    .card-text {
        font-size: 0.875rem;
    }
}

@media(max-width: 768.9px) {
    .email-container {
        width: 50% !important;
        padding: 1rem 1rem;
    }

    .custom-container button {
        font-size: 1.25rem;
    }

    #emailForm button {
        padding: 1.5vw;
        font-size: 1rem;
    }

    .sign-up {
/*        padding: 10rem 0rem 1rem 0rem;*/
    }

    .btm-section {
/*        margin-bottom: -5rem;*/
    }

    .email-container::placeholder {
/*        font-size: 1.25rem;*/
        font-size: 1.0rem;
    }

    .close-btn {
        font-size: 3.1vw;
    }

    .modal-dialog-centered {
        max-width: 85vw;
    }

    .modal-header img {
        height: 80%;
    }

    .active-card {
        padding:  0;
    }
}

@media(max-width: 992px) {
    .custom-container {
        max-width: 720px;
    }

    .myth-body {
        padding: 3rem 2rem !important;
    }

    .card-title {
        font-size: 3.7vw;
        line-height: 4.8vw;
        margin: 0;
    }

    .card-text {
        line-height: 3.5vw !important;
        font-size: 3.1vw !important;
        margin-top: 2rem;
    }

    .content1 {
        line-height: 1.3;
        font-size: 2vw;
        overflow-wrap: break-word;
    }

    .sign-up {
        background-image: url(/images/mobile-rb.png);
        background-size: 100%;
        background-position: center;
        padding: 25rem 0rem 1rem 0rem;
    }

    .btm-section {
        margin-top: 0rem;
        /*padding: 2vw 1vw;*/
        border-radius: 4vw;
        margin-bottom: -15rem;
    }

    .btm-top-header1 {
        font-size: 3.5rem;
        line-height: 48px;
    }

    .btm-header1 {
        line-height: 11vw;
        font-size: 8vw;
        padding: 0 7vw;
    }

    .email-container {
        width: 85% !important;
        height: 12vw;
        text-align: center;
        font-size: 2.5rem;
    }

    .custom-container button {
        font-size: .9rem;
    }

    .btm-section #emailForm {
        flex-direction: column;
        gap: 2vw;
        padding-bottom: 2vw;
    }
    #emailForm button {
        height: 12vw;
        font-size: 1.5rem;
        width: 85%;
    }

    #emailForm button, input.email-container::placeholder {
        font-size: 2.5rem;
    }

    .copyright {
        font-size: 1.5rem;
        line-height: 1.2 !important;
    }

    .icons {
        width: 30px;
        height: 30px;
    }

    .home-footer-nav {
        font-size: 2vw;
        /*height: 100px;*/
    }
}

@media(max-width: 768px) {
    .custom-container {
        max-width: 100%;
    }

    .slide-item {
        padding: 10px;
        margin-right: 10px;
    }

    .btm {
        border-top-left-radius: 5vw;
        border-top-right-radius: 5vw;
    }

    .ques {
        max-width: 15%;
    }

    .btm-header1 {
        font-size: 9vw;
    }

    .contact div {
        margin-top: 0;
    }

    #emailForm button, input.email-container::placeholder {
        font-size: 2rem;
    }

    .sign-up {
        padding: 20rem 0rem 1rem 0rem;
    }

    .card.tab2-card{
        min-height: 460px;
    }
}
 
@media(max-width: 576px) {
    .prev, .next {
        width: 50%;
    }

     #responseMessage{
        transform: translateX(-0%);
    }

    .card-text {
        text-align: left;
        margin-bottom: 0;
        cursor: pointer;
        font-weight: 400;
        line-height: 14.4px !important;
        color: #343434;
        font-size: 1rem !important;
    }

    .myth {
        padding-top: 0;
    }

    .carousel-item {
        padding: 0rem 1rem;
    }

    .btm-header1 {
        line-height: 1.4;
        font-size: 5.6vw;
        padding: 0 18vw;
    }

    #emailForm button, input.email-container::placeholder {
        font-size: 1.125rem;
    }

    .sign-up {
        padding: 23rem 0rem 1rem 0rem;
    }

    .home-footer {
        margin: 3rem 0rem;
    }

    .home-footer-nav .app-logo .row {
        margin-bottom: 5px;
    }

    .home-footer-nav {
        height: 70px;
        font-size: 3vw;
    }

    .home-footer-nav p {
        line-height: 1.3 !important;
    }

    /*Mobile Modal Popup*/
    .modal-content {
        padding: 1rem;
    }

    .myth-body {
        padding: 1rem 1rem 2rem 2rem !important;
    }

    .card-title {
        line-height: 15px;
        font-size: 1.25rem;
        margin: 1rem 0;
    }

    .modal-body {
        padding: 0rem 2rem 2rem 1rem;
        font-size: 1.25rem;
    }

    .custom-close {
        font-size: 24px; 
        padding: 10px;  
        background: none;
        border: none;
        position: absolute;
        top: -45px;  
        right: 0;
        z-index: 1051; 
    }

    .custom-close i {
        font-size: 20px;
        color: #fff;
    }

    #mythModalContent {
        font-size: 1rem;
        line-height: 14.4px;
    }

    .icons {
        margin: .25rem .75rem;
        width: 30px;
        height: 30px;
    }

    .copyright {
        font-size: 2.5vw;
    }

    .email-container {
        width: 85% !important;
        height: 12vw;
        text-align: center;
        font-size: 1.2rem;
    }

    .card.tab2-card{
        min-height: 360px;
    }
}

@media(max-width: 480px) {
    .card.tab2-card{
        min-height: 320px;
    }
}

@media(max-width: 400px) {
    .card.tab2-card{
        min-height: 300px;
    }
}