/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
html,
body,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: white;
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: #fcf2d6;
  font-family: "Montserrat", sans-serif;
  line-height: 1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none !important;
}

ul,
ol,
li {
  list-style: none !important;
  text-decoration: none !important;
}

li::marker {
  font-size: 0.5rem;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none !important;
}

.col-lg-7 {
  flex: 0 0 auto;
  width: 58.333333%;
  padding: 0;
}

/* ==========================================================================
   2. UTILITY & HELPER CLASSES
   ========================================================================== */
/* Typography Fonts & Weights */
.font-source-sans {
  font-family: "Source Sans 3", sans-serif;
}
.f-700 {
  font-weight: 700;
}
.f-600 {
  font-weight: 600;
}
.f-500 {
  font-weight: 500;
}
.f-400 {
  font-weight: 400;
}

/* Spacing Helpers */
.mt-30 {
  margin-top: 30px;
}
.pt-10 {
  padding-top: 10px;
}
.pt-20 {
  padding-top: 20px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pb-30 {
  padding-bottom: 30px;
}

/* Form Elements */
.form-group label {
  display: block;
  margin: 20px 0 10px 0;
  color: #851c3f;
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  line-height: 20px;
}

.form-control {
  width: 100%;
  height: 60px;
  max-width: 380px;
  margin: 0;
}

.textarea.form-control {
  height: 100% !important;
  max-height: 200px !important;
}

/* ==========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================== */
.big-title {
  color: #851c3f;
  font-size: clamp(28px, 3vw, 48px);
  line-height: normal;
  font-style: normal;
  font-optical-sizing: auto;
}

.medium-title {
  color: #851c3f;
  font-size: 36px;
  line-height: 50px;
  font-style: normal;
  font-optical-sizing: auto;
}

.straight-med-title {
  color: #851c3f;
  font-size: 28px;
  font-weight: 500;
  line-height: 24px;
}

.small-title {
  color: #851c3f;
  font-size: 36px;
  line-height: 40px;
  font-style: normal;
  font-optical-sizing: auto;
}

.headline {
  color: #851c3f;
  font-size: 24px;
  line-height: 34px;
  font-style: normal;
  font-optical-sizing: auto;
}

.small-des {
  color: #851c3f;
  font-size: 28px;
  line-height: 36px;
  font-style: normal;
  font-optical-sizing: auto;
}

.content-p {
  color: #851c3f;
  font-size: 20px;
  line-height: 28px;
  font-style: normal;
  font-optical-sizing: auto;
}

ol.content-p li {
  padding-top: 10px !important;
}

/* ==========================================================================
   4. NAVIGATION & HEADER
   ========================================================================== */
.nav-container {
  background-image: url(/assets/images/header1x.jpg);
  background-position: center;
  background-size: 100% 100%;
  height: auto;
  min-height: 120px;
  margin-bottom: 30px;
  padding: 10px 20px;
}
/* Replace the existing .top-header-image rules with this block. */
.top-header-image {
  width: 100%;
  height: clamp(190px, 25vw, 330px);
  max-height: 330px;
  min-height: 0;
  padding: clamp(20px, 4vw, 80px) 20px clamp(16px, 2.6vw, 50px);
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f6e7c5;
  background-image: url("/assets/images/texas-header-desktop.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.top-header-image > .d-flex {
  position: relative;
  z-index: 1;
  width: min(350px, calc(100vw - 40px));
  max-width: 350px;
  max-height: 315px;
  margin: 0 auto;
}

.top-header-image .header-img-logo {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  max-height: 315px;
  object-fit: contain;
}

.top-header-image .tel {
  display: block;
  padding-top: clamp(10px, 1.5vw, 30px) !important;
  text-align: center;
  color: #000 !important;
}

/* Mobile composition */
@media screen and (max-width: 767px) {
  .top-header-image {
    height: 330px;
    max-height: 330px;
    padding: clamp(35px, 10vw, 70px) 20px 25px;

    background-image: url("/assets/images/texas-header-mobile.png");
    background-position: center bottom;
    background-size: cover;
  }

  .top-header-image > .d-flex {
    width: min(90vw, 350px);
  }

  .top-header-image .tel {
    padding-top: 20px !important;
  }
}

@media screen and (max-width: 375px) {
  .top-header-image {
    height: 320px;
    padding: 35px 16px 20px;
  }

  .top-header-image > .d-flex {
    width: min(88vw, 320px);
  }
}

.navbar-nav {
  margin: 0 auto;
}

.navbar-nav a.btn {
  position: relative;
  left: 15px;
  padding: 0 !important;
  border: none !important;
}

.navbar-nav .nav-link.active {
  position: relative;
  color: #c2c0c0;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 3px;
  background: #fff;
  transform: translateX(-50%);
}

.nav-link:focus,
.nav-link:hover {
  color: #c2c0c0;
}

.nav-font {
  color: #ffffff;
  font-family: "Alegreya", serif !important;
  font-size: 28px;
  font-weight: 400;
  font-style: normal;
  line-height: 38.11px;
  font-optical-sizing: auto;
}

.navbar-toggler {
  margin-left: 20px;
  border: 1px solid white;
}
.navbar-toggler-icon {
  background-image: var(--bs-navbar-toggler-icon-bg) !important;
  filter: brightness(0) invert(1);
}
.offcanvas-body,
.offcanvas-header {
  background: #851c3f !important;
}

/* ==========================================================================
   5. PAGE COMPONENTS & LAYOUTS
   ========================================================================== */
/* Home Page */
.home-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.home-context {
  width: 100%;
  max-width: 710px;
  padding-top: 30px;
}

.outside-lift-img {
  display: flex;
  justify-content: flex-end;
}

.tech-details-list-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
}

div.tech-details-list-container li {
  padding-top: 20px !important;
}

/* Home Slider */
.home-slider-container {
  background-color: #f4e7c4;
  padding-bottom: 47px;
}

.home-slider-container p {
  color: #851c3f;
  font-size: 36px;
  line-height: 50px;
  padding: 50px 0 10px 0;
}

.slider-link-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 451px;
  height: 80px;
  background-color: #851c3f;
  margin: 0 auto;
}

