/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Fira+Sans:wght@300;400;500;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #444;
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #222;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 0.5em; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5em; }

p {
  margin-bottom: 1.2em;
}

a {
  color: #116821;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0d4e18;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
}

.section--gray {
  background: #f7f7f7;
}

/* ===== HEADER & NAV ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

.site-logo:hover {
  color: #116821;
  text-decoration: none;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.main-nav {
  display: flex;
  list-style: none;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  color: #444;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: #f0f7f1;
  color: #116821;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 800px;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 0.4em;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.95;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: #116821;
  color: #fff;
}

.btn--primary:hover {
  background: #0d4e18;
  color: #fff;
}

.btn--secondary {
  background: #32373c;
  color: #fff;
}

.btn--secondary:hover {
  background: #222;
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===== TWO COLUMN LIST ===== */
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 2em;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.2s;
}

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

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 0.5em;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.testimonial-card {
  background: #fff;
  border-left: 4px solid #116821;
  padding: 28px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #444;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #116821;
  font-size: 0.9rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: #116821;
  color: #fff;
  text-align: center;
  padding: 50px 24px;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  margin-top: 1.5em;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #222;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #116821;
  box-shadow: 0 0 0 3px rgba(17, 104, 33, 0.1);
}

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

.form-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 24px;
}

/* ===== RESEARCH LIST ===== */
.research-list {
  list-style: none;
  padding: 0;
}

.research-list li {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.research-list li:last-child {
  border-bottom: none;
}

.research-list a {
  font-weight: 500;
  font-size: 1.05rem;
}

.research-list .authors {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}

/* ===== ABOUT - TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.team-card {
  background: #f7f7f7;
  padding: 28px;
  border-radius: 12px;
}

.team-card h3 {
  color: #116821;
  margin-bottom: 0.5em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #222;
  color: #ccc;
  padding: 40px 0 24px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #ccc;
  font-size: 0.9rem;
}

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

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: #f7f7f7;
  border-left: 3px solid #ccc;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 32px;
  border-radius: 0 8px 8px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .two-col-list {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .section {
    padding: 40px 0;
  }

  .page-header {
    padding: 36px 24px;
  }
}
