/* ==========================================================================
   INDIAN INSTITUTE OF COAL MANAGEMENT (IICM) — ENTERPRISE DESIGN SYSTEM
   Apex Training & Program Management Portal | Coal India Limited
   ========================================================================== */

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

:root {
    /* Brand Colors */
    --primary-green: #07472A;
    --primary-green-dark: #042E1B;
    --primary-green-light: #0B6B40;
    --secondary-green: #0E8551;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F5DE88;
    --accent-gold-dark: #A8841F;
    --coal-dark: #071610;
    --coal-surface: #0E2219;
    --coal-card: rgba(14, 34, 25, 0.85);

    /* Neutrals & Utility */
    --bg-main: #F8FAFC;
    --bg-white: #FFFFFF;
    --surface-light: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --border-green: rgba(11, 107, 64, 0.2);

    /* Elevation & Effects */
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-dark: rgba(7, 22, 16, 0.88);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 45px rgba(0, 0, 0, 0.22);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.35);

    /* Fonts & Radii */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   TOP UTILITY / GOVT BAR
   ========================================================================== */
.top-gov-bar {
    background: #041F12;
    color: #CBD5E1;
    font-size: 12px;
    padding: 6px 5%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: relative;
    z-index: 1002;
}

.top-gov-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.gov-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.gov-flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    background: linear-gradient(180deg, #FF9933 33%, #FFFFFF 33%, #FFFFFF 66%, #138808 66%);
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.2);
}

.gov-tag {
    color: var(--accent-gold-light);
    font-weight: 600;
}

.top-util-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-util-links a {
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 500;
}

.top-util-links a:hover {
    color: var(--accent-gold-light);
}

.badge-live-date {
    background: rgba(255,255,255,0.08);
    padding: 2px 10px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 11px;
    color: #E2E8F0;
    border: 1px solid rgba(255,255,255,0.12);
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logos-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-cil, .logo-iicm {
    height: 52px !important;
    width: auto !important;
    max-height: 52px !important;
    max-width: 90px !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s ease;
}

.logo-cil:hover, .logo-iicm:hover {
    transform: scale(1.05);
}

.logo-divider {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, transparent, #CBD5E1, transparent);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-hindi {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.brand-english {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--coal-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.brand-subtext {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
}

.nav-item a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 4px;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-item a:hover {
    color: var(--primary-green);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--primary-green);
}

.btn-header-login {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: #FFFFFF !important;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(7, 71, 42, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.btn-header-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7, 71, 42, 0.35);
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
}

.btn-header-login svg {
    transition: transform 0.2s ease;
}

.btn-header-login:hover svg {
    transform: translateX(3px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--coal-dark);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION WITH CAMPUS IMAGE & GLASSMORPHISM
   ========================================================================== */
.hero-wrapper {
    position: relative;
    min-height: 640px;
    background: var(--coal-dark);
    color: var(--text-white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    filter: brightness(0.65) contrast(1.1);
    transform: scale(1.02);
    transition: transform 10s ease-out;
}

.hero-wrapper:hover .hero-bg-img {
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 30, 18, 0.94) 0%,
        rgba(7, 71, 42, 0.85) 50%,
        rgba(10, 26, 19, 0.92) 100%
    );
    z-index: 2;
}

.hero-overlay-glow {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1360px;
    margin: 0 auto;
    padding: 70px 5% 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-pill);
    color: var(--accent-gold-light);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #FFFFFF;
    letter-spacing: -0.8px;
}

.hero-title span {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 17px;
    color: #E2E8F0;
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 620px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B89225 100%);
    color: #071A11;
    font-weight: 800;
    font-size: 15.5px;
    padding: 14px 34px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #F5DE88 0%, var(--accent-gold) 100%);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Hero Right Glass Card (Quick Access Widget) */
.hero-glass-card {
    background: rgba(14, 38, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.hero-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-green));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.glass-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.glass-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-card-title span {
    color: var(--accent-gold);
}

.system-status-chip {
    font-size: 11px;
    font-weight: 700;
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ADE80;
    border-radius: 50%;
}

.role-quick-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.chip-role {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: #E2E8F0;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.chip-role:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.chip-role-icon {
    font-size: 16px;
}

