:root {
    --primary-color: #344934;
    --secondary-color: #EFEAD8;
    --accent-ochre: #C7A76B;
    --accent-slate: #6A7D7C;
    --bg-neutral: #F9F7F5;
    --text-dark: #333333;
    --font-main: 'Lato', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-neutral);
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; margin-bottom: 2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--accent-slate); padding-bottom: 0.5rem; }
h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--accent-slate); }

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

section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(106, 125, 124, 0.1);
}

.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 73, 52, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 { color: #ffffff; }

.btn-kijuron {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-slate);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.btn-kijuron:hover {
    background-color: var(--accent-ochre);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.academic-grid-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 0;
    transition: all 0.3s ease;
    height: 100%;
}

.academic-grid-card:hover {
    border-color: var(--accent-ochre);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.card-body {
    padding: 30px;
}

.nav-fixed {
    background: #ffffff;
    border-bottom: 1px solid var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0 15px;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-ochre);
}

.footer-main {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

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

.disclaimer-box {
    border: 1px solid var(--accent-slate);
    padding: 30px;
    background: rgba(239, 234, 216, 0.3);
    margin: 40px 0;
}

.stat-strip {
    background: var(--accent-slate);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid var(--primary-color);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    background: #fff;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    background: #fdfdfd;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glossary-rail {
    border-left: 2px solid var(--accent-ochre);
    padding-left: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .container-custom { padding: 0 20px; }
    section { padding: 60px 0; }
}