:root {
  --bg: #f5f9ff;
  --text: #1a56db;
  --primary: #0b5cab;
  --primary-2: #1b78d0;
  --primary-light: #e8f2fc;
  --white: #ffffff;
  --muted: #1a56db;
  --border: #dbe6f3;
  --shadow: 0 8px 20px rgba(11, 92, 171, 0.1);
  --shadow-light: 0 4px 12px rgba(11, 92, 171, 0.08);
  --gov-blue: #0a3f78;
  --success: #16a34a;
  --error: #dc2626;
  --ring: 0 0 0 3px rgba(27, 120, 208, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "-apple-system", "Helvetica Neue", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../images/Gemini_Generated_Image_atiw8watiw8watiw.png");
  background-repeat: no-repeat;
  background-size: min(860px, 64vw);
  background-position: center center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, 95%);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ===== HEADER & NAVIGATION ===== */
.topbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow-light);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.22), 0 8px 18px rgba(10, 63, 120, 0.25);
}

.brand h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.mini {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

.lang-btn:hover {
  background: #f1f7ff;
}

.btn-auth {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  border: 0;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mode-toggle-btn {
  background: #f3f8ff;
  color: #0a3f78;
  border: 1px solid #c3daf5;
  box-shadow: none;
}

.mode-toggle-btn:hover {
  background: #eaf3ff;
  color: #083663;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  font-size: 0.9rem;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(11, 92, 171, 0.24);
}

.btn.primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.btn:focus-visible,
.search-field input:focus-visible,
.search-field select:focus-visible,
.menu-btn:focus-visible,
.nav-links a:focus-visible,
.lang-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ===== CAROUSEL CONTROLS ===== */
.carousel-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--white);
  border-color: var(--white);
  width: 32px;
  border-radius: 6px;
}

.carousel-dot:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.3);
}

.carousel-slides {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.carousel-slide {
  display: none;
  animation: fadeIn 0.8s ease-in-out;
}

.carousel-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== HERO SECTION ===== */
.hero-carousel-section {
  position: relative;
  margin-top: 0;
}

.carousel-container {
  overflow: hidden;
  border-radius: 0;
  position: relative;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, #0d4d90 0%, #0a3f78 100%);
}

.carousel-bg {
  color: var(--white);
  position: relative;
  min-height: 560px;
}

.carousel-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.22), transparent 45%),
              radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.15), transparent 42%);
  pointer-events: none;
}

.carousel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(3.2rem, 9vw, 6rem) 1.25rem 5.2rem;
  text-wrap: balance;
}

.hero-tagline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f5faff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.carousel-content h2 {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.14;
  color: #1b9cff;
  text-shadow: 0 6px 18px rgba(255, 255, 255, 0.35);
  width: 100%;
  overflow: hidden;
}

.hero-title-text {
  display: inline-block;
  transition: opacity 0.24s ease, transform 0.24s ease;
  will-change: opacity, transform;
  transform-origin: left center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: none !important;
}

.hero-title-text.hero-title-out {
  opacity: 0;
  transform: translateX(120px);
}

