/* Puja Section Start */
#home-puja-section {
    display: none; /* Hide the entire Popular Puja Services section */
}

.puja-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.puja-card-home {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%; /* Ensure cards are of equal height */
}

.puja-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.puja-image-home {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Cover the area, cropping if necessary */
    border-bottom: 1px solid #eee;
}

.puja-info-home {
    padding: 20px;
    flex-grow: 1; /* Allow info section to grow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.puja-info-home h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.puja-info-home p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow description to grow */
}

.sigma_btn-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF7F00; /* Orange color */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to the bottom */
}

.sigma_btn-custom:hover {
    background-color: #e67300; /* Darker orange on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .puja-grid-home {
        grid-template-columns: 1fr;
    }
}
