/* Evysojk - Institutional Knowledge Portal */
/* Color Palette */
:root {
  --primary-green: #224A22;
  --accent-ochre: #B8860B;
  --accent-sage: #A0C49D;
  --text-charcoal: #36454F;
  --light-bg: #F5F5F0;
  --white: #FFFFFF;
  --border-light: #E8E8E3;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Merriweather:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  color: var(--text-charcoal);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography Hierarchy */
h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-green);
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--accent-ochre);
}

h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-charcoal);
}

a {
  color: var(--accent-ochre);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--primary-green);
}

/* Container & Layout */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  margin: 0;
}

.section.primary-bg {
  background-color: var(--primary-green);
  color: var(--white);
}

.section.primary-bg h2,
.section.primary-bg h3 {
  color: var(--white);
  border-bottom-color: var(--accent-ochre);
}

.section.light-bg {
  background-color: var(--light-bg);
}

/* Header & Navigation */
header {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-ochre);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-ochre);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--accent-ochre);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Two-Column Layout */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.grid-two img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.grid-two.reverse {
  direction: rtl;
}

.grid-two.reverse > * {
  direction: ltr;
}

/* Content Cards */
.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  border-left: 4px solid var(--accent-ochre);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--primary-green);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--accent-ochre);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-ochre);
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-ochre);
  border: 2px solid var(--accent-ochre);
}

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

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

/* Disclaimers */
.disclaimer {
  background-color: var(--light-bg);
  border-left: 4px solid var(--accent-sage);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.disclaimer-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Forms */
form {
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: var(--text-charcoal);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-ochre);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .grid-two {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: #666;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.gap-2 {
  gap: 2rem;
}
