.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.profile-photo {
    margin-right: 20px;
}

.header-title {
    text-align: center;
    margin-bottom: 30px;
    color: #343a40;
}

.certificate-table th {
    background-color: #f8f9fa; /* Light background for headers */
}

.certificate-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.certificate-table th, .certificate-table td {
    padding: 10px;
    text-align: left;
    border: none; /* Remove borders */
}

.certificate-table tr:hover {
    background-color: #f8f9fa; /* Light gray hover effect */
}

.certificate-table tr:nth-child(even) {
    background-color: #f2f2f2; /* Optional: Light gray for alternate rows */
}

.button-container {
    text-align: right;
    margin-bottom: 20px;
}

.button-container .btn {
    margin-left: 10px; /* Add space between the buttons */
}

.filter-form .filter-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between label and input/button */
}

.filter-form .filter-container .filter-label {
    font-weight: bold;
    margin-right: 5px;
}

.filter-form .filter-container .filter-input {
    width: 200px;
}

.filter-form .filter-container .filter-button {
    margin-left: 10px;
    
}
.filter-container .btn-primary {
    margin-bottom: 0px;
}
.generaltable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.generaltable th, .generaltable td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

    .video-gallery-container {
        max-width: 1000px;
        margin: auto;
        text-align: center;
    }
    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
        justify-content: center;
    }
    .video-item {
        cursor: pointer;
        text-align: center;
        position: relative;
        transition: transform 0.3s;
    }
    .video-item:hover {
        transform: scale(1.05);
    }
    .video-item img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
    }
    .video-item p {
        margin-top: 5px;
        font-weight: bold;
    }
    .video-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
    }
    .modal-content {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        position: relative;
        max-width: 800px;
        width: 90%;
    }
    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        cursor: pointer;
        color: red;
    }
    .video-item {
        position: relative;
        display: inline-block;
        text-align: center;
        margin: 10px;
    }
    
    .video-link {
        display: block;
        position: relative;
    }
    
    .video-thumbnail {
        width: 283px;
        height: 190px;
        border-radius: 8px;
        transition: opacity 0.3s;
    }

    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 20px;
        color: white;
        background: rgba(0, 0, 0, 0.6);
        padding: 16px 24px;
        border-radius: 27%;
        transition: background 0.3s, transform 0.2s;
    }
    
    .video-link:hover .play-button {
        background: rgba(0, 0, 0, 0.8);
        transform: translate(-50%, -50%) scale(1.1);
    }
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.6);
        justify-content: center;
        align-items: center;
    }

    /* Modal Content Box */
    .modal-content {
        position: relative;
        background-color: white;
        padding: 10px;
        border-radius: 8px;
        max-width: 500px; /* Choti image ke liye */
        max-height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Image Styling */
    #modalImage {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
    }

    /* Close Button */
    .close {
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
        color: black;
        background: white;
        border-radius: 50%;
        padding: 3px 7px;
    }
