        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            overflow-y: auto;
        }
        
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 30px;
            width: 80%;
            max-width: 800px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
                .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #333;
        }
        
        .modal-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        
        .modal-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #222;
        }
        
        .modal-date {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 20px;
            display: block;
        }
        
        .modal-body {
            line-height: 1.6;
            color: #444;
        }
        
        .news-card {
            cursor: pointer;
            /* rest of the styles remain the same */
        }
    
        .news-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .news-card {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            height: 400px;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
        }
        
        .news-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .news-content {
            padding: 15px;
            position: relative;
            z-index: 2;
            background: white;
            height: 200px;
            display: flex;
            flex-direction: column;
        }
        
        .news-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #333;
        }
        
        .news-excerpt {
            color: #666;
            flex-grow: 1;
        }
        
        .news-date {
            color: #888;
            font-size: 0.8rem;
            margin-top: 10px;
        }
        
        /* Crystal Fade Effect */
        .crystal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
            opacity: 0;
            transition: opacity 5s ease;
            z-index: 3;
            pointer-events: none;
        }
        
        .news-card:hover .crystal-overlay {
            opacity: 1;
            animation: crystalSparkle 5.5s ease-in-out;
        }
        
        @keyframes crystalSparkle {
            0% {
                background-position: 0% 0%;
                opacity: 0;
            }
            20% {
                opacity: 1;
            }
            100% {
                background-position: 100% 100%;
                opacity: 0;
            }
        }