:root {
    --primary-red: #E8252C;
    --primary-green: #005500;
    --accent-white: #FFFFFF;
    --neutral-light: #F5F5F5;
    --neutral-dark: #333333;
}

* {
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation - FIXED */
.navbar {
    background-color: var(--accent-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 0;
    padding: 0;
}

.party-logo-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.party-symbol {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.party-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.party-text .name {
    font-weight: 700;
    color: var(--primary-green) !important;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
}

.party-text .title {
    font-size: 12px;
    font-weight: 300;
    color: #666;
    line-height: 1.2;
    margin: 0;
}

.navbar-toggler {
    border: 1px solid var(--primary-green);
    padding: 5px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 85, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: 500;
    color: var(--primary-green) !important;
    margin: 0 5px;
    text-align: center;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.btn-bnp {
    background-color: var(--primary-red);
    color: white;
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}

.btn-bnp:hover {
    background-color: #b81e17;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bnp_cover.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f9f9f9, transparent);
}

.hero-slogan {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 100%;
}

.hero-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
}

.btn-join {
    background-color: var(--primary-red);
    color: white;
}

.btn-support {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-support:hover {
    background-color: white;
    color: var(--primary-green);
}

.leader-portrait {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Section Styling */
.section-title {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.8rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--primary-red);
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.card-bnp {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.card-bnp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header-bnp {
    background-color: var(--primary-green);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 1rem;
}

/* Policy Cards */
.policy-icon {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Statistics */
.stat-item {
    text-align: center;
    padding: 25px 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Gallery */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 180px;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    font-size: 1.2rem;
}

.footer h5::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Sheaf of Paddy Symbol */
.sheaf-symbol {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(218, 37, 28, 0.1);
    z-index: -1;
    transform: rotate(-15deg);
}

/* Responsive Adjustments - FIXED */
@media (max-width: 768px) {
    .navbar-brand {
        max-width: 80%;
    }
    
    .party-text .name {
        font-size: 14px;
    }
    
    .party-text .title {
        font-size: 11px;
    }
    
    .hero-slogan {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
    }
    
    .leader-portrait {
        margin-top: 30px;
        max-height: 300px;
    }
    
    .section-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card-header-bnp {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .nav-link {
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .btn-bnp {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-slogan {
        font-size: 1.5rem;
    }
    
    .party-text .name {
        font-size: 12px;
    }
    
    .party-text .title {
        font-size: 10px;
    }
    
    .party-symbol {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .navbar-brand {
        max-width: 75%;
    }
    
    .party-text .name {
        font-size: 11px;
    }
    
    .party-text .title {
        font-size: 9px;
    }
}

/* Fix for donation buttons on mobile */
.donation-amount {
    flex: 1;
    min-width: calc(50% - 10px);
    margin-bottom: 10px;
}

/* Fix for events list on mobile */
.list-group-item {
    flex-direction: column;
    align-items: flex-start !important;
}

.list-group-item .text-end {
    width: 100%;
    text-align: left !important;
    margin-top: 10px;
}

.lead{
    font-size: 14px;
}
/* 31 Point Charter Styles */
.charter-point-card {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 85, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 85, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.charter-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 85, 0, 0.15);
    border-color: var(--primary-green);
}

.charter-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-red));
}

.point-number {
    margin-bottom: 15px;
    text-align: center;
}

.number-badge {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), #006600);
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 40px;
    box-shadow: 0 4px 8px rgba(0, 85, 0, 0.2);
}

.point-content {
    text-align: center;
}

.point-title {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
}

.point-desc {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 65px;
}

.btn-view-details {
    background: transparent;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-view-details:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 37, 44, 0.2);
}

/* Modal Styles */
.modal-header {
    background: linear-gradient(to right, rgba(0, 85, 0, 0.05), rgba(232, 37, 44, 0.05));
    border-bottom: 2px solid var(--primary-green);
    padding: 20px;
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-badge {
    background: var(--primary-green);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 85, 0, 0.2);
}

.modal-title-text {
    color: var(--primary-green);
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 25px;
}

.language-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #eee;
}

.language-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lang-label {
    display: flex;
    align-items: center;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.lang-content {
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
}

.modal-footer {
    padding: 15px 25px;
    background: rgba(0, 85, 0, 0.02);
    border-top: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .charter-point-card {
        padding: 15px 12px;
    }
    
    .number-badge {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1.1rem;
    }
    
    .point-title {
        font-size: 0.95rem;
    }
    
    .point-desc {
        font-size: 0.8rem;
        min-height: 55px;
    }
    
    .btn-view-details {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .col-6 {
        width: 50%;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-badge {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-title-text {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .charter-point-card {
        padding: 12px 10px;
    }
    
    .point-desc {
        min-height: 60px;
        font-size: 0.78rem;
    }
    
    .btn-view-details {
        padding: 4px 10px;
        font-size: 0.78rem;
    }
    
    .modal-dialog {
        margin: 5px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer > div {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 400px) {
    .col-6 {
        width: 100%;
    }
    
    .charter-point-card {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* audio */
.audio-player {
    position: fixed;
    bottom: 15px;
    right: 0;
    transform: translateX(-50%);
    background: var(--primary-red);
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    z-index: 9999;
}

.audio-player button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}