.schedule-container-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 563px;
  height: 80px;
  background-color: #851c3f;
  margin: 0 auto;
}

.slider-visit-link {
  color: white;
  font-size: 28px;
  line-height: 24px;
}

/* About Us Section */
.about-us-checks-container {
  width: 100%;
  max-width: 1200px;
  height: auto;
  background-color: #fffaef;
  border: 4px solid white;
  border-radius: 40px;
}

.check-img-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 30px;
}

/* Telephone & Contact Blocks */
.tel {
  display: block;
  color: rgba(0, 0, 0, 1);
  font-family: "Alegreya", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
}

.tel:hover {
  color: inherit;
  opacity: 0.8;
}

.contact-container {
  padding-top: 10px;
}

.contact-box {
  width: 100%;
  max-width: 460px;
  padding: 0 30px 30px 30px;
  border: 4px solid #851c3f;
}

.contact-box .content-p {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 28px;
}

.contact-title {
  color: #851c3f;
  font-size: 36px;
  font-weight: 700;
  font-style: normal;
  line-height: 30px;
  font-optical-sizing: auto;
}

.contact-title-two {
  color: #851c3f;
  font-size: 36px;
  font-weight: 700;
  font-style: normal;
  line-height: 36px;
  font-optical-sizing: auto;
}

.contact,
.contact-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #851c3f;
  font-size: 28px;
  font-weight: 700;
  font-style: normal;
  line-height: 24px;
}

.contact {
  width: 100%;
  max-width: 250px;
  height: auto;
  padding: 20px;
}

.contact-submit {
  width: 100%;
  max-width: 380px;
  height: auto;
  padding: 20px;
  border: 1px solid transparent;
}

/* Contact Page Specific */
.contact-us-p {
  color: #851c3f;
  font-size: 32px;
  line-height: 45px;
  font-style: normal;
  font-optical-sizing: auto;
}

.contact-page-label {
  color: #851c3f;
  font-size: 28px;
  font-weight: 500;
  font-style: normal;
  line-height: 28px;
  padding: 20px 0 20px 0;
}

.contact-page-wrapper input {
  height: 60px;
}

