*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:
    Segoe UI,
    Arial,
    sans-serif;

    background:#f4f7fb;

    color:#333;
}
.yp-header{

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e40af
    );

    color:white;

    text-align:center;

    padding:30px 15px;
}

.yp-logo{

    font-size:32px;

    font-weight:700;
    border-style:solid;
    border-radius: 25%;
    margin-bottom:10px;
}

.yp-tagline{

    font-size:18px;

    opacity:.9;
}
.yp-search{

    background:white;

    padding:20px;

    text-align:center;

    box-shadow:
    0 2px 10px
    rgba(0,0,0,.08);
}

#searchBox{

    width:90%;

    max-width:700px;

    padding:14px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:16px;
}
.yp-container{

    display:flex;

    min-height:650px;
}
#leftPane{

    width:280px;

    background:white;

    border-right:
    1px solid #ddd;

    padding:20px;

    overflow-y:auto;
}

#leftPane h3{

    margin-bottom:15px;

    color:#1e40af;
}
.district-item{

    padding:6px 6px;

    margin:0 0;

    border:1px solid #ddd;

    border-radius:4px;

    cursor:pointer;

    background:white;

    transition:0.2s;
}

.district-item:hover{

    background:#e8f4ff;

    border-color:#007bff;
}
.district-item:hover{

    background:#e8f4ff;

    border-color:#007bff;

    color:#007bff;
}
.category-item{

    padding:12px;

    margin-bottom:8px;

    border-radius:8px;

    cursor:pointer;

    background:#f8fafc;

    transition:.3s;
}

.category-item:hover{

    background:#dbeafe;
}
#rightPane{

    flex:1;

    padding:25px;
}
.welcome{

    background:white;

    padding:40px;

    border-radius:10px;

    box-shadow:
    0 2px 10px
    rgba(0,0,0,.08);
}
.business-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fill,
        minmax(280px,1fr)
    );

    gap:15px;
}
.business-card{

    background:white;

    padding:18px;

    border-radius:12px;

    box-shadow:
    0 2px 10px
    rgba(0,0,0,.08);

    transition:.3s;
}

.business-card:hover{

    transform:
    translateY(-3px);
}

.business-card h3{

    color:#1e40af;

    margin-bottom:10px;
}

.business-card p{

    margin-bottom:8px;

    font-size:14px;
}
.card-buttons{

    display:flex;

    gap:10px;

    margin-top:15px;
}

.card-buttons a{

    flex:1;

    text-align:center;

    text-decoration:none;

    background:#2563eb;

    color:white;

    padding:10px;

    border-radius:6px;

    font-size:14px;
}

.yp-footer{

    background:#0f172a;

    color:white;

    text-align:center;

    padding:15px;
}
@media(max-width:768px){

    .yp-container{

        flex-direction:column;
    }

    #leftPane{

        width:100%;

        border-right:none;

        border-bottom:
        1px solid #ddd;
    }

    .yp-logo{

        font-size:24px;
    }

}

.yp-img {
  border-radius: 20px; /* Adjust the pixel value to your liking */
  height: auto;
}

.glow {
    color: #fff;
    font-size:14px;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff,
                     0 0 10px #00f,
                     0 0 15px #00f;
    }
    to {
        text-shadow: 0 0 10px #fff,
                     0 0 20px #00f,
                     0 0 30px #00f;
    }
}

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:5px 0;
}

.section-header h3{

    margin:0;

    font-size:18px;
}

.toggle-btn{

    width:25px;

    height:25px;

    border:none;

    border-radius:50%;

    cursor:pointer;
}

#panchayatList,
#categoryList{

    display:none;
}

.mini-card{

    width:200px;

    text-align:center;

    border-left:4px solid #dc3545;
}

#businessCards{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    align-items:flex-start;
}

.card{

    background:#fff;

    border:1px solid #ddd;

    border-radius:8px;

    padding:12px;

    box-shadow:0 2px 5px rgba(0,0,0,.1);

    transition:.3s;
}

/*blinking text */
.new-badge{

    display:inline-block;

    margin-left:6px;

    padding:2px 6px;

    background:#ff0000;

    color:#fff;

    font-size:11px;

    font-weight:bold;

    border-radius:4px;

    animation:pulse 1.5s infinite;
}

@keyframes pulse{

    0%{
        box-shadow:0 0 5px red;
    }

    50%{
        box-shadow:0 0 15px red;
    }

    100%{
        box-shadow:0 0 5px red;
    }
}