:root {
    --primary-color: #002D62; /* Academic Navy Blue */
    --secondary-color: #C5A059; /* Gold Accent */
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    font-family: var(--font-heading);
}

.header-text h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header-text h2 {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Sections */
section {
    margin: 40px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Cards */
.card, .dept-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.card:hover, .dept-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.card-header, .dept-header {
    background-color: #F3F4F6;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3, .dept-header h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.card-body, .dept-body {
    padding: 20px;
}

/* Dean Section */
.dean-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border-top: 4px solid var(--secondary-color);
}

.dean-card .name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Admin Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-2 h4 {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.grid-2 .name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Departments */
.departments-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dept-header {
    background-color: var(--primary-color);
    color: white;
}

.dept-header h4 {
    color: white; /* Override default */
}

.role-group {
    margin-bottom: 20px;
}

.role-group:last-child {
    margin-bottom: 0;
}

.role-label {
    display: block;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.role-label-small {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.person {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.person .name {
    font-weight: 500;
}

/* Links */
.email {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px dotted var(--primary-color);
}

.email:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .header-text h1 {
        font-size: 1.8rem;
    }
    
    .person {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .dean-card {
        margin: 0 10px;
    }
}
