:root {
    --gb-blue: #1d4ed8;
    --gb-blue-dark: #0b5ed7;
    --gb-yellow: #facc15;
    --ink: #0f172a;
    --muted: #64748b;
    --gb-font: "Nunito Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}

body {
    font-family: var(--gb-font);
    color: var(--ink);
    background: #f8fafc;
    margin: 0
}

.gb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px
}

.gb-header {
    box-shadow: 0 1px 3px rgba(2,6,23,.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff
}
.gb-header .gb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px
}

.gb-brand,.gb-logo {
    display: flex;
    align-items: center
}

.gb-brand {
    gap: 12px;
    padding: 12px 0
}

.gb-logo {
    width: 44px;
    height: 44px;
    justify-content: center;
    font-weight: 700
}

.gb-logo img {
  height: 100%;
}

.gb-sitename {
    font-weight: 600;
    color: var(--ink);
    text-decoration: none
}

.gb-tag {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

/* Hide the default marker for the summary button */
.gb-nav-summary { list-style: none; }
.gb-nav-summary::-webkit-details-marker { display: none; }

/* Desktop: horizontal nav, no overlay panel */
@media (min-width: 769px) {
  .gb-nav-summary { display: none !important; }

  .gb-nav-details { position: static; }
  .gb-nav-details > ul {
    position: static;
    display: flex !important;         /* keep your horizontal layout */
    flex-direction: row;
    gap: 24px;
  }
}

/* Mobile: summary shows, panel overlays content and does NOT grow header */
@media (max-width: 768px) {
  .gb-header { height: 60px; }        /* keep header fixed height */
  .gb-nav { position: relative; }     /* anchor the absolute panel */

  details.gb-nav-details {
    position: relative;   
    width: 7em;/* positioning context for the panel */
  }

  details.gb-nav-details summary.gb-nav-summary {
    cursor: pointer;
    background: #7413dc;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 6px;
    user-select: none;
  }
  details.gb-nav-details[open] summary.gb-nav-summary { background: #5e0fb5; }

  /* Hide the list when closed */
  details.gb-nav-details:not([open]) > ul { display: none !important; }

  /* The overlay panel */
  details.gb-nav-details > ul {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);            /* just below the summary button */
    /* OR use top: 60px; if you want it aligned to header bottom regardless of summary size */

    display: flex !important;
    flex-direction: column;
    gap: 8px;

    background: #ffffff;
    padding: 12px;
    margin: 0;

    border: 1px solid rgba(2,6,23,.08);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(2,6,23,.12);
    z-index: 1001;                    /* over the next section (header is 1000) */
  }

  /* Make tap targets comfy */
  .gb-nav .mod-menu li { display: block; }
  .gb-nav .mod-menu a {
    display: block;
    padding: 10px 8px;
  }

  /* Optional: style the "Join Us" CTA inside the panel to full width */
  .gb-nav .mod-menu li:last-child a {
    display: block;
    text-align: center;
    border-radius: 8px;
    padding: 12px 16px;
  }
}

.gb-nav {

  .mod-menu, .mod-menu>ul, .mod-menu li, 
   ul.gb-nav-list, ul.mod-menu, ul.nav, ul.gb-nav-list>li, ul.nav>li, ul.mod-menu {
    list-style: none !important;
  }  
  .mod-menu a, ul.gb-nav-list a, ul.nav a {
    text-decoration: none;
    font-weight: 600;
    color: #0f172a;
    padding: 8px 0;
    transition: color .2s ease;
  }

  .mod-menu a:hover,
  ul.gb-nav-list a:hover,
  ul.nav a:hover {
    color: #1d4ed8;
  }

  ul.mod-menu li:last-child a {
    background: #facc15;
    color: #0f172a;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
  }

  ul.mod-menu li:last-child a:hover {
    background: #fcd34d;
  }

}


.gb-hero {
    position: relative;
    background: #000;
 /*   min-height: 360px; */
    display: flex;
    align-items: center;
    color: #fff
}

.gb-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,94,215,.6)
}

.gb-hero-inner {
    position: relative;
    z-index: 2;
    width: 100vw;
    margin: 0 auto
}

.gb-hero h1 {
    font-size: 36px;
    margin: 0 0 12px;
    line-height: 1.05
}

.gb-hero p {
    font-size: 18px;
    margin: 0 0 16px;
    color: rgba(255,255,255,.95)
}
@media (max-width:768px) {
    /*.gb-hero {
        min-height: 300px
    }*/

    .gb-hero h1 {
        font-size: 28px
    }
}

#main-hero-content {  
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 16px;
    inset: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;  
}

.gb-hero .mod-custom.custom {
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    width: 100%;
    min-height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.fb-page {
  padding-top:16px;
}

.gb-content-text {
  margin-left: 16px;
  margin-right: 16px;
  width: 50%;
  min-width: 23em;
}

.gb-content-wrap {
  display: flex; 
  flex-direction: row; 
  flex-wrap: nowrap;
}
@media (max-width:768px) {
  .gb-content-wrap {
    flex-wrap: wrap;
  }
}


  html { scroll-behavior: smooth; }
  h3 { scroll-margin-top: 80px; } /* prevent sticky header overlap */

  .page-toc {
    background: #f8fafc;
    border: 1px solid rgba(2,6,23,.08);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 1rem;
  }

  .page-toc .toc-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #0f172a;
  }

  .page-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .page-toc a {
    text-decoration: none;
    font-weight: 600;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(2,6,23,.10);
    background: #fff;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }

  .page-toc a:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1d4ed8;
  }

  @media (max-width: 768px) {
    .page-toc ul { flex-direction: column; gap: 8px; }
    .page-toc a { display: block; }
  }


.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 18px
}

.gb-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(2,6,23,.06);
    overflow: hidden
}

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

.gb-card .inner {
    padding: 12px
}

.gb-contact {
  width:23em;
}
.gb-contact input,
.gb-contact textarea {
  max-width: 90vw!important;
  width: 100%!important;
  font-family: var(--gb-font);
}
.gb-contact a {
  display: none;
}
.gb-contact button {
  width: 3.5em;
  font-family: var(--gb-font);
  font-size: medium;
  background: #facc15!important;
  color: #0f172a!important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none; 
}



.gb-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 28px 0;
    margin-top: 32px
}

.gb-footer a {
    color: #e2e8f0;
    text-decoration: underline
}

.gb-copyright {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center
}




