.intro {
  height: 100svh;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -2rem;
  background: url('/images/resources/background-image-800.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .intro {
    margin-top: -1rem;
  }
}

.intro .inner {
  width: 100%;
}

ff-footer::before {
  content: "";
  display: block;
  background: url('/images/resources/bottom-shape.png') repeat-x;
  background-size: 100vw;
  height: 12vh;
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Custom Web Components */
ff-header, ff-nav, ff-footer {
  display: block;
}


html {
  overflow-y: scroll;
  background-color: white;
}

body {
  overflow-x: clip;
}


.privacy {
  text-align: left;
  width: 95%;
  margin: auto;
}


#portal-image {
  width: 60vw;
}

@media screen and (min-width: 400px) {
  #portal-image {
    width: 50vw;
  }
}

@media screen and (min-width: 1000px) {

  #portal-image {
    width: 30vw;
  }
}

@media screen and (min-width: 800px) {
  #portal-image {
    width: 40vw;
  }

}

@media screen and (min-width: 1300px) {
  #portal-image {
    width: 20vw;
  }
}



.portal {
  width: 100%;
}

.content {
  width: 100%;
}

.about .content {
  float: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

#medication {
  margin-top: 3%;
}


h1 {
  font-family: 'OriginsSmooth-Regular';
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: lighter;
  color: rgb(199, 131, 132);
  margin: 0.25em 0 0.5em 0;
  text-shadow: .5px .5px black;
}

h2 {
  font-family: 'OriginsSmooth-Regular';
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: lighter;
  color: rgb(253, 156, 106);
  text-shadow: .5px .5px black;
}

h3 {
  font-size: 1.4em;
  color: rgb(94, 148, 143)
}

.App {
  text-align: center;
  background-color: rgb(255, 244, 229)
}

ul {
  text-align: left;
}

li {
  margin-bottom: 10px;
}


nav {
  margin: auto;
  line-height: 3em;
  background-color: rgb(253, 211, 151);
  height: 3em;
}

@media screen and (min-width: 580px) {
  nav {
    height: auto;
  }
  
}


nav a {
  color: black;
  margin: 20px 20px 20px 20px;
  text-decoration: none;
}

a {
  text-decoration: none;
  color: black;
}

nav a.active-page {
  font-weight: bold;
  font-size: 1.3em;
}

nav a:hover {
  text-decoration: underline;
}


iframe {
  width: 100%;
}


.content-text {
  text-align: left;
}


.center-align {
  text-align: center;
}

.full {
  margin: auto;
  width: 100%;
}

.fuller {
  margin: auto;
  width: 100%;
}


.page-header {
  width: 100%;
}

.full-width-image {
  width: 100%;
  display: block;
}

