/* ---------- Variables ---------- */
:root{
  --ink:#1e2330;
  --muted:#5a6475;
  --accent:#7b3ff2;
  --radius:14px;
  --container:980px;
}


/* ---------- Base ---------- */
html, body { height: 100%; }

body{
  margin:0;
  color:var(--ink);
  font:16px/1.5 "Segoe UI","Segoe UI Variable Text","Segoe UI Variable Display",
               SegoeUI,-apple-system,system-ui,"Helvetica Neue",Arial,sans-serif;
   background: url("HomeBG.jpg") no-repeat center center fixed;
  background-size: cover;
  padding:4px;
}

.container{
  width:min(100% - 32px, var(--container));
  margin-inline:auto;
}

/* ---------- Frutiger Aero–style card ---------- */
.card {
  text-align: center;
  margin: 24px auto;
  border-radius: 14px;
  overflow: hidden; /* keeps header and body aligned */
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 2px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.heading-icon {
  width: 20px;            /* icon size */
  height: 20px;
  margin-right: 8px;      /* spacing from text */
  vertical-align: middle; /* keeps it aligned with text */
  position: relative;
  top: -2px;              /* fine-tune: nudge up/down */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.6)); /* subtle Vista-style shadow */
}


/* ---------- Card Header (logo + title) ---------- */
.header-inner {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 12px;
  padding: 18px;
  padding-bottom:16px; /* reduced for seam */
  background:
    radial-gradient(1200px 220px at 50% -80px, rgba(255,255,255,.28), transparent 60%),
    linear-gradient(115deg,
      transparent 0 42%,
      rgba(126,201,127,0.6) 55%,
      rgba(182,240,255,0.45) 74%,
      transparent 88%),
    linear-gradient(180deg, #0b3551 0%, #0f5876 58%, #1990a6 100%);
  border-bottom:1px solid rgba(0,0,0,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.logo {
  width: 56px; 
  height: 56px; 
  border-radius: 50%; 
  object-fit: cover;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.25),
    0 6px 14px rgba(0,0,0,.3);
}

.brand {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: #f0f8ff;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
}

/* ---------- Links inside card with Vista-style split bar ---------- */
.topbar {
  margin: 0;
  width: 100%;
  border-radius: 0;
  padding: 6px 0;

  /* Two-tone split gradient (lighter top, darker bottom) */
  background: linear-gradient(
    to bottom,
    rgba(60, 150, 170, 0.95) 0%,
    rgba(60, 150, 170, 0.95) 50%,
    rgba(20, 80, 90, 0.9) 50%,
    rgba(20, 80, 90, 0.9) 100%
  );

  border-top: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  border-left: 1px solid rgba(255,255,255,.15);
  border-right: 1px solid rgba(0,0,0,.35);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 2px 4px rgba(0,0,0,0.4);
}

.topbar .links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.topbar a {
  color: #fff;
  font-weight: 400; /* normal weight */
  font-family: "Segoe UI", -apple-system, system-ui, sans-serif;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 3px;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

.topbar a:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 6px rgba(255,255,255,0.4),
              0 0 6px rgba(0,200,255,0.5);
  text-decoration: none;
}

/* ---------- Link icons ---------- */
.link-icon {
  width: 16px;
  height: 16px;
  margin-right: 3px;

  /* Adjust vertical alignment manually */
  position: relative;
  top: 2px;  /* move down */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.6));
}


/* ---------- Card Body ---------- */
.card-body {
  padding: 22px 26px; /* breathing room now that bar is flush */
  background: rgba(20, 20, 20, 0.65);
  background-image:
    url("aero_glass.png"),
    radial-gradient(150% 80% at 50% -40%, rgba(255,255,255,0.15), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 30%);
  background-blend-mode: overlay;
  background-size: cover;
}

.card h2 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f0f8ff;
  text-shadow: 
    0 0 6px rgba(255, 255, 255, 0.3),
    0 1px 2px rgba(0,0,0,0.8);
}

.card p {
  color: #e0e0e0;
}

.centered-list li {
  color: #d0d0d0;
}

/* ---------- Helpers ---------- */
.centered-img{ display:block; margin:12px auto; max-width:100%; height:auto; }
.centered-list{ display:inline-block; text-align:left; }

/* ---------- Horizontal rule ---------- */
hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right,
    rgba(255,255,255,0.4), rgba(0,0,0,0.5), rgba(255,255,255,0.4));
  margin: 20px 0;
}

/* Links */
a{ color:var(--accent); }
a:hover{ filter:brightness(1.1); }

/* Footer */
.footer{
  color:var(--muted);
  padding:16px 0 40px;
  text-align:center;
}
