/* === BASE STYLES === */
body {
  font: 300 14px/1.4 'Roboto', sans-serif;
  color: #444;
}

img {
  max-width: 100%;
}

input:focus {
  outline: 0;
  border: 1px solid #04A4CC;
}

/* === LINKS === */
a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #444;
  text-decoration: none;
}

.header a,
.footer a {
  color: white;
}

.header a:hover,
.footer a:hover {
  color: #E8EAF6;
}


/* === HEADER === */
.header {
  background-color: #21245E;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.logo-col {
  padding-left: 0 !important;
}



/* Logo styling */
.logo-img {
  max-width: 120px;
  height: auto;
  display: block;
  margin-left: 0; /* Space from the left edge */
}

/* Optional: for better vertical centering */
.site-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Responsive header typography */
@media (max-width: 768px) {
  .site-title {
    font-size: 1.25rem;
    text-align: center;
  }
}
/* === NAVIGATION === */
.tab-style-nav ul {
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-style-nav ul li a {
  color: white;
  font-weight: 500; /* try 400 if this still feels too heavy */
  letter-spacing: 0.5px;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  font-size: 0.95rem; /* slightly smaller for balance */
}

.tab-style-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #E8EAF6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.tab-style-nav ul li a:hover::after,
.tab-style-nav ul li.current-menu-item a::after {
  transform: scaleX(1);
}

/* === SEARCH FORM === */
.search-form {
  max-width: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 0.25rem 0.5rem;
  margin: 1rem auto;
}

.search-input {
  flex: 1;
  border: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  outline: none;
  background: transparent;
  border-radius: 999px;
}

.search-submit {
  background-color: #21245E;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  transition: background-color 0.2s ease;
}

.search-submit:hover {
  background-color: #101236;
}
.searchBar {
  max-width: 700px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  background-color: #21245E;
  color: white;
  padding: 2rem 0;
}

.footerLogo img {
  max-width: 100px;
  height: auto;
}

/* === BUTTONS === */


.siteBtn, .accessBtn {
  background-color: #21245E;
  color: #fff;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  transition: background 0.2s ease;
}
.siteBtn:hover, .accessBtn:hover {
  background-color: #101236;
  color: #fff;
}

/* === HOMEPAGE === */
.btn-chip {
  background-color: #E8EAF6;
  color: #21245E;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}


.btn-chip:hover {
  background-color: #c5cae9;
  color: #000;
}

.btn-chip.active {
  background-color: #21245E;
  color: white;
  font-weight: 600;
}

.filter-button-group .filter.active {
  background-color: #21245E;
  color: white;
  border-color: #21245E;
}

/* === APP ACCESS PAGE === */


.accessPageIntroTxt {
  text-align: center;
  margin-bottom: 2rem;
}
.accessPageIntroTxt h2 {
  font-size: 1.5rem;
  font-weight: 500;
}
.accessPageIntroTxt em {
  font-style: normal;
  color: #666;
  display: block;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.cardCont {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

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

.cardWrap {
  flex: 1;
  display: flex;
}

.cardImgWrap {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.cardImg {
  margin-bottom: 0.75rem; 
}

.cardCopy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
.accordion-button {
  background-color: #f8f9fa;
  font-weight: 500;
}
.accordion-button:not(.collapsed) {
  background-color: #e9ecef;
  color: #21245E;
}
.accordion-body {
  font-size: 0.95rem;
}

.accordion-body a {
  color: #21245E;
  font-weight: 500;
  text-decoration: underline;
}

.accordion-body a:hover {
  color: #101236;
  text-decoration: none;
}

.privacyWrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  background-color: #f0f0f0;
  padding: 1.5rem;
  border-radius: 12px;
}
.privacyImg img {
  width: 40px;
  height: auto;
}
.privacyTxt h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.privacyTxt p {
  font-size: 0.95rem;
  color: #444;
}

.accessPageWrapper {
  padding: 2rem 5rem; /* 2rem top/bottom, 1.5rem left/right */
}

/* === APP PAGES === */

/* Wrapper padding */
.appPageWrapper {
  padding: 2rem 1rem;
}

/* Intro Section */
.appPageIntroWrap {
  margin-bottom: 2rem;
  align-items: center;
}

.appPageIntroTxt h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #21245E;
  margin-bottom: 0;
}

.appPageIntroBtn {
  text-align: right;
}

.appPageIntroBtn .appPageBtn {
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  background-color: #21245E;
  color: white;
  border: none;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.appPageIntroBtn .appPageBtn:hover {
  background-color: #101236;
  color: #fff;
}

/* Accordion wrapper */
.appOptionsBG {
  background-color: #f5f7fb;
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.grid-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  width: 100%;
  max-width: 200px;       /* 🛠️ Fix size explosion */
  margin: 0 auto;         /* 🛠️ Center tiles */
}

.grid-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.gridBGWrapper {
  padding-bottom: 3rem;
}