img {
    max-width: 100%;
}

.ah-nav {
    background: #e3bc00;
}

.rd-nav ul li a:hover {
    background: #e71d2b;

}

.rd-nav ul li:first-child a {
    background: #e71d2b;
}

.ah-candidate-party-img img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.ah-candidate-party-img {
    padding: 5px;
}

.ah-cant-ani {
    overflow: hidden;
    background-color: #e3bc00;
}

.ah-cant-ani img {
    width: 100%;
    transition: transform 0.5s ease;
    height: 300px;
    border-radius: 5px;
}

.ah-candidate-single-title {
    font-family: 'Mukta';

}

.ah-party-details {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Mukta';
    line-height: 1.4;
}

.ah-party-img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 1px solid #ddd;
    padding: 2px;
}

.single-candidate-party {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-left: 10px;
}

.ah-cant-ani:hover img {
    transform: scale(1.1);
}

.ah-candidate-table {
    background-color: #fcfcfc;
    padding: 15px;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.ah-candidate-table-desc {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

a:hover .candidate-name-single {
    text-decoration: underline;
}

.candidate-name-single {
    font-size: 18px;
    font-weight: 600;
    font-family: mukta;
    ;
}

.candidate-title-single {
    font-size: 20px;
    font-weight: 500;
}

.candidate-party {
    color: #fff;
}

.candidate-name-title {
    font-size: 22px;
    font-weight: 600;
    color: #e3bc00;
}

.ah-candidate-list-info {
    font-size: 16px;
    font-weight: 500;
}

.can-ah-age-area {
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px !important;
}

.footer-nav {
    background: #ebebeb !important;
    padding-top: 50px;
}

.footer-details h4 {
    margin: 0;
    font-size: 22px !important;
    font-weight: 600;
    color: #000000 !important;
}
.footer-details{
    color: #000000 !important;
}
.biz-info {
    font-size: 14px;
}

.can-footer-title {
    color: #000000;
    font-size: 22px;
    font-family: 'Mukta';
    font-weight: 600;
}
.footer-ah-list>li>a{
    color: #000000 !important;
    
}
.team-item-click{
    border: 1px solid #ddd;
    padding: 0px 10px;
    border-radius: 5px;
    font-size: 18px;
}
#back-top{
    background-color: #e3bc00 !important;
}
.more-ah-link{
    background-color: #e3bc00;
    color: #fff;
}
.table-border td, .table-border th {
    background-color: #e3bc00 !important;
}
::-webkit-scrollbar-thumb {
    background: #e3bc00;
}

.ah-footer-title {
    margin-top: 15px !important;
    font-size: 22px;
}

.header {
    border-top: none;
}

.ah-header-election {
    background: #e3bc00;
    border-top: none;
}
.ah-nav ul li a
{
    color: #000;
    font-weight: 600;
}.rd-nav {
    background: #e3bc00;
}
.ah-nav ul li:first-child a {
    background: #e3bc00;
}
.cat-title{
    color: #e3bc00;
}
.ah-btn-home{
    background: #e3bc00;
}
.ah-nav ul li a:hover {
    background: #e3bc00;
}
.candidate-name-wrapper {
    animation: fadeInDown 0.5s ease-out;
}

.candidate-details {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect for location links */
.location-info a {
    position: relative;
}

.location-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.location-info a:hover::after {
    width: 100%;
}

.candidate-meta {
    display: flex;
    justify-content: space-around;
}

/* Pulse animation for verified badge */
.fa-check-circle {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .candidate-name-title {
        font-size: 1.2rem !important;
    }

    .location-info {
        flex-direction: column;
        text-align: center;
    }

    .icon-circle {
        margin-bottom: 10px;
    }
}

.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.party-logo-circle {
    transition: transform 0.3s ease;
}

.hover-card:hover .party-logo-circle {
    transform: scale(1.05);
}

.party-color-bar {
    transition: height 0.3s ease;
}

.hover-card:hover .party-color-bar {
    height: 10px;
}

/* Empty State Animation */
.empty-state {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Customization */
.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.political-parties {
    font-size: 18px;
    font-family: 'Mukta';
    line-height: 1.5;
    font-weight: 500;
}

.pradesh .card .card-title {

    background: #e3bc00;
}

.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.divider-custom {
    height: 3px;
    background: linear-gradient(90deg, transparent, #e3bc00, transparent);
}

.news-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: white;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(10, 36, 114, 0.15);
}

.news-image-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: #f0f2f5;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.news-content {
    padding: 1.25rem;
}

.news-date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i {
    color: #e3bc00;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-title a {
    color: #e3bc00;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sidenav .logo {
    height: 5rem;
    background: #e3bc00 !important;
    padding: 0px 10px;
}
.sidenav .logo img {
    height: auto !important;
    }
.news-title a:hover {
    color: #4a90e2;
}

.news-excerpt {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e3bc00;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.2s ease;
}

.read-more:hover {
    gap: 0.75rem;
    color: #4a90e2;
}

.read-more i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {

    .news-image-wrapper,
    .news-image-placeholder {
        height: 180px;
    }

    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .ah-cant-ani img {
        width: auto;
        height: auto;
        border-radius: 5px;
    }

    .ah-candidate-table-desc {
        justify-content: start;
    }

    .img-item-party {
        margin-bottom: 15px;
        text-align: start;
    }
}