/* Staircase Grid Layout */
.staircase-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staircase-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  height: 80px;
  background: #fdf5e0;
  border: 4px solid #851c3f;
}

.staircase-box p {
  color: #851c3f;
  font-size: 28px;
  font-weight: 600;
  font-style: normal;
  line-height: 28px;
  padding-top: 5px;
  font-optical-sizing: auto;
}

.staircase-box a {
  color: #851c3f;
  font-size: 28px;
  font-weight: 600;
  font-style: normal;
  line-height: 28px;
  text-align: center;
}

.staircase-box:hover {
  background: #c2c0c0 !important;
}

/* FAQ Component */
.faq-container {
  background-color: #f4e7c4;
  padding: 50px 0;
}

.faq-wrapper {
  width: 100%;
  max-width: 816px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  padding: 10px 0;
  border-bottom: 1px solid #e4d9cc;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  color: #222;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #0066cc;
}

.faq-text {
  color: #6b6b6b;
  font-size: 17px;
  line-height: 29px;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  color: #6b6b6b;
  font-size: 16px;
  line-height: 28px;
  opacity: 0;
  transition:
    max-height 0.3s ease-out,
    opacity 0.3s ease-out;
}

.faq-icon {
  display: inline-block;
  font-size: 1.5rem;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* FAQ Active States */
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-item.active .faq-icon {
  color: #851c3f;
  transform: rotate(-90deg);
} /* Locations Component */
.locations-grid {
  width: 100%;
  margin: 0 auto;
  background-color: #f4e7c4;
  padding: 50px 20px;
}

.faq-page-grey {
  color: #6b6b6b;
  font-size: 18px;
  line-height: 29.75px;
  max-width: 873px;
  margin: 0 auto;
}

.faq-items-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 70px 0 50px;
}

.locations-map-container {
  padding-top: 30px;
}

.locations-p {
  color: #851c3f;
  font-size: 24px;
  line-height: 34px;
  font-style: normal;
  font-optical-sizing: auto;
}
.locations-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.locations-title {
  color: #851c3f;
  font-size: 32px;
  line-height: 50px;
}
.locations-li {
  padding: 50px 0;
}
.locations-li ul li {
  color: #851c3f;
  list-style: disc;
  font-size: 20px;
  line-height: 27px;
  list-style: disc !important;
}

.locations-bottom-p {
  color: #851c3f;
  font-size: 24px;
  line-height: 34px;
  padding: 30px 0;
  border-bottom: 1px solid #851c3f;
}

.locations-sub-title {
  font-size: 32px;
  line-height: 27px;
  color: #851c3f;
  padding-top: 20px;
}
.locations-coming-soon {
  padding: 50px 20px;
}
.book-link {
  color: #851c3f !important;
  font-size: 20px;
  line-height: 50px;
}

.testimonial-wrapper {
  background-color: #f4e7c4;
}
.review-container {
  margin: 0 auto;
  max-width: 1020px;
  padding: 30px 20px;
}
.google-reviews-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  padding: 30px 20px;
}
.review-title {
  color: #851c3f;
  font-size: 36px;
  line-height: 65px;
}

.review-bold {
  font-size: 20px;
  line-height: 20px;
}

.others-p {
  color: #851c3f;
  font-size: 32px;
  line-height: 65px;
}

.install-p {
  color: #851c3f;
  font-size: 20px;
  line-height: 24px;
}
/* =========6. CAROUSEL & FOOTER========= // Carousel Components */
.photo-placeholder {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}
.slideshow-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 6px;
}
.slideshow {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
}
.slideshow .slide {
  box-sizing: border-box;
  padding: 0 10px;
}
.slides-wrapper {
  display: flex;
  width: 100%;
}

.slide {
  flex: 0 0 50%;
  width: 50%;
  box-sizing: border-box;
  padding: 0 5px;
}
.slide img {
  display: block;
  width: 100%;
  max-width: 585px;
  min-height: 442px;
  max-height: 442px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}