.hero-title-text.hero-title-in {
  animation: heroTitleIn 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.carousel-content h2.hero-heading-animate {
  animation: heroHeadingReveal 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes heroHeadingReveal {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateX(-145px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subtitle {
  max-width: 700px;
  font-size: 1.05rem;
  margin: 0;
  color: #cfe7ff;
  line-height: 1.6;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-theme-line {
  margin: -0.55rem 0 0;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #1b9cff;
  letter-spacing: 0.01em;
  display: inline-block;
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
  transform-origin: left center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: none !important;
}

.hero-theme-line.theme-line-out {
  opacity: 0;
  transform: translateX(92px);
}

.hero-theme-line.theme-line-in {
  animation: heroThemeLineIn 0.44s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes heroThemeLineIn {
  from {
    opacity: 0;
    transform: translateX(-112px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel-slide-minister .hero-bg-overlay {
  background:
    linear-gradient(95deg, rgba(247, 251, 255, 0.94) 0%, rgba(243, 249, 255, 0.9) 46%, rgba(11, 92, 171, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.carousel-slide-banner .hero-bg-overlay {
  background: transparent !important;
}

.carousel-slide-banner .carousel-bg::before {
  display: none;
}

.carousel-slide-banner .hero-bg-image {
  display: none;
}

.carousel-slide-banner .carousel-bg {
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
}

.carousel-slide-banner .carousel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  transform-origin: center center;
  animation: heroBannerZoomLayer 34s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 0.78;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-composite: intersect;
  filter: saturate(1.02);
  will-change: transform;
}

@keyframes heroBannerZoomLayer {
  0% {
    transform: scale(0.92) translateY(0%);
  }
  50% {
    transform: scale(0.98) translateY(0.35%);
  }
  100% {
    transform: scale(1.05) translateY(0%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide-banner .carousel-bg::after {
    animation: none;
    transform: none;
  }

  .carousel-content h2.hero-heading-animate {
    animation: none;
  }
}

.carousel-content-minister {
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(2.4rem, 6vw, 4.1rem) 1.2rem 3.5rem;
  color: #12263f;
}

.carousel-content-banner {
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(2.8rem, 7vw, 4.8rem) 1.2rem 4rem;
  color: #ffffff;
}

.carousel-content-banner::before {
  display: none;
}

.carousel-content-banner h2,
.carousel-content-banner .hero-subtitle {
  max-width: 100%;
}

.carousel-content-banner h2,
.carousel-content-banner .hero-tagline,
.carousel-content-banner .hero-theme-line,
.carousel-content-banner .hero-subtitle {
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.28);
}

.carousel-content-banner h2 {
  color: #1b9cff;
}

.carousel-content-banner .hero-tagline {
  background: rgba(10, 63, 120, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  backdrop-filter: blur(1px);
}

.carousel-content-banner .btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
}

.carousel-content-banner .btn.secondary:hover {
  background: transparent;
  border-color: #ffffff;
}

.carousel-content-minister .hero-tagline {
  background: rgba(11, 92, 171, 0.12);
  border-color: rgba(11, 92, 171, 0.22);
  color: #0a3f78;
}

.carousel-content-minister h2 {
  color: #1b9cff;
  text-shadow: none;
  max-width: 100%;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.carousel-content-minister .hero-theme-line {
  color: #2f4b6a;
}

.carousel-content-minister .hero-subtitle {
  color: #2e4560;
  text-shadow: none;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.68;
  font-weight: 500;
}

.carousel-content-minister .hero-theme-line {
  margin-top: -0.2rem;
  font-weight: 600;
}

.carousel-content-minister .hero-cta {
  margin-top: 0.2rem;
}

.hero-btn-yellow {
  background: linear-gradient(135deg, #f7b500 0%, #f59e0b 50%, #ef8f00 100%);
  color: #fff;
  border-color: rgba(140, 74, 8, 0.18);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.35);
}

.hero-btn-yellow:hover {
  transform: translateY(-2px);
  filter: saturate(1.07);
}

.hero-btn-green {
  background: linear-gradient(135deg, #4b7b1f, #3f6b19);
  color: #fff;
  border-color: rgba(38, 68, 14, 0.22);
  box-shadow: 0 10px 22px rgba(63, 107, 25, 0.3);
}

.hero-btn-green:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
}

.hero-quick-links-section {
  margin-top: -0.8rem;
  position: relative;
  z-index: 7;
}

.hero-quick-links-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  background: #ffffff;
  border: 1px solid #dbe6f3;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(10, 63, 120, 0.14);
  overflow: hidden;
}

.hero-quick-link-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  text-decoration: none;
  color: #1b2f49;
  font-weight: 700;
  padding: 1rem 1rem;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.hero-quick-link-item:hover {
  background: linear-gradient(135deg, #f4f9ff 0%, #edf6ff 100%);
  color: #0a3f78;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(11, 92, 171, 0.08), 0 10px 18px rgba(11, 92, 171, 0.08);
}

.hero-quick-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #edf5ff 0%, #e4f0ff 100%);
  color: #0a3f78;
  border: 1px solid #cfe1f6;
  flex: 0 0 42px;
}

.hero-quick-link-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-quick-link-icon-land {
  color: #2f6f26;
  background: linear-gradient(145deg, #eef9ec 0%, #e4f5e0 100%);
  border-color: #cfe9c7;
}

.hero-quick-link-icon-plan {
  color: #0a4d86;
}

.hero-quick-link-icon-build {
  color: #1a56db;
  background: linear-gradient(145deg, #fff6e8 0%, #ffefd5 100%);
  border-color: #f4dbb4;
}

.hero-quick-link-icon-support {
  color: #1a56db;
  background: linear-gradient(145deg, #f3eeff 0%, #ece4ff 100%);
  border-color: #d8c9ff;
}

.hero-quick-link-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-quick-link-title {
  font-size: 0.98rem;
  line-height: 1.22;
  letter-spacing: 0.005em;
}

.hero-quick-link-subtitle {
  font-size: 0.76rem;
  line-height: 1.25;
  color: #1a56db;
  font-weight: 600;
  margin-top: 0.2rem;
}

.orbit-center-text-hub {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 255, 0.98) 100%);
  border: 1px solid #cfe1f6;
  box-shadow: 0 18px 36px rgba(10, 63, 120, 0.16);
  padding: 1.3rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.orbit-center-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a3f78;
  background: linear-gradient(145deg, #edf5ff 0%, #dcecff 100%);
  border: 1px solid #bfd8f1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
}

.orbit-center-text-hub h3 {
  position: static;
  background: none;
  color: #0a3f78;
  text-shadow: none;
  padding: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.orbit-center-note {
  margin: 0;
  color: #1a56db;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.orbit-center-text-hub .orbit-center-image {
  display: none;
}

.orbit-center-text-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(27, 120, 208, 0.12), transparent 38%), radial-gradient(circle at bottom right, rgba(11, 92, 171, 0.09), transparent 42%);
  pointer-events: none;
}

.hero-quick-link-divider {
  width: 1px;
  background: linear-gradient(180deg, rgba(11, 92, 171, 0.1), rgba(11, 92, 171, 0.3), rgba(11, 92, 171, 0.1));
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 1.7rem;
}

.section-heading.centered h2 {
  margin-bottom: 0.35rem;
}

.section-heading.centered p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.step-guide-section .section-heading.centered h2 {
  color: #1a56db;
}

.step-guide-section .section-heading.centered p {
  color: #1a56db;
  opacity: 0.75;
}

.step-guide-section {
  padding-top: 2.6rem;
  padding-bottom: 2.8rem;
}

.step-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3d9c8;
  box-shadow: 0 4px 10px rgba(122, 93, 48, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(122, 93, 48, 0.12);
}

.step-card-top {
  background: linear-gradient(135deg, #f1f7ff 0%, #e4efff 100%);
  color: #0a3f78;
  border-bottom: 1px solid #d3e3f6;
  padding: 0.34rem 0.52rem;
  display: flex;
  gap: 0.32rem;
  align-items: flex-start;
  min-height: 46px;
}


.step-card:nth-child(2) .step-card-top { background: linear-gradient(135deg, #fff3e8 0%, #ffe8d3 100%); }
.step-card:nth-child(3) .step-card-top { background: linear-gradient(135deg, #f5fbe8 0%, #e8f3cf 100%); }
.step-card:nth-child(4) .step-card-top { background: linear-gradient(135deg, #f7fbea 0%, #ecf4d4 100%); }
.step-card:nth-child(5) .step-card-top { background: linear-gradient(135deg, #f9f3ec 0%, #efe2d3 100%); }

.step-card {
  clip-path: none;
}

.step-card-num {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.02rem;
}

.step-card-title {
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step-card-image {
  min-height: 96px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
    linear-gradient(145deg, #f8f1e5 0%, #efdec6 100%);
  position: relative;
}

.step-card-image::before {
  content: "";
  position: absolute;
  inset: 18px 22px 20px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff7ea 0%, #e4c58c 100%);
  opacity: 0.95;
  display: none;
}

.step-card:nth-child(1) .step-card-image::before { background: linear-gradient(145deg, #fff8ee 0%, #e9c19d 100%); }
.step-card:nth-child(2) .step-card-image::before { background: linear-gradient(145deg, #f9f2e5 0%, #e1d1b7 100%); }
.step-card:nth-child(3) .step-card-image::before { background: linear-gradient(145deg, #fbf0c6 0%, #d7b35a 100%); }
.step-card:nth-child(4) .step-card-image::before { background: linear-gradient(145deg, #fff7ed 0%, #e7b37d 100%); }
.step-card:nth-child(5) .step-card-image::before { background: linear-gradient(145deg, #f7efe1 0%, #d2b18a 100%); }

.step-card-footer {
  background: rgba(255,255,255,0.92);
  padding: 0.5rem 0.6rem 0.6rem;
  font-weight: 700;
  color: #0a3f78;
  text-align: center;
  font-size: 0.8rem;
}

.consultation-section {
  padding-top: 1rem;
  padding-bottom: 2.8rem;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(93, 120, 48, 0.16);
}

.consultation-panel {
  background: linear-gradient(135deg, #4f6d24 0%, #375316 100%);
  color: #fff;
  padding: 2.4rem 2.2rem;
}

.consultation-panel h2 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
}

.consultation-panel p {
  margin: 0 0 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 38ch;
}

.consultation-btn {
  background: linear-gradient(135deg, #ee7b17 0%, #e06600 100%);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 0.8rem 1.25rem;
  box-shadow: 0 10px 20px rgba(224, 102, 0, 0.28);
}

.resources-panel {
  background: linear-gradient(145deg, #ffffff 0%, #f8f4ea 100%);
  padding: 2.2rem 2rem;
  border: 1px solid #e9dcc5;
}

.resources-panel h3 {
  margin: 0 0 1.2rem;
  color: #1a56db;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  text-align: center;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.resource-item {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 0.8rem 0.45rem;
  border-left: 1px solid rgba(140, 120, 86, 0.18);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.resource-item:first-child {
  border-left: 0;
}

.resource-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 14px rgba(11, 92, 171, 0.12);
}

.resource-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff 0%, #efe7d8 100%);
  border: 1px solid #d7c6a8;
  font-size: 1.7rem;
}

.resource-text {
  color: #1a56db;
  font-weight: 700;
  font-size: 0.92rem;
}

.stories-section {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.story-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf4e8 100%);
  border: 1px solid #eadcc8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(128, 91, 35, 0.12);
}

.story-image {
  height: 170px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.1)),
    linear-gradient(145deg, #f2d3b3 0%, #d7b081 100%);
  position: relative;
}

.story-image::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  top: 18px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff7eb 0%, #e8c596 100%);
}

.story-body {
  padding: 1rem 1.05rem 1.15rem;
}

.story-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  color: #1a56db;
}

.story-body p {
  margin: 0;
  color: #1a56db;
}


/* ===== HERO SEARCH BOX ===== */
.hero-search-box {
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.985);
  border-radius: 16px;
  border: 1px solid rgba(219, 230, 243, 0.9);
  padding: 1.8rem;
  box-shadow: 0 28px 56px rgba(9, 45, 83, 0.24);
  margin: -3rem auto 0;
  position: relative;
  z-index: 5;
}

.hero-search-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.search-form {
  margin: 0;
}

.search-inputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: flex-end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.search-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.search-field input,
.search-field select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: all 0.3s ease;
  min-height: 44px;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.1);
}

.search-field input::placeholder {
  color: var(--muted);
}

.search-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  border: 0;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 44px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 92, 171, 0.25);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
}

.actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: 3.5rem 0;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.8rem 0;
  color: var(--text);
}

.section.alt {
  background: #f0f5ff;
}

/* ===== FEATURED SERVICES CARDS ===== */
.featured-services {
  padding: 2.5rem 0 3.5rem;
  background: var(--primary-light);
  border-top: 1px solid rgba(11, 92, 171, 0.08);
  border-bottom: 1px solid rgba(11, 92, 171, 0.08);
}

.explore-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.explore-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.explore-header h2 {
  margin: 0.5rem 0 0.5rem;
  font-size: 2.2rem;
  color: var(--text);
}

.explore-header p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-orbit-wrap {
  margin-top: 1.8rem;
}

.service-orbit {
  position: relative;
  width: min(760px, 96%);
  height: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 26px rgba(11, 92, 171, 0.1));
}

.service-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(430px, 72vw);
  height: min(300px, 54vw);
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(11, 92, 171, 0.22);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, 68vw);
  background: linear-gradient(150deg, rgba(6, 34, 64, 0.25) 0%, rgba(11, 92, 171, 0.12) 100%), url("../images/mainhome.PNG") center 46% / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(10, 63, 120, 0.18);
  text-align: center;
  padding: 0;
  animation: orbitFloat 4.5s ease-in-out infinite;
  overflow: hidden;
}

@keyframes orbitFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

.orbit-center img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  display: block;
  margin: 0;
}

.orbit-center h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.85rem 0.8rem;
  background: linear-gradient(180deg, rgba(5, 23, 43, 0) 0%, rgba(5, 23, 43, 0.72) 100%);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
}

.orbit-center-image-hub {
  background: linear-gradient(150deg, rgba(6, 34, 64, 0.18) 0%, rgba(11, 92, 171, 0.08) 100%);
}

.orbit-center-image-hub .orbit-center-image {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}

.orbit-center-image-hub h3 {
  font-size: 1.06rem;
}

.orbit-node {
  position: absolute;
  width: min(210px, 42vw);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  text-decoration: none;
  pointer-events: none;
}

.orbit-node-has-cover .orbit-node-thumb {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.46);
}

.orbit-node-has-cover .orbit-node-title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  position: relative;
  z-index: 2;
}

.orbit-node-has-cover .orbit-node-icon {
  box-shadow: 0 6px 14px rgba(8, 25, 44, 0.28);
  position: relative;
  z-index: 2;
}

.orbit-node-has-cover .orbit-node-thumb,
.orbit-node-has-cover .orbit-node-thumb::before {
  position: relative;
  z-index: 1;
}

.orbit-node-has-cover:hover {
  border-color: #d9ecff;
}

.orbit-node-service-buy-land.orbit-node-has-cover {
  --orbit-cover-image: url("../images/land.png");
  --orbit-cover-position: center 45%;
  --orbit-cover-overlay: linear-gradient(150deg, rgba(7, 38, 74, 0.68) 0%, rgba(11, 92, 171, 0.5) 56%, rgba(7, 22, 41, 0.72) 100%);
}

.orbit-node-service-build-house.orbit-node-has-cover {
  --orbit-cover-image: url("../images/construct.png");
  --orbit-cover-position: center 44%;
  --orbit-cover-overlay: linear-gradient(150deg, rgba(8, 34, 22, 0.58) 0%, rgba(23, 90, 62, 0.46) 56%, rgba(6, 24, 18, 0.68) 100%);
}

.orbit-node-service-buy-house.orbit-node-has-cover {
  --orbit-cover-image: url("../images/mainhome.PNG");
  --orbit-cover-position: center 46%;
  --orbit-cover-overlay: linear-gradient(150deg, rgba(7, 40, 76, 0.56) 0%, rgba(14, 104, 182, 0.4) 56%, rgba(5, 23, 42, 0.66) 100%);
}

.orbit-node-service-buy-land.orbit-node-has-cover .orbit-node-thumb {
  border-color: transparent;
}

.orbit-node-service-buy-land.orbit-node-has-cover::before {
  display: none;
}

.orbit-node-service-buy-land.orbit-node-has-cover .orbit-node-icon {
  display: none;
}

.orbit-node-service-build-house .orbit-node-thumb::before {
  background: linear-gradient(135deg, #5e4830 0%, #8b6f4d 55%, #caa77a 100%);
}

.orbit-node-service-buy-house .orbit-node-thumb::before {
  background: linear-gradient(135deg, #21507f 0%, #0b5cab 55%, #6ea5d6 100%);
}

.orbit-node-service-loan-help .orbit-node-thumb::before {
  background: linear-gradient(135deg, #2b3d7a 0%, #4759a4 55%, #7d8fda 100%);
}

.orbit-node::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 88px;
  background: linear-gradient(90deg, rgba(11, 92, 171, 0.6), rgba(11, 92, 171, 0.08));
  pointer-events: none;
}

.orbit-node:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.orbit-node-icon {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.orbit-node-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: #102742;
}

.orbit-node-1 { top: 18%; left: 4%; }
.orbit-node-2 { top: 18%; right: 4%; }
.orbit-node-3 { bottom: 18%; left: 4%; }
.orbit-node-4 { bottom: 18%; right: 4%; }

.orbit-node-1::before {
  right: -84px;
  transform: rotate(16deg);
  transform-origin: right center;
}

.orbit-node-2::before {
  left: -84px;
  transform: rotate(-16deg);
  transform-origin: left center;
}

.orbit-node-3::before {
  right: -84px;
  transform: rotate(-16deg);
  transform-origin: right center;
}

.orbit-node-4::before {
  left: -84px;
  transform: rotate(16deg);
  transform-origin: left center;
}

.orbit-hint {
  text-align: center;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-info-section {
  background: linear-gradient(180deg, #f2f7ff 0%, #edf4ff 100%);
}

.presentation-mode .topbar {
  box-shadow: 0 8px 20px rgba(7, 50, 95, 0.14);
}

.presentation-mode .btn-auth:not(.mode-toggle-btn) {
  display: none;
}

.presentation-action-section {
  padding-top: 2.1rem;
  padding-bottom: 2.8rem;
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
}

.presentation-action-panel {
  border-radius: 18px;
  border: 1px solid #c8dcf3;
  box-shadow: 0 14px 30px rgba(11, 92, 171, 0.12);
  background: linear-gradient(150deg, #ffffff 0%, #f4f9ff 100%);
}

.presentation-title {
  margin: 0;
  color: #0a3f78;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.presentation-desc {
  margin: 0.65rem auto 1.25rem;
  max-width: 64ch;
  color: #4f647d;
}

.presentation-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.presentation-secondary-btn {
  min-width: 220px;
}

.presentation-mode .hero-carousel-section {
  margin-bottom: 0;
}

.presentation-mode .carousel-controls {
  bottom: 1.1rem;
}

.trust-strip-section {
  padding: 0.6rem 0 2.4rem;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #c8def6;
  background: rgba(255, 255, 255, 0.96);
  color: #0c3f77;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.46rem 0.85rem;
  box-shadow: 0 3px 10px rgba(11, 92, 171, 0.08);
}

.kpi-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(860px, 100%);
  margin: 0 auto;
}

.kpi-highlight-card {
  border: 1px solid #c6dcf5;
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  border-radius: 14px;
  text-align: center;
  padding: 0.85rem 0.8rem;
  box-shadow: 0 10px 22px rgba(11, 92, 171, 0.1);
}

.kpi-highlight-value {
  margin: 0;
  color: #0b5cab;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.kpi-highlight-label {
  margin: 0.18rem 0 0;
  color: #4b637d;
  font-size: 0.86rem;
  font-weight: 600;
}

.info-cta-panel {
  border-radius: 18px;
  border: 1px solid rgba(178, 203, 232, 0.7);
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 16px 34px rgba(11, 92, 171, 0.12);
}

.info-cta-title {
  color: #0c3f77;
  letter-spacing: 0.01em;
}

.info-cta-desc {
  max-width: 62ch;
  margin-inline: auto;
}

.info-cta-btn {
  min-width: 220px;
}

.featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-light);
  position: relative;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.featured-card:hover .card-arrow {
  transform: translateX(4px);
}

.card-icon {
  font-size: 3rem;
  line-height: 1;
}

.featured-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.featured-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  flex-grow: 1;
}

.card-arrow {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  margin-top: 0.5rem;
}

/* ===== MODULE GRID ===== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-light);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.module-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.module-card h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.module-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== PANELS & CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow);
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

/* ===== FORMS ===== */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.field input,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.1);
}

/* ===== NOTICES ===== */
.notice {
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.notice.success,
.notice-info {
  background: #e9fbef;
  border-color: var(--success);
  color: #155724;
}

.notice.error {
  background: #fee8e8;
  border-color: var(--error);
  color: #8a1f1f;
}

.notice ul {
  margin: 0;
  padding-left: 1.5rem;
}

.notice li {
  margin: 0.3rem 0;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 0;
  background: var(--gov-blue);
  color: #eef6ff;
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin: 0.4rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }

  .hero-search-box {
    max-width: calc(100% - 2rem);
    margin: -2.5rem auto 0;
  }

  .service-orbit {
    height: 420px;
  }

  .carousel-bg {
    min-height: 520px;
  }

  .orbit-node {
    width: min(190px, 40vw);
    min-height: 108px;
  }

  .search-inputs {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .step-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body::before {
    background-size: min(680px, 106vw);
    background-position: center center;
  }

  .carousel-content h2 {
    font-size: 2.6rem;
  }

  .carousel-bg {
    min-height: 500px;
  }

  .hero-tagline {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-theme-line {
    max-width: 100%;
    font-size: 1.25rem;
    line-height: 1.45;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .carousel-content-minister {
    margin-left: auto;
    text-align: center;
    align-items: center;
    max-width: 96%;
  }

  .carousel-content-minister h2,
  .carousel-content-minister .hero-subtitle {
    max-width: 100%;
  }

  .hero-quick-links-section {
    margin-top: -0.6rem;
  }

  .hero-quick-links-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .hero-quick-link-divider {
    display: none;
  }

  .hero-quick-link-item {
    justify-content: flex-start;
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(11, 92, 171, 0.12);
    border-right: 1px solid rgba(11, 92, 171, 0.12);
  }

  .hero-quick-link-item:nth-child(2n) {
    border-right: 0;
  }

  .hero-quick-links-bar .hero-quick-link-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .hero-quick-link-title {
    font-size: 0.93rem;
  }

  .hero-quick-link-subtitle {
    font-size: 0.72rem;
  }

  .service-orbit {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .service-orbit::before {
    display: none;
  }

  .orbit-center {
    position: static;
    transform: none;
    width: min(360px, 95%);
    margin: 0 auto 0.2rem;
    min-height: 220px;
  }

  .orbit-node {
    position: static;
    width: min(360px, 95%);
    margin: 0 auto;
  }

  .orbit-node-thumb {
    height: 72px;
  }

  .orbit-node::before {
    display: none;
  }


  .trust-strip-section {
    padding: 0.35rem 0 2.15rem;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  }

  .trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid #c8def6;
    background: rgba(255, 255, 255, 0.96);
    color: #0c3f77;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.46rem 0.85rem;
    box-shadow: 0 3px 10px rgba(11, 92, 171, 0.08);
  }

  .kpi-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    width: min(860px, 100%);
    margin: 0 auto;
  }

  .kpi-highlight-card {
    border: 1px solid #c6dcf5;
    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
    border-radius: 14px;
    text-align: center;
    padding: 0.85rem 0.8rem;
    box-shadow: 0 10px 22px rgba(11, 92, 171, 0.1);
  }

  .kpi-highlight-value {
    margin: 0;
    color: #0b5cab;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
  }

  .kpi-highlight-label {
    margin: 0.18rem 0 0;
    color: #4b637d;
    font-size: 0.86rem;
    font-weight: 600;
  }

  .home-info-section {
    background: linear-gradient(180deg, #f2f7ff 0%, #edf4ff 100%);
  }

  .info-cta-panel {
    border-radius: 18px;
    border: 1px solid rgba(178, 203, 232, 0.7);
    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 16px 34px rgba(11, 92, 171, 0.12);
  }

  .info-cta-title {
    color: #0c3f77;
    letter-spacing: 0.01em;
  }

  .info-cta-desc {
    max-width: 62ch;
    margin-inline: auto;
  }

  .info-cta-btn {
    min-width: 220px;
  }
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.6rem 1rem;
  }

  .menu-btn {
    display: inline-flex;
  }

  .top-actions {
    display: flex;
    gap: 0.5rem;
  }

  .mode-toggle-btn {
    padding: 0.42rem 0.7rem;
    font-size: 0.82rem;
  }

  .btn-auth:not(.mode-toggle-btn) {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .module-card {
    padding: 1.4rem 1.2rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .panel {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  body::before {
    background-size: min(560px, 132vw);
    background-position: center center;
  }

  .carousel-content h2 {
    font-size: 2rem;
  }

  .hero-theme-line {
    font-size: 1.05rem;
  }

  .carousel-bg {
    min-height: 470px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-quick-links-bar {
    grid-template-columns: 1fr;
  }

  .hero-quick-link-item,
  .hero-quick-link-item:nth-child(2n) {
    border-right: 0;
  }

  .hero-quick-links-bar .hero-quick-link-item {
    border-bottom: 1px solid rgba(11, 92, 171, 0.1);
  }

  .hero-quick-links-bar .hero-quick-link-item:last-child {
    border-bottom: 0;
  }

  .orbit-center {
    width: 100%;
    max-width: 310px;
  }

  .orbit-center img {
    min-height: 220px;
  }

  .orbit-node {
    width: 100%;
    max-width: 310px;
  }

  .hero-search-box {
    padding: 1.2rem;
    margin: 0.6rem 0;
  }

  .search-inputs {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .search-field label {
    font-size: 0.8rem;
  }

  .search-field input,
  .search-field select {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
  }

  .search-btn {
    padding: 0.65rem;
    font-size: 0.85rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .nav-wrap {
    padding: 0.5rem 0;
  }

  .brand {
    gap: 0.6rem;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .brand h1 {
    font-size: 0.85rem;
  }

  .mini {
    font-size: 0.65rem;
  }

  .top-actions {
    gap: 0.3rem;
  }

  .lang-switch {
    display: none;
  }

  .btn-auth:not(.mode-toggle-btn) {
    display: none;
  }

  .mode-toggle-btn {
    display: inline-flex;
  }

  .module-icon {
    font-size: 2rem;
  }

  .module-card {
    padding: 1.2rem 1rem;
  }

  .module-card h4 {
    font-size: 0.95rem;
  }

  .module-card p {
    font-size: 0.85rem;
  }

  .section h2 {
    font-size: 1.3rem;
  }

  .step-card-grid {
    grid-template-columns: 1fr;
  }

  .step-card-top {
    min-height: auto;
  }
}
