/* BACKDROP */

.rambhadra-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}


/* CONTAINER */

.rambhadra-modal-container {
    background: #fffaeb;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 85%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 768px) {
    .rambhadra-modal-container {
        flex-direction: row;
    }
}


/* LEFT SECTION */

.rambhadra-modal-left {
    width: 100%;
    min-height: 300px;
    /* background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 50%, #fef3c7 100%); */
    background: #fffaeb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .rambhadra-modal-left {
        width: 35%;
        min-height: 650px;
    }
}

.rambhadra-watermark {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rambhadra-image-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.rambhadra-modal-image {
    width: 100%;
    /* max-width: 300px; */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    outline: 5px solid #ac2623;
}


/* RIGHT SECTION */

.rambhadra-modal-right {
    width: 100%;
    height: auto;
    max-height: 650px;
    /* overflow-y: auto; */
    /* padding: 2rem; */
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
}

.rmr-fix,
.rmr-scroll {
    padding: 1.5rem;
}

.rmr-fix {
    /* background: #f7931e; */
    background: transparent;
    padding-bottom: 0px;
}

.rmr-scroll {
    overflow-y: auto;
}

@media (min-width: 768px) {
    .rambhadra-modal-right {
        width: 65%;
        min-height: 650px;
    }
}

.rambhadra-header {
    text-align: left;
    /* padding-bottom: 1rem; */
    /* border-bottom: 3px solid #fbbf24; */
}

.rambhadra-title {
    font-size: 35px;
    font-weight: 700;
    /* color: #b45309; */
    color: #ac2623;
}

.rambhadra-subtitle {
    font-size: 25px;
    /* color: #92400e; */
    color: #000;
    margin-top: 0.25rem;
}

.rambhadra-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ac2623;
    /* border-bottom: 1px solid #ac2623; */
    /* padding-left: 0.75rem; */
    margin-top: 1rem;
}

.rambhadra-section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
    margin-top: 0.5rem;
}


/* CLOSE BUTTON */

.rambhadra-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 2px solid #ac2623;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* transition: 0.3s ease; */
}

.rambhadra-close-btn:hover {
    background: #ac2623;
    color: white;
    /* transform: rotate(90deg); */
}

button.rambhadra-open-btn {
    display: inline-block;
    /* background: #f59e0b !important; */
    /* background: #fff !important; */
    background: transparent !important;
    color: #ffd700;
    /* color: #ffffff; */
    /* padding: 6px 12px;
    padding-top: 10px; */
    border-radius: 0px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    width: fit-content;
    line-height: normal;
    letter-spacing: normal;
    /* box-shadow: 0 5px 15px rgba(254, 202, 87, 0.3); */
    border: none;
    margin-top: 15px;
    border-bottom: 1px solid #ffd700;
}

button.rambhadra-open-btn:hover {
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .rambhadra-modal-left {
        padding: 25px 15px !important;
        min-height: max-content !important;
    }

    .rmr-fix,
    .rmr-scroll {
        padding: 15px !important;
    }

    .rambhadra-modal-image {
        width: 75% !important;
        border-radius: 6px !important;
    }

    .rambhadra-title {
        font-size: 25px !important;
    }

    .rambhadra-subtitle {
        font-size: 18px !important;
    }

    .rmr-fix {
        padding-bottom: 0px !important;
    }

    .rambhadra-close-btn {
        top: 22px !important;
        right: 0px !important;
        position: fixed !important;
        background: #fff !important;
        z-index: 3 !important;
    }

    .rmr-scroll {
        overflow: unset !important;
    }

    .rambhadra-modal-container {
        overflow-y: scroll !important;
    }

    .rambhadra-modal-container {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .rambhadra-modal-container {
        flex-direction: column !important;
    }

    .rambhadra-modal-right,
    .rambhadra-modal-left {
        min-height: max-content !important;
        height: max-content !important;
        width: 100% !important;
    }

    .rambhadra-title {
        font-size: 25px !important;
    }

    .rambhadra-subtitle {
        font-size: 20px !important;
    }

    .rmr-scroll {
        overflow: unset !important;
    }

    .rambhadra-modal-container {
        overflow-y: scroll !important;
    }

    .rmr-fix {
        padding-bottom: 0px !important;
    }

    .rambhadra-close-btn {
        top: 34px !important;
        right: 54px !important;
        position: fixed !important;
        background: #fff !important;
        z-index: 3 !important;
    }

    .rambhadra-modal-image {
        width: 52% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .rambhadra-title {
        font-size: 25px !important;
    }

    .rambhadra-subtitle {
        font-size: 20px !important;
    }
}

@media (min-width: 1300px) and (max-width: 1400px) {}

@media (min-width: 1400px) and (max-width: 1500px) {}