/* OFFICE SPACE LEARN MORE BUTTON */
.button-learn2 {
    padding: 10px 20px;
    font-size: 1.1rem;
    background-color: transparent;
    border-color: #008740;
    /* Border color for the green button */
    color: white;
    position: relative;
    width: 200px;
    height: 50px;
    transition: background-color 0.2s ease-in, all 0.15s ease-in;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Customize the ::after pseudo-element for the green button */
.button-learn2::after {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "LEARN MORE";
    /* Text for the green button */
    width: 200px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(5px, 5px);
    background-color: #008740;
    /* Background color for the green button */
    transition: all 0.15s ease-in;
    border-radius: 10px;
}

/* Hover effect for the green button */
.button-learn2:hover::after {
    transform: translate(-7px, -7px);
}

.button-learn2:hover {
    transform: translate(5px, 5px);
}

/* Active state for the green button */
.button-learn2:active::after {
    background-color: #008740;
    /* Background color for the green button in the active state */
}

/* CALENDAR EVENTS LEARN MORE BUTTON */
.button-inquire {
    padding: 10px 20px;
    font-size: 1.1rem;
    background-color: transparent;
    border-color: #008740;
    /* Border color for the green button */
    color: white;
    position: relative;
    width: 200px;
    height: 50px;
    transition: background-color 0.2s ease-in, all 0.15s ease-in;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Customize the ::after pseudo-element for the green button */
.button-inquire::after {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "INQUIRE NOW";
    /* Text for the green button */
    width: 200px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(5px, 5px);
    background-color: #008740;
    /* Background color for the green button */
    transition: all 0.15s ease-in;
    border-radius: 10px;
}

/* Hover effect for the green button */
.button-inquire:hover::after {
    transform: translate(-7px, -7px);
}

.button-inquire:hover {
    transform: translate(5px, 5px);
}

/* Active state for the green button */
.button-inquire:active::after {
    background-color: #008740;
    /* Background color for the green button in the active state */
}

.wisdom-text {
    font-size: 90px;
}

@media (max-width: 390px) {

    .wisdom-text {
        font-size: 20px;
    }

}

/* FLIPPING CARD INSIGHTS */
.card-flip {
    perspective: 1000px;
}

.card-flip:hover .flip,
.card-flip.hover .flip {
    transform: rotateY(180deg);
}

.card-flip,
.front,
.back {
    width: 100%;
    height: 480px;
}

.flip {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
}

.description-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
