/* Start of Navbar CSS */
.nav-link{
  font-family: -apple-system, serif;
  font-weight: bold;
}

.navbar ul li{
  position: relative;
}

.navbar .nav-link:hover {
    color: #0004ff !important;
  }


.navbar ul li::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;     /* adjust */
  height: 3px;
  width: 0%;
  background: #0004ff;
  transition: width 0.5s;
}

.navbar ul li:hover::after{
  width: 100%;
}

.navbar .nav-link.active {
  color: #0004ff !important;
}

/* Keep the underline visible on the active link */
.navbar ul li:has(.nav-link.active)::after {
  width: 100%;
}

/* logo css */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* End of Navbar CSS */

/* Start Top bar CSS */
.top-bar {
      background-color: #f8f9fa;
      border-bottom: 1px solid #dee2e6;
      padding: 0.6rem 0;
    }
    .top-bar .info-item {
      display: flex;
      align-items: center;
      justify-content: center;  /* center horizontally */
      padding: 0.2rem 0;
      font-size: 0.95rem;
    }
    .top-bar .info-item i {
      width: 1.8rem;
      text-align: center;
      color: #007bff;
      margin-right: 0.5rem;
      font-size: 1.1rem;
    }
    /* On small screens, stack vertically */
    @media (max-width: 767px) {
      .top-bar .info-item {
        justify-content: center;
        padding: 0.3rem 0;
      }
    }
/* End of Top bar CSS */

