
/* Final requested polish: logo, dark mode, modern world-style background */

html, body, #root {
  max-width: 100%;
  overflow-x: clip;
}

/* Base background */
body {
  /*old-bg*/background:
    radial-gradient(circle at 12% 18%, rgba(71,230,255,0.12), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(217,155,255,0.12), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(59,159,217,0.10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7fc 40%, #edf4fb 100%);
  position: relative;
  transition: background .25s ease, color .25s ease;
}

/* modern world-like overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .28;
  /*old-bg*/background:
    radial-gradient(circle at 18% 30%, rgba(59,159,217,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 24%, rgba(59,159,217,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 57% 64%, rgba(46,204,113,.12) 0 2px, transparent 3px),
    linear-gradient(rgba(59,159,217,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,159,217,.07) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 88px 88px, 88px 88px;
  -webkit-mask-image:
    radial-gradient(circle at 18% 38%, black 0 18%, transparent 28%),
    radial-gradient(circle at 78% 28%, black 0 16%, transparent 26%),
    radial-gradient(circle at 50% 62%, black 0 22%, transparent 32%);
  -webkit-mask-composite: source-over;
  mask-image:
    radial-gradient(circle at 18% 38%, black 0 18%, transparent 28%),
    radial-gradient(circle at 78% 28%, black 0 16%, transparent 26%),
    radial-gradient(circle at 50% 62%, black 0 22%, transparent 32%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .16;
  /*old-bg*/background:
    radial-gradient(900px 340px at 14% 34%, rgba(84,187,255,.35), transparent 60%),
    radial-gradient(820px 320px at 82% 24%, rgba(177,119,255,.26), transparent 58%),
    radial-gradient(1000px 420px at 54% 78%, rgba(46,204,113,.18), transparent 60%);
}

#root, header, main, section, footer {
  position: relative;
  z-index: 1;
}

/* dark mode palette */
body.hm-dark {
  /*old-bg*/background:
    radial-gradient(circle at 12% 18%, rgba(71,230,255,0.12), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(217,155,255,0.12), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(59,159,217,0.10), transparent 30%),
    linear-gradient(180deg, #061226 0%, #091a31 38%, #0c1f38 100%);
  color: #e5eefc;
}
body.hm-dark::before { opacity: .22; }
body.hm-dark::after { opacity: .14; }

body.hm-dark .bg-white,
body.hm-dark .bg-\[\#ffffff\],
body.hm-dark [class*="bg-white"] {
  background-color: rgba(8, 19, 37, 0.88) !important;
  color: #e7eefc !important;
  border-color: rgba(100, 149, 237, 0.12) !important;
}
body.hm-dark .text-slate-800,
body.hm-dark .text-slate-900,
body.hm-dark .text-gray-700,
body.hm-dark .text-gray-800,
body.hm-dark .text-\[\#0f172a\],
body.hm-dark .text-\[\#1e293b\] {
  color: #e7eefc !important;
}
body.hm-dark .text-slate-600,
body.hm-dark .text-gray-600,
body.hm-dark .text-gray-500,
body.hm-dark .text-\[\#475569\] {
  color: #b9c8df !important;
}
body.hm-dark header {
  /*old-bg*/background: rgba(6,18,38,0.82) !important;
  backdrop-filter: blur(10px);
  border-color: rgba(148, 163, 184, 0.12) !important;
}
body.hm-dark .shadow-lg,
body.hm-dark .shadow-xl,
body.hm-dark .shadow-2xl {
  box-shadow: 0 20px 40px rgba(2, 8, 23, 0.35) !important;
}
body.hm-dark input,
body.hm-dark textarea,
body.hm-dark select {
  /*old-bg*/background: rgba(12, 31, 56, 0.85) !important;
  color: #e8f0ff !important;
  border-color: rgba(148, 163, 184, 0.20) !important;
}
body.hm-dark .hm-darkmode-btn {
  /*old-bg*/background: rgba(12,31,56,.92);
  color: #e8f0ff;
}

/* Logo text */
.hm-logo-anchor {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-right: 18px !important;
  flex: 0 0 auto !important;
}
.hm-logo-text-only {
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
  font-size: 1.95rem !important;
  line-height: 1 !important;
  white-space: nowrap;
  /*old-bg*/background: linear-gradient(90deg, #3FF4FF 0%, #54D8FF 26%, #7BB3FF 54%, #AC8FFF 76%, #E0A7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: 0 8px 24px rgba(89, 163, 255, 0.16);
  filter: saturate(1.08);
}
@media (max-width: 640px) {
  .hm-logo-text-only { font-size: 1.38rem !important; }
}

/* desktop nav stays */
@media (min-width: 1024px) {
  header nav.hidden.lg\:flex {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    margin-left: auto !important;
  }
  .hm-mobile-dots {  }
}

/* mobile dots */
@media (max-width: 1023px) {
  header nav.hidden.lg\:flex {  }
  .hm-mobile-dots { display: flex !important; }
}
header nav.hidden.lg\:flex a {
  position: relative;
  text-align: center !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  color: #334155 !important;
  transition: color .2s ease, transform .2s ease;
}
body.hm-dark header nav.hidden.lg\:flex a { color: #d9e4f7 !important; }
header nav.hidden.lg\:flex a:hover {
  color: #2563eb !important;
  transform: translateY(-1px);
}
header nav.hidden.lg\:flex a > * {
  text-align: center !important;
}
header nav.hidden.lg\:flex a::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  /*old-bg*/background: linear-gradient(90deg, rgba(71,230,255,.8), rgba(217,155,255,.8));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
header nav.hidden.lg\:flex a:hover::after { transform: scaleX(1); }

.hm-mobile-dots {
  display: none;
  position: relative;
  margin-left: auto;
  align-items: center;
  z-index: 120;
}
.hm-mobile-dots-btn,
.hm-darkmode-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  /*old-bg*/background: linear-gradient(135deg, rgba(59,159,217,.14), rgba(168,85,247,.14));
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
  cursor: pointer;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
}
.hm-darkmode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-left: 10px;
}
.hm-mobile-dots-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 245px;
  /*old-bg*/background: rgba(255,255,255,.98);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,.16);
  padding: 10px;
  display: none;
  max-height: 72vh;
  overflow: auto;
}
body.hm-dark .hm-mobile-dots-menu {
  /*old-bg*/background: rgba(10,23,44,.98);
  border-color: rgba(148,163,184,.16);
}
.hm-mobile-dots.open .hm-mobile-dots-menu { display: block; }
.hm-mobile-dots-link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  text-align: center;
}
body.hm-dark .hm-mobile-dots-link { color: #dce6f7; }
.hm-mobile-dots-link:hover {
  /*old-bg*/background: rgba(59,159,217,.10);
  color: #2563eb;
}

/* Keep CTA effect */
.hm-cta-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(59,159,217,.30), 0 0 0 0 rgba(46,204,113,.45);
  animation: hmPulse 2.3s infinite;
}
.hm-cta-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  /*old-bg*/background: linear-gradient(120deg, transparent 10%, rgba(255,255,255,.35) 45%, transparent 80%);
  transform: translateX(-130%);
  animation: hmShine 3.2s infinite;
}
@keyframes hmPulse {
  0% { box-shadow: 0 12px 30px rgba(59,159,217,.28), 0 0 0 0 rgba(46,204,113,.35); }
  70% { box-shadow: 0 14px 34px rgba(59,159,217,.34), 0 0 0 14px rgba(46,204,113,0); }
  100% { box-shadow: 0 12px 30px rgba(59,159,217,.28), 0 0 0 0 rgba(46,204,113,0); }
}
@keyframes hmShine {
  0%, 20% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}



/* --- Final homepage background + dark mode overrides --- */

/* homepage only: blurred map background */
body.hm-home-bg {
  /*old-bg*/background:
    linear-gradient(180deg, rgba(248,251,255,0.90) 0%, rgba(242,247,252,0.92) 40%, rgba(237,244,251,0.94) 100%),
    url('./world-map.png') center top / cover no-repeat fixed !important;
}
body.hm-home-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /*old-bg*/background: url('./world-map.png') center top / cover no-repeat fixed;
  filter: blur(14px) saturate(1.04);
  opacity: .22;
  transform: scale(1.04);
}
body.hm-home-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /*old-bg*/background:
    radial-gradient(circle at 18% 28%, rgba(59,159,217,.12), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(168,85,247,.10), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(241,246,252,.78));
}

/* dark mode should be navy, not black */
body.hm-dark {
  /*old-bg*/background:
    linear-gradient(180deg, rgba(7,24,53,.90) 0%, rgba(10,30,64,.94) 42%, rgba(12,34,71,.96) 100%),
    url('./world-map.png') center top / cover no-repeat fixed !important;
  color: #e7effb !important;
}
body.hm-dark::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /*old-bg*/background: url('./world-map.png') center top / cover no-repeat fixed;
  filter: blur(16px) saturate(1.02);
  opacity: .18;
  transform: scale(1.05);
}
body.hm-dark::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /*old-bg*/background:
    radial-gradient(circle at 20% 24%, rgba(71,230,255,.10), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(217,155,255,.08), transparent 20%),
    linear-gradient(180deg, rgba(9,27,56,.82), rgba(11,32,66,.88));
  opacity: 1;
}

