ul {
    background: #fff;
    padding: 5px!important;
    border-radius: 8px;
    list-style-type: none;
}

.heading{
    font-size: 1.25rem;
}

@media (min-width: 576px) {
    .heading {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .heading {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .heading {
        font-size: 3rem;
    }
}


.deh a {
    color: black;
    min-width: 120px;
    height: 68px !important;
    align-items: center;
    display: flex;
    white-space: normal;
    line-height: 21px;
    justify-content: center;
    font-size: 12px;
}

@media (min-width: 576px) {
    .deh a {
        font-size: 14px;
        min-width: 110px;
    }
}

@media (min-width: 768px) {
    .deh a {
        font-size: 16px;
        min-width: 140px;
    }
}

@media (min-width: 992px) {
    .deh a {
        font-size: 18px;
        min-width: 160px;
    }
}

.ganna img{
    height: 150px;
    border-radius: 12px;
}
.leja{
    border-radius: 24px;
}
.fancy{
    font-size: 12px;
}

@media (min-width: 576px) {
    .fancy {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .fancy {
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .fancy {
        font-size: 20px;
    }
}

.deh img{
    height: 25px;
    width: 25px;
}

@media (min-width: 576px) {
    .deh img {
        height: 30px;
        width: 30px;
    }
}

@media (min-width: 768px) {
    .deh img {
        height: 40px;
        width: 40px;
    }
}

@media (min-width: 992px) {
    .deh img {
        height: 50px;
        width: 50px;
    }
}

.pyar button{
    width: 150px;
}

.mttr{
    font-weight:500; color:#7d7a7a; font-size:14px;
}   

.boundry{
    padding: 0px 20px;
    height: 84px;
}
#prevBtn:hover {
    background-color: #fbc61b;
    color: white;
}
#nextBtn:hover {
    background-color: #fbc61b;
    color: white;
}

/* Mobile-first responsive utilities */
@media (max-width: 575px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .deh a {
        font-size: 10px;
        min-width: 80px;
        height: 50px !important;
        padding: 4px 2px !important;
        line-height: 1.2;
    }
    
    .deh img {
        height: 20px;
        width: 20px;
    }
    
    .fancy {
        font-size: 10px;
    }
    
    .heading {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* Ensure search input is visible on mobile */
    .input-group {
        flex-direction: column !important;
    }
    
    .input-group .form-control {
        margin-bottom: 8px !important;
        font-size: 14px;
        height: 40px;
    }
    
    .input-group .btn {
        width: 100%;
        height: 40px;
        font-size: 14px;
    }
    .srchbtn{  font-size: 10px!important; width:60px!important;}
}

/* Ensure proper spacing on very small screens */
@media (max-width: 480px) {
    .deh .col-6 {
        padding: 0 2px;
    }
    
    .deh a {
        font-size: 9px;
        min-width: 70px;
        height: 45px !important;
        padding: 2px 1px !important;
    }
    
    .deh img {
        height: 18px;
        width: 18px;
    }
    
    .heading {
        font-size: 1rem;
    }
    
    .fancy {
        font-size: 9px;
    }
}

.srchbtn{
    min-height: 44px; font-size: 16px; white-space: nowrap;
}