.prev,
.next {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: black;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.prev:hover,
.next:hover {
  color: #000;
} /* Footer Section */
.footer {
  background: #851c3f;
}

.footer-links-ul {
  padding: 20px 0 30px 0;
}
.footer-links-ul li {
  padding: 30px 0 0 0;
}
.footer-links-ul li a {
  color: #ffffff;
  font-size: 28px;
  font-weight: 400;
  font-style: normal;
}
p.bottom-title {
  color: #851c3f;
  font-size: 32px;
  line-height: 45px;
  font-style: normal;
  font-optical-sizing: auto;
}
p.bottom-note {
  color: #851c3f;
  font-size: 20px;
  line-height: 32px;
  font-style: normal;
  font-optical-sizing: auto;
}
/* ==================7. MEDIA QUERIES (RESPONSIVE STYLES)============================ */
@media (min-width: 768px) {
  .staircase-box {
    flex: 1 1 calc(33.333% - 20px);
    max-width: 220px;
  }
  .footer-links-ul {
    padding: 0;
  }
  .footer {
    padding: 0 0 20px 0;
  }
}

@media (max-width: 992px) {
  .nav-font {
    font-size: 20px;
  }
  .footer-links-ul li a {
    font-size: 24px !important;
  }
}
@media (max-width: 991px) {
  .navbar-nav .nav-link.active {
    display: inline-block;
  }
  .navbar-nav .nav-link.active::after {
    left: 0;
    width: 100%;
    transform: none;
  }
  .outside-lift-img {
    justify-content: center;
  }

  .right-contact {
    padding-top: 50px;
  }

  .stair-box-des {
    padding-top: 30px;
  }
  .right-contact {
    padding-top: 30px;
  }
  .footer-links-ul {
    padding: 0;
  }
  .footer {
    padding-bottom: 20px;
  }
  .locations-title {
    font-size: 28px;
    line-height: 40px;
    min-height: 40px;
  }
  .slide img {
    min-height: 242px !important;
    max-height: 242px !important;
  }

  .fasttrackinfo {
    padding-top: 20px;
  }
}
@media (max-width: 1199px) {
  .nav-font {
    font-size: 22px;
  }
}
@media screen and (max-width: 767px) {
  .featured-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .slide img {
    min-height: stretch !important;
    max-height: 400px !important;
    max-width: none;
  }
  .slide {
    flex: 0 0 100%;
    width: 100%;
  }
  .medium-title {
    font-size: 28px !important;
    line-height: 32px !important;
  }
  .headline {
    font-size: 22px !important;
    line-height: 26px !important;
  }
  .content-p {
    font-size: 16px !important;
    line-height: 22px !important;
  }
  .contact {
    font-size: 20px;
  }
  .contact,
  .contact-submit {
    max-width: 200px;
    padding: 10px;
  }
  .contact-submit {
    font-size: 24px;
  }
  .locations-submit-box,
  .locations-submit {
    max-width: 450px !important;
    padding: 20px !important;
  }
  .locations-submit {
    font-size: 22px !important;
    line-height: 20px !important;
  }
}
@media (max-width: 465px) {
  .small-title {
    font-size: 28px !important;
    line-height: 32px !important;
  }
  .medium-title {
    font-size: 26px !important;
  }
  .header-img-logo {
    margin-bottom: 0;
  }
  .footer-links-ul li a {
    font-size: 20px !important;
  }
  p.bottom-title {
    font-size: 28px !important;
    line-height: 38px !important;
  }
  p.bottom-note {
    font-size: 18px !important;
    line-height: 28px !important;
  }
}
/*NEW STAIRSAFE PAGE*/
.stairsafe-page * {
  margin: 0;
  padding: 0;
  webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: rgba(0, 0, 0, 0.1) 0 0 1px;
}

.stairsafe-page h1,
.stairsafe-page h2,
.stairsafe-page h3,
.stairsafe-page h4,
.stairsafe-page h5 {
  line-height: 1.4;
}

.stairsafe-page-header {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 65px;
  color: #851c3f;
}

.stairsafe-page .bg-sb {
  background-color: #8f023d;
}
.stairsafe-page .bg-llg {
  background: #f4e7c4;
}
.stairsafe-page .color-w {
  color: #ffffff;
}
.stairsafe-page .color-sb {
  color: #8f023d;
}

/*Specific Styling*/
.max-stairsafe {
  max-width: 1250px;
}
.stairsafe-page-header {
  padding: 0 0 5px;
}
/*Stairsafe Grid Layout*/
.stairsafe-grid-content-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 35px;
}
.stairsafe-grid-content.stairsafe-large {
  max-width: 921px;
}
.stairsafe-grid-content.stairsafe-medium {
  max-width: 720px;
}
.stairsafe-grid-content.stairsafe-small {
  max-width: 550px;
}
.stairsafe-grid-content-container > *:nth-child(1) {
  align-self: flex-end;
}
.stairsafe-grid-content-phone {
  display: block;
  height: auto;
  margin: 0 auto;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  min-width: 250px;
}

