﻿/*body {
    font-family: Arial, sans-serif;
}

.map-wrapper {
    width: 600px;
    margin: 20px auto;
}

.tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    z-index: 1000;
}
.news-card {
            background-color: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            margin-bottom: 10px;
            padding: 10px;
            transition: transform 0.3s ease;
        }

            .news-card:hover {
                transform: translateY(-3px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
.news-header {
    background-color: #f15a22;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
    display: inline-block;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 18px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

    .news-list li {
        border-bottom: 1px solid #eee;
        padding: 8px 5px;
        display: flex;
        align-items: flex-start;
        font-size: 16px;
        line-height: 1.5;
    }

        .news-list li i {
            margin-right: 8px;
            color: #000;
            font-size: 14px;
            padding-top: 4px;
        }
.map-container {
    position: relative;
    width: 80%;
    margin: 2px;
}

.img {
    position: relative;
}

    .img i {
        top: 32%;
        left: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
    }



        .img i:hover {
            color: white;
        }

.district-multicol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    padding: 10px;
}

.category-multicol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(171px, 1fr));
    gap: 10px;
    padding: 10px;
}


.district-item ul{
     list-style: disc;
    padding: 0px !important;
    margin: 0;
    }

.category-item ul {
   list-style: none;
    padding: 0px !important;
    margin: 0;
}

.list-link:hover {
    color: red !important;
}

.district-link,
.category-link {
    text-decoration: none;
    color: black;
}

    .district-link:hover,
    .category-link:hover {
        color: red !important;
    }

.modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.btn-warning {
    background-color: #ffc107;
    border: none;
}

.social-card {
    border-radius: 10px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3sec ease;
}

    .social-card:hover {
        transform: scale(1.1);
    }

.social-header {
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.social-icon {
    font-size: 3rem;
    display: inline-block;
    border-radius: 30%;
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}*/

    /* Instagram Gradient */


    /* Twitter Blue */
    /*.social-icon.twitter {
        background-color: #1e1d1d;
        color: white;
        width: 114px;
    }*/

    /* YouTube Red */
    /*.social-icon.youtube {
        background-color: #ff0000;
        color: white;
        width: 114px;
    }*/

    /* Hover Effects */
    /*.social-icon:hover {
        transform: scale(1.25) rotate(10deg);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        filter: brightness(1.15);
    }

.carousel-control-prev {
    top: 172px !important;
    margin-left: -100px !important;
}

.carousel-control-next {
    top: 172px !important;
    margin-right: -100px !important;
}*/

/* Mobile adjustments */
/*@media only screen and (max-width: 991px) {
    .district-multicol {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .category-multicol {
        grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));
    }*/

    /* Remove hardcoded margin on mobile */
  /*  .dropdown-menu {
        margin-left: 0 !important;
        width: 100% !important;
    }*/
/*}

@media only screen and (max-width: 600px) {
    .category-multicol {
        grid-template-columns: repeat(auto-fill, minmax(10px, 1fr));
    }*/


    /*test*/
    /*#mainNavbar .dropdown-menu {
     
    position: static;
    float: none;
    background-color: #fff;
    width: 100%;
    border: none;
    box-shadow: none;


    }*/
   /* @media (max-width: 767px) {*/
       /* .mobile-3col {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr);
            gap: 2px;
        }*/
      /*.mobile-3col > div {
        width: 33.33%;
     }
    

}

.section-title {
    background: linear-gradient(to right, rgb(150, 0, 0), #fbb034);
    color: white;
    padding: 10px !important;
    font-size: 1.5rem !important;
    font-weight: bold;
    text-align: center;
}*/

/* Base styles (for desktop & tablet) — unchanged */
/*.nv-carousel-card {
    width: 25rem;
    height: 20rem;
}

.nv-carousel-img {
    height: 100%;
    width: 100%;
}*/

/* 🟢 Mobile view adjustments (max width 768px) */
/*@media (max-width: 768px) {*/
    /* Base styles (for desktop & tablet) — unchanged */
    /*.nv-carousel-card {
            width: 10rem !important;
            height: 8rem !important;
        }
*/


    /*.nv-carousel-card {
        width: 100% !important;
        height: 50% !important;
    }

    .nv-carousel-header {
        font-size: 0.5rem !important;*/ /* smaller text on mobile */
        /*text-align: center;
        height: 2rem !important;
        padding-bottom: 5px !important;
    }

    .nv-carousel-img {
        height: 50px !important;
        object-fit: contain;
    }
}*/




/* ========================= */
/* BASE STYLES (UNCHANGED)  */
/* ========================= */

body {
    font-family: Arial, sans-serif;
}

.news-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    padding: 10px;
    transition: transform 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.category-multicol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(171px, 1fr));
    gap: 10px;
    padding: 10px;
}

.district-multicol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    padding: 10px;
}

.category-link,
.district-link {
    text-decoration: none;
    color: black;
}

    .category-link:hover,
    .district-link:hover {
        color: red !important;
    }

/* ========================= */
/* NAVBAR MOBILE FIX        */
/* ========================= */

@media (max-width: 991px) {

    /* Dropdown should open inline */
    #mainNavbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100% !important;
        max-height: 70vh;
        overflow-y: auto;
        background-color: #fff;
        border: none;
        box-shadow: none;
        padding: 10px;
    }

    /* ========================= */
    /* समाचार (NEWS) SUBMENU    */
    /* ========================= */

    .mobile-3col {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

        .mobile-3col > div {
            width: 100% !important;
        }

            .mobile-3col > div:nth-child(n+7) {
                display: none;
            }

    /* Category submenu */
    .category-multicol {
        grid-template-columns: repeat(4, 1fr);
    }

    /* District submenu */
    .district-multicol {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================= */
/* EXTRA SMALL MOBILE        */
/* ========================= */

@media (max-width: 480px) {

    .mobile-3col,
    .category-multicol,
    .district-multicol {
        grid-template-columns: 1fr;
    }
}
