
/* ========== Base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Container helpers */
.container { max-width: 1100px; margin: 0 auto; padding: 0 6%; }
.section { padding: 3rem 6%; }

/* ========== Header / Nav ========== */
header { background: #fff; border-bottom: 1px solid #ddd; }
#mainnav { display:flex; gap:1.2rem; flex-wrap:wrap; align-items:center;   padding: 16px 6%;
}
#mainnav a { text-decoration:none; color:#0b7ef4; font-weight:bold; }
#mainnav a:hover { text-decoration:underline; }
#mainnav a.active { text-decoration:underline; font-weight:bold; color:#333; }

/* ========== Homepage HERO (deep gradient) ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* keep logo close to text */
  gap: 2rem;
  padding: 3rem 6%;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0ff 0%, #dfe5ff 35%, #d8ddff 100%);
}
/* Deep geometric accents for homepage */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0.35;
  filter: blur(0.2px);
  transform: rotate(30deg);
}
.hero::before {
  width: 560px; height: 560px;
  top: -120px; left: -140px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #b5c8ff 0%, transparent 70%);
}
.hero::after {
  width: 680px; height: 680px;
  bottom: -180px; right: -220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #bfaeff 0%, transparent 70%);
}
.hero .content {
  position: relative; z-index: 1; max-width: 680px;
}
.hero .kicker {
  text-transform: uppercase; font-size: .85rem; letter-spacing: 1px; color: #5c6b88;
}
.hero h1 { font-size: 2.4rem; margin: .5rem 0; color: #0b2149; }
.hero .lead { font-size: 1.15rem; color: #2c3755; margin-bottom: 1.4rem; }
.hero .cta {
  display:inline-block; padding:.8rem 1.2rem;
  background: linear-gradient(90deg, #0b7ef4, #7a3fff);
  color:#fff; border-radius:6px; font-weight:bold; text-decoration:none;
}
.hero .cta:hover { opacity:.92; }
.hero figure { position: relative; z-index: 1; flex: 0 0 auto; }
.hero figure img {
  max-width: 160px; height: auto; display:block;
}

/* Cards & grid used on homepage */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem; padding: 0 6%; }
.card { background:#fafafa; padding:1.5rem; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.05); }
.card h3 { margin-top:0; color:#0b7ef4; }

/* ========== Subpage Banners (soft lavender gradient) ========== */
.subhero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2.2rem 6%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f6ff 0%, #f0ecff 50%, #edf4ff 100%);
  border-bottom: 1px solid #e3e6f1;
}
.subhero::before,
.subhero::after {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0.25;
  transform: rotate(25deg);
}
.subhero::before {
  width: 420px; height: 420px;
  top: -120px; left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #cfd8ff 0%, transparent 70%);
}
.subhero::after {
  width: 480px; height: 480px;
  bottom: -160px; right: -200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #d6cfff 0%, transparent 70%);
}
.subhero .logo-small { width: 100px; height: auto; display: block; position: relative; z-index: 1; }
.subhero h1 {
  position: relative; z-index: 1;
  font-size: 2rem; margin: 0; color: #0b2149;
}

/* Typography */
h2 { color: #0b7ef4; margin: 1.5rem 6% 0.5rem; }
main { max-width: 1100px; margin: 1.2rem auto; }
main p, main ul, main ol { padding: 0 6%; }

/* Footer placeholder (loaded dynamically) */
footer { background: #f5f7fb; border-top: 1px solid #ddd; padding: 1rem 6%; text-align: center; color:#555; }
footer .muted { font-size:.85rem; color:#888; }

/* Buttons */
.btn { display:inline-block; padding:.6rem 1rem; background:#0b7ef4; color:#fff; border-radius:6px; text-decoration:none; font-weight:bold; }
.btn:hover { background:#095ec2; }

/* Images in content */
img.responsive { max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
