:root {
  --brand-blue: #28339f;
  --brand-blue-dark: #000e94;
  --brand-purple: #601162;
  --brand-purple-deep: #3d083f;
  --accent: #f2c230;
  --ink: #242424;
  --muted: #62626b;
  --soft: #f5f5f8;
  --line: #dedee9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  background: var(--white);
  font-weight:400;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover,
a:focus {
  color: var(--brand-purple);
}

h1,
h2,
h3,
.btn,
.nav-menu a,
.section-label,
.form-kicker {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  color: var(--brand-blue-dark);
  font-weight: 700;
  line-height: 1.12;
  font-family:"Oswald", sans-serif;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin-bottom: 1rem;
}

.section-pad {
  padding: 82px 0;
}

.section-label,
.eyebrow,
.form-kicker {
  margin-bottom: .65rem;
  color: var(--brand-purple);
  font-weight: 700;
  font-size: .86rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.text-center {
  margin-right: auto;
  margin-left: auto;
}

.btn {
  border-radius: 0;
  padding: .86rem 1.35rem;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.15;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-brand {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #ffffff;
    background: #601162;
    border-color: #601162;
}

.btn-accent {
  color: var(--brand-blue-dark);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-accent:hover,
.btn-accent:focus {
  color: var(--white);
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .8);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--brand-blue-dark);
  background: var(--white);
  border-color: var(--white);
}

.top-nav {
  background: var(--brand-blue);
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .85rem 0;
  color: var(--white);
  border: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(var(--white), var(--white)), linear-gradient(var(--white), var(--white));
  background-repeat: no-repeat;
  background-position: 0 20%, 0 50%, 0 80%;
  background-size: 100% 2px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: .95rem 1.05rem;
  color: var(--white);
  font-weight: 700;
  font-size: .98rem;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--white);
  background: var(--brand-purple);
}

.brand-bar {
  padding: 16px 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 5;
}

.brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo img,
.site-footer img {
  width: min(323px, 100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.second-intro p.lead {
    font-weight: 700;
}

.second-intro .image-frame{
    margin-left:0;
}

.phone-link {
  display: flex;
  flex-direction: column;
  color: #393939;
  text-align: center;
  line-height: 1.05;
}

.phone-link span {
  color: #606060;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.phone-link strong {
  color: #393939;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 94px 0 190px 0;
  background: var(--brand-blue-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 14, 148, .96) 0%, rgba(40, 51, 159, .70) 42%, rgba(96, 17, 98, .30) 100%),
    url("../../assets/img/banner_image_002.jpg") center/cover no-repeat;
}

.hero-section::after {
  position: absolute;
  inset: auto -5% -80px -5%;
  z-index: -1;
  height: 180px;
  content: "";
  background: var(--white);
  transform: rotate(-2deg);
}

.hero-copy {
  color: var(--white);
}

.hero-copy h1,
.hero-copy .eyebrow {
  color: var(--white);
}

.hero-copy .lead {
  max-width: 690px;
  color: var(--white);
  font-size: clamp(1.24rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-copy p:not(.eyebrow):not(.lead) {
  max-width: 650px;
  color: rgba(255, 255, 255, .92);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: .45rem .7rem;
  border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  font-size: .88rem;
}

.appointment-card {
  padding: 32px !important;
  background: rgba(255, 255, 255, 84%);
  border-top: 8px solid var(--accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.appointment-card h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.75rem, 2.8vw, 2rem);
}

.appointment-card label {
  margin-bottom: .35rem;
  color: var(--brand-blue-dark);
  font-weight: 700;
  font-size: .9rem;
}

.appointment-card .form-control,
.appointment-card .form-select {
  min-height: 48px;
  border: 1px solid #cfcfe0;
  border-radius: 0;
}

.appointment-card .form-control:focus,
.appointment-card .form-select:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 .2rem rgba(96, 17, 98, .14);
}

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.intro-section {
  background: var(--white);
}

.image-frame {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  padding: 16px;
  background: var(--white);
  border: 8px solid var(--brand-purple);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.image-frame::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  content: "";
  background: var(--accent);
}

.process-section,
.getting-started,
.faq-section {
  background: var(--soft);
}

.step-card,
.feature-card,
.audience-grid article,
.start-flow article {
  height: 100%;
  padding: 28px;
  background: var(--white);
  border-top: 5px solid var(--brand-purple);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.step-card span, .start-flow span {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    color: var(--brand-blue-dark);
    background: var(--accent);
    font-weight: 700;
    border-radius: 50%;
    font-size: 38px;
}

.split-band {
  background: linear-gradient(90deg, var(--brand-blue-dark) 0 50%, var(--white) 50% 100%);
}

.split-image {
  min-height: 100%;
  background: url("../../assets/img/neurofeed_img_002.jpg") center/cover no-repeat;
}
.split-inner{
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}
.split-content {
  padding: 56px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.question-line {
  color: var(--brand-purple);
  font-weight: 700;
}

.why-section {
  background: var(--white);
}

.feature-card {
  border-top-color: var(--brand-blue);
}

.feature-card h3,
.step-card h3,
.audience-grid h3,
.start-flow h3 {
  margin-bottom: .75rem;
}

.brain-section {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 194, 48, .22), transparent 34%),
    linear-gradient(135deg, var(--brand-purple-deep), var(--brand-blue-dark));
}

.brain-section h2,
.brain-section .section-label {
  color: var(--white);
}

.brain-section p {
  color: rgba(255, 255, 255, .92);
}

.brain-visual {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.brain-card {
  position: relative;
  display: grid;
  width: min(320px, 82vw);
  min-height: 250px;
  place-items: center;
  padding: 34px;
  color: var(--brand-blue-dark);
  text-align: center;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.brain-card strong {
  display: block;
  color: var(--brand-purple);
  font-size: 4rem;
  line-height: .95;
}

.brain-card small {
  display: block;
  color: var(--brand-blue-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.pulse {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(242, 194, 48, .2);
}

.pulse-one {
  top: 38px;
  left: 42px;
}

.pulse-two {
  top: 82px;
  right: 46px;
}

.pulse-three {
  bottom: 42px;
  left: 50%;
}

.start-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.care-section {
  background: url(../../assets/img/banner_image_new.jpg) no-repeat scroll 100% 100%;
}


.care-panel {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .8fr;
  gap: 28px;
  align-items: center;
  padding: 44px;
  color: var(--white);
  background: #1a1a1a73;
}

.care-panel h2,
.care-panel .section-label {
  color: var(--white);
}

.check-list,
.benefit-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li,
.benefit-grid li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.benefit-grid li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.call-box {
  padding: 24px;
  background: var(--white);
  color: var(--brand-blue-dark);
}

.call-box span {
  display: block;
  margin-bottom: .5rem;
  color: var(--muted);
}

.call-box a {
  color: var(--brand-purple);
  font-weight: 700;
  font-size: 1.35rem;
}

.local-section {
  background: var(--soft);
}

.local-section h3 {
  color: var(--ink);
  text-transform: none;
}

.location-address {
  margin: 18px 0;
  font-style: normal;
  font-weight: 700;
}

.cities {
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.map-card {
  min-height: 495px;
  display: grid;
  align-content: end;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 14, 148, .12), rgba(0, 14, 148, .92)),
    url("../../assets/img/banner_image_003.jpg") center/cover no-repeat;
}

.map-card span {
  font-weight: 700;
  text-transform: uppercase;
}

.map-card strong {
  font-size: 2.4rem;
  line-height: 1;
}

.insurance-section {
  color: var(--white);
  background: var(--brand-purple);
}

.insurance-section h2,
.insurance-section .section-label,
.insurance-section a {
  color: var(--white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 28px;
  background: rgba(255, 255, 255, .12);
}

.accordion {
  max-width: 920px;
  margin: 0 auto;
}

.accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.accordion-button {
  color: var(--brand-blue-dark);
  background: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: 0 0 0 .2rem rgba(40, 51, 159, .18);
}

.accordion-body {
  background: var(--white);
}

.final-cta {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 14, 148, .70), rgba(96, 17, 98, .9)),
    url("https://www.chicagoneurofeedback.com/images/image-selection/home-banners/banner-04.jpg") center/cover no-repeat;
}
.copyright {
    border-top: 1px solid #ffffff6e;
}
.final-wrap {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.final-wrap h2,
.final-wrap .section-label {
  color: var(--white);
}

.final-wrap p {
  max-width: 760px;
}

.final-actions {
  display: grid;
  gap: 12px;
  min-width: 320px;
}

.final-actions span,
.final-actions a:not(.btn) {
  color: var(--white);
}

.site-footer {
  padding: 44px 0 0 0;
  color: var(--white);
  background: #242424;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 28px;
  align-items: center;
}

.site-footer h2 {
  margin-bottom: .6rem;
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: var(--white);
}

.footer-phone {
  font-size: 1.7rem;
  font-weight: 700;
}


/*Thank you page css*/


.thank-you-section {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: linear-gradient(135deg, rgba(0, 14, 148, .93), rgba(96, 17, 98, .88)), url("https://www.chicagoneurofeedback.com/images/image-selection/home-banners/banner-02.jpg") center / cover no-repeat;
}

.thank-you-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, .18), transparent 30%);
}

.thank-you-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border-top: 7px solid var(--brand-purple);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
  text-align: center;
}

.thank-you-card h1 {
  color: var(--brand-blue-dark);
  font-size: clamp(34px, 5vw, 58px);
  margin:10px auto 10px auto;
  text-transform: uppercase;
  max-width: 100%;
}

.thank-you-card h2 {
  color: var(--brand-purple);
  font-size: clamp(26px, 3vw, 38px);
}

.thank-you-card > p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-purple);
  color: var(--white);
  font-family: "Oswald", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.next-steps {
  margin-top: 38px;
  text-align: left;
}

.next-steps > h3,
.assistance-box h3 {
  color: var(--brand-blue-dark);
  text-align: center;
}

.next-step-card {
  padding: 28px;
  border: 1px solid #e3e3ea;
  background: #f8f1f8;
  box-shadow: 0 8px 24px rgba(40, 51, 159, .08);
}

.next-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: var(--brand-purple);
  color: var(--white);
  font-family: "Oswald", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.next-step-card h4 {
  margin-bottom: 12px;
  color: var(--brand-purple);
  font-family: "Oswald", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.next-step-card p {
  margin: 0;
}



.assistance-box {
  margin-top: 38px;
  padding: 34px;
  background: #f8f1f8;
  border: 1px solid rgba(96, 17, 98, .14);
}

.assistance-box p {
  margin-bottom: 14px;
  font-size: 18px;
}

.assistance-box a:not(.btn) {
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.thank-you-note {
  margin-top: 28px;
  color: var(--brand-purple);
  font-weight: 700;
}




@media (max-width: 1199.98px) {
  .nav-menu a {
    padding-right: .75rem;
    padding-left: .75rem;
    font-size: .9rem;
  }

  .care-panel {
    grid-template-columns: 1fr 1fr;
  }

  .call-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  body {
    font-size: 16px;
  }
      section.first-intro .row {
    flex-direction: column-reverse;
}
  .section-pad {
    padding: 64px 0;
  }
    .image-frame {
    max-width: 100%;
    margin-left: 0;
}
.image-frame img {
    width: 100%;
}
  .nav-menu {
    display: block;
    padding-bottom: .7rem;
  }

  .nav-menu a {
    padding: .8rem 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .brand-wrap,
  .header-actions,
  .final-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    gap: 14px;
  }

  .phone-link {
    text-align: left;
  }

  .hero-section {
    padding: 70px 0;
  }

  .appointment-card {
    margin-top: 14px;
  }

  .split-band {
    background: var(--soft);
  }

  .split-image {
    min-height: 450px;
  }

  .split-content {
    padding: 38px 26px;
  }

  .care-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .start-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.35rem;
  }

.btn-group a
{margin-left:0;margin-bottom:10px;}
  h2 {
    font-size: 2rem;
  }
.footer-grid {
    text-align: center;
    margin: 0 auto;
    }
    .footer-grid a img {
    margin: 0 auto;
}
  .hero-section::after {
    display: none;
  }

  .hero-cta,
  .hero-cta .btn,
  .header-actions .btn,
  .final-actions .btn {
    width: 100%;
  }

  .hero-badges {
    display: grid;
  }

  .appointment-card {
    padding: 24px;
  }

  .audience-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .image-frame {
    margin-left: 0;
  }

  .care-panel {
    padding: 30px 22px;
  }
  .thank-you-section {
    padding: 62px 0;
  }

  .thank-you-card {
    padding: 34px 24px;
  }
  .care-section {
    background-size: cover;
    background-position: -274px center;
}
    .brand-wrap, .header-actions, .final-wrap {
        align-items: center;
    }
}

@media (max-width: 575.98px) {
  .brand-logo img,
  .site-footer img {
    max-width: 260px;
  }

  .section-pad {
    padding: 52px 0;
  }

  .brain-visual {
    min-height: 320px;
  }

  .map-card {
    min-height: 300px;
  }
   .thank-you-card {
    padding: 30px 18px;
  }

  .assistance-box {
    padding: 26px 18px;
  }
}