/*Intro StairSafe Section*/
.stairsafe-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 60px;
}
.stairsafe-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 32px 0;
}
.stairsafe-logo {
  display: block;
  width: 180px;
  height: auto;
}
@media (min-width: 800px) {
  .stairsafe-intro-title {
    padding: 32px 0 0 0;
  }
}
.stairsafe-intro-content {
  width: 90%;
  padding: 16px 0 0 0;
  grid-template-rows: auto auto 1fr;
}
.stairsafe-current-customers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stairsafe-current-customers-title {
  padding: 0 0 5px;
}
.stairsafe-contact-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.stairsafe-contact-container-title {
  max-width: 550px;
}
.stairsafe-contact-btn-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stairsafe-contact-btn-container .btn.btn-action {
  padding: 20px 25px;
}
.stairsafe-link {
  display: flex;
  gap: 5px;
  align-items: center;
}
.stairsafe-link-arrow {
  padding: 0 0 0 5px;
}
.stairsafe-phone-angle {
  width: min(25vw, 250px);
}

/*StairSafe Card Section*/
.stairsafe-card-section {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 32px 0;
}
@media (min-width: 1024px) {
  .stairsafe-card-section {
    width: 95%;
  }
}
.stairsafe-designed-safety {
  max-width: 1180px;
}
.stairsafe-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(1vw, 60px);
  padding: 0 0 50px;
}
.stairsafe-card {
  display: grid;
  grid-template-rows: auto 1fr;
}
.stairsafe-card-header {
  background: #8f023d;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px 20px;
  white-space: nowrap;
}
.stairsafe-card:nth-of-type(odd) .stairsafe-card-header {
  justify-content: space-between;
}
.stairsafe-card:nth-of-type(odd) .stairsafe-card-header::after {
  content: "";
}
.stairsafe-card:nth-of-type(odd) .stairsafe-card-header::after,
.stairsafe-card-icon {
  display: block;
  width: 38px;
  height: 38px;
}
.stairsafe-card-body {
  background: #ffffff;
  padding: 21px;
  text-align: center;
}

/*StairSafe Detects*/
.stairsafe-detects-section {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 112px 0;
}
.stairsafe-detects-opener {
  max-width: 616px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stairsafe-detects-opener-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stairsafe-exclamation-mark {
  display: block;
  width: 85px;
  height: auto;
}
.stairsafe-info-container {
  flex: 1;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-evenly;
  gap: 25px;
  list-style: none;
}
.stairsafe-info {
  position: relative;
  font-weight: 700;
  color: #8f023d;
  margin: 0 0 0 20px;
}
.stairsafe-info::before {
  content: "";
  display: block;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-image: url(/assets/images/check-icon.svg);
  background-position: center;
  background-size: contain;
}

/*Included StairSafe*/
.included-stairsafe {
  width: 90%;
  margin: 0 auto;
  padding: 48px 0;
}
.included-stairsafe-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stairsafe-phone-android {
  width: min(25vw, 250px);
  transform: rotate(1deg);
}

.safe-text {
  font-size: 20px;
  line-height: 24px;
}
.acorn-red {
  color: #851c3f;
}

.text-blk {
  color: black;
}
.safe-sub-title {
  font-size: clamp(18px, 4vw, 40px);
  line-height: 65px;
}
.alerts-text {
  color: #000000;
  font-size: 16px;
  line-height: 24px;
}
.alerts-title {
  font-size: clamp(18px, 1vw, 24px);
  line-height: 24px;
}
.included-sub-title {
  font-size: 24px;
  line-height: 24px;
}
.safe-quote-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 276px;
  height: 80px;
  background-color: #851c3f;
}

