body {
  background: #f7f9fc;
  font-family: "Segoe UI", sans-serif;

  /* Keep footer pinned to bottom */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* HEADER */
.site-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 3px solid #98c343;
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo-container {
  gap: 1.5rem;
}

.site-header img {
  max-height: 80px;
  width: auto;
}

.site-header h2 {
  color: #3966ab;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.site-header p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768.98px) {
  .site-header img {
    max-height: 56px;
  }

  .site-header h2 {
    font-size: 1.25rem;
  }

  .site-header p {
    font-size: 0.9rem;
  }

  .logo-container {
    gap: 0.75rem;
  }
}

/* ===== FOOTER: mobile-only centering ===== */
@media (max-width: 767.98px) {
  .footerrow {
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .footerrow .row {
    align-items: center !important;
    justify-content: center !important;
  }

  .footerrow .row > div {
    width: 100%;
    text-align: center !important;
    margin-bottom: 0.5rem;
  }

  .footerrow img {
    height: 30px;
    width: auto;
    margin: 0.5rem auto 0;
    display: block;
  }
}

/* TABS */
.nav-pills {
  position: relative;
  padding: 0.5rem;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(57, 102, 171, 0.1),
    rgba(152, 195, 67, 0.1)
  );
}

.nav-pills .nav-link {
  color: #333;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  padding: 0.6rem 1rem;
  border: 2px solid #3966ab;
  margin: 0 0.25rem;
  position: relative;
  z-index: 1;
  background: #fff;
  overflow: hidden;
  white-space: nowrap;
}

.nav-pills .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #3966ab, #98c343);
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.nav-pills .nav-link:hover:not(.active) {
  border-color: #98c343;
  color: #98c343;
}

.nav-pills .nav-link:hover::after {
  width: 30%;
}

.nav-pills .nav-link.active {
  background: linear-gradient(to right, #3966ab, #98c343);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.nav-pills .nav-link.active::after {
  width: 50%;
}

/* Make tabs scrollable on mobile */
.tabs-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.tabs-scroll .nav {
  flex-wrap: nowrap;
}

/* Tab Content */
.tab-content {
  border: 2px solid rgba(57, 102, 171, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.tab-content::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3966ab, #98c343);
  z-index: -1;
  opacity: 0.1;
}

/* Cards */
.card {
  border: 2px solid #98c343;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-height: 140px;
  object-fit: contain;
}

.card h6 {
  color: #3966ab;
}

@media (max-width: 575.98px) {
  .card img {
    max-height: 110px;
  }
}

.btn-portal {
  background: linear-gradient(to right, #3966ab, #98c343);
  color: #fff;
  border-radius: 6px;
  border: none;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 1;
}

.btn-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #98c343, #3966ab);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
}

.btn-portal:hover::before {
  opacity: 1;
}

.btn-portal:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 102, 171, 0.2);
}

/* Official Website Link */
.official-website-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(to right, #3966ab, #98c343);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(57, 102, 171, 0.1);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.official-website-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #98c343, #3966ab);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
}

.official-website-link:hover::before {
  opacity: 1;
}

.official-website-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 102, 171, 0.2);
}

.official-website-link i {
  transition: transform 0.3s ease;
}

.official-website-link:hover i {
  transform: translateX(4px);
}

/* FOOTER */
footer {
  background: #0c2340;
  color: #fff;
  width: 100%;
}

.footerrow {
  background: linear-gradient(to right, #001833, #0c2340);
  color: #eee;
  min-height: 60px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footerrow img {
  vertical-align: middle;
  height: 32px;
  width: auto;
  margin-left: 10px;
  transition: opacity 0.3s ease;
}

.footerrow img:hover {
  opacity: 0.8;
}

@media (max-width: 576px) {
  .footerrow {
    padding: 1rem 0;
    text-align: center;
  }

  .footerrow .row > div {
    width: 100%;
    text-align: center !important;
    margin-bottom: 0.5rem;
  }

  .footerrow img {
    height: 28px;
    margin-top: 0.5rem;
  }
}
/* ===== Sticky Header ===== */
/* .site-header {
  position: sticky;
 
  top: 0;
  z-index: 1030;
  
} */