.glass-action-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.glass-action-btn:hover {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   METRICS / STATS COUNTER STRIP
   ========================================================================== */
.stats-strip {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 30px;
    divide-x: 1px solid var(--border-color);
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 24px;
}

.stat-box:not(:first-child) {
    border-left: 1px solid var(--border-color);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: #EAF7F1;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   LIVE NOTICE & CIRCULAR TICKER
   ========================================================================== */
.news-ticker-section {
    background: #0B3320;
    color: #FFFFFF;
    padding: 12px 5%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.news-ticker-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.ticker-badge {
    background: #DC2626;
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 32s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 45px;
    font-size: 13.5px;
    font-weight: 500;
    color: #F1F5F9;
}

.ticker-item a {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

.ticker-item a:hover {
    color: #FFFFFF;
}

.ticker-star {
    color: var(--accent-gold);
    font-size: 11px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
    padding: 90px 5%;
    position: relative;
}

.section-alt {
    background-color: #F1F5F9;
}

.section-dark {
    background: linear-gradient(135deg, #051A10 0%, #082E1C 100%);
    color: #FFFFFF;
}

.section-header-center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #EAF7F1;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    border: 1px solid rgba(11, 107, 64, 0.2);
}

.section-dark .section-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold-light);
    border-color: rgba(212, 175, 55, 0.35);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--coal-dark);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.6px;
}

.section-dark .section-title {
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: #CBD5E1;
}

/* ==========================================================================
   ROLE PORTAL LAUNCHPAD (8 CARDS)
   ========================================================================== */
.portals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1360px;
    margin: 0 auto;
}

.portal-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: transparent;
    transition: var(--transition);
}

.portal-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-green);
    box-shadow: 0 14px 30px rgba(7, 71, 42, 0.12);
}

.portal-card:hover::before {
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
}

.portal-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.portal-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #EAF7F1;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--transition);
}

.portal-card:hover .portal-icon-wrapper {
    background: var(--primary-green);
    color: #FFFFFF;
}

.portal-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: #F1F5F9;
    color: var(--text-secondary);
}

.portal-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--coal-dark);
    margin-bottom: 8px;
}

.portal-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: #F8FAFC;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 13px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portal-btn svg {
    transition: transform 0.2s ease;
}

.portal-card:hover .portal-btn {
    background: var(--primary-green);
    color: #FFFFFF;
    border-color: var(--primary-green);
}

.portal-card:hover .portal-btn svg {
    transform: translateX(4px);
}

/* ==========================================================================
   PROGRAMS SHOWCASE & FILTER TABS
   ========================================================================== */
.programs-container {
    max-width: 1360px;
    margin: 0 auto;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.prog-tab-btn {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-color);
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.prog-tab-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.prog-tab-btn.active {
    background: var(--primary-green);
    color: #FFFFFF;
    border-color: var(--primary-green);
    box-shadow: 0 4px 14px rgba(7, 71, 42, 0.2);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.program-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.prog-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.prog-cadre-tag {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    background: #EAF7F1;
    color: var(--primary-green);
    text-transform: uppercase;
}

.prog-duration {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prog-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--coal-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.prog-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.prog-topics-list {
    list-style: none;
    margin-bottom: 24px;
}

.prog-topics-list li {
    font-size: 12.5px;
    color: var(--text-secondary);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prog-topics-list li svg {
    color: var(--secondary-green);
    flex-shrink: 0;
}

.prog-card-footer {
    display: flex;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.btn-syllabus {
    flex: 1;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-green);
    background: #FFFFFF;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-syllabus:hover {
    background: var(--primary-green);
    color: #FFFFFF;
}

.btn-nominate {
    padding: 9px 14px;
    border-radius: var(--radius-md);
    background: var(--secondary-green);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-nominate:hover {
    background: var(--primary-green);
}

/* ==========================================================================
   CAMPUS & SMART INFRASTRUCTURE SHOWCASE
   ========================================================================== */
.campus-showcase-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.campus-media-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    border: 1px solid var(--border-color);
}

.campus-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.campus-media-wrap:hover .campus-img {
    transform: scale(1.03);
}

.campus-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 30, 18, 0.95) 100%);
    color: #FFFFFF;
}

.campus-media-overlay h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold-light);
    margin-bottom: 4px;
}

