:root,
[data-bs-theme="light"] {
  --bs-blue: #2a7efb;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #1E1F1F;
  --bs-primary: #2a7efb;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0ee3e8;
  --bs-warning: #e8c70e;
  --bs-danger: #e8220e;
  --bs-light: #f8f9fa;
  --bs-dark: #323232;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #084a97;
  --bs-secondary-text-emphasis: #3f464d;
  --bs-success-text-emphasis: #0f5a38;
  --bs-info-text-emphasis: #08797d;
  --bs-warning-text-emphasis: #7a6907;
  --bs-danger-text-emphasis: #7a1208;
  --bs-light-text-emphasis: #5f6368;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #d9ebff;
  --bs-secondary-bg-subtle: #e9ecef;
  --bs-success-bg-subtle: #d7f0e3;
  --bs-info-bg-subtle: #d5fbfc;
  --bs-warning-bg-subtle: #fff7cf;
  --bs-danger-bg-subtle: #ffd9d5;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #d3d7db;
  --bs-primary-border-subtle: #9fcafd;
  --bs-secondary-border-subtle: #c9ced3;
  --bs-success-border-subtle: #9fd8bd;
  --bs-info-border-subtle: #97f0f2;
  --bs-warning-border-subtle: #f8e17a;
  --bs-danger-border-subtle: #f59a91;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace:
    SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  --bs-gradient: linear-gradient(180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #323232;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #2a7efb;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-decoration: underline;
  --bs-link-hover-color: color-mix(in srgb, var(--bs-link-color) 90%, #000);
  --bs-link-hover-color-rgb: 10, 88, 202;
  --bs-code-color: #d63384;
  --bs-highlight-color: #323232;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.25rem;
  --bs-border-radius-sm: 0.5rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #e8220e;
  --bs-form-invalid-border-color: #e8220e;

  --color-white: #ffffff;
  --color-gray-5: #f5f5f5;
  --color-gray-10: #d8d8d8;
  --color-gray-90: #323232;
  --color-blue-50: #2a7efb;
  --color-blue-70: #0954d9;
  --color-blue-80: #0746bd;
  --color-blue-90: #04287e;

  --color-orange-50: #ffb380;
  --color-orange-60: #fd7e14;
  --color-orange-70: #e66b0f;
  --color-orange-80: #b85a0b;
  --color-orange-90: #7a3d07;

  --color-green-50: #78ce78;
  --color-green-60: #198754;
  --color-green-70: #157347;
  --color-green-80: #0f5a38;
  --color-green-90: #0a3d24;

  --surface-default: var(--color-white);
  --border-subdued: var(--color-gray-10);
  --text-default: var(--color-gray-90);
  --interactive-focused: var(--color-blue-50);

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --spacing-unit: 4px;
}


/* --- Layout Architecture Framework --- */
.visual-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--surface-default);
  font-family: var(--font-sans);
}

.site-header__wrapper {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* Navbar Layout Grid Block */
.navbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: calc(var(--spacing-unit) * 4) 0;
  padding: 0 calc(var(--spacing-unit) * 4);
  margin: 0 auto;
  max-width: 1400px;
  height: 80px;
}

/* Navbar Elements */
.navbar__brand {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: calc(var(--spacing-unit) * 2) 0;
}

.navbar__logo-link {
  text-decoration: none;
  color: inherit;
}

.navbar__logo-group {
  display: flex;
  gap: calc(var(--spacing-unit) * 3);
  align-items: center;
}

.navbar__logo {
  display: block;
  max-width: min-content;
  height: auto;
}

.navbar__logo--ministry {
  height: 40px;
}

.navbar__logo--platform {
  height: 32px;
}

.navbar__mobile-actions {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1);
}

.navbar__search-container {
  width: 100%;
}

.navbar__search-container--desktop {
  display: none;
}

.navbar__search-container--mobile {
  display: block;
  padding-bottom: calc(var(--spacing-unit) * 4);
}

.navbar__user-actions {
  display: none;
  align-items: center;
  gap: calc(var(--spacing-unit) * 3);
  margin: calc(var(--spacing-unit) * 2) 0;
  z-index: 999;
}

.navbar__utility-group {
  display: flex;
  gap: calc(var(--spacing-unit) * 1);
}

