

/*
political parties style
*/
/* Modern Title */
.modern-title {
    font-weight: 600;
    color: #2c3e50;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

/* Party Card Styling */
.party-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.party-card .card-footer a{
        border: none;
        border-radius: 5px;
        box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
        padding: 8px 12px;
}

.party-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.party-flag {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
}

.party-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.party-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.party-card:hover .party-overlay {
    transform: translateY(0);
}

.party-card:hover .party-flag img {
    transform: scale(1.05);
}

.card-title a {
    color: #2c3e50;
    text-decoration: none;
}

.card-title a:hover {
    color: #3498db;
}

.party-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.meta-item i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Responsive Grid */
@media (max-width: 767px) {
    .party-grid .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Pagination Styling */
.pagination .page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

.pagination .page-link {
    color: #3498db;
}

/* Party Header Styles */
.party-header {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.party-logo {
    border: 1px solid #eee;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.party-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.registration-number {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Accordion Styles */
.accordion-card {
    border: none;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-card .card-header {
    background: #f8f9fa;
    border-bottom: none;
    padding: 0;
}

.accordion-card .btn-link {
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    position: relative;
}

.accordion-card .btn-link:hover {
    color: #3498db;
}

.accordion-card .btn-link:after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    transition: all 0.3s ease;
}

.accordion-card .btn-link.collapsed:after {
    transform: rotate(-90deg);
}

.accordion-card .card-body {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Leader Profile Styles */
.leader-profile {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.leader-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.leader-actions {
    margin-top: 15px;
}

.leader-actions a {
    border-radius: 4px;
    color: #2c3e50;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.leader-actions a:hover {
    color: white;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments */
/* @media (max-width: 767px) {
    .party-header .col-md-3 {
        margin-bottom: 20px;
    }

    .leader-profile .col-md-3 {
        margin-bottom: 15px;
    }
} */

/* Base Styles */
.publications-page {
    padding: 30px 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Publication Cards */
.publications-list {
    margin-bottom: 40px;
}

.publication-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.publication-info {
    flex: 1;
    padding-right: 15px;
}

.publication-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 8px;
}

.publication-desc {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: #95a5a6;
}

.meta-item i {
    margin-right: 5px;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: #3498db;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.download-btn:hover {
    background: #2980b9;
    color: white;
}

.download-btn i {
    margin-right: 5px;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 30px;
}

.page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

.page-link {
    color: #3498db;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .publication-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .publication-info {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .download-btn {
        align-self: flex-end;
    }
}




.leader-card-home {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0.5rem;
    height: 240px;
}

.leader-card-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.leader-image-container-home {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100%;
    min-height: 240px;
}

.leader-image-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leader-card-home:hover .leader-image-home {
    transform: scale(1.05);
}

.leader-content-home {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 240px;
}

.leader-name-home {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.leader-title-home {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 500;
}

.bio-button-home {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.3);
    font-size: 0.85rem;
}

.bio-button-home:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.leader-section-home {
    margin-bottom: 0.5rem;
}

.leader-section-home:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .leader-card-home {
        margin-bottom: 0.5rem;
        height: 400px !important;
        width: 200px !important;
    }
    
    .leader-content-home {
        padding: 1.2rem;
        min-height: 200px;
    }
    
    .leader-name-home {
        font-size: 1rem;
    }
    
    .leader-image-container-home {
        min-height: 200px;
    }
}

@media (min-width: 992px) {
    .leader-card-home {
        height: 240px;
    }
    
    .leader-image-container-home {
        min-height: 240px;
    }
    
    .leader-content-home {
        height: 240px;
        min-height: 240px;
    }
}


/* political leader style */

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-header {
    background: linear-gradient(135deg, #28537e 0%, #4c99e5 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.classic-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.bio-section {
    padding: 40px;
}

.leader-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.leader-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.leader-photo:hover {
    transform: translateY(-5px);
}

.leader-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.leader-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.detail-item i {
    color: #667eea;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
}

.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #764ba2;
}


.bio-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bio-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.bio-table th,
.bio-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.bio-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.bio-table tbody tr {
    transition: all 0.3s ease;
}

.bio-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateX(5px);
}

.bio-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.print-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px 5px 5px 0;
}

.contact-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-info .detail-item {
    color: white;
}

.contact-info .detail-item i {
    color: #fff;
}

@media (max-width: 768px) {
    .leader-info {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .classic-title {
        font-size: 2rem;
    }

    .bio-section {
        padding: 20px;
    }

    .bio-table {
        font-size: 0.9rem;
    }

    .bio-table th,
    .bio-table td {
        padding: 10px 8px;
    }
}
/* 
.fade-in {
    animation: fadeIn 0.8s ease-in;
} */

/* @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
} */

.section-divider {
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 40px 0;
    border-radius: 1px;
    opacity: 0.3;
} 




/* NEW Badge Styles */
.new-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 10;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse-glow 2s infinite;
    border: 2px solid white;
}

.badge-text {
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 12px;
    opacity: 0.6;
    animation: glow-pulse 2s infinite;
    z-index: 1;
}

/* Alternative blinking badge style */
.new-badge-blink {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    background: #ff4757;
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.6);
    animation: blink-fade 1.5s ease-in-out infinite;
    border: 2px solid white;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255, 107, 107, 0.6);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes blink-fade {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .new-badge {
        top: -3px;
        right: -3px;
        padding: 3px 6px;
        font-size: 9px;
    }
}

/* Enhanced hover effects for news card */
.show-more-content-news:hover .new-badge {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.6);
}

.bigContainer .Container {
    margin-top:50px !important;
    margin-bottom: 50px !important;
}
.social-icons a{
    display: block;
    padding: 5px 0;
}

.cards-news {
    height: 100% !important;
    overflow: hidden !important; /* or just remove `overflow` */
}

.cards-news img {
    height: 150px !important;
}

/* Remove fixed image height on small screens */
@media screen and (max-width: 767px) {
    .cards-news {
        height: auto !important;
    }

    .cards-news img {
        height: auto !important;
    }
}