/* ── waste-to-energy.css ── */

body {
    font-family: 'Poppins', sans-serif;
    background: var(--pg);
    margin: 0; padding-top: 0;
    color: var(--t1); font-size: 14px; line-height: 1.6;
}

/* header overrides — subpage: always solid white, always dark text */
.ireda-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(30,58,138,.08) !important; }
.header-bg-overlay { background: var(--white) !important; backdrop-filter: none !important; opacity: 1 !important; }
.ireda-header .nav-link,
.ireda-header .glass-btn { color: var(--blue) !important; text-shadow: none !important; }
.ireda-header .utility-link,
.ireda-header .utility-lang-btn,
.ireda-header .utility-font-btn { color: var(--t3) !important; }
.ireda-header .utility-divider { color: var(--border) !important; }
.ireda-header .col-lg-2 img { filter: none !important; opacity: 1 !important; }

/* ── Sidebar child items ── */
.sb-item--parent {
    width: 100%; background: none; border: none;
    font-family: 'Poppins', sans-serif;
    text-align: left; cursor: pointer;
    justify-content: space-between;
}
.sb-item--parent .sb-chevron {
    font-size: .72rem; color: var(--t3);
    transition: transform .28s var(--ease);
    margin-left: auto; flex-shrink: 0;
}
.sb-item--parent.active .sb-chevron { transform: rotate(180deg); }
.sb-children {
    padding-left: .5rem;
    border-left: 2px solid var(--pale);
    margin-left: 1rem; margin-bottom: .3rem;
}
.sb-item--child {
    font-size: 13px !important; padding: .6rem .9rem !important;
    border-radius: 0 8px 8px 0 !important;
}
.sb-icon--child {
    width: 22px !important; height: 22px !important;
    border-radius: 5px !important; font-size: .65rem !important;
}
.sb-item--child.active {
    background: var(--G) !important; color: var(--white) !important;
    border-radius: 8px !important; font-weight: 600;
}
.sb-item--child.active .sb-icon--child {
    background: rgba(255,255,255,.18) !important; color: var(--white) !important;
}

/* ── IMAGE GALLERY ── */
.sector-gallery {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem; margin-bottom: 2rem;
}
.sector-gallery-item {
    border-radius: var(--r2); overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(160deg, var(--xpale), var(--pale));
    box-shadow: var(--s1);
}
.sector-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform .4s var(--ease);
}
.sector-gallery-item:hover img { transform: scale(1.04); }
.sector-gallery-item-fallback {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: .5rem; font-size: .75rem; color: var(--t3); font-weight: 500;
}
.sector-gallery-item-fallback i { font-size: 2rem; color: var(--mid); opacity: .35; }

/* ── TWO-COLUMN LAYOUT for project types + industries ── */
.wte-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-bottom: 0;
    align-items: start;
}
.wte-col-card { margin-bottom: 0 !important; }

/* ── CONTENT CARD ── */
.sector-content-card {
    background: var(--white); border-radius: var(--r1);
    box-shadow: var(--s2); border: 1px solid rgba(37,99,235,.05);
    overflow: hidden; margin-bottom: 1.5rem;
}
.sector-content-card::before {
    content: ''; display: block; height: 4px; background: var(--G);
}
.sector-content-body {
    padding: 2rem 2.4rem;
    font-size: .94rem; color: var(--t2); line-height: 1.9;
}
.sector-content-body p { margin: 0 0 1.1rem; }
.sector-content-body p:last-child { margin: 0; }
.sector-content-body strong { color: var(--blue); font-weight: 600; }

/* ── SECTION HEADING ── */
.sector-sec-head {
    font-size: .82rem; font-weight: 800;
    color: var(--blue); text-transform: uppercase;
    letter-spacing: 1.5px; margin: 2rem 0 .9rem;
    padding-bottom: .5rem; border-bottom: 2px solid var(--pale);
    position: relative;
}
.sector-sec-head:first-child { margin-top: 0; }
.sector-sec-head::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 32px; height: 2px; background: var(--G);
}

/* ── SCHEMES / BULLET LIST ── */
.schemes-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.schemes-list li {
    display: flex; align-items: flex-start;
    gap: .75rem; padding: .55rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: .9rem; line-height: 1.7; color: var(--t2);
}
.schemes-list li:first-child { padding-top: 0; }
.schemes-list li:last-child  { border-bottom: none; padding-bottom: 0; }
.schemes-list li::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--mid); flex-shrink: 0; margin-top: .58rem;
}

/* ── INDUSTRY NUMBERED LIST ── */
.wte-industry-list {
    list-style: none; padding: 0; margin: 0;
}
.wte-industry-list li {
    display: flex; align-items: center; gap: .75rem;
    padding: .52rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: .9rem; color: var(--t2);
}
.wte-industry-list li:first-child { padding-top: 0; }
.wte-industry-list li:last-child  { border-bottom: none; padding-bottom: 0; }
.wte-ind-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--G); color: var(--white);
    font-size: .66rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── APPROVALS NUMBERED LIST ── */
.wte-approval-list {
    list-style: none; padding: 0; margin: 0;
}
.wte-approval-list li {
    display: flex; align-items: flex-start; gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: .9rem; color: var(--t2); line-height: 1.65;
}
.wte-approval-list li:first-child { padding-top: 0; }
.wte-approval-list li:last-child  { border-bottom: none; padding-bottom: 0; }
.wte-appr-num {
    width: 24px; height: 24px; border-radius: 6px;
    background: var(--xpale);
    border: 1px solid var(--pale);
    color: var(--blue);
    font-size: .68rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: .1rem;
}

/* ── OFFICERS TABLE ── */
.officers-table-wrap {
    overflow-x: auto; border-radius: var(--r2);
    border: 1px solid var(--border);
}
.officers-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.officers-table th {
    background: var(--G); color: var(--white);
    padding: .75rem 1rem; font-size: .7rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    text-align: left; white-space: nowrap;
}
.officers-table td {
    padding: .75rem 1rem; color: var(--t2);
    border-bottom: 1px solid #f1f5f9; vertical-align: middle;
}
.officers-table tr:last-child td { border-bottom: none; }
.officers-table tr:hover td { background: var(--xpale); }
.officers-table td a { color: var(--mid); text-decoration: none; transition: color .2s; }
.officers-table td a:hover { color: var(--blue); text-decoration: underline; }
.officers-table .sl-no { color: var(--t3); font-weight: 500; }

/* ── NOTE BOX ── */
.sector-note {
    background: var(--xpale); border-left: 4px solid var(--mid);
    border-radius: 0 var(--r3) var(--r3) 0;
    padding: 1rem 1.4rem; font-size: .86rem; color: var(--t2);
    margin-bottom: 1rem; display: flex; align-items: flex-start; gap: .65rem;
}
.sector-note i { font-size: .9rem; color: var(--mid); flex-shrink: 0; margin-top: .18rem; }
.sector-note a { color: var(--mid); font-weight: 600; }
.sector-note a:hover { color: var(--blue); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .sector-gallery { grid-template-columns: repeat(2, 1fr); }
    .sector-content-body { padding: 1.5rem 1.25rem; }
    .wte-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .sector-gallery { grid-template-columns: 1fr; }
    .officers-table { font-size: .78rem; }
    .officers-table th, .officers-table td { padding: .6rem .75rem; }
}
@media print {
    .sector-content-card { box-shadow: none; border: 1px solid #ccc; }
    .wte-two-col { grid-template-columns: 1fr; }
}