.campus-media-overlay p {
    font-size: 13px;
    color: #CBD5E1;
}

.campus-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.facility-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-green);
    box-shadow: var(--shadow-md);
}

.facility-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.facility-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--coal-dark);
    margin-bottom: 4px;
}

.facility-card p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   COAL INDIA SUBSIDIARIES NETWORK MATRIX
   ========================================================================== */
.subsidiaries-section {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 5%;
}

.subsidiaries-container {
    max-width: 1360px;
    margin: 0 auto;
    text-align: center;
}

.subsidiaries-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.subsidiaries-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sub-badge {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.sub-badge:hover {
    background: #EAF7F1;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.sub-abbr {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    color: var(--primary-green);
}

.sub-loc {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   DIGITAL GOVERNANCE LIFECYCLE (WORKFLOW STEPS)
   ========================================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
}

.workflow-step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.workflow-step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.step-num-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    width: 32px;
    height: 32px;
    background: var(--accent-gold);
    color: var(--coal-dark);
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.step-icon {
    font-size: 32px;
    margin-bottom: 16px;
    margin-top: 6px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 13.5px;
    color: #CBD5E1;
    line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #CBD5E1;
}

.faq-item.active {
    border-color: var(--secondary-green);
    box-shadow: var(--shadow-sm);
}

.faq-header {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--coal-dark);
    user-select: none;
}