@media screen and (max-width: 1150px) and (min-width: 1024px) {
  .stairsafe-card-container {
    gap: 20px;
  }
  .stairsafe-card-header {
    gap: 10px;
    padding: 12px 15px;
  }
}
@media screen and (max-width: 1023px) {
  /*StairSafe Card Section*/
  .stairsafe-card-container {
    grid-template-columns: auto;
    justify-content: center;
  }
  .stairsafe-card {
    max-width: 400px;
  }

  /*StairSafe Detects*/
  .stairsafe-detects-section {
    flex-direction: column;
    align-items: initial;
  }
  .stairsafe-info-container {
    width: 100%;
  }
  .stairsafe-detects-opener {
    max-width: 525px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 825px) and (min-width: 701px) {
  .stairsafe-grid-content-container.included-stairsafe
    h2.stairsafe-grid-content {
    grid-column: 1 / span 2;
  }
  .stairsafe-grid-content-container.included-stairsafe
    .stairsafe-grid-content-phone {
    grid-row: 2;
  }
}

@media screen and (max-width: 700px) {
  .stairsafe-grid-content-container.included-stairsafe {
    grid-template-columns: 1fr;
  }
  .stairsafe-grid-content-container.included-stairsafe
    .stairsafe-grid-content-phone {
    grid-column: 1;
    grid-row: 2;
    width: min(60vw, 250px);
  }
}
@media screen and (max-width: 800px) {
  .stairsafe-grid-content-container {
    grid-template-columns: 1fr;
  }
  .stairsafe-grid-content-phone.stairsafe-phone-angle {
    grid-column: 1;
    grid-row: 2;
    width: min(48vw, 200px);
  }
  .stairsafe-contact-btn-container .btn.btn-action {
    padding: 15px;
  }
}
@media (max-width: 549px) {
  .stairsafe-contact-btn-container {
    flex-direction: column;
    width: fit-content;
    gap: 15px;
  }
  .stairsafe-contact-btn-container .btn.btn-action {
    width: 100%;
  }
  .carousel {
    max-width: 304px !important;
  }
}
@media screen and (max-width: 475px) {
  /*StairSafe Card Section*/
  .stairsafe-card-container {
    padding: 0;
  }
  .stairsafe-card-header {
    gap: 10px;
  }
  /*StairSafe Detects*/
  .stairsafe-detects-section {
    padding: 75px 0;
  }
  .stairsafe-exclamation-mark {
    width: 65px;
  }
  .stairsafe-info-container {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 396px) {
  .carousel {
    max-width: 204px !important;
  }
}
.about-us-checks-container {
  padding-bottom: 45px;
  height: auto; /* Prevent the text from being clipped */
}
.check-img-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 35px;
  padding: 25px 20px 0;
}

.check-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.check-item p {
  max-width: 230px;
  margin: 20px auto 0;
  color: #971841;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
}

.check-icon {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background-color: #971841;
  border-radius: 50%;
}

.check-icon::after {
  content: "";
  position: absolute;
  top: 44%;
  left: 50%;
  width: 25px;
  height: 12px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* Scale smoothly on desktop */
.check-img-container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(15px, 2vw, 35px);
}

.check-icon {
  width: clamp(48px, 4vw, 64px);
  height: clamp(48px, 4vw, 64px);
}

.check-item p {
  font-size: clamp(15px, 1.2vw, 17px);
}

/* Tablet */
@media (max-width: 900px) {
  .check-img-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 35px;
  }

  .about-us-checks-container {
    padding-right: 25px;
    padding-left: 25px;
  }
}

/* Small tablet and large phone */
@media (max-width: 650px) {
  .check-img-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-us-checks-container .medium-title {
    font-size: 28px;
    line-height: 1.1;
  }
}

/* Phone */
@media (max-width: 420px) {
  .check-img-container {
    grid-template-columns: 1fr;
  }

  .check-item p {
    max-width: 250px;
  }

  .about-us-checks-container .medium-title {
    font-size: 24px;
  }
}
.faq-link {
  color: #851c3f !important;
}