body.hm-dark header {
  /*old-bg*/background: rgba(9, 27, 56, 0.84) !important;
  border-color: rgba(125, 211, 252, 0.10) !important;
}

body.hm-dark .bg-white,
body.hm-dark .bg-\[\#ffffff\],
body.hm-dark [class*="bg-white"] {
  /*old-bg*/background: rgba(13, 36, 73, 0.86) !important;
  color: #edf4ff !important;
  border-color: rgba(147, 197, 253, 0.12) !important;
}

body.hm-dark p,
body.hm-dark li,
body.hm-dark span,
body.hm-dark label,
body.hm-dark small,
body.hm-dark .text-sm,
body.hm-dark .text-xs {
  color: #d7e5f7 !important;
}

body.hm-dark h1,
body.hm-dark h2,
body.hm-dark h3,
body.hm-dark h4,
body.hm-dark h5,
body.hm-dark h6,
body.hm-dark .text-slate-800,
body.hm-dark .text-slate-900,
body.hm-dark .text-gray-700,
body.hm-dark .text-gray-800,
body.hm-dark .text-\[\#0f172a\],
body.hm-dark .text-\[\#1e293b\] {
  color: #f3f8ff !important;
}

body.hm-dark .text-slate-500,
body.hm-dark .text-slate-600,
body.hm-dark .text-gray-500,
body.hm-dark .text-gray-600,
body.hm-dark .text-\[\#475569\] {
  color: #bdd0e8 !important;
}

body.hm-dark a:not(.bg-gradient-to-r):not(.cta):not(.hm-mobile-dots-link) {
  color: #8fd3ff;
}
body.hm-dark header nav.hidden.lg\:flex a {
  color: #e5eefc !important;
}
body.hm-dark header nav.hidden.lg\:flex a:hover {
  color: #8fd3ff !important;
}
body.hm-dark .hm-mobile-dots-link {
  color: #e5eefc !important;
}
body.hm-dark .hm-mobile-dots-menu {
  /*old-bg*/background: rgba(10, 28, 58, 0.97) !important;
  border-color: rgba(147, 197, 253, 0.12) !important;
}
body.hm-dark input,
body.hm-dark textarea,
body.hm-dark select {
  /*old-bg*/background: rgba(9, 27, 56, 0.82) !important;
  color: #eef5ff !important;
  border-color: rgba(147, 197, 253, 0.18) !important;
}
body.hm-dark input::placeholder,
body.hm-dark textarea::placeholder {
  color: #9fb6d6 !important;
}
body.hm-dark .hm-darkmode-btn {
  /*old-bg*/background: rgba(13, 36, 73, 0.92) !important;
  color: #eef5ff !important;
}

/* avoid mobile jitter from fixed bg */
@media (max-width: 900px) {
  body.hm-home-bg,
  body.hm-dark {
    background-attachment: scroll !important;
  }
  body.hm-home-bg::before,
  body.hm-home-bg::after,
  body.hm-dark::before,
  body.hm-dark::after {
    background-attachment: scroll !important;
  }
}



/* ---- exact fixes requested ---- */

/* Home only /*old-bg*/background: softer, less intrusive, keeps text readable */
body.hm-home-bg {
  /*old-bg*/background:
    linear-gradient(180deg, rgba(248,251,255,0.97) 0%, rgba(242,247,252,0.98) 40%, rgba(237,244,251,0.99) 100%),
    url('./world-map.png') center top / cover no-repeat fixed !important;
}
body.hm-home-bg::before {
  opacity: .12 !important;
  filter: blur(18px) saturate(1.0) !important;
}
body.hm-home-bg::after {
  /*old-bg*/background:
    radial-gradient(circle at 18% 28%, rgba(59,159,217,.06), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(168,85,247,.05), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(244,248,252,.92)) !important;
}

/* Light mode form readability */
body:not(.hm-dark) .hm-cost-form,
body:not(.hm-dark) .hm-cost-form * {
  color: #0f172a !important;
}
body:not(.hm-dark) .hm-cost-form .text-gray-400,
body:not(.hm-dark) .hm-cost-form .text-slate-400,
body:not(.hm-dark) .hm-cost-form .text-gray-500,
body:not(.hm-dark) .hm-cost-form .text-slate-500,
body:not(.hm-dark) .hm-cost-form .text-gray-600,
body:not(.hm-dark) .hm-cost-form .text-slate-600 {
  color: #475569 !important;
}
body:not(.hm-dark) .hm-cost-form [class*="bg-white"],
body:not(.hm-dark) .hm-cost-form .bg-gray-50,
body:not(.hm-dark) .hm-cost-form .bg-slate-50 {
  /*old-bg*/background: rgba(255,255,255,.96) !important;
}
body:not(.hm-dark) .hm-cost-form input,
body:not(.hm-dark) .hm-cost-form textarea,
body:not(.hm-dark) .hm-cost-form select {
  color: #0f172a !important;
  /*old-bg*/background: #ffffff !important;
  border-color: rgba(148,163,184,.28) !important;
}
body:not(.hm-dark) .hm-cost-form input::placeholder,
body:not(.hm-dark) .hm-cost-form textarea::placeholder {
  color: #94a3b8 !important;
}

/* Dark mode should be navy and readable */
body.hm-dark {
  /*old-bg*/background:
    linear-gradient(180deg, rgba(9,26,57,.94) 0%, rgba(12,32,67,.96) 42%, rgba(14,37,76,.98) 100%),
    url('./world-map.png') center top / cover no-repeat fixed !important;
  color: #e9f2ff !important;
}
body.hm-dark::before {
  opacity: .13 !important;
  filter: blur(18px) saturate(1.0) !important;
}
body.hm-dark::after {
  /*old-bg*/background:
    radial-gradient(circle at 20% 24%, rgba(71,230,255,.08), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(217,155,255,.06), transparent 20%),
    linear-gradient(180deg, rgba(10,28,58,.88), rgba(13,35,72,.92)) !important;
}
body.hm-dark,
body.hm-dark p,
body.hm-dark li,
body.hm-dark span,
body.hm-dark label,
body.hm-dark small,
body.hm-dark .text-sm,
body.hm-dark .text-xs {
  color: #dbe9fb !important;
}
body.hm-dark h1,
body.hm-dark h2,
body.hm-dark h3,
body.hm-dark h4,
body.hm-dark h5,
body.hm-dark h6 {
  color: #f4f8ff !important;
}
body.hm-dark .text-gray-500,
body.hm-dark .text-gray-600,
body.hm-dark .text-slate-500,
body.hm-dark .text-slate-600 {
  color: #bcd1eb !important;
}
body.hm-dark .bg-white,
body.hm-dark [class*="bg-white"] {
  /*old-bg*/background: rgba(13,36,73,.90) !important;
  color: #edf4ff !important;
}
body.hm-dark input,
body.hm-dark textarea,
body.hm-dark select {
  /*old-bg*/background: rgba(9,27,56,.86) !important;
  color: #eef5ff !important;
  border-color: rgba(147, 197, 253, 0.18) !important;
}
body.hm-dark input::placeholder,
body.hm-dark textarea::placeholder {
  color: #9fb6d6 !important;
}
body.hm-dark .hm-cost-form,
body.hm-dark .hm-cost-form * {
  color: #eaf2ff !important;
}
body.hm-dark .hm-cost-form .text-gray-400,
body.hm-dark .hm-cost-form .text-slate-400,
body.hm-dark .hm-cost-form .text-gray-500,
body.hm-dark .hm-cost-form .text-slate-500,
body.hm-dark .hm-cost-form .text-gray-600,
body.hm-dark .hm-cost-form .text-slate-600 {
  color: #c0d3eb !important;
}



/* ===== targeted dark-mode readability patch ===== */

/* Cost calculator section readability */
body.hm-dark .hm-cost-form,
body.hm-dark .hm-cost-form * {
  color: #eef5ff !important;
}

body.hm-dark .hm-cost-form h1,
body.hm-dark .hm-cost-form h2,
body.hm-dark .hm-cost-form h3,
body.hm-dark .hm-cost-form h4,
body.hm-dark .hm-cost-form strong,
body.hm-dark .hm-cost-form b {
  color: #f8fbff !important;
}

body.hm-dark .hm-cost-form .text-gray-300,
body.hm-dark .hm-cost-form .text-gray-400,
body.hm-dark .hm-cost-form .text-gray-500,
body.hm-dark .hm-cost-form .text-gray-600,
body.hm-dark .hm-cost-form .text-slate-300,
body.hm-dark .hm-cost-form .text-slate-400,
body.hm-dark .hm-cost-form .text-slate-500,
body.hm-dark .hm-cost-form .text-slate-600,
body.hm-dark .hm-cost-form .text-blue-100,
body.hm-dark .hm-cost-form .text-blue-200,
body.hm-dark .hm-cost-form .text-blue-300 {
  color: #d8e6f8 !important;
}

body.hm-dark .hm-cost-form .bg-white,
body.hm-dark .hm-cost-form [class*="bg-white"],
body.hm-dark .hm-cost-form .bg-gray-50,
body.hm-dark .hm-cost-form .bg-slate-50,
body.hm-dark .hm-cost-form .bg-blue-50 {
  /*old-bg*/background: rgba(15, 39, 79, 0.92) !important;
  color: #eef5ff !important;
  border-color: rgba(147, 197, 253, 0.16) !important;
}

body.hm-dark .hm-cost-form .border,
body.hm-dark .hm-cost-form [class*="border-"] {
  border-color: rgba(147, 197, 253, 0.16) !important;
}

body.hm-dark .hm-cost-form select,
body.hm-dark .hm-cost-form input,
body.hm-dark .hm-cost-form textarea {
  /*old-bg*/background: rgba(9, 27, 56, 0.88) !important;
  color: #f1f6ff !important;
  border-color: rgba(147, 197, 253, 0.20) !important;
}

body.hm-dark .hm-cost-form select option {
  /*old-bg*/background: #0f274f !important;
  color: #f1f6ff !important;
}

body.hm-dark .hm-cost-form input::placeholder,
body.hm-dark .hm-cost-form textarea::placeholder {
  color: #a7bdd8 !important;
}

body.hm-dark .hm-cost-form svg,
body.hm-dark .hm-cost-form i {
  color: #9bd6ff !important;
  fill: currentColor !important;
}

/* About / Services readability */
body.hm-dark .hm-about-readable,
body.hm-dark .hm-about-readable * {
  color: #e8f1ff !important;
}

body.hm-dark .hm-about-readable h1,
body.hm-dark .hm-about-readable h2,
body.hm-dark .hm-about-readable h3,
body.hm-dark .hm-about-readable h4,
body.hm-dark .hm-about-readable strong,
body.hm-dark .hm-about-readable b {
  color: #f8fbff !important;
}

body.hm-dark .hm-about-readable .text-gray-300,
body.hm-dark .hm-about-readable .text-gray-400,
body.hm-dark .hm-about-readable .text-gray-500,
body.hm-dark .hm-about-readable .text-gray-600,
body.hm-dark .hm-about-readable .text-slate-300,
body.hm-dark .hm-about-readable .text-slate-400,
body.hm-dark .hm-about-readable .text-slate-500,
body.hm-dark .hm-about-readable .text-slate-600,
body.hm-dark .hm-about-readable .text-blue-100,
body.hm-dark .hm-about-readable .text-blue-200,
body.hm-dark .hm-about-readable .text-blue-300 {
  color: #d3e2f5 !important;
}

body.hm-dark .hm-about-readable .bg-white,
body.hm-dark .hm-about-readable [class*="bg-white"],
body.hm-dark .hm-about-readable .bg-gray-50,
body.hm-dark .hm-about-readable .bg-slate-50,
body.hm-dark .hm-about-readable .bg-blue-50 {
  /*old-bg*/background: rgba(14, 35, 72, 0.88) !important;
  color: #eef5ff !important;
  border-color: rgba(147, 197, 253, 0.14) !important;
}

body.hm-dark .hm-about-readable .bg-gradient-to-r,
body.hm-dark .hm-about-readable .bg-gradient-to-br,
body.hm-dark .hm-about-readable .bg-gradient-to-b {
  color: #f8fbff !important;
}

body.hm-dark .hm-about-readable img {
  filter: brightness(0.92) contrast(1.04);
}



/* ===== FINAL GREEN-BLUE BACKGROUND (SAFE) ===== */

body.hm-home-bg {
  /*old-bg*/background:
    linear-gradient(135deg, #22c55e 0%, #06b6d4 50%, #3b82f6 100%) !important;
}

body.hm-home-bg::before,
body.hm-home-bg::after {
  
}

/* dark mode (lacivert + teal) */
body.hm-dark {
  /*old-bg*/background:
    linear-gradient(135deg, #022c22 0%, #083344 50%, #0f172a 100%) !important;
}

/* mobil kayma fix */
@media (max-width: 768px) {
  body.hm-home-bg {
    background-attachment: scroll !important;
  }
}



/* ===== FULL PAGE BACKGROUND EXTENSION ===== */
html, body {
  min-height: 100%;
}

body.hm-home-bg {
  min-height: 100vh;
}

/* extend gradient to full page */
body.hm-home-bg::after {
  position: fixed;
  inset: 0;
}

/* ===== COST CALCULATOR GREEN FIX ===== */

/* checkbox cards */
body .hm-cost-form label,
body .hm-cost-form .border {
  border-color: rgba(34,197,94,0.4) !important;
}

/* selected state (if exists) */
body .hm-cost-form input:checked + div,
body .hm-cost-form input:checked + label,
body .hm-cost-form input:checked {
  accent-color: #22c55e !important;
}

/* highlight blocks */
body .hm-cost-form .bg-blue-50,
body .hm-cost-form .bg-gray-50,
body .hm-cost-form .bg-slate-50 {
  /*old-bg*/background: linear-gradient(135deg, #22c55e22, #06b6d422) !important;
}

/* headings stronger */
body .hm-cost-form h2,
body .hm-cost-form h3 {
  color: #16a34a !important;
}

/* dark mode fix */
body.hm-dark .hm-cost-form label,
body.hm-dark .hm-cost-form .border {
  border-color: rgba(34,197,94,0.6) !important;
}

body.hm-dark .hm-cost-form .bg-blue-50,
body.hm-dark .hm-cost-form .bg-gray-50,
body.hm-dark .hm-cost-form .bg-slate-50 {
  /*old-bg*/background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(6,182,212,0.25)) !important;
}

body.hm-dark .hm-cost-form h2,
body.hm-dark .hm-cost-form h3 {
  color: #4ade80 !important;
}




/* ===== HARD FIX: COST CALCULATOR DARK MODE ===== */

/* sol kutu tamamen okunur */
body.hm-dark .hm-cost-form {
  /*old-bg*/background: rgba(15, 35, 70, 0.95) !important;
  padding: 20px;
  border-radius: 16px;
}

/* tüm yazıları zorla beyaz yap */
body.hm-dark .hm-cost-form * {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* başlıklar daha parlak */
body.hm-dark .hm-cost-form h1,
body.hm-dark .hm-cost-form h2,
body.hm-dark .hm-cost-form h3 {
  color: #4ade80 !important;
}

/* checkbox kartları */
body.hm-dark .hm-cost-form label,
body.hm-dark .hm-cost-form .border {
  /*old-bg*/background: rgba(9, 27, 56, 0.9) !important;
  border: 1px solid #22c55e !important;
}

/* input/select */
body.hm-dark .hm-cost-form input,
body.hm-dark .hm-cost-form select {
  /*old-bg*/background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #22c55e !important;
}

/* placeholder */
body.hm-dark .hm-cost-form input::placeholder {
  color: #94a3b8 !important;
}

/* sağ kutu zaten iyi ama güçlendirelim */
body.hm-dark .hm-cost-form + div {
  color: #ffffff !important;
}




/* ===== son küçük düzeltmeler ===== */

/* 1) maliyet hesaplamadaki kayan beyaz kutucuklar */
body.hm-dark .hm-cost-form input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 0 12px 0 0 !important;
  vertical-align: middle !important;
  accent-color: #22c55e !important;
  position: static !important;
  transform: none !important;
  box-shadow: none !important;
}

body.hm-dark .hm-cost-form label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

body.hm-dark .hm-cost-form label > div,
body.hm-dark .hm-cost-form label > span {
  flex: 1 1 auto !important;
}

/* 2) hakkımızda/hizmetlerde okunurluk */
body.hm-dark .hm-about-readable,
body.hm-dark .hm-about-readable * {
  color: #eef6ff !important;
  opacity: 1 !important;
}

body.hm-dark .hm-about-readable h1,
body.hm-dark .hm-about-readable h2,
body.hm-dark .hm-about-readable h3 {
  color: #4ade80 !important;
}

body.hm-dark .hm-about-readable p,
body.hm-dark .hm-about-readable .text-gray-400,
body.hm-dark .hm-about-readable .text-gray-500,
body.hm-dark .hm-about-readable .text-gray-600,
body.hm-dark .hm-about-readable .text-slate-400,
body.hm-dark .hm-about-readable .text-slate-500,
body.hm-dark .hm-about-readable .text-slate-600 {
  color: #dbeafe !important;
}

/* gerekirse içerik kutusu hafif arka plan */
body.hm-dark .hm-about-readable .bg-white,
body.hm-dark .hm-about-readable [class*="bg-white"] {
  /*old-bg*/background: rgba(15, 35, 70, 0.70) !important;
  border-color: rgba(74, 222, 128, 0.18) !important;
}



/* ===== ABOUT DARK MODE BACKGROUND FIX ===== */

/* arka planı karart ve blur azalt */
body.hm-dark .hm-about-readable {
  /*old-bg*/background: linear-gradient(
    135deg,
    rgba(2, 44, 34, 0.85),
    rgba(15, 23, 42, 0.9)
  ) !important;
  backdrop-filter: none !important;
}

/* yazıları daha kontrast yap */
body.hm-dark .hm-about-readable * {
  color: #f1f5f9 !important;
}

/* başlıklar */
body.hm-dark .hm-about-readable h1,
body.hm-dark .hm-about-readable h2,
body.hm-dark .hm-about-readable h3 {
  color: #4ade80 !important;
}

/* paragraf */
body.hm-dark .hm-about-readable p {
  color: #e2e8f0 !important;
}

/* image üstüne hafif karartma */
body.hm-dark .hm-about-readable img {
  filter: brightness(0.8) contrast(1.1);
}




/* ===== HOME TEXT DARK FIX ===== */

/* ana sayfa bilgi kutusu yazıları */
body.hm-dark .hm-map-info,
body.hm-dark .hm-map-info * {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.hm-dark .hm-map-info p {
  color: #e2e8f0 !important;
}

/* kart arka planını koyulaştır */
body.hm-dark .hm-map-info {
  /*old-bg*/background: rgba(15, 35, 70, 0.95) !important;
}

/* ===== SAME BACKGROUND FOR LIGHT MODE (HOME ONLY) ===== */

body.hm-home-bg:not(.hm-dark) {
  /*old-bg*/background:
    linear-gradient(135deg, #022c22 0%, #083344 50%, #0f172a 100%) !important;
  color: #ffffff;
}

/* light modda yazılar */
body.hm-home-bg:not(.hm-dark) * {
  color: #0f172a;
}

/* sadece hero/home text beyaz kalsın */
body.hm-home-bg:not(.hm-dark) .hero,
body.hm-home-bg:not(.hm-dark) .hm-map-info {
  color: #ffffff !important;
}




/* Dark mode toggle improved */
.dark-mode-toggle,
.theme-toggle,
.toggle {
  transform: scale(1.5) !important;
  padding: 12px 16px !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

.dark-mode-toggle:hover,
.theme-toggle:hover,
.toggle:hover {
  transform: scale(1.7) rotate(5deg) !important;
}

.dark-mode-toggle:active,
.theme-toggle:active,
.toggle:active {
  transform: scale(1.4) rotate(-5deg) !important;
}

/* final header multiline center fix */
.nav-links a,
nav a,
.navbar a {
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
  line-height: 1.18 !important;
}

.nav-links a {
  font-size: 16px !important;
  font-weight: 700 !important;
  min-height: 52px !important;
  padding: 8px 10px !important;
  display: flex !important;
}

.nav-links li {
  display: flex !important;
  align-items: center !important;
}

.nav-links a br {
  display: block !important;
}

@media (max-width: 1200px) {
  .nav-links a {
    font-size: 15px !important;
    min-height: 48px !important;
  }
}

/* FINAL HEADER BIG + RIGHT */
.nav-links {
  margin-left: 40px !important;
}

.nav-links a {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
}

@media (max-width: 1200px) {
  .nav-links a {
    font-size: 16px !important;
  }
}

/* MAX RIGHT + BIGGER HEADER */
.nav-links {
  margin-left: 80px !important;
}

.nav-links a {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
  .nav-links {
    margin-left: 20px !important;
  }
  .nav-links a {
    font-size: 16px !important;
  }
}

/* PERFECT MATCH HEADER */
.nav-links {
  margin-left: 30px !important;
  gap: 18px !important;
}

.nav-links a {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  padding: 6px 8px !important;
}

@media (max-width: 1200px) {
  .nav-links {
    margin-left: 10px !important;
  }
  .nav-links a {
    font-size: 13px !important;
  }
}

/* final logo + far right nav */
.header-shell {
  gap: 16px !important;
}

.brand-icon {
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-logo {
  width: 74px !important;
  height: 74px !important;
  object-fit: contain !important;
  display: block !important;
}

.desktop-nav {
  justify-content: flex-end !important;
  margin-left: auto !important;
  gap: 10px !important;
  padding-right: 8px !important;
}

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  line-height: 1.12 !important;
}

.theme-button {
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1200px) {
  .brand-logo {
    width: 62px !important;
    height: 62px !important;
  }

  .desktop-nav {
    gap: 8px !important;
    padding-right: 4px !important;
  }

  .desktop-nav a {
    font-size: 13px !important;
  }
}

/* LOGO FULL AREA FIX */
.brand-icon {
  width: 90px !important;
  height: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg,#2dd4bf,#22c55e) !important;
  border-radius: 20px !important;
}

.brand-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 20px !important;
}

/* HUGE LOGO FIX */
.brand-icon {
  width: 140px !important;
  height: 140px !important;
  border-radius: 24px !important;
}

.brand-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* reduce blur / improve clarity */
.brand-logo {
  image-rendering: auto;
}

/* header alignment fix */
.header-shell {
  align-items: center !important;
}

/* CLEAN LOGO ONLY */
.brand-icon {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-logo {
  width: 180px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Generated logo integration */
.brand-icon{
  background: transparent !important;
  box-shadow:none !important;
  padding:0 !important;
}
.brand-logo{
  width:200px !important;
  height:auto !important;
  object-fit:contain !important;
}
