:root {
  /* Blueish black theme */
  --dark-bg: #0b1020;
  --panel:   #0e1424;
  --card:    #131a2a;

  /* Text */
  --text:  #ffffff;   /* bright white */
  --muted: #c8d2e8;

  /* Keep variables used elsewhere but make them white so nothing turns yellow */
  --gold:   #ffffff;
  --gold-2: #ffffff;

  --radius: 14px;
  --shadow: 0 14px 36px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  background: var(--dark-bg);
  color: var(--text);
  line-height: 1.75;
}

.container { width: min(1160px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #090d17, #0d1220);
  border-bottom: 1px solid #182138;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; gap: 12px; align-items: center;
  color: var(--text); /* was gold */
  font-weight: 900; letter-spacing: .3px; font-size: 1.15rem;
}
.brand .logo {
  height: 56px; width: 56px; object-fit: contain;
  /* bluish glow for visibility */
  filter: drop-shadow(0 4px 16px rgba(120,170,255,.25));
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav .nav-link {
  color: var(--text); /* was gold */
  text-decoration: none; font-weight: 800;
  padding: 8px 12px; border-radius: 10px;
}
.nav .nav-link:hover, .nav .nav-link:focus {
  background: rgba(255,255,255,.12);
  outline: 2px solid transparent;
}
.nav .nav-link:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 2px; }

/* Anchor offset for sticky header */
#home, #about, #services, #consulting, #contact { scroll-margin-top: 88px; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 340px at 50% -140px, rgba(120,170,255,.16), transparent),
    linear-gradient(180deg, #111827, #0b1020);
  padding: clamp(60px, 9vw, 130px) 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 500px at 50% -200px, rgba(0,0,0,.18), transparent);
  pointer-events: none;
}
.logo-hero {
  height: clamp(84px, 14vw, 140px); width: auto;
  filter: drop-shadow(0 8px 30px rgba(120,170,255,.35));
  margin-bottom: 10px;
}
.hero h1 {
  margin: 6px 0 4px; font-size: clamp(30px, 5.2vw, 60px);
  color: var(--text); /* was gold */
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.motto {
  color: var(--text); /* was gold-2 */
  font-weight: 800; margin: 10px 0 18px;
  font-size: clamp(16px, 2.4vw, 24px); letter-spacing: .3px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.intro { max-width: 980px; margin: 0 auto; color: var(--text); opacity: .95; }

/* Sections */
.section { padding: 60px 0; }
.section h2 { margin: 0 0 12px; color: var(--text); font-size: clamp(22px, 3.4vw, 36px); }
.section p { margin: 0; color: var(--text); }

.about { background: var(--panel); border-top: 1px solid #182138; border-bottom: 1px solid #182138; }

/* Services/Consulting grids */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}
.card {
  background: var(--card); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); min-height: 120px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.card a { color: var(--text); font-weight: 900; text-decoration: none; } /* was gold-2 */
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.4); background: #172034; }

/* Contact */
.contact .contact-grid {
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 12px;
}
.contact .item { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }

/* Footer */
.site-footer {
  text-align: center; padding: 18px 0;
  background: #0a0f1c; color: #e8ecf8; border-top: 1px solid #182138;
}

/* Interior pages */
.page-header {
  text-align: center; padding: 60px 0 30px;
  background: linear-gradient(180deg, #0f172a, #0b1020); /* bluish */
}
.page-header h1 { margin: 0; color: var(--text); font-size: clamp(26px, 4.2vw, 44px); }
.page-header p { margin: 10px auto 0; max-width: 940px; color: var(--muted); }
.page-body { padding: 34px 0 64px; }
.feature-list { display: grid; gap: 12px; margin: 18px 0 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.back-row { margin-top: 26px; }

/* Buttons/links */
.back-link {
  display: inline-block;
  background: transparent; /* changed from filled gold */
  color: #ffffff;
  border: 1.5px solid #ffffff;
  text-decoration: none; padding: 10px 14px; font-weight: 900; border-radius: 10px;
}
.back-link:hover { background: rgba(255,255,255,.10); }
#################################################################################
#TOP VAR VISIBLE#
##################################################################################
/* === Keep the top nav fixed on scroll === */
:root {
  /* header height (adjust if you ever change logo size/padding) */
  --header-h: 74px;
}

/* Make header fixed instead of sticky */
.site-header {
  position: fixed;     /* was: sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;       /* ensure it stays above all content */
}

/* Prevent content from hiding under the fixed header */
body {
  padding-top: var(--header-h);
}

/* Anchor links land correctly below the fixed header */
#home, #about, #services, #consulting, #contact {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* Optional: small shadow to separate header from content while scrolling */
.site-header {
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Mobile: if the nav wraps to two lines, give a bit more top padding */
@media (max-width: 640px) {
  :root { --header-h: 96px; }  /* increase if your nav wraps more */
}
#################################################
#soft blinking / pulsing effect#
##################################################
/* === Global strong blinking hyperlinks with glowing blue underline === */

/* Base link style (always underlined, custom color) */
a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #00c8ff;   /* glowing blue underline */
  font-weight: 700;
  transition: all 0.3s ease;
  animation: strong-blink 1.2s infinite; /* blinking everywhere */
}

/* Hover/focus: even brighter glow + stronger underline */
a:hover, a:focus {
  text-decoration-color: #00e0ff;   /* brighter blue when hovered */
  text-shadow: 0 0 14px rgba(0, 200, 255, 1),
               0 0 28px rgba(0, 200, 255, 0.9),
               0 0 42px rgba(0, 200, 255, 0.8);
}

/* Blinking animation */
@keyframes strong-blink {
  0%, 100% {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0,180,255,0.8),
                 0 0 18px rgba(0,180,255,0.6);
    text-decoration-color: #00c8ff;
  }
  50% {
    color: #8ab4ff;
    text-shadow: 0 0 18px rgba(0,220,255,1),
                 0 0 36px rgba(0,220,255,0.9),
                 0 0 54px rgba(0,220,255,0.8);
    text-decoration-color: #00e0ff; /* underline pulses with glow */
  }
}

/* === Always-underlined links in white; glow only on hover/focus === */

/* Base link style */
a,
.nav .nav-link,
.card a {
  color: #ffffff;
  text-decoration-line: underline !important;   /* force underline */
  text-decoration-color: #ffffff;               /* underline always white */
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color .25s ease, text-shadow .25s ease, text-decoration-color .25s ease;
}

/* Keep visited links same style */
a:visited {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Hover/focus: brighter glow */
a:hover, a:focus,
.nav .nav-link:hover, .nav .nav-link:focus,
.card a:hover, .card a:focus {
  text-shadow:
    0 0 14px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 0.9),
    0 0 42px rgba(255, 255, 255, 0.8);
}

/* Optional: keyboard focus outline for accessibility */
a:focus-visible,
.nav .nav-link:focus-visible,
.card a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}