.navbar__auth-group {
  display: flex;
}

.navbar__login-btn--mobile {
  display: inline-flex;
}

.navbar__login-btn--desktop {
  display: none;
}

/* --- Search Form Block --- */
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-form__field-group {
  position: relative;
  display: flex;
  width: 100%;
}

.search-form__input {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  padding: 0 64px 0 12px;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-default);
  background-color: var(--color-white);
  border: 1px solid var(--border-subdued);
  border-radius: var(--bs-border-radius);
  outline: none;
  transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.search-form__input:hover {
  border-color: var(--color-gray-90);
}

.search-form__input:focus {
  border-color: var(--color-blue-70);
  box-shadow: 0 0 0 2px var(--interactive-focused);
}

.search-form__submit-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  border: 1px solid var(--border-subdued);
}

/* --- Responsive Layout Breakpoints --- */

/* Medium Viewport (MD) */
@media (min-width: 48rem) {
  .navbar {
    padding: 0 1.5rem;
  }

  .navbar__brand {
    max-width: min-content;
    min-width: 188px;
  }

  .navbar__logo--ministry {
    height: 44px;
  }

  .navbar__logo--platform {
    height: 36px;
  }

  .navbar__mobile-actions {
    display: none;
  }

  .navbar__search-container--desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    max-width: 36rem;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .navbar__search-container--mobile {
    display: none;
  }

  .navbar__user-actions {
    display: flex;
    justify-content: flex-end;
  }

  .search-form__input {
    height: 42px;
  }

  .search-form__submit-btn {
    height: 42px;
  }
}

/* Large Viewport (LG+) */
@media (min-width: 64rem) {
  .navbar {
    max-width: 1400px;
    padding: 0 2rem;
  }

  .navbar__search-container--desktop {
    max-width: 36rem;
    padding: 0;
  }

  .navbar__login-btn--mobile {
    display: none;
  }

  .navbar__login-btn--desktop {
    display: inline-flex;
  }
}

body {
  color: var(--dark) !important;
  overflow-x: hidden;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-dark) !important;
}

p {
  color: var(--bs-dark);
}

.hero {
  position: relative;
}

.hero__slider {
  width: 100%;
  position: relative;
  max-height: 500px;
  overflow: visible;
}

.hero__slider-slide {
  display: flex;
  aspect-ratio: 32 / 9;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
  border-radius: calc(var(--spacing-unit) * 2);
  overflow: hidden;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
}

.hero__slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slider {
  padding: calc(var(--spacing-unit) * 12) var(--spacing-unit) calc(var(--spacing-unit) * 10) var(--spacing-unit);
}

.hero__slider-pagination {
  bottom: calc(var(--spacing-unit) * 0) !important;
}

.hero__slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero__slider-control--prev {
  left: calc(var(--spacing-unit) * 2);
}

.hero__slider-control--next {
  right: calc(var(--spacing-unit) * 2);
}

.services {
  background: var(--color-gray-5);
  padding: calc(var(--spacing-unit) * 20) var(--spacing-unit) calc(var(--spacing-unit) * 20) var(--spacing-unit);
  margin: calc(var(--spacing-unit) * 12) 0 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: calc(var(--spacing-unit) * 6);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: white;
  padding: calc(var(--spacing-unit) * 4);
  border-radius: var(--bs-border-radius);
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-subdued);
}

.service-card {
  text-align: left;
  background: white;
  cursor: pointer;
  transition: transform 0.2s;
  padding: calc(var(--spacing-unit) * 4);
  border-radius: var(--bs-border-radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-subdued);
}

.service-card__header {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.service-card__icon {
  color: var(--color-orange-60);
  font-size: 2rem;
}

.service-card__title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0rem;
  color: var(--bs-gray-900);

  line-height: 1.3;
}

.service-card__description {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--bs-gray-700);
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__link {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
  color: var(--color-blue-50);
  margin-top: auto;
}

.service-card__link--btn {
  background-color: var(--color-blue-50);
  color: #fff;
  justify-content: center;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--bs-border-radius);
}

.sub-service {
  margin-bottom: 3rem;
}

.sub-service__title {
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--bs-dark);
}

.sub-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .sub-service__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-card__body--row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-card__badge-wrapper {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-color: var(--bs-dark);
  color: #fff;
}

