/* ------------------------------
   GeoFAIR color palette
------------------------------ */
:root {
--background: #f8fafc;
--foreground: #0f172a;
--primary: #1f6fb2;
--secondary: #2fa4a9;
--accent: #e3b04b;
--muted: #64748b;
}

* {
box-sizing: border-box;
}

body {
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--background);
color: var(--foreground);
line-height: 1.6;
}

/* ------------------------------
   Layout
------------------------------ */
.container {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 1.5rem;
}

/* ------------------------------
   Header Brand & Logo
------------------------------ */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: white;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
  font-size: 1.25rem;
}

.brand:hover {
  color: var(--primary);
}

.brand-logo {
  width: 50px;  /* Adjust this value: try 40px (smaller) or 60px (larger) */
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--foreground);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--secondary);
  color: white;
}

/* ------------------------------
   Old header styles (can be removed)
------------------------------ */
header {
border-bottom: 1px solid #e5e7eb;
background: white;
}

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

header a {
text-decoration: none;
color: var(--foreground);
margin-left: 1rem;
font-size: 0.95rem;
}

header a:hover {
color: var(--primary);
}

/* ------------------------------
   Footer
------------------------------ */
footer {
border-top: 1px solid #e5e7eb;
background: #f1f5f9;
margin-top: 4rem;
}

footer p {
font-size: 0.85rem;
color: var(--muted);
}

/* ------------------------------
   Cards & grids
------------------------------ */
.grid {
display: grid;
gap: 1.5rem;
}

.grid-3 {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 1.5rem;
background: white;
}

.card:hover {
border-color: var(--primary);
}

/* ------------------------------
   Logo carousel
------------------------------ */
.carousel {
overflow: hidden;
margin: 3rem 0;
}

.carousel-track {
display: flex;
gap: 3rem;
animation: scroll 30s linear infinite;
}

.carousel img {
height: 60px;
object-fit: contain;
}

@keyframes scroll {
  from {
transform: translateX(0);
  }
  to {
transform: translateX(-50%);
  }
}

/* ------------------------------
    Responsive homepage illustration 
------------------------------ */
.homepage-image {
display: block;
max-width: 100%;
height: auto;
margin: 1.5rem auto;
border-radius: 12px;
}