@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../webfonts/fa-regular-400.woff2') format('woff2'), url('../webfonts/fa-regular-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('../webfonts/fa-solid-900.woff2') format('woff2'), url('../webfonts/fa-solid-900.ttf') format('truetype');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../webfonts/fa-brands-400.woff2') format('woff2'), url('../webfonts/fa-brands-400.ttf') format('truetype');
}

:root {
  --accent: #059669;
  --accent-dark: #047857;
  --accent-light: #d1fae5;
  --text-dark: #0f2e1e;
  --text-mid: #374151;
  --text-light: #6b7280;
  --bg-white: #ffffff;
  --bg-surface: #f0fdf4;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

a { color: #059669; text-decoration: none; }
a:hover { color: #047857; }

.navbar { background: #ffffff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.navbar-brand { font-weight: 700; font-size: 22px; color: #059669; }
.navbar-brand span { color: #0f2e1e; }
.nav-link { color: #374151; font-weight: 500; }
.nav-link:hover { color: #059669; }
.btn-nav-cta {
  background: #059669;
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
}
.btn-nav-cta:hover { background: #047857; color: #fff; }
.btn-nav-cta a { color: #fff; }

.hero-section {
  background: linear-gradient(135deg, rgba(15,46,30,0.85) 0%, rgba(6,95,70,0.8) 50%, rgba(5,150,105,0.75) 100%), url('../images/index-01.jpg') center/cover no-repeat;
  color: #fff;
  padding: 120px 0 100px;
  text-align: center;
}
.hero-section h1 { font-size: 48px; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.hero-section p.lead { font-size: 19px; opacity: 0.9; max-width: 600px; margin: 0 auto 36px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}
.hero-visual {
  display: none;
}

.btn-primary-gl {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
}
.btn-primary-gl:hover { background: #047857; color: #fff; }
.btn-outline-gl {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
}
.btn-outline-gl:hover { background: rgba(255,255,255,0.1); color: #fff; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 12px;
}
.section-title { font-size: 32px; font-weight: 700; color: #0f2e1e; margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: #6b7280; max-width: 560px; margin: 0 auto 48px; }

.process-section { background: #f0fdf4; padding: 80px 0; }
.process-step { text-align: center; }
.process-num {
  width: 56px; height: 56px;
  background: #059669;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.process-step h5 { font-weight: 700; color: #0f2e1e; margin-bottom: 8px; }
.process-step p { color: #6b7280; font-size: 15px; }
.process-connector {
  flex: 1;
  height: 2px;
  background: #a7f3d0;
  margin-top: 28px;
}

.categories-section { padding: 80px 0; }
.category-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.category-card:hover { box-shadow: 0 4px 16px rgba(5,150,105,0.12); border-color: #059669; }
.category-icon {
  width: 48px; height: 48px;
  background: #d1fae5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.category-icon i { color: #059669; font-size: 19px; }
.category-card h6 { font-weight: 700; color: #0f2e1e; margin-bottom: 8px; }
.category-card p { color: #6b7280; font-size: 14px; margin: 0; }

.science-banner {
  background: linear-gradient(135deg, #065f46 0%, #059669 100%);
  padding: 80px 0;
  color: #fff;
}
.science-banner h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.science-banner p { opacity: 0.85; font-size: 17px; max-width: 560px; }
.advisor-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 20px;
}
.advisor-card h6 { color: #fff; font-weight: 700; margin-bottom: 4px; }
.advisor-card p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }

.cta-section { background: #0f2e1e; padding: 80px 0; text-align: center; color: #fff; }
.cta-section h2 { font-size: 35px; font-weight: 700; margin-bottom: 16px; }
.cta-section p { opacity: 0.8; font-size: 17px; margin-bottom: 32px; }

.stats-bar {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-num { font-size: 32px; font-weight: 700; color: #059669; }
.stat-label { font-size: 14px; color: #6b7280; margin-top: 4px; }

.team-section { padding: 80px 0; background: #f9fafb; }
.team-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 32px 20px;
  border: 1px solid #e5e7eb;
  height: 100%;
}
.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid #d1fae5;
}
.team-card h5 { font-weight: 700; color: #0f2e1e; margin-bottom: 4px; }
.team-card .title { color: #059669; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.team-card p { color: #6b7280; font-size: 14px; margin: 0; }

.page-hero {
  background: linear-gradient(135deg, #0f2e1e 0%, #065f46 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 700; margin-bottom: 12px; }
.page-hero p { opacity: 0.85; font-size: 17px; max-width: 560px; margin: 0 auto; }

.content-section { padding: 72px 0; }
.feature-row { margin-bottom: 60px; }
.feature-row img, .feature-placeholder {
  border-radius: 12px;
  width: 100%;
}
.feature-placeholder {
  background: #e5e7eb;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
  border-radius: 12px;
}
.feature-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #059669; margin-bottom: 10px; }
.feature-title { font-size: 26px; font-weight: 700; color: #0f2e1e; margin-bottom: 14px; }
.feature-desc { color: #6b7280; margin-bottom: 20px; line-height: 1.7; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: #374151; font-size: 15px; }
.check-list li i { color: #059669; margin-top: 3px; flex-shrink: 0; }

.info-card {
  background: #f0fdf4;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}
.info-card h5 { font-weight: 700; color: #0f2e1e; margin-bottom: 10px; }
.info-card p { color: #374151; margin: 0; font-size: 15px; line-height: 1.7; }

.contact-section { padding: 72px 0; background: #f9fafb; }
.contact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px;
}
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon {
  width: 44px; height: 44px;
  background: #d1fae5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: #059669; }
.contact-detail h6 { font-weight: 700; color: #0f2e1e; margin-bottom: 4px; font-size: 14px; }
.contact-detail p { color: #6b7280; margin: 0; font-size: 14px; }

.form-label { font-weight: 600; font-size: 14px; color: #0f2e1e; }
.form-control { border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.form-control:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,0.1); outline: none; }
.btn-submit {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
}
.btn-submit:hover { background: #047857; }

.insights-section { padding: 72px 0; }
.insight-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.2s;
}
.insight-card:hover { box-shadow: 0 4px 16px rgba(5,150,105,0.12); }
.insight-img {
  background: #d1fae5;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  font-size: 14px;
}
.insight-body { padding: 20px; }
.insight-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #059669; margin-bottom: 8px; }
.insight-body h5 { font-weight: 700; color: #0f2e1e; font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.insight-body p { color: #6b7280; font-size: 14px; margin-bottom: 12px; }
.insight-meta { font-size: 13px; color: #9ca3af; }
.read-more { font-size: 14px; font-weight: 600; color: #059669; }

.legal-section { padding: 72px 0; }
.legal-section h1 { font-size: 32px; font-weight: 700; color: #0f2e1e; margin-bottom: 8px; }
.legal-section .updated { color: #6b7280; font-size: 14px; margin-bottom: 40px; }
.legal-section h2 { font-size: 21px; font-weight: 700; color: #0f2e1e; margin: 32px 0 12px; }
.legal-section p { color: #374151; line-height: 1.8; margin-bottom: 16px; }
.legal-section ul { color: #374151; line-height: 1.8; margin-bottom: 16px; padding-left: 24px; }

footer {
  background: #0f2e1e;
  color: #fff;
  padding: 60px 0 30px;
}
.footer-brand { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: #059669; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 20px; }
.footer-col h6 { font-weight: 700; color: #fff; margin-bottom: 16px; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul li a:hover { color: #059669; }
.footer-col ul li.no-link { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 32px 0 20px; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 14px; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f2e1e;
  color: #fff;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.cookie-banner p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.85); flex: 1; }
.cookie-banner a { color: #059669; }
.cookie-btn {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn:hover { background: #047857; }

@media (max-width: 768px) {
  .hero-section h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
}

/* === Card Uniformity Fix (auto-generated) === */

.insight-card {
  display: flex;
  flex-direction: column;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.insight-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.read-more {
  margin-top: auto;
  display: inline-block;
}

.insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* === Read More Pin Fix (auto-generated) === */

.insight-body > p {
  flex: 1;
}

.insight-body > a:last-child,
.insight-body > a:last-of-type {
  margin-top: auto;
  padding-top: 12px;
}

/* === Last-Child Pin Fix (auto-generated) === */

.advisor-card > :last-child {
  margin-top: auto;
}

.contact-card > :last-child {
  margin-top: auto;
}

.info-card > :last-child {
  margin-top: auto;
}

.insight-body > :last-child {
  margin-top: auto;
}

.insight-card > :last-child {
  margin-top: auto;
}

.team-card > :last-child {
  margin-top: auto;
}

a.read-more,
[class*="read-more"],
[class*="blog-read-more"] {
  margin-top: auto;
}

/* Card title link styling */
.blog-card h3 a, .blog-card h4 a, .blog-card h5 a,
.news-card h3 a, .news-card h4 a, .news-card h5 a,
.insight-card h3 a, .insight-card h4 a, .insight-card h5 a,
[class*="-card"] h3 a, [class*="-card"] h4 a, [class*="-card"] h5 a {
  color: inherit;
  text-decoration: none;
}
[class*="-card"] h3 a:hover, [class*="-card"] h4 a:hover, [class*="-card"] h5 a:hover {
  text-decoration: underline;
}

/* Form placeholder visibility */
input::placeholder, textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #6b7280;
  opacity: 1;
}
input, textarea, select {
  color: #111827;
  border: 1px solid #d1d5db;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Universal card equal height */
[class$="-card"], [class*="-card "] {
  height: 100%;
  display: flex;
  flex-direction: column;
}
