/* ================================
   Base Styles
   ================================ */
:root {
  --accent: #0b63d6;
  --muted: #666;
  --bg: #fff;
  --maxw: 900px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.5; }

header { background: #f7f9ff; border-bottom: 1px solid #e6eefc; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.brand h1 { font-size: 18px; margin: 0; }

.nav-links { display: flex; gap: 12px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
}
.nav-links a.cta { background: var(--accent); color: #fff; }

main { padding: 30px 0; }
h2 { font-size: 24px; margin-bottom: 20px; }

/* Reusable button */
.btn, button.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  border: none;
}

/* ================================
   Hero Section
   ================================ */
.hero { display: block; margin-bottom: 2rem; }
.hero-intro { text-align: left; margin-bottom: 2rem; }

.hero-columns {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.hero-left { flex: 1; }
.hero-right { flex: 2; }

.profile-photo {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero h2 { font-size: 28px; margin: 0 0 10px; }
.hero p.lead { margin: 0 0 18px; color: var(--muted); }

/* ================================
   Cards & Pricing
   ================================ */
.card {
  background: #fff;
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(11,99,214,0.03);
}

ul.clean { padding-left: 18px; margin: 8px 0; }
h3 { margin: 0 0 10px; font-size: 18px; }
.small { font-size: 14px; color: var(--muted); }

.pill {
  display: inline-block;
  background: #f1f7ff;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-right: 8px;
}

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

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

.price {
  border: 1px solid #e6eefc;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
}
.price h4 { margin: 0 0 6px; }

footer {
  border-top: 1px solid #efefef;
  padding: 28px 0;
  margin-top: 30px;
}

/* ================================
   Testimonials
   ================================ */
.greeting { font-size: 1.1em; font-style: italic; }

.homepage-testimonial {
  font-family: 'Caveat', cursive;
  font-size: 1.4em;
  font-style: normal;
}

.testimonial {
  margin-bottom: 28px;
  padding: 16px;
  background: #f9fbff;
  border-radius: 8px;
}

.testimonial .quote {
  font-family: 'Caveat', cursive;
  font-size: 1.5em;
  font-style: normal;
  margin: 0 0 8px;
}

.testimonial .name {
  font-family: Arial, sans-serif;
  font-size: 1em;
  display: block;
  text-align: right;
  color: var(--muted);
}

.testimonial-name { /* for homepage quick blurb */
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 1em;
  color: var(--muted);
  margin-left: 8px;
}

/* ================================
   Credentials
   ================================ */
.credential {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.credential .text p { margin: 2px 0; }

.credential .logo img {
  max-height: 95px;
  width: auto;
}

.credential img {
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.credential .name {
  font-family: Arial, sans-serif;
  font-size: 1em;
  display: block;
  text-align: left;
}

/* ================================
   Contact
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}

/* ================================
   Media Queries
   ================================ */
@media (max-width: 880px) {
  .hero-columns { flex-direction: column; }
  .brand h1 { font-size: 16px; }
}

@media (max-width: 768px) {
  /* Header: stack brand + nav */
  header nav {
    flex-direction: column;
    align-items: flex-start;
  }

  header .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  /* Contact: stack text + form */
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact-grid > div,
  .contact-grid form {
    width: 100% !important;
  }

  .contact-grid form input,
  .contact-grid form textarea,
  .contact-grid form button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .credential img { max-height: 60px; }
}

@media (max-width: 768px) {
  .cols {
    grid-template-columns: 1fr; /* force single column on mobile */
  }

  .testimonial {
    width: 100%;
  }

  /* Keep logos smaller so they don’t overpower text */
  .credential img {
    max-width: 120px;   /* reduce size on phones */
    height: auto;
  }
}