        .greetings-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin: 40px 0;
            align-items: stretch; 
        }

        .greeting-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            height: 100%;        
        }

        .greeting-thumb {
            width: 100%;
            max-width: 300px;
            border: 8px solid #B99F6E;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .greeting-thumb:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .greeting-caption {
            margin-top: 15px;

            font-size: 14px;
            line-height: 1.4;
            color: #333;
            font-family: Montserrat, sans-serif;
        }


        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            padding-top: 50px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            max-width: 90%;
            max-height: 90vh;
            object-fit: contain;
            animation: zoomIn 0.3s;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 40px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

        @keyframes zoomIn {
            from { transform: scale(0.5); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

   
        @media (max-width: 768px) {
            .greetings-grid {
                grid-template-columns: 1fr;
            }
        }