:root {
    --primary-color: #F59C00;
  }
  
  body {
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: normal;
  }
  
  /* CSS for Header/Navbar */
  .section-header {
    background-color: var(--bs-body-bg);
  }
  
  .dropdown-menu {
    min-width: auto !important;
    width: max-content;
  }
  
  .dropdown-menu .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
  }

  .section-header .nav-link {
    color: #252525;
    font-weight: 500;
    position: relative;
    font-size: 1rem;
  }

  .navbar-item-section {
    width: 50%;
  }
  
  .text-orange {
    color: var(--primary-color);
  }
  
  .text-orange:hover {
    color: var(--primary-color);
  }

  /* Header Styling for large screen */
  @media (min-width: 1240px) {
    .section-header{
      padding: 10px;
    }
    .section-header .navbar-top {
      background-color: var(--primary-color);
      border-radius: 16px;
      position: relative;
      z-index: 1050;
    }
  
    .section-header .nav-link:hover,
    .section-header .nav-link.active {
      color: black;
      font-weight: bold;
    }
  
    .section-header .nav-link::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 1px;
      background-color: black;
      visibility: hidden;
      transition: 0.3s ease-in-out;
    }
  
    .section-header .nav-link:hover::before,
    .section-header .nav-link.active::before {
      width: 90%;
      visibility: visible;
    }
  }
  
  /* Responsive Mobile Footer Navbar */
  @media (max-width: 991px) {
    .section-header .navbar-nav {
      display: flex;
      flex-direction: row;
      align-items: center;
      padding: 0;
      margin: 0;
      list-style: none;
      width: 100%;
      justify-content: space-around;
    }
  
    .section-header .tab-link {
      background-color: transparent;
      border-radius: 0;
      width: auto;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #0d0d0d;
      text-decoration: none;
      box-shadow: none;
      transition: color 0.3s ease;
      font-weight: 500;
    }
  
    .section-header .tab-link .navbar-icon {
      width: 26px;
      height: 26px;
      margin-bottom: 4px;
      filter: invert(15%) sepia(8%) saturate(300%) brightness(90%);
      transition: filter 0.3s ease;
    }
  
    .section-header .tab-link.active,
    .section-header .tab-link:hover {
      color: var(--primary-color);
    }
  
    .section-header .tab-link.active .navbar-icon,
    .section-header .tab-link:hover .navbar-icon {
      filter: invert(53%) sepia(96%) saturate(700%) hue-rotate(1deg) brightness(100%) contrast(102%);
    }
  
    .section-header .nav-label {
      font-size: 0.6rem;
      font-weight: bold;
    }
  
    .section-header .navbar-mobile-bottom {
      background-color: #fff;
      /* border-top-left-radius: 24px;
      border-top-right-radius: 24px; */
      box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
      /* padding-top: 0.5rem; */
      /* padding-bottom: 1.5rem; */
      /* height: 5rem; */
    }
  }
  
  /* CSS for Home */
  .home-container {
    padding: 2rem 2rem 5rem 2rem;
  }

  #loading-overlay {
    position: fixed;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
    flex-direction: column;
  }

  .loading-spinner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .spinner-circle {
    width: 48px;
    height: 48px;
    border: 6px solid #f3f3f3; /* background ring */
    border-top: 6px solid var(--primary-color); /* spinning ring */
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .dots-text span {
    animation: blink 1.4s infinite both;
  }
  .dots-text span:nth-child(2) {
    animation-delay: 0.2s;
  }
  .dots-text span:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes blink {
    0%   { opacity: 0; }
    20%  { opacity: 1; }
    100% { opacity: 0; }
  }

  @media (min-width: 992px) {
    #main-header .pc-location-left { margin-left: 6px; }

    #main-header .pc-location-toggle{
      background: rgba(255,255,255,.70);
      border-radius: 999px;
      padding: 6px 10px !important;
      color: #0d0d0d !important;
      font-weight: 700;
      line-height: 1;
      text-decoration: none;
      white-space: nowrap;
    }

    #main-header .pc-location-toggle:hover{
      background: rgba(255,255,255,.85);
      color: #0d0d0d !important;
    }

    #main-header .pc-location-icon{
      filter: invert(10%) sepia(8%) saturate(300%) brightness(85%);
    }

    #main-header .pc-location-menu{
      min-width: max-content;
      width: auto;
    }
  }