.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    cursor: grab;
    transform: rotateX(-30deg) rotateY(-45deg);
    /* Change cursor to grab when hovering over the cube */
}

.cube:active {
    cursor: grabbing;
    /* Change cursor to grabbing when the cube is being dragged */
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border: 2px solid #000;
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.face-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal styles */
.video-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black background with opacity */
    justify-content: center;
    /* Center the video */
    align-items: center;
    /* Center the video */
}

.video-modal .face-video {
    width: 80%;
    /* Almost full screen */
    height: auto;
    /* Maintain aspect ratio */
}

.close-video {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}


/* ===================================
   Counters
====================================== */

.counter-list {
    margin: 0;
    padding-top: 25px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.counter-item {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.counter-item i {
    font-size: 36px;
}

.counter-item .counter-number {
    font-size: 32px;
    margin: 5px 0;
}

.counter-item .sub-title {
    font-weight: 400;
    line-height: 1.2;
}

/* .service-card {
    background-image: url("../images/services/1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.67);
    z-index: 1;
}

.service-card .content {
    position: relative;
    z-index: 2;
    text-align: center;
} */


@media (min-width: 1025px) {
    .tt-hac-item {
        position: relative;
        flex: 1 1;
        background-color: var(--tt-bg-color);
        padding: clamp(15px, 3vw, 35px);
        border: 1px solid var(--tt-border-color);
        border-radius: 25px;
        transition: flex-grow .6s cubic-bezier(.38, .005, .215, 1), margin .6s cubic-bezier(.38, .005, .215, 1), background .6s cubic-bezier(.38, .005, .215, 1), color .6s cubic-bezier(.38, .005, .215, 1);
        will-change: flex-grow, margin-left, color;
    }
}


.invalidInput {
    border: 2px solid #dc3545 !important;
}

.feedback {
    color: #dc3545;
}