:root {
  --gsja-bg: #10358c;
  --gsja-gold: #FFD700;
  --font-size-base: 1rem;
}

body {
  font-size: var(--font-size-base);
  background-color: #f5f5f5;
}

h1,h2,h3,h4,h5 .text-maroon, a {
  color: var(--gsja-bg);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

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

.navbar,
.top-header,
.footer,
.table-dark,
.bgblock,
.mystyle {
  background-color: var(--gsja-bg) ;
  color: white;
}

.navbar-brand,
.navbar-nav .nav-link,
.table-dark th {
  color: white !important;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
  color: var(--gsja-gold) !important;
  text-decoration: none !important; 
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-maroon {
  background-color: var(--gsja-bg);
  color: white;
  border: none;
  transition: background-color 0.3s;
}
.btn-maroon:hover {
  background-color: var(--gsja-gold);
  color: var(--gsja-bg);
}

th {
  background-color: var(--gsja-bg) !important;
  color: white !important;
  text-align: center;
  vertical-align: middle !important;
}

.carousel-inner1 img {
  height: 700px;

  object-fit: contain;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.top-header {
  padding: 10px 0;
}
.top-header .brand-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.top-header .brand-subtitle {
  font-size: 1rem;
  font-style: italic;
}

.footer {
  padding: 5px 0;
}
.footer a {
  color: var(--gsja-gold);
  margin-left: 10px;
  margin-right: 10px;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .btn.btn-link {
  display: block;
  padding: 0;
  margin-bottom: 5px;
  color: white;
  text-align: left;
  font-weight: normal;
  transition: 0.3s;
  text-decoration: none !important; 
}
.footer .btn.btn-link::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: white;
}
.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
}
.footer .btn.btn-square {
  color: white;
  border: 1px solid white;
}
.footer .btn.btn-square:hover {
  color: var(--gsja-gold);
  border-color: var(--primary);
}

.copyright {
   background-color: #2a2a2a; 
  /*background-color: darkblue !important;*/
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;

}

.accessibility-bar {
  background-color: #f1f1f1;
  padding: 10px;
  text-align: right;
}
.accessibility-bar button {
  margin-left: 5px;
}

.quote-section {
  background-color: #f7efe2;
  padding: 20px;
}
.quote {
  font-size: 0.95rem;
  font-style: italic;
}

.sidebar-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--gsja-bg);
}
.sidebar-links a:hover {
  text-decoration: underline;
}

.news-rotator {
  height: 60px;
  overflow: hidden;
  position: relative;
}
.news-item {
  display: none;
  transition: opacity 0.5s ease-in-out;
}
.news-item.active {
  display: block;
}

.mycontent p {
  text-align: justify;
}
.mystyle a {
  color: var(--gsja-gold);
  text-decoration: none;
  font-weight: bold;
}
.uniform-img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .uniform-img {
    height: 180px;
  }
  .brand-title {
    font-size: 1.2rem !important;
  }
  .brand-subtitle {
    font-size: 1rem !important;
  }
  .top-header img {
    height: 80px !important;
    width: auto;
  }
}

.active > .page-link,
.page-link.active {
  background-color: var(--gsja-bg) ;
  border-color: var(--gsja-bg) ;
}

.thumbnail-box {
  width: 100%;
  height: 180px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
}
.thumbnail-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 2px solid #ccc;
  padding: 2px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}
.thumbnail-box img:hover {
  border-color: #007bff;
  cursor: pointer;
}

.gallery-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.gallery-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.gallery-card a {
  text-decoration: none;
  color: inherit;
}
.card-title {
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}
.person-card-title {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}
.zoom:hover {
  transform: scale(1.05);
  transition: 0.3s;
}

.gallery-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-img:hover {
  transform: scale(1.1);
}

.modal-img {
  width: 100%;
}


/* for home page */

.scroll-box {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.scroll-list {
  position: absolute;
  animation: scroll-up 15s linear infinite;
}

@keyframes scroll-up {
  0%   { top: 100%; }
  100% { top: -100%; }
}

.scroll-list li {
  padding: 0.5rem;
}
.scroll-box:hover .scroll-list {
  animation-play-state: paused;
}

  .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    position: absolute;
    width: 100%;
  }

  .carousel-item.active {
    opacity: 1;
    position: relative;
    transform: scale(1);
    z-index: 2;
  }

  .carousel-inner {
    position: relative;
    overflow: hidden;
  }


.high-contrast {
  background-color: black !important;
  color: yellow !important;
}
.high-contrast a {
  color: cyan !important;
}
.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 10px;
}

    .accessibility-bar {
      background-color: #f1f1f1;
      padding: 10px;
      text-align: right;
    }
    .accessibility-bar button {
      margin-left: 5px;
    }
    .high-contrast {
      background-color: black !important;
      color: yellow !important;
    }
    .high-contrast a {
      color: cyan !important;
    }
    .grayscale {
      filter: grayscale(100%) !important;
    }

    body.high-contrast,
.high-contrast .navbar,
.high-contrast .mystyle,
.high-contrast .bgblock,
.high-contrast .card,
.high-contrast .footer,
.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5,
.high-contrast h6,
.high-contrast li,

.high-contrast th,
.high-contrast .dropdown-menu,
.high-contrast .list-group-item 

{
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

 .high-contrast    .accessibility-icon {
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 1050;
       background-color: #Fff;
      border-radius: 50%;
      padding: 12px;
      font-size: 24px;
      border: 2px solid #ccc;
      cursor: pointer;
    }

.high-contrast .navbar .nav-link,
.high-contrast .dropdown-item,
.high-contrast a,
.high-contrast a:link,
.high-contrast a:visited {
  color: #ff0 !important;
}

.high-contrast .btn,
.high-contrast .btn-outline-dark,
.high-contrast .btn-outline-secondary {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

.high-contrast .btn-link {
  color: #ff0 !important;
}
.high-contrast .active > .page-link,
.page-link.active {
 background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
.high-contrast img {
  filter: brightness(0.8) contrast(1.5);
}
.high-contrast  .accessibility-panel
{
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}


  .scroll-list li {
  display: flex;
  align-items: flex-start;
}

.scroll-list li i {
  flex-shrink: 0;
  margin-right: 0.5rem;
  margin-top: 0rem;
   font-weight: bolder;
   font-size: 1.1rem;
}

.scroll-list li a {
  display: block;
  line-height: 1.4;
  text-indent: 0;
}
.table-responsive
{
font-size: 0.9rem;
}
.search-result-title
{
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
}
