/* --- 1. ORIGINAL GLOBAL & HERO LOGIC --- */
body { margin: 0; background-color: whitesmoke; font-family: 'Open Sans', sans-serif; }

.full-length-border {
  width: 100%; height: 7px; background-color: #000099;
  border-top: 2px solid grey; border-bottom: 2px solid grey;
}

#hero-section {
  width: 100%; height: 450px;
  background: linear-gradient(rgba(13, 27, 42, 0.25), rgba(13, 27, 42, 0.6)), url("../images/knox_box/header.webp") no-repeat top/cover !important;
  display: flex; flex-direction: column;
}

#hero-section .cta-button-top {
  margin-top: 10px; margin-right: 10px; text-decoration: none !important; font-weight: bold; color: white !important;
  font-family: "Open Sans", sans-serif; padding: 7px; font-size: 20px; border: 2px solid white;
  text-shadow: -1px -1px 0 #000099, 1px -1px 0 #000099, -1px 1px 0 #000099, 1px 1px 0 #000099;
  background-color: rgb(49, 86, 134, 0.7); transition: 0.3s;
}
#hero-section .cta-button-top:hover { box-shadow: 0 0 20px lightyellow; color: lightyellow !important; }

#hero-title-block {
  border-top: 2px solid white; border-bottom: 2px solid white;
  background-color: rgb(139, 147, 158, 0.95); margin-top: 200px;
}

#hero-title-block h1 {
  font-family: "Roboto", sans-serif; color: white; font-size: 90px; font-weight: 700;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); text-align: center; margin: 0 !important; letter-spacing: -2px;
}

/* --- 2. THE MODERN CONTENT CARD --- */
.custom-content-card {
  background-color: #ffffff; width: 95% !important; margin: -40px auto 30px auto; padding: 40px;
  border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06); position: relative; z-index: 10;
}

.section-heading { text-align: center; font-weight: 800; color: #1a1a2e; font-size: 42px; letter-spacing: -1px; margin-bottom: 10px; }
.neighborhood-heading { text-align: left; font-weight: 700; color: #000099; font-size: 1.5rem; margin-bottom: 15px; }

.star-rating { color: #ffcc00; font-size: 1.6rem; display: block; text-align: center; }
.rating-text { font-size: 1rem; color: #666; text-align: center; margin-top: 5px; }

.title-hr { border: none; border-top: 3px solid #000099; width: 100px; margin: 30px auto; }
#audit-video { width: 100%; height: 450px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); display: block; margin: 0 auto; }

.definition-text { font-size: 1.15rem; color: #444; text-align: center; line-height: 1.8; margin-top: 20px; }

/* --- 3. THE 3-STEP PROCESS --- */
.step-num { width: 50px; height: 50px; background: #000099; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: 800; font-size: 1.3rem; box-shadow: 0 4px 10px rgba(0,0,153,0.3); }
.process-step h6 { color: #1a1a2e; font-weight: 700; margin-bottom: 10px; }

/* --- 4. WIDGET --- */
.compliance-widget { background-color: #f8faff; border: 1px solid #dee2e6; border-radius: 10px; padding: 30px;  }
.widget-title { font-weight: 700; color: #000099; }
.small-label { font-weight: 800; font-size: 0.75rem; color: #888; text-transform: uppercase; }
.requirement-box { background-color: #000099; color: white; border-radius: 8px; }
.req-title { font-weight: 800; font-size: 0.95rem; text-transform: uppercase; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 8px; }
#widget-height-label { font-size: 1.05rem; font-weight: 600; line-height: 1.5; }

/* --- 5. CHECKLISTS --- */
.standard-checklist { list-style: none; padding: 0; }
.standard-checklist li { position: relative; padding-left: 35px; margin-bottom: 15px; font-size: 1.05rem; line-height: 1.6; }
.standard-checklist li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #28a745; position: absolute; left: 0; top: 3px; font-size: 0.95rem; }

.list-heading { font-weight: 800; color: #000099; border-left: 5px solid #000099; padding-left: 12px; margin-bottom: 15px; font-size: 1.25rem; }
.img-caption { font-family: 'Roboto', sans-serif; font-weight: 700; color: #1a1a2e; margin-top: 12px; font-size: 1.1rem; text-align: center; }

/* --- 6. GALLERY & MODAL FIX --- */
#services .service img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: 0.3s ease; cursor: pointer; }
#services .service img:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,99,0.15); }
.top-product { margin-top: 25px; }

/* --- 7. FLOATING MOBILE BAR --- */
.mobile-contact-bar { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.mobile-contact-bar a { flex: 1; text-align: center; padding: 15px; color: white; font-weight: bold; text-decoration: none; font-size: 1.1rem; }
.btn-call { background: #000099; }
.btn-text { background: #ffcc00; color: #1a1a2e !important; }

/* --- 8. CONTACT, SOCIALS, MAP --- */
.form-container { background: #fff; padding: 40px; border-radius: 10px; border-top: 0px solid #000099; }
#contact-form h3 { color: #000099; font-weight: 600; padding: 10px; border-radius: 4px;  }
#contact-form button { background: #000099; font-size: 1.5rem; font-weight: 700; }
.control-label span { color: red; }
#call-us a, #text-us a { font-size: 1.4rem; font-weight: 700; color: black; text-decoration: none; transition: 0.2s; }
#call-us a:hover, #text-us a:hover { color: #ffcc00; }

#facebook a { color: #000099; } #instagram a { color: purple; } #twitter a { color: #1da1f2; } #youtube a { color: #cd201f; }

/* --- 9. RESPONSIVE --- */
@media (min-width: 1280px) { #hero-section { height: 37vw; } #hero-title-block h1 { font-size: 7.6vw !important; } #hero-title-block { margin-top: 18vw !important; } }
@media (max-width: 1200px) { #hero-section { height: 450px; } #hero-title-block h1 { font-size: 90px; } #hero-title-block { margin-top: 200px; } #audit-video { height: 350px; } }
@media (max-width: 992px) { #hero-title-block { margin-top: 100px; } }
@media (max-width: 767px) { #hero-title-block h1 { font-size: 75px; } #hero-title-block { margin-top: 150px !important; } .custom-content-card { padding: 20px; } }
@media (max-width: 575px) {
  #hero-section {
    height: 94vw; 
  } 
  #hero-title-block {
    margin-top: 28vw !important; 
  } 
  #hero-title-block h1 {
    font-size: 14vw; 
  } 
  #audit-video {
    height: 220px; 
  } 

  .testimonials {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    padding-top: 30px !important;
  }
  .testimonials h2 {
    font-size: 1.7rem !important;
  }
  .gallery-section h2 {
    font-size: 1.7rem !important;
  }
  .gallery-section {
    margin-top: 0px !important;
    padding-top: 30px !important;
  }
  .gallery-section #example-border-size {
    margin-bottom: 0px !important;
    height: 1px !important;
  }
  #contact-form #text-us,
  #contact-form #call-us {
    display: none;
  }
  #contact-form h3{
    font-size: 1.6rem !important;
    font-weight: 500;
  }
  .form-container {
    padding: 7px !important;
    padding-bottom: 20px !important;
  }

  .title-heading h2 {
    font-size: 1.8rem !important;
  }
}