/* start of drop down css */
     /* ---------- Custom hover dropdown ---------- */
        .nav-item.dropdown {
            position: relative;
        }

        /* Style the main link: keep white text, add flex for arrow */
        .nav-link.dropdown-toggle {
            color: white !important;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 0.5rem 1rem;
            text-decoration: none;
            white-space: nowrap;
        }

        /* Arrow pointing down (pure CSS) */
        .arrow-down {
            display: inline-block;
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid white;   /* arrow colour matches white text */
            transition: transform 0.2s ease;
        }

        /* On hover, rotate arrow slightly (optional, but nice) */
        .nav-item.dropdown:hover .arrow-down {
            transform: rotate(180deg);

        }

        /* ---- Dropdown menu (hidden by default) ---- */
        .dropdown-menu-custom {
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 0.25rem;
            min-width: 200px;
            background-color: #1e1e2f;      /* dark background to match navbar */
            border-radius: 8px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
            list-style: none;
            padding: 0.5rem 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
            z-index: 1000;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Show dropdown on hover of the parent .dropdown */
        .nav-item.dropdown:hover .dropdown-menu-custom {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Dropdown links */
        .dropdown-menu-custom li a {
            display: block;
            padding: 0.6rem 1.25rem;
            color: #e0e0e0;
            text-decoration: none;
            font-size: 0.95rem;
            transition: background 0.15s, color 0.15s;
            white-space: nowrap;
        }

        .dropdown-menu-custom li a:hover {
            background-color: #2d2d44;
            color: #ffffff;
        }

        /* Subtle divider between dropdown items (optional) */
        .dropdown-menu-custom li + li {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Demo page background to make navbar visible */
        body {
            background: #0b0b16;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        }

        /* Nav container (simulate a dark navbar) */
        .navbar-demo {
            background: #14141f;
            border-radius: 60px;
            padding: 0.5rem 1.5rem;
            display: inline-flex;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        }

        /* Ensure no default Bootstrap dropdown styling interferes */
        .nav-item.dropdown .nav-link::after {
            display: none !important; /* remove default Bootstrap caret */
        }
/* End of drop down CSS */

/* Start of Home CSS */
    .home{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(/static/images/insurancebg.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 50px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 10px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #00A300;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border:1px solid #f44336;
    text-decoration: none;
    background: #f44336;
    transition: 1s;
}

/* End of Home CSS */

/* Start of Footer CSS */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  color: #00A300;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: #007bff;
}

.footer .footer-about a {
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: Monospace;
  color: #00A300;
  text-decoration: none;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/* End of Footer css */

/* Start of Contact/Claim Form css */
.contactform{
  padding-top: 100px;
}

/* End of Contact/Claim Form css */


/* Start of services  drop down  */

.dropdown-menu-custom.dropdown-3col{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 12px;
  min-width: 520px;     /* adjust if needed */
  overflow: visible;    /* no scroll */
  max-height: none;     /* no max height */
}

.dropdown-menu-custom.dropdown-3col > li{
  list-style: none;
}

.dropdown-menu-custom.dropdown-3col a{
  display: block;
  white-space: normal; /* allow wrapping */
  padding: 6px 8px;
  word-break: break-word;
}

/* End of services drop down CSS */

/* Start of why choose us CSS */
  */
    .section-title {
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #0b1e3a;
    }
    .section-subtitle {
      color: #4a5a6e;
      font-weight: 400;
      font-size: 1.125rem;
    }
    .card-why {
      border: none;
      border-radius: 1.25rem;
      background: #ffffff;
      box-shadow: 0 12px 28px -8px rgba(0, 20, 40, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      height: 100%;
    }
    .card-why:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 32px -8px rgba(0, 30, 60, 0.12);
    }
    .card-why .card-body {
      padding: 1.75rem 1.5rem;
    }
    .card-why .bi {
      font-size: 2.2rem;
      color: #1e4d7b;
    }
    .card-why h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-top: 1rem;
      margin-bottom: 0.6rem;
      color: #0b1e3a;
    }
    .card-why p {
      color: #3a4b5e;
      font-size: 0.95rem;
      line-height: 1.5;
      margin-bottom: 0;
    }
    .approach-step {
      position: relative;
      padding-left: 3.5rem;
      padding-bottom: 2rem;
      border-left: 2px solid #dde5ef;
    }
    .approach-step:last-child {
      border-left: 2px solid transparent;
      padding-bottom: 0;
    }
    .step-number {
      position: absolute;
      left: -1rem;
      top: 0;
      background: #ffffff;
      border: 2px solid #1e4d7b;
      color: #1e4d7b;
      font-weight: 700;
      font-size: 0.9rem;
      width: 2.2rem;
      height: 2.2rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f0f6fe;
    }
    .approach-step h4 {
      font-size: 1.15rem;
      font-weight: 600;
      color: #0b1e3a;
      margin-bottom: 0.25rem;
    }
    .approach-step p {
      color: #3a4b5e;
      font-size: 0.95rem;
      margin-bottom: 0;
      line-height: 1.5;
    }
    .commitment-box {
      background: #e9f2fa;
      border-radius: 1.5rem;
      padding: 2rem 2rem;
      border-left: 6px solid #1e4d7b;
    }
    .commitment-box p {
      color: #1e2a3e;
      font-size: 1.05rem;
      line-height: 1.6;
    }
    .badge-soft {
      display: inline-block;
      background: #d9e9ff;
      color: #1e4d7b;
      font-weight: 600;
      font-size: 0.85rem;
      padding: 0.3rem 1rem;
      border-radius: 50px;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .highlight {
      color: #1e4d7b;
      font-weight: 700;
    }
    .section-title {
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #0b1e3a;
    }
    .section-subtitle {
      color: #4a5a6e;
      font-weight: 400;
      font-size: 1.125rem;
    }
    .card-why {
      border: none;
      border-radius: 1.25rem;
      background: #ffffff;
      box-shadow: 0 12px 28px -8px rgba(0, 20, 40, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      height: 100%;
    }
    .card-why:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 32px -8px rgba(0, 30, 60, 0.12);
    }
    .card-why .card-body {
      padding: 1.75rem 1.5rem;
    }
    .card-why .bi {
      font-size: 2.2rem;
      color: #1e4d7b;
    }
    .card-why h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-top: 1rem;
      margin-bottom: 0.6rem;
      color: #0b1e3a;
    }
    .card-why p {
      color: #3a4b5e;
      font-size: 0.95rem;
      line-height: 1.5;
      margin-bottom: 0;
    }
    .approach-step {
      position: relative;
      padding-left: 3.5rem;
      padding-bottom: 2rem;
      border-left: 2px solid #dde5ef;
    }
    .approach-step:last-child {
      border-left: 2px solid transparent;
      padding-bottom: 0;
    }
    .step-number {
      position: absolute;
      left: -1rem;
      top: 0;
      background: #ffffff;
      border: 2px solid #1e4d7b;
      color: #1e4d7b;
      font-weight: 700;
      font-size: 0.9rem;
      width: 2.2rem;
      height: 2.2rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f0f6fe;
    }
    .approach-step h4 {
      font-size: 1.15rem;
      font-weight: 600;
      color: #0b1e3a;
      margin-bottom: 0.25rem;
    }
    .approach-step p {
      color: #3a4b5e;
      font-size: 0.95rem;
      margin-bottom: 0;
      line-height: 1.5;
    }
    .commitment-box {
      background: #e9f2fa;
      border-radius: 1.5rem;
      padding: 2rem 2rem;
      border-left: 6px solid #1e4d7b;
    }
    .commitment-box p {
      color: #1e2a3e;
      font-size: 1.05rem;
      line-height: 1.6;
    }
    .badge-soft {
      display: inline-block;
      background: #d9e9ff;
      color: #1e4d7b;
      font-weight: 600;
      font-size: 0.85rem;
      padding: 0.3rem 1rem;
      border-radius: 50px;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .highlight {
      color: #1e4d7b;
      font-weight: 700;
    }
/* End of Why Choose Us CSS */

/* Give the marquee vertical breathing room */
  marquee {
    padding: 30px 0;
    background: #f9fbfd; /* optional */
  }

  /* Flex row with even spacing between logos */
  .marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;              /* 👈 spacing between each image */
    width: max-content;     /* keeps items in one long row */
  }

  /* Card wrapper (optional) */
  .img-card {
    flex: 0 0 auto;         /* prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Image styling — unify height so logos align */
  .img-card img {
    height: 80px;           /* 👈 consistent logo height */
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: grayscale(0%);  /* optional hover effect below */
    transition: transform .3s ease, filter .3s ease;
  }

  .img-card img:hover {
    transform: scale(1.05);
  }