body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(to bottom right, #e9f0ff, #f7faff);
}

.header {
    background: linear-gradient(to right, white, #3E3F29);
    display: flex;
    text-align: center;
    gap: 20px;
    padding: 10px;
    position: relative;
    padding: 40px;
}

.emblem-left {
    position: absolute;
    top: 10%;
    left: 1%;
}

.emblem-left img {
    background: transparent !important;
    mix-blend-mode: multiply;
    /* Helps remove white background visually */
}


/* Center Content */
.header-content {
    text-align: center;
    flex: 1;
}

.header-content h2 {
    margin: 5px 0;
    font-size: 26px;
    font-weight: bold;
}

/* Default (Desktop View) */
.image-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    top: 20px;
    right: 50px;
}

.icon-img {
    height: 90px;
    border-radius: 8px;
}

/* Tablet View */
@media (max-width: 991px) {
    .icon-img {
        height: 70px;
    }

    .image-container {
        top: 15px;
        right: 10px;
    }
}

/* Mobile View */
@media (max-width: 600px) {
    .image-container {
        position: static;
        /* remove absolute for better responsiveness */
        justify-content: center;
        margin-top: 5px;
    }

    .icon-img {
        height: 45px;
        /* reduce size on mobile */
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .icon-img {
        height: 35px;
    }
}


/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablets */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .emblem-left img {
        height: 70px;
    }

    .header-content h2 {
        font-size: 22px;
    }
}

/* Smart Phones */
@media (max-width: 480px) {
    .emblem-left img {
        height: 60px;
    }

    .header-content h2 {
        font-size: 20px;
        padding: 5px;
    }
}


.scroll-left {
    width: 100%;
    height: 50px;
    overflow: hidden;
    position: relative;
    color: green;
    display: flex;
    align-items: center;
    border: 2px solid black;
    /* Added border properly */
    border-radius: 6px;
    /* Optional - rounded corners */
    background: #fff;
}

.scroll-left p {
    position: absolute;
    width: 50%;
    height: 100%;
    white-space: nowrap;
    margin: 0;
    line-height: 50px;
    text-align: center;
    animation: scroll-left 5s linear infinite;
    border: 1px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


.menu-bar {
    background: #d1d3ae;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

.menu-bar button {
    background: #3E3F29;
    color: white;
    border: none;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.menu-bar button:hover {
    background: #3E3F29;
}


/* Table Title */
.title {
    text-align: center;
    font-size: 32px;
    margin: 25px auto;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    padding: 20px;
    margin-top: -10px;
    border: solid #7c7d67;
    margin-bottom:5px;
}

/* Table Container */
table {
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    animation: fadeIn 0.7s ease-in-out;
    border-spacing: 0 12px;
}

/* Table Header */
th {
    background: linear-gradient(to right,  #3E3F29,   #3E3F29);
    color: #fff !important;
    padding: 14px 10px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    /* border: 1px solid black; */
}

/* Table Body */
td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    /* border: 1px solid; */
}

/* Even Row */
tr:nth-child(even) {
    background: rgba(8, 111, 130, 0.25);
}

/* Odd Row */
tr:nth-child(odd) {
    background:  #2f2f2d;
}

/* Hover Effect */
tr:hover {
    background: #d9e6fb;
    transform: scale(1.01);
    transition: 0.3s ease-in-out;
}

/* Action Buttons */
/* button {
            padding: 7px 12px;
            font-size: 14px;
            border-radius: 6px;
            cursor: pointer;
            border: none;
        }

        .edit-btn {
            background: #f4b400;
            color: #000;
            font-weight: 600;
        }

        .edit-btn:hover {
            background: #e0a000;
        }

        .delete-btn {
            background: #e03131;
            color: #fff;
            font-weight: 600;
        }

        .delete-btn:hover {
            background: #b82121;
        } */

/* Mobile Scroll Support */
@media(max-width: 700px) {
    .title {
        font-size: 20px;
    }

    table {
        display: block;
        white-space: nowrap;
    }

    th,
    td {
        font-size: 14px;
        width: 10%;
        max-width: 1000px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

footer {
    background: #384646;
    text-align: center;
    padding: 30px 0;
    color: #fff;
    margin-top: 40px;
}

.social img {
    width: 20px;
    margin: 0 5px;
}

.social a:hover img {
    transform: scale(1.12);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

footer .links {
    margin: 10px 0;
}

.gov-portal a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gov-portal img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 10px;
}

.gov-portal a:hover img {
    transform: scale(1.12);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

@media(max-width: 700px) {
    footer {
        font-size: 12px;
    }

    .gov-portal img {
        height: 30px;
        width: auto;
        object-fit: contain;
        border-radius: 8px;
        margin-top: 10px;
    }
}

/* media query इथे नीट बंद */

/* इथून पुढे बाहेर footer a काम करेल */
footer a,
footer a:visited {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
}

footer a:hover {
    color:  #21211f !important;
    text-decoration: none !important;
}

.footer-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 30%;
    /* map height */
    overflow: hidden;
    border-radius: 10px;
}

.footer-map {
    width: 100%;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 10px;
}

@media (max-width: 480px) {
    .footer-map iframe {
        height: 200px;
    }
}