@media screen and (min-width: 1120px) {
  .resource-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.list-button:hover {
  border: 1px solid rgb(253, 211, 151);
  border-radius: 4px;
  box-shadow: 0 0 10px rgb(253, 211, 151), 0 0 10px rgb(253, 211, 151);
}

.glow {
  padding: 6px;
  margin: -0.5em;
  display: inline;
  text-decoration: underline;
}

li.glow {
  display: block;
}

.glow:hover {
  color: black;
  padding: 5px;
  border: 1px solid rgb(253, 211, 151);
  border-radius: 4px;
  box-shadow: 0 0 10px rgb(253, 211, 151), 0 0 10px rgb(253, 211, 151);
}

.list-button-label {
  text-align: left;
  font-size: 1.5em;
  line-height: 1.5em;
  margin: 0px 1vw;
  display: inline-block;
  overflow: hidden;
}

.siteMap-main-section {
  font-size: 1.4em;
  text-align: center;
  text-decoration: underline;
}

.siteMap-secondary-section {
  font-size: 1.0em;
  text-align: center;
}

.siteMap-list-item {
  margin-bottom: 2vh;
}


a .button-google {
  width: 133px;
}

a .button-apple {
  width: 133px;
}

.home-logo {
  width: clamp(240px, 55vw, 600px);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-buttons .btn {
  margin-bottom: 0;
}

@media screen and (min-width: 600px) {
  .hero-buttons {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

.contact {
  display: block;
}

form {
  display: table;
}


.warning {
  margin-top: 1em;
  color: red;
  font-weight: bold;
}

.advice {
  margin-bottom: -0.5em;
}

@media screen and (min-width: 900px) {
  table {
    font-size: 1em;
  }
}

.phone {
  cursor: text;
}


.btn--pay, .btn--title, .btn--sms, .btn--call {
  background-color: #424e54;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Fira Sans,Arial,Helvetica,sans-serif;font-size:28px;
  line-height: 1;
  margin-bottom: 1em;
  padding: .75em 1em;
  vertical-align: middle;
  transition: background-color .4s ease;
} 
.btn--pay {
  background-color: #494949;
  border-color: #494949;
}
.btn--pay:hover {
  background-color: #333;
  border-color: #333;
} 

.btn--title {
  background-color: #1a8a82;
  border-color: #1a8a82;
}
.btn--title:hover {
  background-color: #136b64;
  border-color: #136b64;
}
.btn--sms {
  background-color: #c87820;
  border-color: #c87820;
}
.btn--sms:hover {
  background-color: #a66318;
  border-color: #a66318;
}
.btn--call {
  background-color: #3d6fbf;
  border-color: #3d6fbf;
}
.btn--call:hover {
  background-color: #2e58a0;
  border-color: #2e58a0;
}
.cards {
  margin-top: 1em;
} 
.cards img {
  border: 1px solid #c5c6ce;
  border-radius: 5px;
} 
.cards--s img {
  height: 30px;
} 
.btn--pay { 
  background-color: #3f51b5; 
  font-family: Raleway; 
  font-size: 30px; 
  color: #fff; 
} 
.btn--pay:hover { 
  background-color: #283593; 
  color: #fff; 
}
/* ===== HAMBURGER MENU & NAVIGATION ===== */

.nav-bar {
  background-color: #1a8a82;
  padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Mobile-first: hamburger visible by default */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  color: white;
  display: block;
}

/* Mobile-first: nav hidden by default */
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  gap: 0;
}

/* Mobile dropdown when active */
.nav-menu.active {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-menu li {
  position: relative;
  border-bottom: 1px solid #34495e;
}

.nav-menu li:last-child {
  border-bottom: none;
}

.nav-link {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: #34495e;
}

.nav-link.active {
  background-color: #e74c3c;
  color: white;
}

.nav-link[target="_blank"] {
  border-right: none;
}

.nav-title {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'OriginsSmooth-Regular', serif;
  color: white;
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: .5px .5px black;
}

@media screen and (max-width: 768px) {
  .nav-bar--stuck .nav-title {
    display: block;
  }
}

/* Desktop: show nav row, hide hamburger */
@media screen and (min-width: 769px) {
  .hamburger-menu {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    flex: 1;
    padding: 0;
  }

  .nav-menu li {
    border-bottom: none;
  }

  .nav-link {
    display: inline-block;
    padding: 1rem 1.25rem;
  }

  .nav-link[target="_blank"] {
    border-right: 1px solid #34495e;
  }
}

/* Breadcrumb Navigation */
.breadcrumb {
  background-color: #ecf0f1;
  padding: 0.75rem 1rem;
  margin: 0;
  height: auto;
  line-height: normal;
}

.vaccine-age-select {
  display: block;
  margin: 1rem 0 1.5rem;
  padding: 0.5rem 1rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #2c3e50;
  background: #fff;
  border: 2px solid #2c3e50;
  border-radius: 4px;
  cursor: pointer;
  max-width: 100%;
}

.vaccine-age-select:focus {
  outline: 2px solid #e36f1e;
  outline-offset: 2px;
}

.vaccine-section {
  scroll-margin-top: 70px;
}

.vaccine-section h3 {
  text-align: center;
}

.landscape-notice {
  display: none;
  background-color: #e7f3ff;
  color: #004085;
  padding: 1rem;
  border-left: 4px solid #0066cc;
  margin: 1rem 0;
  font-weight: bold;
}

@media (max-width: 799px) {
  .vaccines .full-width-image {
    display: none;
  }
  .landscape-notice {
    display: block;
  }
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
}

.breadcrumb-list li {
  display: inline;
  color: #2c3e50;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ' / ';
  margin: 0 0.5rem;
  color: #95a5a6;
}

.breadcrumb-list a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Skip to main content link (accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Footer styling */
.footer {
  background-color: rgb(255, 244, 229);
  color: black;
  padding: 0.5rem 2rem 1.5rem;
  margin-top: 2rem;
  clear: both;
}

.footer-info {
  text-align: center;
  margin-bottom: 1rem;
}

.footer-info h3 {
  font-family: 'OriginsSmooth-Regular', serif;
  margin: 0 0 0.25rem;
}

.footer-info p {
  margin: 0.2rem 0;
}

.footer-info a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #3498db;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #95a5a6;
}

/* Main content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem max(2rem, env(safe-area-inset-right, 0px)) 2rem max(2rem, env(safe-area-inset-left, 0px));
}

@media screen and (max-width: 600px) {
  .main-content {
    padding: 1rem max(1rem, env(safe-area-inset-right, 0px)) 1rem max(1rem, env(safe-area-inset-left, 0px));
  }
}

/* Header (shown on non-home pages) */
.App-header {
  background-image: url('/images/resources/Header.jpg');
  background-size: cover;
  background-position: 66% center;
  background-color: #2c3e50;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-content .logo {
  height: 220px;
  width: auto;
}

.header-content h1 {
  font-family: 'OriginsSmooth-Regular', serif;
  font-size: 1.5rem;
  margin: 0;
}

/* Flying bug animation */
.bug-container {
  position: relative;
  height: 50px;
  width: 50px;
  overflow: visible;
}

.App-bug {
  height: 50px;
  width: auto;
  animation: App-bug-fly 3s infinite;
  cursor: grab;
}

@keyframes App-bug-fly {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(20px) translateY(-15px) rotate(15deg);
  }
  50% {
    transform: translateX(0) translateY(-30px) rotate(0deg);
  }
  75% {
    transform: translateX(-20px) translateY(-15px) rotate(-15deg);
  }
}

.bug-container--corner {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.App-bug--2 {
  animation-delay: -1.5s;
  transform-origin: center;
  rotate: 180deg;
}

/* Staff bio cards */
.staff-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.staff-photo {
  width: 180px;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
}

.staff-bio h3 {
  margin-top: 0;
}

.holiday-border {
  border: 2px solid rgb(253, 211, 151);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  max-width: 400px;
  background-color: rgba(253, 211, 151, 0.15);
}

/* Responsive grids */
.vaccine-grid,
.illness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .staff-card { flex-direction: column; }
  .staff-photo { width: 100%; max-width: 200px; }
}

