/* 
   Gold Theme - Premium Override for Department Common CSS
   Extracted from Recognitions Page
*/

:root {
    --gold: #fbbf24;
    --gold-dark: #d97706;
    --gold-light: #fae8a4;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --white: #ffffff;
}

/* === Hero Section === */
.gold-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.gold-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gold-hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.gold-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* === Sidebar Overrides === */
/* Active state for Sidebar Links (Gold Gradient) */
.sidebar-link.active,
.sidebar-links a.active {
    background: linear-gradient(90deg, var(--gold), #e6a800) !important;
    color: var(--navy) !important;
    border-left-color: var(--gold-light) !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3) !important;
}

.sidebar-link.active i,
.sidebar-links a.active i {
    color: var(--navy) !important;
}

/* Hover state */
.sidebar-link:hover,
.sidebar-links a:hover {
    background: #fdfce7;
    /* Very light gold tint */
    color: var(--navy);
}

.sidebar-header i {
    color: var(--gold) !important;
}

/* === Section Title Gold Accent === */
.section-title i {
    background: linear-gradient(135deg, #fbbf24, #d97706) !important;
    color: #1e293b !important;
}

/* === Tabs Active State (Gold Text) === */
.nav-tabs .nav-link.active {
    color: #d97706 !important;
    /* Gold Dark */
}

/* === Sub Headings / Feature Cards === */
.sub-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 1.4rem 0 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sub-heading i {
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(251, 191, 36, 0.3);
}

/* Approval/Feature Badges (Used in Management/Vision) */
.gold-badge-card {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.gold-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.15);
    background: rgba(251, 191, 36, 0.1);
}

/* Tables */
.data-table th {
    background: linear-gradient(90deg, var(--gold), #ffe6a1) !important;
    color: var(--navy) !important;
}

/* === Profile Card (Chairman, Principal) === */
.profile-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.4);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.15);
}

.profile-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.profile-header::before {
    display: none;
    /* remove standard hero before if inherited */
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 0 8px 16px rgba(251, 191, 36, 0.3);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

.profile-name {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.profile-role {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-body {
    padding: 2rem;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}


/* === Stats Counter Section === */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, white 0%, #fffbeb 100%);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--navy) 30%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Process Steps (Livelihood) === */
.process-container {
    position: relative;
    padding: 20px 0;
}

.process-step {
    position: relative;
    z-index: 2;
    background: white;
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.2);
    background: #fffbeb;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), #f59e0b);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

/* Connector Line (Desktop) */
@media (min-width: 992px) {
    .process-arrow {
        position: absolute;
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
        color: var(--gold);
        font-size: 1.5rem;
        z-index: 1;
    }
}

/* === Feature Icon Box (Functions) === */
.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.feature-box:hover {
    transform: translateX(5px);
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1);
}

.feature-box-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}