/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 2.5rem;
    color: #ff6600; /* Theme highlight color */
    font-weight: bold;
}

.whole {
    padding-top: 2rem;
}

/* Grid and Card Styling */
/* General card styles */
.grow-card {
    position: relative;
    perspective: 1000px; /* Required for the flip effect */
    overflow: hidden;
}

.grow-img {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Flip effect */
.grow-card:hover .grow-img {
    transform: rotateY(180deg);
    opacity: 0; /* Hides the image */
}

.grow-card .card-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    opacity: 0;
    transform: rotateY(180deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

/* Show the title and text on hover */
.grow-card:hover .card-body {
    opacity: 1;
    transform: rotateY(0deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
    margin-top: 0.5rem;
}
