/*=====================================================
  GLOBAL SETTINGS
=====================================================*/
:root {
  --primary-dark: #003366;
  --primary-light: #66CCFF;
  --neutral-light: #f9f9f9;
  --gold: #FFC107;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--primary-dark);
}

/*=====================================================
  HEADER & NAVIGATION
=====================================================*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 1rem 2rem;
  border-bottom: 6px solid var(--gold);
  position: relative;
}

.logo-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-left .logo {
  height: 55px;
}

#main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

#main-nav a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

#main-nav a:hover {
  color: var(--primary-light);
}

.menu-toggle {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  #main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 2rem;
    background: #ffffff;
    padding: 1rem;
    border: 2px solid var(--gold);
    border-radius: 8px;
    z-index: 99;
  }

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

  .menu-toggle {
    display: block;
    margin-top: 0.5rem;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
  }
}

/*=====================================================
  HERO SECTION
=====================================================*/
#hero {
  background: var(--primary-dark);
  color: var(--primary-light);
  padding: 6rem 2rem;
  text-align: center;
  border-bottom: 6px solid var(--gold);
}

#hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

#hero h2 {
    font-size: 3rem;
    color: var(--gold);
}



#fillin-word {
  color: var(--gold);
  border-bottom: 4px solid #ffffff;
}

#subheader {
  font-size: 1.0rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: white;
}

.btn-group .btn-cta {
  background: #ffffff;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-group .btn-cta:hover {
  background: var(--gold);
  color: #ffffff;
}

.btn-cta {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.btn-cta.gold {
  background: var(--gold);
  color: var(--primary-dark);
}

/* Mobile Styles */
@media (max-width: 768px) {
    #hero {
  max-height: 380px; /* or whatever height comfortably fits all hero content */
  overflow: hidden;
    }
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    #hero h2 {
        font-size: 1.5rem;
    }
}
    

/*=====================================================
WHO WE ARE
====================================================*/

.who-we-are {
  background: white;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 4px solid var(--gold);

}

.who-we-are h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.who-we-are p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--primary-dark);
  line-height: 1.6;
}

.who-we-are h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.5rem auto 1rem;
  background: var(--gold);
  border-radius: 2px;
}
    
/*=====================================================
  MISSION QUADRANT GRID
=====================================================*/


.mission-quadrants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1000px;
  text-align: center;
  padding: 0 2rem;
}

.quad {
  background: var(--neutral-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-top: 4px solid var(--gold);
  transition: transform 0.3s ease;
}

.quad:hover {
  transform: translateY(-6px);
}

.quad h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.quad p {
  font-size: 1rem;
  color: var(--primary-dark);
}

/* Mobile: stack quadrants */
@media (max-width: 768px) {
  .mission-quadrants {
    grid-template-columns: 1fr;
  }
}

/*====================================================
Services & Initiatives - Landing Page
=====================================================*/

.how-we-help {
  background: var(--neutral-light);
  padding: 5rem 2rem;
  text-align: center;
  border-top: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
 
}

.how-we-help h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.how-we-help p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: var(--primary-dark);
}

.help-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.help-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 100%;
  flex: 0 1 320px;
  border-top: 4px solid var(--primary-light);
}

.help-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.help-card p {
  font-size: 0.95rem;
  color: var(--primary-dark);
}


@media (max-width: 768px) {
  .help-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .help-card {
    flex: 1 1 100%;
    max-width: 400px;
    margin: 0 auto 1rem;
  }
}
/*=====================================================
  MEET OUR TEAM SECTION
=====================================================*/
.team-intro {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--neutral-light);
    border-top: 4px solid var(--gold);
}

.team-intro h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.team-card {
  width: 280px;
  max-width: 100%;
  background: var(--neutral-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, opacity 0.6s ease;
  transform: translateY(30px);
  opacity: 0;
  cursor: pointer;
}

.team-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-bottom: 2px solid var(--gold);
  filter: contrast(95%) brightness(105%);
  border-radius: 8px;
}

.team-content {
  padding: 1rem;
  text-align: center;
  position: relative;
}

.team-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.team-content p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.team-card a {
  text-decoration: none;
  color: var(--primary-dark);
}
/*=====================================================
  BIO OVERLAY MODAL
=====================================================*/
.bio-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 9999;
}

.bio-overlay.active {
  display: flex;
}

.bio-modal {
  background: #ffffff;
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.bio-header {
  background: var(--primary-dark);
  color: var(--primary-light);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  font-style: bold;
}

.bio-header h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.bio-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.bio-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--primary-dark);
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
  .bio-modal {
    max-width: 80%;
  }
}

/*=====================================================
  CALL-TO-ACTION BUTTONS
=====================================================*/

.cta-trio {
  background: white;
  text-align: center;
  padding: 5rem 2rem;
  border-top: 4px solid var(--gold);

}

.cta-trio h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.cta-trio p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--primary-dark);
}

.cta-options {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  min-height:150px;

}

.cta-option {
  background: var(--neutral-light);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--gold);
}



/*=====================================================
  FOOTER
=====================================================*/

.site-footer {
  background: var(--primary-dark);
  color: var(--neutral-light);
  padding: 2rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  border-top: 6px solid var(--gold);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: transparent;
  color:white;
}

.footer-nav a {
  color: var(--neutral-light);
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.75rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-nav a {
    margin: 0.5rem 0;
  }
}



/*=======================================
Quiz Embed
=======================================*/

/* Data Wellness Quiz Section */
#data-wellness-embed {
  margin-top: 3em;
  text-align: center;
}

#data-wellness-embed h2 {
  margin-bottom: 0.2em;
}

.quiz-badge {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  font-size: 0.75em;
  padding: 0.3em 0.6em;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1em;
}

.quiz-description {
  max-width: 700px;
  margin: 1.5em auto 2em;
  font-size: 1em;
}

.quiz-gold-bar {
  background-color: #FFD700;
  height: 6px;
  width: 63%;
  margin: 0 auto;
  border-radius: 8px 8px 0 0;
}

.quiz-container {
  background-color: #f9f9f9;
  padding: 2em;
  border-radius: 0 0 8px 8px;
  width: 60%;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.quiz-iframe {
  border: none;
  border-radius: 8px;
  width: 95%;
  height: 900px;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.quiz-iframe:focus {
  outline: none;
  box-shadow: none;
}

  .quiz-mobile-button {
    display: none;

  }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .quiz-gold-bar {
    display: none;
  }

  .quiz-container {
    width: 100%;
    padding: 1.5em 1em;
    box-shadow: none;
    background-color: transparent;
  }

  .quiz-iframe {
    display: none;
  }

  .quiz-mobile-button {
    display:inline-block;
      background: var(--primary-dark);
      color: #fff;
      border: none;
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      border-radius: 30px;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: background 0.3s ease, color 0.3s ease;
      text-decoration: none;
      margin: 1.5em auto 0;
      text-align:center;
  }

  .quiz-description {
    padding: 0 1em;
  }
}

/*============================================
socials footer
============================================*/

.social-callout {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--neutral-light);
}

.social-callout a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 500;
}

.social-callout a:hover {
  color: #fff;
  text-decoration: none;
}