
:root {
  --bg: #f4f6f9;
  --ink: #0b2a4a;
  --muted: #5b6b7a;
  --card: #ffffff;
  --edge: #d6dde8;
  --brand: #0b5cab;
  --banner-bg: #0c7c59;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Hamburger button hidden on desktop
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
}
*/
/* SVG hamburger button */
.nav-toggle {
  display: none;                 /* hidden on desktop */
  background: rgba(30, 114, 255, 0.08);
  border: 1px solid rgba(30, 114, 255, 0.20);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active {
  background: rgba(30, 114, 255, 0.16);
}

.hamburger {
  width: 26px;
  height: 26px;
  display: block;
}

/* Make lines bright + aesthetic */
.hamburger .line {
  stroke: #1e72ff;               /* brand blue */
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: transform 220ms ease, opacity 160ms ease, stroke 220ms ease;
  transform-origin: 12px 12px;
}
/*
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
*/
.nav .brand { font-weight: 700; color: var(--ink); text-decoration: none; }

.nav .links a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}
/*
.nav .links a.cta {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}*/

.availability-banner {
  background: var(--banner-bg);
  color: #e8fff5;
  font-size: 0.9rem;
}

.banner-wrap {
  display: flex;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.availability-banner .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #a7f3d0;
  margin-right: 10px;
}

.availability-banner a {
  color: #d1fae5;
  text-decoration: underline;
}

.hero {
  background: linear-gradient(135deg, #0b2a4a, #0b5cab);
  color: #fff;
  padding: 48px 20px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px); 
  margin: 0 0 10px; 
  color: #d2e0f2;
}

.hero .sub {
  color: #d2e0f2;
  max-width: 840px;
}

.cta-row {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b2a4a;
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
}

.btn.secondary {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.small-footer {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #6c757d;
  font-style: italic;
  border-top: 1px dotted #e2e2e2;
  padding-top: 8px;
}

h1, h2, h3 {
  color: var(--ink);
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid var(--edge);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

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

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tick {
  list-style: none;
  padding-left: 0;
}

.tick li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}

.tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22a06b;
  font-weight: 700;
}

.list .card {
  margin-bottom: 16px;
}

.headshot-about {
  width: 220px;
  border-radius: 14px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.split {
  margin-top: 28px;
}

.footer {
  text-align: center;
  padding: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a { color: var(--brand); text-decoration: none; }

/* --- Brand: mini-logo + text + underline animation --- */

.nav .brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 1.45rem;
  font-weight: 700;
  color: #0a2540;              /* professional navy */
  letter-spacing: 0.4px;
  text-decoration: none;

  padding: 6px 4px;
  transition: color 0.25s ease, transform 0.2s ease;
}

/* Mini-logo pill before the text (AC = Ashraf Consulting) */
.nav .brand::before {
  content: "AC";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  border-radius: 50%;

  background: linear-gradient(135deg, #1e72ff, #0a2540);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;

  box-shadow: 0 2px 6px rgba(30, 114, 255, 0.35), 
              inset 0 0 4px rgba(255, 255, 255, 0.15);

  margin-right: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav .brand:hover::before {
  transform: scale(1.07);
  box-shadow: 0 3px 8px rgba(30, 114, 255, 0.45), 
              inset 0 0 6px rgba(255, 255, 255, 0.25);
}


/* Underline bar (hidden by default, animates in on hover) */
.nav .brand::after {
  content: "";
  position: absolute;
  left: 34px;            /* start after the pill */
  right: 0;
  bottom: 2px;

  height: 2px;
  background: #1e72ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

/* Hover state */
.nav .brand:hover {
  color: #1e72ff;
  transform: translateY(-1px);
}

.nav .brand:hover::after {
  transform: scaleX(1);
}

/* Make nav links visually consistent */
.nav .links a {
  text-decoration: none;
  color: #0b2a4a;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav .links a:hover {
  color: #1e72ff;
}

/* --- Responsive adjustments --- */
/*
@media (max-width: 768px) {
  .nav .brand {
    font-size: 1.25rem;
    padding: 4px 0;
  }

  .nav .brand::before {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}*/

@media (max-width: 480px) {
  .nav .brand {
    font-size: 1.1rem;
    letter-spacing: 0.2px;
  }
}

/* --- Light / dark mode tweaks for nav --- */
@media (prefers-color-scheme: dark) {
  .nav {
    background: #050816;
    border-bottom: 1px solid #1f2937;
  }

  .nav .brand {
    color: #e5e7eb;
  }

  .nav .brand::before {
    background: rgba(96, 165, 250, 0.18);
    color: #60a5fa;
  }

  .nav .brand::after {
    background: #60a5fa;
  }

  .nav .links a {
    color: #e5e7eb;
  }

  .nav .links a:hover {
    color: #93c5fd;
  }
  .nav-toggle {
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.22);
  }

  .hamburger .line {
    stroke: #60a5fa;             /* lighter blue */
  }  
}
.footer-form {
  margin: 30px auto 10px auto;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.07);
  padding: 20px 25px;
  border-radius: 12px;
  backdrop-filter: blur(3px);
}

.footer-form h4 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2c4059;
  background: #ffffff;
  font-size: 0.95rem;
}

.footer-form button {
  background: #1e72ff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.footer-form button:hover {
  background: #5390ff;
}

.footer-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #cdd2d8;
}

/* Footer contact lines layout */
.contact-lines p {
  margin: 8px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Icon wrapper */
.footer .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;           /* light blue */
}

/* Make icons slightly softer on hover */
.footer a:hover,
.footer .footer-phone:hover {
  color: #93c5fd !important;
}

/* SVG sizing */
.footer svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: currentColor;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer a:hover svg {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .contact-lines p {
    font-size: 0.95rem;
  }

  .footer svg {
    width: 16px;
    height: 16px;
  }
}

.frmClientQryError {
    color: red;
    font-style: italic;
}
.about-photo {
  width:190px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

/* Mobile */
@media (max-width: 768px) {
  .nav .brand {
    font-size: 1.25rem;
    padding: 4px 0;
  }

  .nav .brand::before {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }  

  .about-photo {
    width: 160px;
    display: block;
    margin: 0 auto 18px auto;
  }
/*
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    color: var(--nav-brand, #0a2540);
  }
*/
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
    .nav .links {
    display: none; /* hidden until opened */
    position: absolute;
    top: 64px;          /* adjust if your nav height differs */
    right: 12px;
    left: 12px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    z-index: 999;
  }

  .nav .links a {
    display: block;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .nav .links a:hover {
    background: rgba(30, 114, 255, 0.08);
  }
/*
  .nav .links a.cta {
    margin-top: 6px;
    text-align: center;
  }
*/
  /* Open state */
  .nav.open .links {
    display: block;
  }

  /* Animate hamburger into an X */
  /*
  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }  
  */
}



/* Dark mode dropdown */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
  .nav .links {
    background: #050816;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 14px 28px rgba(0,0,0,0.45);
  }
  .nav .links a:hover {
    background: rgba(96, 165, 250, 0.14);
  }
}

/* Animate into an X when menu is open */
.nav.open .hamburger .top {
  transform: translateY(5px) rotate(45deg);
}

.nav.open .hamburger .mid {
  opacity: 0;
}

.nav.open .hamburger .bot {
  transform: translateY(-5px) rotate(-45deg);
}