/* ============================
    ✅ Global Variables & Colors
   ============================ */
:root {
    /* Primary Theme Colors - Inspired by Nepal Flag */
    --primary-color: #B71C1C;
    /* Deep Red */
    --secondary-color: #0277bd;
    /* Deep Blue */
    --background-color: #FFFFFF;
    --text-color: #333;
    --bg-color: rgba(255, 255, 255, 0.8);
    --border-color: #e0e0e0;
}

/* ============================
    ✅ Global Body & Typography
   ============================ */
/* Add smooth scrolling to anchor links */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    margin: 0;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ============================
    ✅ Global Button Styles
   ============================ */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ============================
    ✅ Utility Classes
   ============================ */
.border-light {
    border-color: var(--border-color) !important;
}

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

/* ============================
    ✅ Section: About Nyayik Samiti
   ============================ */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.jury-about-samiti {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.jury-about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}

.jury-about-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1rem;
}

/* Video Container (Responsive YouTube Embed) */

/* .jury-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
} */

/* .jury-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

.mayor-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mayor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mayor-card .card-body {
    /* min-height: 180px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mayor-card .card-img-top {
    /* min-height: 200px; */
    width: 100%;
    object-fit: cover;
}

/* ============================
    ✅ Section: Ward Members Cards
   ============================ */
.nyayik-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 75%;
}

.nyayik-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nyayik-card .card-body {
    height: 95px;
    /* height: 180px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nyayik-card .card-img-top {
    height: 200px;
    /* height: 180px; */
    width: 100%;
    object-fit: contain;
}

.nyayik-card .card-body .card-title {
    text-align: center;
}

.nyayik-card .card-body .card-text {
    text-align: center;
}

/* ============================
    ✅ Section: Dispute Categories
   ============================ */
.dispute-categories {
    background-color: var(--bg-color);
    padding: 3rem 0;
}

.dispute-categories h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
}

.category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.25rem;
}

.category-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    list-style: none;
    transition: color 0.3s ease;
}

.category-list li:hover {
    color: var(--secondary-color);
    cursor: pointer;
}

/* ============================
    ✅ Section: Resources & Downloads
   ============================ */
.jury-resources {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.jury-download-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 400px;
    max-height: 450px;
}

.jury-download-card .card-img-top {
    min-height: 200px;
    max-height: 250px;
    object-fit: cover;
}

.jury-download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================
    ✅ Section: FAQs (Accordion)
   ============================ */
.jury-faq {
    background-color: var(--jury-bg-color);
    padding: 3rem 0;
}

.accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid var(--jury-bg-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fff;
}

/* ============================
    ✅ Responsive Design
   ============================ */
@media (max-width: 768px) {

    .jury-about-title,
    .jury-about-text {
        text-align: center;
    }

    .jury-about-samiti .row {
        text-align: center;
    }

    .jury-download-card {
        margin-bottom: 1.5rem;
    }

    .nyayik-card {
        border: none;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        width: 30%;
    }

    .nyayik-card .card-body {
        height: 95px;
        /* height: 180px; */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .nyayik-card .card-img-top {
        height: 200px;
        /* height: 180px; */
        /* width: 100%; */
        object-fit: contain;
    }

    /* .nyayik-card .card-img-top {
        min-height: 300px;
    } */
}