/* NETRA Council Clusters - Frontend Display */
/* Brand: #062A26 (deep forest green) | #00A878 (emerald green) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --ncc-dark:       #062A26;
    --ncc-green:      #00A878;
    --ncc-green-mid:  #00c98f;
    --ncc-green-pale: #d0f5eb;
    --ncc-green-ultra:#e8faf4;
    --ncc-text:       #062A26;
    --ncc-text-mid:   #2d5a52;
    --ncc-text-light: #5a8a80;
    --ncc-border:     #a8ddd0;
    --ncc-bg:         #f2fbf8;
    --ncc-white:      #ffffff;
    --ncc-radius:     14px;
    --ncc-shadow:     0 4px 24px rgba(6, 42, 38, 0.10);
}

.ncc-wrapper {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, sans-serif;
    max-width: 1320px;
    margin: 0 auto;
    color: var(--ncc-text);
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── Page Header ── */
.ncc-page-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--ncc-green-pale);
    position: relative;
}
.ncc-page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 72px;
    height: 2px;
    background: var(--ncc-green);
}
.ncc-main-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--ncc-dark);
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.ncc-main-subtitle {
    font-size: 15.5px;
    color: var(--ncc-text-mid);
    font-weight: 500;
    margin: 0;
    line-height: 1.65;
    max-width: 820px;
}

/* ── Clusters List ── */
.ncc-clusters-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Single Cluster ── */
.ncc-cluster {
    background: var(--ncc-white);
    border: 1.5px solid var(--ncc-border);
    border-radius: var(--ncc-radius);
    overflow: hidden;
    box-shadow: var(--ncc-shadow);
    transition: box-shadow 0.25s;
}
.ncc-cluster:hover {
    box-shadow: 0 8px 36px rgba(6, 42, 38, 0.14);
}

/* ── Cluster Label Row ── */
.ncc-cluster-label {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(100deg, var(--ncc-dark) 0%, #0d4a42 100%);
    padding: 16px 28px;
    position: relative;
    overflow: hidden;
}
.ncc-cluster-label::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,168,120,0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.ncc-cluster-icon {
    width: 46px;
    height: 46px;
    background: rgba(0, 168, 120, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid rgba(0, 168, 120, 0.35);
    backdrop-filter: blur(4px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.ncc-cluster-icon svg {
    width: 26px;
    height: 26px;
    stroke: #00A878;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ncc-cluster-icon .ncc-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ncc-cluster-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

/* ── Councils Grid ── */
.ncc-councils-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 22px 22px;
    background: var(--ncc-bg);
}

@media (max-width: 960px) {
    .ncc-councils-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ncc-councils-grid { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
    .ncc-cluster-name { font-size: 15px; }
    .ncc-cluster-label { padding: 14px 18px; }
    .ncc-wrapper { padding: 0 12px; }
}

/* ── Council Card ── */
.ncc-council-card {
    background: var(--ncc-white);
    border: 1.5px solid var(--ncc-border);
    border-radius: 10px;
    padding: 20px 20px 18px;
    transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
    position: relative;
    overflow: hidden;
}
.ncc-council-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--ncc-dark), var(--ncc-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}
.ncc-council-card:hover {
    box-shadow: 0 6px 24px rgba(0, 168, 120, 0.16);
    border-color: var(--ncc-green);
    transform: translateY(-2px);
}
.ncc-council-card:hover::before {
    transform: scaleX(1);
}

/* Small dot accent top-right */
.ncc-council-card::after {
    content: '';
    position: absolute;
    top: 14px; right: 16px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ncc-green-pale);
    border: 1.5px solid var(--ncc-green);
    transition: background 0.22s;
}
.ncc-council-card:hover::after {
    background: var(--ncc-green);
}

.ncc-council-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ncc-dark);
    margin: 0 0 9px;
    line-height: 1.38;
    padding-right: 12px;
}

.ncc-council-desc {
    font-size: 13px;
    color: var(--ncc-text-mid);
    margin: 0;
    line-height: 1.65;
    font-weight: 400;
}
