html, body {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom right, #dcecf4, #eef6fb);
    background-attachment: fixed;
  }
  
  .navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    color: #333;
    margin-right: 1rem;
    font-weight: 500;
  }
  
  .navbar-nav .nav-link:hover {
    color: #007bff;
  }
  
  .navbar-nav .nav-item img {
    transform: scale(1.4);
    transition: transform 0.3s ease;
  }
  
  .navbar-nav .nav-item img:hover {
    transform: scale(1.6);
  }
  
  .hero-section {
    display: center;
    width: 100%;
    margin: 0;
    background: none;
  }
  
  .hero-text {
    display: block;
    width: 100vw;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    background-size: 100vw 100%;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 0;
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
  }
  
  .hero-text p {
    font-size: 1.25rem;
    color: #555;
  }
  
  .section-container {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  }
  
  .section-container h2 {
    margin: 0;
    font-weight: 600;
    color: #333;
  }
  
  #forgot-password-link {
    display: block;
    text-align: center;
  }
  
  input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
  }
  
  .toggle-password {
    position: absolute;
    top: 38px;
    right: 15px;
    cursor: pointer;
    user-select: none;
    font-size: 1.2rem;
    color: #6c757d;
  }
  
  #pageTitle,
  #mapBanner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 10px;
    font-size: 18px;
    z-index: 1000;
    border-radius: 4px;
    background-repeat: no-repeat;
  }
  
  #pageTitle {
    top: 10px;
    width: 600px;
    height: 100px;
    background-image: url('./images/OCSA-ParentConnect-MapHeader-240322a.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  #mapBanner {
    top: 120px;
  }
  
  .header-image {
    max-width: 120%;
    max-height: 120%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .hero-banner {
    position: relative;
    overflow: hidden;
  }
  
  .hero-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  }
  
  .img-fluid {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-left: 30px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 5%, black 95%, transparent 100%), linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-composite: intersect;
    mask-image: linear-gradient(to top, transparent 0%, black 5%, black 95%, transparent 100%), linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-composite: intersect;
  }
  
  #map-home,
  #map {
    margin-top: 0;
    padding-top: 0;
  }
  
  #map {
    height: calc(100vh - 60px);
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  #map:-webkit-full-screen,
  #map:-moz-full-screen,
  #map:-ms-fullscreen,
  #map:fullscreen {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
  }
  
  .fullscreen-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
  }
  
  #filter-toggle {
    display: none;
    position: absolute;
    bottom: 90px;
    right: 40px;
    z-index: 1100;
    padding: 10px 15px;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .image-container {
      display: none !important;
    }
  
    .hero-text {
      padding: 1rem;
    }
  
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    #pageTitle {
      width: 90vw;
      height: 80px;
      font-size: 14px;
      background-size: contain;
    }
  
    #mapBanner {
      top: 95px;
      font-size: 14px;
    }
  
    .section-container {
      padding: 1rem;
    }
  
    .btn {
      width: 100% !important;
      font-size: 1rem !important;
      margin-bottom: 1rem;
    }
  
    .accordion-button,
    .accordion-body,
    .accordion-item {
      font-size: 0.9rem !important;
    }
  
    .accordion-button {
      padding: 0.5rem 1rem;
    }
  
    #filterOptions {
      flex-direction: column !important;
      max-width: 100% !important;
      width: 90vw !important;
      right: 5vw !important;
      bottom: 100px;
    }
  
    #filter-toggle {
      display: block;
    }
  
    .gm-style-iw,
    .gm-style-iw-c {
      max-width: 240px !important;
      font-size: 0.9rem !important;
    }
  }
  
  @media (max-width: 480px) {
    #pageTitle,
    #mapBanner {
      display: none;
    }
  }
  @media screen and (max-height: 450px) and (max-width: 992px) {
    .image-container {
      display: none !important;
    }
  }

  /* Show filter toggle on small screens, including landscape phones */
@media (max-width: 992px) {
    #filter-toggle {
      display: block !important;
    }
  
    #filterOptions {
      display: none;
    }
  
    #filterOptions.show {
      display: flex !important;
      flex-direction: column;
    }
  }
  
  /* Match Google Maps UI button styles */
  #filter-toggle {
    display: none;
    position: absolute;
    bottom: 100px;
    right: 60px;
    z-index: 1100;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    border-radius: 2px;
    cursor: pointer;
  }

  @media (max-width: 992px) {
    #filterOptions {
      width: 85vw !important;
      max-height: 60vh;
      overflow-y: auto;
      font-size: 0.9rem;
      padding: 0.75rem !important;
      border-radius: 4px !important;
    }
  
    #filterOptions label {
      font-size: 0.85rem;
    }
  
    .accordion-button {
      font-size: 0.9rem !important;
      padding: 0.4rem 0.75rem !important;
    }
  
    .accordion-body {
      padding: 0.5rem 0.75rem !important;
    }
  
    .accordion-item {
      margin-bottom: 0.5rem;
    }
  
    #filterOptions input[type="checkbox"] {
      transform: scale(0.9);
      margin-right: 6px;
    }
  }

  /* Fix layout of default InfoWindow */
.gm-style-iw-d {
    padding: 0 !important;
    overflow: hidden !important;
    max-width: 220px !important;
    box-sizing: border-box;
  }
  
  .gm-ui-hover-effect {
    top: 24px !important;          /* ⬅︎ Lower it down */
    right: 8px !important;
    width: 24px !important;
    height: 24px !important;
    background-color: rgba(255,255,255,0.95) !important;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;     /* ⬅︎ Force it to sit above */
    overflow: visible !important;
    pointer-events: auto !important;
  }
  
  /* Style the actual icon inside the close button */
  .gm-ui-hover-effect > img,
  .gm-ui-hover-effect > svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    pointer-events: none;          /* Let the container handle clicks */
    opacity: 1 !important;
    z-index: 10001 !important;
  }
  /* Get rid of the white triangle + extra border */
  .gm-style-iw-t::after {
    display: none !important;
  }
  .gm-ui-hover-effect span {
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  @media (max-width: 600px) {
    .gm-style-iw-d {
      font-size: 13px !important;
      max-width: 180px !important;
      line-height: 1.4;
    }
  
    /*.gm-ui-hover-effect {
      top: 2px !important;
      right: 2px !important;
      width: 18px !important;
      height: 18px !important;
    }*/
  }
  @media screen and (max-height: 450px) {
    #pageTitle,
    #mapBanner {
      display: none !important;
    }
  }

  @media (max-width: 600px) {
    #home .container > .d-flex {
      flex-direction: column !important;
      align-items: center !important;
      gap: 1rem !important;
    }
  
    #landing-login-btn,
    #landing-signup-btn {
      width: 90% !important;
      max-width: 320px;
      font-size: 1.1rem !important;
      padding: 0.75rem 1rem !important;
      text-align: center;
    }
  }

  /* Landscape mobile: flow text horizontally (image hidden) */
@media screen and (max-height: 450px) and (max-width: 992px) {
    #about .row {
      flex-direction: row !important;
      display: flex;
      flex-wrap: nowrap;
    }
  
    #about .text-container {
      flex: 1;
      max-width: 100%;
    }
  
    #about .image-container {
      display: none !important;
    }
  }


/* Remove extra padding/border from the outer InfoWindow wrapper */
.gm-style-iw-ch {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .gm-style-iw {
    padding: 0 !important;
    background: transparent !important;
  }