/* MODAL STARTS */

.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translateY(-50px);
  transform: translateY(-50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}
.modal.modal-static .modal-dialog {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}
.modal-dialog-scrollable {
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}
.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}
.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}
.modal-dialog-centered:before {
  display: block;
  height: calc(100vh - 1rem);
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}
.modal-dialog-centered.modal-dialog-scrollable:before {
  content: none;
}
.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.15625rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}
.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.15625rem - 1px);
  border-top-right-radius: calc(0.15625rem - 1px);
}
.modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.6;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.15625rem - 1px);
  border-bottom-left-radius: calc(0.15625rem - 1px);
}
.modal-footer > * {
  margin: 0.25rem;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered:before {
    height: calc(100vh - 3.5rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
  }
  .modal-content {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    max-width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

/* MODAL ENDS */

.application-button {
  font-size: 21px;
  line-height: 17px;
  font-weight: 450;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0px;
  font-family: Lato, sans-serif;
  text-decoration: none;
  margin-bottom: 12px;
  background-color: #3767ea;
  border: 1px solid transparent;
  outline: none;
  box-shadow: none;
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.application-button:hover {
  filter: brightness(1.2);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.call-button {
  text-transform: uppercase;
  color: #3767ea;
  font-size: 24px;
  transition: all 0.3s ease;
}

.call-button:hover {
  color: #3767ea;
}

.flex-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.image-column,
.text-column {
  flex: 1;
}

.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.box {
  background-color: white;
  padding: 2rem;
  box-shadow: 0 0.5em 1em -0.125em hsla(221deg, 14%, 4%, 0.1),
    0 0 1px hsla(221deg, 14%, 4%, 0.02);
  border-radius: 0.5rem;
}

.custom-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #111;
  text-align: start;
}

.intro-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.intro-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#Top_bar .logo #logo img {
  height: 40px !important;
}

.compliance-section {
  padding: 6rem 1.5rem;
  background-color: #fff;
  font-size: 1rem;
  color: #333;
}

.compliance-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consequences-section {
  margin-bottom: 3rem;
}

.warning-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}

.consequences-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.consequence-box {
  background-color: #f9f9f9;
  border-left: 4px solid #3767ea;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0.5em 1em -0.125em hsla(221deg, 14%, 4%, 0.1),
    0 0 1px hsla(221deg, 14%, 4%, 0.02);
}

.consequence-box strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #000;
}

.compliance-text {
  font-size: 1.125rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-link {
  color: #3767ea;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  text-decoration: underline;
  color: #3767ea;
}

#Footer {
  background-color: #fff;
  color: #333;
  padding: 70px 20px 30px;
  font-family: sans-serif;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-section hr {
  border: none;
  border-top: 2px solid #ccc;
  width: 40px;
  margin-bottom: 10px;
}

.footer-section p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.footer-section a {
  color: #0056b3;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section.logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.footer-section.logo img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.footer-bottom a.back-to-top {
  display: inline-block;
  margin-top: 10px;
  color: #0056b3;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.image-section {
  width: 100%;
  max-height: 500px;
  height: 100vw;
  background-image: url("/content/images/il-state-capitol.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.relocator-section {
  background: linear-gradient(to right, #f9fbff, #eef5ff);
  padding: 3rem 1rem;
  border-top: 1px solid #dbeafe;
  border-radius: 10px;
}

.relocator-section .container {
  margin: 0 auto;
  text-align: left;
}

.relocator-section h2 {
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
  font-weight: 600;
}

.relocator-section .description {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

.relocator-section .county-list ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  color: #111827;
}

.relocator-section .county-list li {
  padding: 0.5rem 0;
}

.relocator-section .county-list li strong {
  font-weight: 500;
}

.relocator-section .county-list .note {
  color: #9ca3af;
  font-style: italic;
  margin-top: 1rem;
}

.relocator-section .note-text {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 1rem;
  border-top: 1px dashed #d1d5db;
  padding-top: 1rem;
}

.renewal-text {
  font-size: 1.125rem;
  margin-top: 2rem;
  border-left: 4px solid #3767ea;
  border-radius: 10px;
  padding: 1rem;
  background-color: #3767ea1a;
  width: fit-content;
}

.hero {
  background: url("/content/images/header.jpg") top/cover no-repeat;
  height: calc(100vh - 60px);
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 6rem;
  color: white;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}
.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 2px;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 70vw;
}

.hero h2 {
  font-size: 2.5rem;
  line-height: normal;
  letter-spacing: 2px;
  font-weight: 300;
  color: #e6e937;
  max-width: 70vw;
}

.cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.cta a {
  background: #3767ea;
  color: #ffffff;
  font-weight: normal;
  font-size: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.cta .hotline {
  background: #fff;
  color: #3767ea;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.cta a:hover {
  filter: brightness(1.2);
}

.hero .cta,
.hero h1,
.hero h2 {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideFadeIn 0.8s ease-out forwards;
}

.hero h1 {
  animation-delay: 0.2s;
}

.hero h2 {
  animation-delay: 0.4s;
}

.hero .cta:nth-of-type(2) {
  animation-delay: 0.6s;
}

.icc-section {
  background: #ffffff;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  box-sizing: border-box;
}

.icc-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  animation: fadeSlideIn 1s ease forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.icc-text h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 20px;
}

.icc-text .subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }

  .hero {
    justify-content: start;
  }
  .side-menu {
    width: 70%;
  }

  .hero h1 {
    font-size: 2.8rem;
    max-width: 100vw;
  }

  .hero h2 {
    font-size: 1.6rem;
    max-width: 100vw;
  }
  .icc-text h3 {
    font-size: 1.5rem;
  }

  .icc-text .subtitle {
    font-size: 1rem;
  }

  .call-button {
    width: 100%;
    font-size: 1.1rem;
  }

  .cta {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .flex-container {
    flex-direction: row;
    align-items: center;
  }

  .intro-section {
    flex-direction: row;
    align-items: center;
  }

  .intro-text {
    flex: 1;
    padding-right: 2rem;
  }

  .intro-image {
    flex: 1;
  }

  .consequences-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-section {
    flex: 1 1 45%;
  }
}

@media (min-width: 1024px) {
  .consequences-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-section {
    flex: 1 1 30%;
  }

  .footer-bottom {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-bottom p {
    max-width: 70%;
    margin-bottom: 0;
  }

  .footer-bottom .back-to-top {
    margin-top: 0;
  }
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media only screen and (min-width: 769px) and (max-width: 1239px) {
  #Top_bar a.responsive-menu-toggle {
    top: 50% !important;
    transform: translateY(-50%);
  }
}
