:root {
    --primary: #1A2E35;
    --secondary: #F0F2F5;
    --accent-peach: #F7C59F;
    --accent-teal: #5A8D8C;
    --accent-grey: #A9B3BA;
    --text-dark: #1A2E35;
    --text-light: #F0F2F5;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.container-custom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Institutional Header */
header {
    background-color: var(--primary);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--accent-peach) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--accent-peach) !important;
}

/* Sections */
section {
    padding: 100px 0;
}

.hero-section {
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Cards & Modules */
.knowledge-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.knowledge-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-teal);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-institutional {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--accent-grey);
    margin-bottom: 30px;
}

/* Typography Scale */
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; border-left: 5px solid var(--accent-teal); padding-left: 20px; }
h3 { font-size: 1.75rem; color: var(--accent-teal); }

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 0 40px;
}

.footer-link {
    color: var(--accent-grey);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-peach);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 20px;
    z-index: 9999;
    display: none;
    border-top: 2px solid var(--accent-peach);
}

.btn-accent {
    background-color: var(--accent-peach);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-accent:hover {
    background-color: var(--accent-teal);
    color: white;
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.matrix-table th {
    background: var(--primary);
    color: white;
    padding: 20px;
}

.matrix-table td {
    background: var(--white);
    padding: 20px;
    border-top: 1px solid #eee;
}

.glossary-rail {
    background: var(--accent-grey);
    padding: 30px;
    border-radius: 4px;
    position: sticky;
    top: 120px;
}

.stat-strip {
    background: var(--accent-teal);
    color: white;
    padding: 40px 0;
    margin: 40px 0;
    text-align: center;
}

.timeline-item {
    border-left: 2px solid var(--accent-peach);
    padding-left: 30px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-peach);
    border-radius: 50%;
}