/* ==================================================
   DESIGN SYSTEM — SOFT MULTI-COLOR MODERN
================================================== */

:root {
  /* Canvas */
  --bg-base: #e9edf3;
  --bg-layer: #dde4ef;
  --surface: rgba(245,248,252,0.95);

  /* Brand colors */
  --blue: #137CD7;
  --cyan: #38bdf8;
  --teal: #2dd4bf;
  --violet: #a78bfa;

  /* Text */
  --text: #0f172a;
  --muted: #475569;

  /* UI */
  --border: rgba(15,23,42,0.12);
  --radius: 16px;
  --shadow: 0 24px 50px rgba(15,23,42,0.18);

  --max: 1200px;
}

/* ==================================================
   RESET
================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ==================================================
   BACKGROUND — MULTI COLOR & SOFT
================================================== */

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 10% 15%, rgba(19,124,215,0.28), transparent 60%),
    radial-gradient(800px 500px at 85% 20%, rgba(45,212,191,0.28), transparent 55%),
    radial-gradient(700px 500px at 50% 85%, rgba(167,139,250,0.28), transparent 55%),
    linear-gradient(180deg, var(--bg-base), var(--bg-layer));
  overflow-x: hidden;
  position: relative;
}

/* Animated blur movement */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  z-index: -1;
  animation: float 60s ease-in-out infinite;
}

body::before {
  background: rgba(56,189,248,0.35);
  top: -220px;
  left: -220px;
}

body::after {
  background: rgba(168,85,247,0.35);
  bottom: -220px;
  right: -220px;
  animation-direction: reverse;
}

@keyframes float {
  0%   { transform: translate(0,0); }
  50%  { transform: translate(120px,-80px); }
  100% { transform: translate(0,0); }
}

/* ==================================================
   LAYOUT
================================================== */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,248,252,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-accent {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--teal),
    var(--violet)
  );
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-name span {
  font-size: 0.85rem;
  color: var(--muted);
}

.logo {
  height: 64px;
  border-radius: 10px;
  background: transparent;
  padding: 4px;
}

/* ==================================================
   NAVIGATION
================================================== */

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-pill {
  background: rgba(19,124,215,0.18);
  color: var(--blue) !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==================================================
   HERO & SECTIONS
================================================== */

.hero {
  padding: 96px 0 72px;
}

.section {
  padding: 72px 0;
}

.section:nth-of-type(2n) {
  background: linear-gradient(
    180deg,
    rgba(19,124,215,0.06),
    rgba(45,212,191,0.05)
  );
}

/* ==================================================
   GRID SYSTEM
================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

/* ==================================================
   CARDS
================================================== */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card.pad {
  padding: 32px;
}

/* ==================================================
   BUTTONS
================================================== */

.btn {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 14px 34px rgba(19,124,215,0.45);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ==================================================
   BADGES
================================================== */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  background: rgba(19,124,215,0.15);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
  margin-top: 96px;
  background:
    linear-gradient(
      180deg,
      rgba(19,124,215,0.08),
      rgba(19,124,215,0.15)
    );
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.site-footer,
.site-footer a,
.site-footer p {
  color: #1e293b;
}

.footer-columns h4 {
  margin-bottom: 14px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}

.site-footer a:hover {
  color: #2563eb;
}


.footer-brand p {
  color: var(--muted);
  max-width: 420px;
}

.footer-email {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-columns h4 {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #0f172a;
}

.footer-columns a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(19,124,215,0.12);
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}

.footer-columns a:hover {
  background: rgba(19,124,215,0.2);
  transform: translateY(-1px);
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: transparent;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 900px) {
  .hero-grid,
  .grid.two,
  .grid.three,
  .footer-main {
    grid-template-columns: 1fr;
  }

    .brand-name {
    display: none;
  }

  /* Hide ALL nav items */
  .nav-links > a,
  .nav-links > button {
    display: none;
  }

  /* Re-enable ONLY the Schedule button */
  .nav-links > a.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Keep nav container aligned right */
  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  /* Optional mobile spacing polish */
  .header-inner {
    height: 64px;
  }

  .logo {
    height: 48px;
  }

  .brand-name span {
    display: none;
  }

  /* Footer Padding */
  .site-footer .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  /* Top of footer padding*/
  .footer-main {
    padding: 48px 0 32px;
  }

  /*Stack columns neatly*/
    .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
