/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* BASE */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f4f7fb;
  color: #102a43;
  line-height: 1.6;
}

/* HEADER */
.site-header {
  background-color: #0A2E52;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  height: 90px;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}

nav {
  margin-top: 6px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.header-logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 35, 52, 0.08);
}

/* HERO */
.hero-pill {
  display: inline-block;
  background: #d9ecff;
  color: #1f4b99;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cert-note {
  margin-bottom: 16px;
}

/* BADGE */
.badge-wrapper {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}

.badge-wrapper img {
  width: 130px;
  height: auto;
}

/* CLEAR FLOAT */
.section::after {
  content: "";
  display: block;
  clear: both;
}

/* SECTIONS */
.section {
  margin-top: 40px;
}

.section-header {
  margin-bottom: 14px;
}

.badge-row span {
  font-size: 0.85rem;
  margin-right: 12px;
  color: #627d98;
}

/* COLUMNS */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col-2 {
  flex: 1 1 48%;
}

.col-3 {
  flex: 1 1 30%;
}

/* CARD */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: #0b72ff;
  color: white;
}

.btn-primary:hover {
  background: #0852c9;
}

.btn-outline {
  border: 1px solid #0b72ff;
  color: #0b72ff;
}

.btn-outline:hover {
  background: #e6f0ff;
}
/* Homepage H1 Size Adjustment */
.index-hero h1 {
    font-size: 1.9rem;   /* Adjust until it fits */
    line-height: 1.2;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header-logo img {
    height: 120px;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    height: auto;
    padding-bottom: 20px;
  }

  .header-left {
    text-align: center;
  }

  nav a {
    margin-right: 12px;
  }

  .header-logo img {
    height: 100px;
  }

  .badge-wrapper {
    float: none;
    text-align: center;
    margin: 0 auto 15px auto;
  }

  .columns {
    flex-direction: column;
  }

  .col-2, .col-3 {
    flex: 1 1 100%;
  }
}
/* === GOOGLE REVIEW CAROUSEL === */
.review-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 180px;
    margin-top: 25px;
}

.review-slide {
    min-width: 100%;
    transition: transform 0.6s ease-in-out;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.review-author {
    font-weight: 700;
    margin-top: 12px;
    font-size: 0.95rem;
}

.review-stars {
    color: #f2b01e;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: inline-block;
    letter-spacing: 2px;
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #cbd2d9;
    margin: 4px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots .active {
    background: #0b72ff;
}
/* ===========================
   QUICK LEAD FORM
=========================== */

.lead-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0b72ff;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    z-index: 9999;
}
.lead-btn:hover {
    background: #0852c9;
}

/* Overlay */
.lead-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

/* Modal */
.lead-modal {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button */
.lead-close {
    float: right;
    font-size: 26px;
    cursor: pointer;
}

.lead-form input, .lead-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
.lead-form textarea {
    height: 110px;
}
