﻿/** {
    box-sizing: border-box;
    font-weight: normal;
}
.flip-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap;   
}

.flip {
    position: relative;
    margin-bottom: 40px;
    cursor: pointer;   
    
}

    .flip > .front,
    .flip > .back {
        display: block;
        transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
        transition-duration: 1.5s;
        transition-property: transform, opacity;
    }

    .flip > .front {
        transform: rotateY(0deg);
        position: relative;
        width: 100%;
        border: .5px solid #016fbd;
        border-radius: 10px;
        width: 100%;
    }

    .flip > .back {
        position: absolute;
        opacity: 0;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        transform: rotateY(-180deg);
        border: .5px solid #fff;
        border-radius: 10px;
        width: 100%;
    }

    .flip:hover > .front {
        transform: rotateY(180deg);
    }

    .flip:hover > .back {
        opacity: 1;
        transform: rotateY(0deg);
    }

.flip {
    display: inline-block;
    width: calc(25% - 40px);
    margin-right: 40px;
}

    .flip:last-child {
        margin-right: 0; 
    }

    .flip > .front,
    .flip > .back {
        display: block;
        color: white;
        background-size: cover !important;
        background-position: center !important;
        height: 220px;
        padding: 1em 2em;
        background: linear-gradient(-135deg, #34c5af, #016fbd);
        border-radius: 10px;
    }

        .flip > .front p {
            font-size: 0.9125rem;
            line-height: 160%;
            color: #999;
        }


        .flip > .front .text-shadow.text-shadow {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50px;
            margin: 0;
            padding: 5px 2em;
            background: linear-gradient(-135deg, rgb(211, 219, 224, 0.00) 10%, rgba(52, 197, 175, 0) 10%);
            background-image: linear-gradient( -130deg, #016fbd, #34c5af);
            backdrop-filter: blur(8px);
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }
.click-here{
    cursor:pointer;
}
#mainCont{
    padding-top:10px;
}
@media (max-width: 767px) {
    .flip {
        width: 100%; 
        margin-right: 0;
    }
}


*/

* {
    box-sizing: border-box;
    font-weight: normal;
}
.flip-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 3%;
}

@media screen and (min-width: 1920px) {
    .flip-container {
        margin-left: 2%;
    }
}

@media screen and (min-width: 3840px) {
    /* For Ultra HD / 4K TVs */
    .flip-container {
        margin-left: 2%;
    }
}


@media screen and (max-width: 768px) {
    .flip {
        width: calc(50% - 10px); 
    }
}
@media (max-width: 768px) {
    .flip-container {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        padding: 10px;
    }
}
@media screen and (max-width: 480px) {
    .flip {
        width: 100%;
    }
}
    .flip {
        position: relative;
        margin-bottom: 40px;
        cursor: pointer;
        display: inline-block;
        width: calc(25% - 11px);
        margin-right: 0px;
    }

    .flip > .front,
    .flip > .back {
        display: block;
        transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
        transition-duration: 1.5s;
        transition-property: transform, opacity;
    }

    .flip > .front {
        transform: rotateY(0deg);
        position: relative;
        width: 100%;
        border: .5px solid #016fbd;
        border-radius: 10px;
        width: 100%;
    }

    .flip > .back {
        position: absolute;
        opacity: 0;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        transform: rotateY(-180deg);
        border: .5px solid #fff;
        border-radius: 10px;
        width: 100%;
    }

    .flip:hover > .front {
        transform: rotateY(180deg);
    }

    .flip:hover > .back {
        opacity: 1;
        transform: rotateY(0deg);
    }

/*.flip {
    display: inline-block;
    width: calc(25% - 40px);
    margin-right: 40px;
}*/

    .flip:last-child {
        margin-right: 0;
    }

    .flip > .front,
    .flip > .back {
        display: block;
        color: white;
        background-size: cover !important;
        background-position: center !important;
        height: 220px;
        padding: 1em 2em;
        background: linear-gradient(-135deg, #34c5af, #016fbd);
        border-radius: 10px;
    }

        .flip > .front p {
            font-size: 0.9125rem;
            line-height: 160%;
            color: #999;
        }

        .flip > .front .text-shadow.text-shadow {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50px;
            margin: 0;
            padding: 5px 2em;
            background: linear-gradient(-135deg, rgb(211, 219, 224, 0.00) 10%, rgba(52, 197, 175, 0) 10%);
            background-image: linear-gradient(-130deg, #016fbd, #34c5af);
            backdrop-filter: blur(8px);
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }

.click-here {
    cursor: pointer;
}

#mainCont {
    padding-top: 10px;
}

@media (max-width: 767px) {
    .flip {
        width: 100%;
        margin-right: 0;
    }

    .arrow {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: #016fbd;
        background: rgba(255, 255, 255, 0.7);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1;
        opacity: 0.7; /* slightly more visible */
    }

    .left-arrow {
        left: 0;
    }

    .right-arrow {
        right: 0;
    }
}

@media (min-width: 768px) {
    .arrow {
        display: none;
    }

}

