 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        /* Floating star review button */
/* Floating review button */
#reviewButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: transparent;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    width: 50px;
    height: 50px;
}

/* Review icon image */
#reviewIcon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

#reviewButton:hover #reviewIcon {
    transform: scale(1.1);
}


/* Flashing text next to the button */
#reviewHint {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #fffbe6;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    animation: flashText 1s infinite alternate;
    z-index: 9998;
}

@keyframes flashText {
    0% { opacity: 1; }
    100% { opacity: 0.5; color: orange; }
}

/* Popup box */
#ratingPopup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 250px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    padding: 15px 15px 20px 15px;
    border-radius: 10px;
    z-index: 10000;
}

/* Show the popup */
#ratingPopup.show {
    display: block;
}

/* Disable state */
#ratingPopup.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Close (X) icon styling */
#closePopup {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: red;
}

/* Header inside popup */
.popup-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Flashing header inside popup */
.popup-header.flashing {
    animation: flashText 1s infinite alternate;
}

/* Stars */
.stars {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.star {
    font-size: 24px;
    margin: 3px;
    color: #ccc;
    cursor: pointer;
}

.star.selected {
    color: gold;
}

/* Emoji */
.emoji {
    text-align: center;
    font-size: 30px;
    margin: 10px 0;
}

/* Submit button */
#ratingForm button {
    display: block;
    width: 100%;
    background-color: #28a745;
    color: white;
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#ratingForm button:hover {
    background-color: #218838;
}

#ratingForm button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Average rating box */
.average-rating {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

.avg-stars i {
    font-size: 20px;
    margin: 2px;
    color: gold;
}

        header {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 1.5rem 0;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        h1 {
            margin-bottom: 1rem;
            font-size: 2.5rem;
        }
        
        .visitor-counter {
            font-weight: 500;
            color: white;
            white-space: nowrap;
        }
        
        .logo-container {
            position: absolute;
            top: 10px;
            right: 20px;
            display: flex;
            gap: 10px;
            z-index: 999;
        }
        
        .made-in-india,
        .digital-india,
        .secure-india {
            height: 70px;
            width: auto;
        }
        
        /* Media query for mobile screens */
        @media (max-width: 768px) {
            .made-in-india,
            .digital-india,
            .secure-india {
                height: 40px;
            }

            .logo-container {
                top: 5px;
                right: 10px;
                gap: 5px;
            }
        }

        .filter-container {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
            position: relative;
        }
        
        .filter-toggle {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .filter-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .filter-toggle.active {
            background: white;
            color: #6a11cb;
            border-color: white;
        }
        
        .filter-options {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            border-radius: 10px;
            padding: 1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-top: 0.5rem;
            display: none;
            flex-direction: column;
            gap: 0.5rem;
            z-index: 100;
            min-width: 150px;
        }
        
        .filter-options.show {
            display: flex;
        }
        
        .filter-btn {
            background: #f8f9fa;
            border: none;
            color: #333;
            padding: 0.7rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
        }
        
        .filter-btn:hover {
            background: #e9ecef;
        }
        
        .filter-btn.active {
            background: #6a11cb;
            color: white;
        }
        
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        .subtitle {
            margin-top: 50px;
            font-size: 1.1rem;
            font-weight: 300;
            opacity: 0.9;
            letter-spacing: 0.5px;
            margin-bottom: 0;
        }
        
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
       .card-image {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Changed from 'cover' to 'contain' */
    display: block;
    background-color: #f8f9fa; /* Added background for better appearance */
    padding: 5px; /* Added padding for better spacing */
}

/* Optional: Add a container to control the image display better */
.card-image-container {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.card-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
        
        .card-content {
            padding: 1.5rem;
        }
        
        .card-title {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #444;
        }
        
        .prompt-text {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            font-size: 0.9rem;
            line-height: 1.5;
            border-left: 4px solid #6a11cb;
            max-height: 120px;
            overflow-y: auto;
        }
        
        .button-container {
            display: flex;
            gap: 10px;
            margin-top: 1rem;
        }
        
        .copy-btn {
            background: #6a11cb;
            color: white;
            border: none;
            padding: 0.7rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex: 1;
        }
        
        .copy-btn:hover {
            background: #5a0db5;
        }
        
        .youtube-btn {
            background: #FF0000;
            color: white;
            border: none;
            padding: 0.7rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 50px;
        }
        
        .youtube-btn:hover {
            background: #CC0000;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 2rem 0;
            align-items: center;
        }
        
        .page-btn {
            background: #6a11cb;
            color: white;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s ease;
        }
        
        .page-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        
        .page-info {
            display: flex;
            align-items: center;
            font-weight: 600;
        }
        
        .no-results {
            text-align: center;
            padding: 3rem;
            grid-column: 1 / -1;
            color: #666;
        }
        
        .toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #4CAF50;
            color: white;
            padding: 1rem 2rem;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1000;
        }
        
        .toast.show {
            opacity: 1;
        }
        
        @media (max-width: 768px) {
            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            h1 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 480px) {
            .gallery {
                grid-template-columns: 1fr;
            }
            
            .filter-container {
                flex-direction: column;
                align-items: center;
            }
            
            .filter-toggle {
                width: 80%;
            }
            
            .button-container {
                flex-direction: column;
            }
            
            .youtube-btn {
                width: 100%;
            }
        }