
:root{
  /* Sans (modern, uses the OS UI font) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;


  /* Monospace (code) */
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
}

body{ font-family: var(--font-sans); }
h1, h2, h3{ font-family: var(--font-sans); }   
code, pre{ font-family: var(--font-mono); }



:root { --max: 1200px; --pad: 1.2rem; --gap: 1.2rem; }
* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.8 system-ui, -apple-system, sans-serif; color:#000000; background:#d8dee1; }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

img.responsive { max-width: 100%; height: auto; display: block; border-radius: 12px; }

.skip { position:absolute; left:-9999px; }
.skip:focus { left:0; background:#4d4b4b; color:#fff; padding:.5rem 1rem; }

.site-header { position: sticky; top:0; background:#f0f6f9; backdrop-filter: blur(8px); border-bottom:1px solid #ffffff; z-index: 100; }
.nav { display:flex; align-items:center; justify-content:space-between; padding:.6rem 0; }
.logo { display:flex; align-items:center; gap:.6rem; text-decoration:none; color:inherit; font-weight:700; }
.nav-toggle { display:none; }
.nav-list { list-style:none; display:flex; gap:1rem; margin:0; padding:0; }
.nav-list a { text-decoration:none; color:#333; padding:.4rem .6rem; border-radius:8px; }
.nav-list a[aria-current="page"] { background:#f2f4f8; }

@media (max-width: 760px) {
  .nav-toggle { display:block; border:1px solid #ddd; background:#fff; border-radius:8px; padding:.4rem .6rem; }
  .nav-list { display:none; flex-direction:column; position:absolute; right:1rem; top:3.2rem; background:#fff; border:1px solid #eee; padding:.6rem; border-radius:12px; }
  .nav-list.open { display:flex; }
}



.hero { padding:4rem 0 2rem; }
.lead { font-size: 1.1rem; color:#000000; }

.grid { display:grid; gap: var(--gap); padding-block: 1.2rem; }
.grid.two { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 960px) { .grid.two { grid-template-columns: 1fr; } }

.card { padding:1rem; border:1px solid #eee; border-radius:12px; background:#fff; }

/* 1) The grid: fills the row, wraps when needed, no big gaps */
.team {
  display: grid;
  gap: var(--gap);                 /* tweak this if you want tighter spacing */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* remove justify-items:center; so items stretch to fill the track */
}

/* 2) The card: don't fix a width here */
.person { text-align: center; }     /* keep text centering if you like */

/* 3) The image: square and fills its card */
.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.projectimg {
  width: 300px;
  height: 300px;
  object-fit: cover;   /* crops without distortion */
  border-radius: 12px; /* optional, for rounded corners */
  display: block;      /* removes inline whitespace gap */
}


.video-wrap { position: relative; aspect-ratio: 16/9; background:#f6f7f9; border-radius: 12px; overflow: hidden; }
.video-wrap video, .video-wrap iframe { width: 100%; height: 100%; display:block; }

.tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Base tab styling */
.tabs [role="tab"] {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 999px;
  padding: .4rem .8rem;
  cursor: pointer;
  color: #111;            /* <-- add text colour here */
  font: inherit;          /* inherit font from body */
}

/* Selected/active tab */
.tabs [aria-selected="true"] {
  outline: none;          /* remove harsh default outline */
  background: #f0f6f9;    /* highlight background */
  border-color: #7d97a4;  /* brand border colour */
  color: #000;            /* selected text colour */
  font-weight: bold;
}

/* Optional: focus state for accessibility */
.tabs [role="tab"]:focus {
  outline: 2px solid #7d97a4; 
  outline-offset: 2px;
}

.tab-panel {
  padding-top: .8rem;
}

.site-footer { border-top:1px solid #eee; margin-top:3rem; padding:1.2rem 0; text-align:center; }

/* Forms */
.contact-form { display:grid; gap:.8rem; }
.contact-form input, .contact-form textarea { width:100%; padding:.6rem .7rem; border:1px solid #ccc; border-radius:8px; font: inherit; }
.btn { display:inline-block; padding:.6rem 1rem; border:1px solid #333; border-radius:999px; text-decoration:none; background:#fff; cursor:pointer; }


body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* keeps image still while scrolling */
  background-repeat: no-repeat;
}

/*

.page-home {
  background-image: url('/assets/bubblesonlyfullywhite_1.1.7.png');
}


.page-about {
  background-image: url('/assets/bubblesonlyfullywhite_1.1.7.png');
}

.page-mission {
  background-image: url('/assets/bubblesonlyfullywhite_1.1.7.png');
}

.page-projects {
  background-image: url('/assets/bubblesonlyfullywhite_1.1.7.png');
}

.page-contact {
  background-image: url('/assets/bubblesonlyfullywhite_1.1.7.png');
}
*/
.hero h1 {
  text-align: center;
}

.page-about h1 {
  text-align: center;
}

.hero h1,
.hero p.lead {
  text-align: center;
}


/* Subtle hover/focus for top nav links */
.nav-list a {
  display: block;                         /* bigger click target */
  padding: .4rem .6rem;
  border-radius: 8px;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

/* Hover on pointer devices */
@media (hover: hover) {
  .nav-list a:hover {
    background: #e9eef2;                  /* light grey/blue tint */
  }
}

/* Active (mouse down / tap) */
.nav-list a:active {
  background: #dfe6ea;
}

/* Keyboard focus visibility */
.nav-list a:focus-visible {
  outline: 2px solid #7d97a4;
  outline-offset: 2px;
}

/* Optional: keep current page slightly distinct */
.nav-list a[aria-current="page"] {
  background: #f2f4f8;
}

.supporters {
  margin: 3rem 0;
  text-align: center;
}

.supporters h2 {
  margin-bottom: 1.5rem;
}

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

.supporter {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.supporter img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0px;
  margin-bottom: .6rem;
}

.supporter h3 {
  margin: .4rem 0;
  font-size: 1rem;
}

.supporter p {
  font-size: 0.9rem;
  color: #555;
}

.supporters-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding-left: var(--gap);
  padding-right: var(--gap);
}

.nav-list a[aria-current="page"] {
  background: #ededed;   /* light aqua highlight */
  color: #000;           /* make sure text is readable */
  font-weight: bold;
}

.nav-toggle {
  background: none;       /* remove grey button bg */
  border: none;           /* remove default border */
  color: #000000;            /* <--- your brand colour */
  font-size: 1rem;        /* adjust as needed */
  cursor: pointer;
}