.faq-icon {
    font-size: 18px;
    color: var(--primary-green);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .faq-body {
    padding-bottom: 20px;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: #E2E8F0;
    color: var(--coal-dark);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   ENTERPRISE FOOTER
   ========================================================================== */
.site-footer {
    background: #041F12;
    color: #CBD5E1;
    border-top: 2px solid var(--accent-gold);
    padding: 70px 5% 30px;
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand-col {
    padding-right: 20px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logos img {
    height: 48px;
    width: auto;
    filter: brightness(0.95);
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.footer-brand-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #94A3B8;
    margin-bottom: 20px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13.5px;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.footer-contact-item {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom-bar {
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748B;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748B;
}

.footer-bottom-links a:hover {
    color: #94A3B8;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--primary-green);
    color: #FFFFFF;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE LAYOUT RULES
   ========================================================================== */
@media (max-width: 1200px) {
    .portals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }
    .hero-glass-card {
        max-width: 600px;
        margin: 0 auto;
    }
    .campus-showcase-container {
        grid-template-columns: 1fr;
    }
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }
    .stat-box:nth-child(2n+1) {
        border-left: none;
    }
}

@media (max-width: 768px) {
    .top-gov-bar {
        display: none;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        border-bottom: 2px solid var(--primary-green);
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 16px;
    }
    .nav-menu.open {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 32px;
    }
    .portals-grid {
        grid-template-columns: 1fr;
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .workflow-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-box {
        border-left: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .campus-features-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LEGACY DASHBOARD TEMPLATE SUPPORT
   (Retained for dashboard_template.html compatibility)
   ========================================================================== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    height: 100vh;
    background: var(--primary-green);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 16px rgba(0,0,0,0.1);
}

.sidebar-brand {
    padding: 24px 20px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.sidebar-nav {
    list-style: none;
    padding: 16px 0;
    flex: 1;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #d1e7dd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-item a:hover, .sidebar-item.active a {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-left: 4px solid var(--accent-gold);
}

.main-content {
    margin-left: 260px;
    width: calc(100vw - 260px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-main);
}

.top-navbar {
    position: sticky;
    top: 0;
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    flex-shrink: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb span.active {
    color: var(--primary-green);
    font-weight: 700;
}

.content-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE RULES
   ========================================================================== */
@media (max-width: 1200px) {
    .portals-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .footer-container { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr !important; padding-top: 30px !important; }
    .hero-glass-card { max-width: 580px !important; margin: 0 auto !important; }
    .campus-showcase-container { grid-template-columns: 1fr !important; }
    .programs-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .workflow-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; row-gap: 16px !important; }
    .stat-box:nth-child(2n+1) { border-left: none !important; }
}

@media (max-width: 768px) {
    .top-gov-bar { display: none !important; }
    .header-container { padding: 10px 16px !important; gap: 10px !important; }
    .logo-cil, .logo-iicm {
        height: 42px !important;
        max-height: 42px !important;
        max-width: 65px !important;
    }
    .logo-divider { height: 32px !important; }
    .brand-hindi { font-size: 11px !important; }
    .brand-english { font-size: 15px !important; }
    .brand-subtext { font-size: 9.5px !important; }
    .nav-menu {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        flex-direction: column !important;
        padding: 24px 20px !important;
        border-bottom: 2px solid var(--primary-green) !important;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18) !important;
        display: none !important;
        gap: 16px !important;
        z-index: 999 !important;
        max-height: calc(100vh - 64px) !important;
        overflow-y: auto !important;
    }
    .nav-menu.open { display: flex !important; }
    .nav-item { width: 100% !important; }
    .nav-item a { display: block !important; width: 100% !important; font-size: 15px !important; padding: 10px 0 !important; border-bottom: 1px solid #F1F5F9 !important; }
    .btn-header-login { width: 100% !important; justify-content: center !important; padding: 12px !important; font-size: 14px !important; margin-top: 8px !important; }
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: var(--radius-sm) !important;
        background: rgba(7, 71, 42, 0.08) !important;
        color: var(--primary-green) !important;
        font-size: 22px !important;
        border: 1px solid rgba(7, 71, 42, 0.15) !important;
        cursor: pointer !important;
    }
    .hero-wrapper { min-height: auto !important; }
    .hero-container { padding: 36px 16px 40px !important; gap: 28px !important; }
    .hero-title { font-size: 28px !important; line-height: 1.22 !important; }
    .hero-desc { font-size: 14.5px !important; margin-bottom: 22px !important; }
    .hero-actions { width: 100% !important; flex-direction: column !important; gap: 10px !important; }
    .btn-primary-hero, .btn-secondary-hero { width: 100% !important; justify-content: center !important; text-align: center !important; }
    .hero-glass-card { width: 100% !important; max-width: 100% !important; padding: 22px 18px !important; }
    .quick-roles-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    .stats-strip { margin: 10px 14px 0 !important; border-radius: var(--radius-md) !important; }
    .stats-grid { grid-template-columns: 1fr 1fr !important; padding: 16px !important; gap: 12px !important; }
    .stat-box { border-left: none !important; padding: 8px 4px !important; gap: 10px !important; }
    .section { padding: 48px 16px !important; }
    .section-header-center { margin-bottom: 30px !important; }
    .section-title { font-size: 26px !important; }
    .portals-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .programs-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .programs-tabs { flex-wrap: wrap !important; justify-content: center !important; gap: 6px !important; }
    .prog-tab-btn { font-size: 12.5px !important; padding: 7px 14px !important; }
    .workflow-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .footer-container { grid-template-columns: 1fr !important; gap: 30px !important; }
    .campus-features-list { grid-template-columns: 1fr !important; }
    .modal-content, .modal-box { width: 94vw !important; max-width: 94vw !important; max-height: 85vh !important; padding: 22px 18px !important; }
}

@media (max-width: 480px) {
    .header-container { padding: 8px 12px !important; gap: 6px !important; }
    .logo-cil, .logo-iicm {
        height: 36px !important;
        max-height: 36px !important;
        max-width: 50px !important;
    }
    .logo-divider { height: 26px !important; margin: 0 2px !important; }
    .brand-hindi { display: none !important; }
    .brand-english { font-size: 13.5px !important; }
    .brand-subtext { font-size: 8.5px !important; }
    .hero-title { font-size: 23px !important; line-height: 1.25 !important; }
    .hero-badge-pill { font-size: 10.5px !important; padding: 4px 12px !important; }
    .quick-roles-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
    .stats-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
    .stat-box { border-bottom: 1px solid var(--border-color) !important; padding-bottom: 10px !important; }
    .stat-number { font-size: 22px !important; }
    .section-title { font-size: 22px !important; }
    .section-desc { font-size: 13.5px !important; }
    .portal-card { padding: 20px 16px !important; }
    .program-card { padding: 18px 14px !important; }
}

