﻿body {
    margin: 0px;
    background-color: #eee;
}

@font-face {
    font-family: 'Kruti Dev';
    src: url('../fonts/Kruti Dev 010 Regular.ttf') format('truetype');
}

.krutidev-font {
    font-family: kruti dev;
    font-size: 18px;
}

section {
    background-color: #fff; /* Content background color */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.section_inline {
    background-color: #fff; /* Content background color */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    display: inline-block;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    width: 200px;
    height: 150px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

#lightbox {
    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;
    z-index: 999;
}

    #lightbox img {
        max-width: 80%;
        max-height: 80%;
        border: 3px solid #fff;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }


.tts_font {
    font-size: 13px;
    color: brown;
    margin: 1px;
}

.tts_textBox {
    padding: 3px 5px;
    font-size: 14px;
}

.mytbl tbody tr td,
.mytbl thead tr th {
    padding-top: 0.11rem;
    padding-bottom: 0.11rem;
}

.mytbl tr:nth-child(even) {
    background-color: #ffffff;
}

.mytbl tr:nth-child(odd) {
    background-color: #e3ffff;
}
.sidebar {
    background-color: teal;
    height: 100vh;
    overflow-y: auto;
}

.nav-link {
    transition: background-color 0.1s, color 0.1s;
}

    .nav-link:hover {
        background-color: #999;
        color: white;
    }

.collapse .nav-link {
    font-size: 0.9rem;
}



.myTbl1 {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    table-layout: fixed;
}

    .myTbl1 th, .myTbl1 td {
        padding: 1px;
        border: 1px solid #ddd;
        text-align: center;
        word-wrap: break-word;
    }

    .myTbl1 tr:nth-child(even) {
        background-color: #f5f5f5;
    }

    .myTbl1 tr:nth-child(odd) {
        background-color: #e3f4f4;
    }

    .myTbl1 tr:hover {
        background-color: #d0f0f0;
        cursor: pointer;
    }
.myTbl_ex {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

    .myTbl_ex th {
        padding: 1px;
        border: 1px solid #ddd;
        text-align: center;
        word-wrap: break-word;
        background-color: #89bec7;
        color: #04323b;
        font-weight: bold;
    }

    .myTbl_ex td {
        padding: 1px;
        border: 1px solid #89bec7;
        text-align: center;
        color: #04323b;
        word-wrap: break-word;
    }

    .myTbl_ex tr:nth-child(even) {
        background-color: #f5f5f5;
    }

    .myTbl_ex tr:nth-child(odd) {
        background-color: #e3f4f4;
    }

    .myTbl_ex tr:hover {
        background-color: #d0f0f0;
        cursor: pointer;
    }

.mytbl {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 12px;
    table-layout: auto; /* Adjust column widths according to content */
}

    .mytbl thead {
        background-color: #007BFF;
        color: #ffffff;
    }

        .mytbl thead tr th {
            padding: 8px 12px;
            text-align: left;
            border-bottom: 2px solid #0056b3;
        }

    .mytbl tbody tr td {
        padding: 6px 12px;
        border-bottom: 1px solid #ddd;
    }

    .mytbl tbody tr:nth-child(even) {
        background-color: #ffffff;
    }

    .mytbl tbody tr:nth-child(odd) {
        background-color: #e3ffff;
    }

    .mytbl tbody tr:hover {
        background-color: #cceeff;
    }

    .mytbl a {
        color: #007BFF;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .mytbl a:hover {
            text-decoration: underline;
            color: #0056b3;
        }

/* Responsive handling */
@media (max-width: 768px) {
    .mytbl thead {
        display: none;
    }

    .mytbl, .mytbl tbody, .mytbl tr, .mytbl td {
        display: block;
        width: 100%;
    }

        .mytbl tr {
            margin-bottom: 15px;
            border-bottom: 2px solid #ddd;
        }

        .mytbl td {
            padding-left: 50%;
            position: relative;
            text-align: left;
            border: none;
            border-bottom: 1px solid #eee;
        }

            .mytbl td::before {
                content: attr(data-label);
                position: absolute;
                left: 12px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: bold;
            }
}
.img-container:hover img {
    transform: scale(1.1);
    transition: transform 0.6s ease-in-out;
}

.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.search-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.featured-link {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 10px;
    margin: 5px 0;
    border-radius: 0 5px 5px 0;
}

    .featured-link:hover {
        background: #e9ecef;
        transform: translateX(5px);
        transition: 0.3s;
    }

.category-badge {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
}

.counter-box {
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    border-radius: 50px;
    padding: 20px;
    margin: 20px auto;
    width: 200px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.stats-card {
    transition: .3s;
}

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,.25);
    }