﻿.row {
justify-content:center
}

.flip-card {
    perspective: 1000px;
    overflow: hidden; /* Ensure content stays within the card */
    width: 100%;
    height: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow:hidden; /* Hide overflow to avoid scroll bars */
    display:flex;
    align-items:center;
}



.flip-card-back {
    transform: rotateY(180deg);
}

.card {
    display: flex;
    flex-direction: column; /* Ensure vertical layout */
    height: 450px; /* Set a fixed height for all cards */
    overflow: hidden;
    background-color: #F4F4F4;
    border:none;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space evenly */
    overflow: hidden;
    text-align: center; /* Center align text for a cleaner look */
    align-items:center;
}

.card-title1 {
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), /* First shadow layer */
    -1px -1px 2px rgba(255, 255, 255, 0.3); /* Second shadow layer for a subtle glow effect */
    font-family: 'Avenir Next LT Pro Light', sans-serif;
    font-weight:bold;
}

.card-title, .card-subtitle, ul, p {
    font-size: 0.8rem; /* Adjust font size to fit content */
    padding: 0.5rem;
    margin: 0;

}

.category {
    text-align: center;
    font-family: 'Avenir Next LT Pro Light', sans-serif;
}


ul.list-unstyled {
    padding-left: 0;
    list-style: none; /* Remove default list styling */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: left;
    font-family: 'Avenir Next LT Pro Light', sans-serif;
}

.bullet-points {
    text-align: left;
    width: 100%
}

@media (max-width: 1000px) {
    .bullet-points, .card-title, .card-subtitle {
        font-size: 1.2rem; /* Adjust this value to make the font larger on smaller viewports */
    }
}

.button-group {
    margin-top: 0.5rem;
    font-family: 'Avenir Next LT Pro Light', sans-serif;
}


@media (max-width: 1000px) {
    .col-md-4 {
        flex: 0 0 100%; /* Make each card take up the full width */
        max-width: 100%; /* Ensure the card doesn't exceed full width */
    }
}