
/* Modern Professional Variables */
:root {
    --brand-primary: #0f172a; /* Midnight Navy */
    --brand-secondary: #ec222a; /* Brand Red */
    --brand-accent: #2563eb; 
    --surface-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-header: #0f172a;
    --text-body: #475569;
    --text-light: #94a3b8;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Structural Reset */
.main-page-wrapper {
    margin-top: -30px;
    background-color: var(--surface-bg);
}

/* Professional Hero Section - Centered with Background Image */
.hero-header {
    background-color: var(--brand-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 7rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

/* Decorative SVG Pattern */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-nav .breadcrumb {
    padding: 0;
    background: transparent;
    margin-bottom: 2rem;
    justify-content: center;
}

.breadcrumb-nav .breadcrumb-item, 
.breadcrumb-nav .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #fff;
    font-weight: 700;
    background: var(--brand-secondary);
    padding: 2px 12px;
    border-radius: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
    content: "•";
    padding: 0 10px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Content Grid Styling */
.content-grid {
    margin-top: -4rem;
    position: relative;
    z-index: 2;
}

.white-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.white-panel:hover {
    box-shadow: var(--card-shadow-hover);
}

/* Sidebar Refinement */
.nav-sidebar {
    padding-bottom: 1.5rem;
}

.nav-sidebar-header {
    background: var(--brand-secondary);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0.75rem;
}

.nav-sidebar-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    margin: 0 0.75rem 4px 0.75rem;
    border-radius: 10px;
}

.sidebar-link:hover {
    background-color: #fff1f2;
    color: var(--brand-secondary);
}

.sidebar-link.active {
    background-color: #fff1f2;
    color: var(--brand-secondary);
    font-weight: 700;
    border-right: 4px solid var(--brand-secondary);
}

/* Article Styling */
.article-header {
    padding: 3rem 3.5rem 1.5rem 3.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon-box {
    width: 48px;
    height: 48px;
    background: var(--brand-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(236, 34, 42, 0.2);
}

.article-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-header);
    margin: 0;
}

.article-body {
    padding: 1rem 3.5rem 4rem 3.5rem;
}

/* Faculty Cards Redesign - Vibrant Version */
.team-card {
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border-color: rgba(236, 34, 42, 0.3);
}

.team-image-wrapper {
    width: 150px;
    height: 190px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 4px solid #fff;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image-wrapper {
    border-color: var(--brand-secondary);
    transform: scale(1.05);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.1);
}

.team-name {
    color: var(--brand-primary);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 12px;
  
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: var(--transition-smooth);
}

.team-card:hover .team-name {
    color: var(--brand-secondary);
}

.team-accent-line {
    width: 30px;
    height: 3px;
    background: var(--brand-secondary);
    margin-bottom: 15px;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.team-card:hover .team-accent-line {
    width: 60px;
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    font-weight: 500;
}

.prose-content h3::before {
    content: "";
    width: 4px;
    height: 24px;
    background: var(--brand-secondary);
    border-radius: 4px;
    display: inline-block;
    margin-right: 12px;
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .article-body { padding: 2rem; }
    .hero-header { padding: 5rem 0; }
}
