/* for flip-card - start */

/* Flip Container */
.flip-image-wrapper {
    perspective: 1000px;
    position: relative;
    /* width: 300px; */
    /* Adjust as needed */
    /* height: 400px; */
    /* Adjust as needed */
}

.flip-image {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    position: relative;
}

.flip-image .front,
.flip-image .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.flip-image .front {
    z-index: 2;
}

.flip-image .back {
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
}

.flip-image-wrapper.flip-active .flip-image {
    transform: rotateY(180deg);
}


/* Arrow Styling */
/* .arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #000;
    cursor: pointer;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    background-color: #fff;
    padding: 5px 9px;
    border-radius: 50%;
    transition: background 0.3s;
}

.slide_sec:hover .arrow {
    display: block;
} */

.arrow {
    opacity: 0;
    visibility: hidden; 
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #000;
    cursor: pointer;
    z-index: 3;
    /* background-color: #fff;
    padding: 5px 9px; */
    border-radius: 50%;
    transition: opacity 0.3s, visibility 0.5s, background 0.3s; /* Add transition for smooth effect */
}

.slide_sec:hover .image-container img.arrow {
    opacity: 1; /* Fully visible */
    visibility: visible; /* Ensure it's interactable */
    /* height: 40px !important;
    width: 40px !important; */
}

/* .arrow:hover {
    background: rgba(255, 255, 255, 0.8);
} */

/* Close Button */
.close-flip {
    position: absolute;
    top: 40%;
    right: 10px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 3;
    /* background: rgba(0, 0, 0, 0.6); */
    padding: 5px 10px;
    border-radius: 50%;
}


/* for flip-card - end */

* {
    box-sizing: border-box;
}

.svg_outer {
    cursor: pointer;
}

.column {
    float: left;
    width: 50%;
    padding: 10px;
    height: 300px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    border: none;
    display: none;
    z-index: 9999;
}

#closeButton {
    position: absolute;
    /* height: 50px;
    width: 50px; */
    fill: #fff;
    top: 15px;
    right: 15px;
    /* padding:3px 3px;*/
    background-color: rgba(0, 0, 0, 0.3);
    color: #dcdcda;
    border: solid 2px #dcdcda;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    display: none;
    /* By default, hidden */
}

#closeButton:hover {
    color: white;
    border-color: white;
}

/* added for carousel */

#closeButton {
    display: none;
    position: absolute;
}

/* Class to show the close button */
.show-close-button {
    display: block !important;
    z-index: 999999 !important;
}

iframe#popupFrame {
    z-index: 999999 !important;
}