.service-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
}

.service-card__content {
  flex: 1;
}

.procedure-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq .accordion-item {
  border: none;
  border-bottom: 1px solid var(--bs-gray-400);
}

.faq .accordion-button {
  font-weight: 600;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--dark);
  background-color: transparent;
}

.faq .accordion-button:focus {
  box-shadow: none;
}

.nav-tabs {
  border-bottom: 1px solid var(--bs-gray-500);
}

.nav-tabs .nav-link {
  font-weight: 600;
  color: var(--dark);
  border: none;
  padding: 1rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: transparent;
  border: none;
  position: relative;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 4px 4px 0 0;
  background-color: var(--color-blue-70);
}

.nav-link.disabled,
.nav-link:disabled {
  color: var(--bs-gray-500);
  background-color: transparent;
}

.service-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.faq {
  padding: calc(var(--spacing-unit) * 20) var(--spacing-unit) calc(var(--spacing-unit) * 20) var(--spacing-unit);
  margin: calc(var(--spacing-unit) * 12) 0 0 0;
}

.news {
  padding: calc(var(--spacing-unit) * 20) var(--spacing-unit) calc(var(--spacing-unit) * 20) var(--spacing-unit);
}

.footer {
  background-color: var(--bs-gray-900);
  padding: calc(var(--spacing-unit) * 16) 0 0 0;
  color: #fff;
}

.footer p {
  color: #fff;
  margin: 0;
}

.footer__brand {
  margin-bottom: var(--spacing-unit);
}

.footer__title {
  font-weight: 600;
  margin-bottom: var(--spacing-unit);
  font-size: 1.25rem;
  color: #fff;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: var(--spacing-unit);
}

.footer__links a {
  color: #fff;
  text-decoration: none;
}

/* --- Base Button Overrides --- */
.btn {
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 0.25rem;

  transition: all 300ms cubic-bezier(0, 0, 0.2, 1), scale 100ms ease-in-out;
}

.btn:active {
  scale: 0.96;
}

.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--color-blue-50);
  --bs-btn-border-color: var(--color-blue-50);

  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--color-blue-70);
  --bs-btn-hover-border-color: var(--color-blue-70);

  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--color-blue-80);
  --bs-btn-active-border-color: var(--color-blue-80);

  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: #d8d8d8;
  --bs-btn-disabled-border-color: #d8d8d8;
}

.btn-dark {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #323232;
  --bs-btn-border-color: #323232;

  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #212121;
  --bs-btn-hover-border-color: #212121;

  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #1e1f1f;
  --bs-btn-active-border-color: #1e1f1f;

  --bs-btn-disabled-color: #828282;
  --bs-btn-disabled-bg: #d8d8d8;
  --bs-btn-disabled-border-color: #d8d8d8;
}

.btn-dark:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #2a7efb !important;
}

.btn-outline-dark {
  --bs-btn-color: #323232;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #323232;

  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #323232;
  --bs-btn-hover-border-color: #323232;

  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #212121;
  --bs-btn-active-border-color: #212121;

  --bs-btn-disabled-color: #828282;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #d8d8d8;
  --bs-btn-border-width: 2px;
}

.btn-light {
  --bs-btn-color: #323232;
  --bs-btn-bg: var(--bs-gray-100);
  --bs-btn-border-color: var(--bs-gray-200);

  --bs-btn-hover-color: #323232;
  --bs-btn-hover-bg: #f1f1f1;
  --bs-btn-hover-border-color: var(--bs-gray-200);

  --bs-btn-active-color: #323232;
  --bs-btn-active-bg: #d8d8d8;
  --bs-btn-active-border-color: var(--bs-gray-200);

  --bs-btn-disabled-color: #828282;
  --bs-btn-disabled-bg: var(--bs-gray-200);
  --bs-btn-disabled-border-color: var(--bs-gray-200);
}

.btn-light:hover {
  --bs-btn-bg: var(--bs-gray-100);
  --bs-btn-hover-border-color: var(--bs-gray-200);
}

.btn-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #2a7efb !important;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-item a {
  text-decoration: none;
}

.section {
  padding: calc(var(--spacing-unit) * 12) var(--spacing-unit) calc(var(--spacing-unit) * 12) var(--spacing-unit);
}

/* Media */
@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 1400px) {}
