/*Version 5*/
/* Basic reset and typography */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  /* Neutral sans-serif font for clean look */
  line-height: 1.6;
  color: #333;
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* Footer placeholder, not actual footer */

#footer-placeholder {
  background: #f4f4f4;
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 10px;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout: sidebar + main content */
.container {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.sidebar {
  width: 200px;
  height: 100%;
  background: #f4f4f4;
  /* Light gray sidebar background */
  padding: 20px;
  border-right: 1px solid #ccc;
  /* Subtle border to separate sidebar */
}

.sidebar h2 {
  margin: 0 0 1em 0;
  font-size: 1.2em;
  text-align: left;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  padding-left: 10px;
  margin: 0;
}

.sidebar nav ul li {
  margin: 0.5em 0;
}

.sidebar nav ul li a {
  display: block;
  padding: 5px 0;
  color: #333;
}

.sidebar nav ul li a:hover {
  text-decoration: underline;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0 10px;
}

.sidebar-contact {
  background-color: #f9f9f9;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 0.95em;
  text-align: left;
  border-radius: 6px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.sidebar-contact a {
  color: #333;
  text-decoration: underline;
}

/* Sidebar navigation as buttons */
.sidebar-nav-btns {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-bottom: 1em;
}

.sidebar-btn {
  display: block;
  width: 100%;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.25em 0;
  font-size: 1.08em;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.sidebar-btn:hover,
.sidebar-btn:focus {
  background: #0d47a1;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.13);
}

.sidebar-btn-contact {
  background: #fafafa;
  color: #1976d2;
  border: 2px solid #1976d2;
  box-shadow: none;
  font-weight: 600;
}

.sidebar-btn-contact:hover,
.sidebar-btn-contact:focus {
  background: #e3f2fd;
  color: #0d47a1;
  border-color: #0d47a1;
}

@media (max-width: 700px) {
  .sidebar-nav-btns {
    gap: 0.5em;
  }

  .sidebar-btn {
    font-size: 1em;
    padding: 0.7em 0.2em;
  }
}

/* Main content background */
.content-bg {
  background: #455a64;
  /* Much darker, clearly visible grey-blue */
  width: 100vw;
  min-height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

/* Main content area */
.content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 20px;
  background: #fff;
  max-width: 1250px;
  /* this was 850, but we'll try it at 1250 and see..  */
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  /* Do NOT set text-align: center here! */
  box-shadow: 0 2px 16px rgba(33, 150, 243, 0.04);
  border-radius: 12px;
  border-top: 1.5px solid #b0b6c3;
  /* More visible border */
  border-bottom: 1.5px solid #b0b6c3;
  /* More visible border */
  border-left: 1.5px solid #b0b6c3;
  /* More visible border */
  border-right: 1.5px solid #b0b6c3;
  /* More visible border */
}

.content h1 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  text-align: center;
  word-break: break-word;
  hyphens: auto;
}

.content h2 {
  font-size: 1.3em;
  margin: .25em 0 0.5em;
}

.content h3 {
  font-size: 1.1em;
  margin: 0.8em 0 0.4em;
}

.content ul {
  padding-left: 1.2em;
  /* or 0 if you want it fully flush */
  margin: 0 0 1em 0;
}

.content li {
  margin-bottom: 0.4em;
}

/* Footer styling (common footer loaded via include) */
footer {
  background: #f4f4f4;
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 10px;
}

footer p {
  margin: 5px;
  font-size: 0.9em;
  color: #333;
}

footer a {
  color: #333;
  margin: 0 5px;
}

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

.site-header {
  background: #f4f4f4;
  border-bottom: 1px solid #ccc;
  position: relative;
  padding: 20px;
  text-align: center;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ccc;
  transform: translateY(-9px);
  /* Adjust space between the two lines */
}

.site-header h1 {
  margin: 0;
  font-size: 1.8em;
}

.site-header p {
  margin: 5px 0 0;
  font-size: 0.95em;
  color: #444;
}

/* Contact form styles */
.contact-form p {
  margin: 0.5em 0;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  margin-top: 5px;
  font: inherit;
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

.contact-form input[type="submit"],
.contact-form input[type="reset"] {
  width: auto;
  cursor: pointer;
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  margin-right: 5px;
}

.contact-form input[type="submit"]:hover,
.contact-form input[type="reset"]:hover {
  background: #555;
}

/* FAQ page styles */
.faq-item {
  background: #f0f7fa;
  border-left: 4px solid #1976d2;
  padding: 0.5em 0.5em 0.5em 1em;
  margin-bottom: 1.2em;
  border-radius: 6px;
  transition: box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(33, 150, 243, 0.04);
}

.faq-item[open] {
  box-shadow: 0 2px 12px rgba(33, 150, 243, 0.10);
}

.faq-item summary {
  font-weight: bold;
  font-size: 1.08em;
  color: #1976d2;
  cursor: pointer;
  outline: none;
  padding: 0.2em 0;
  user-select: none;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: "▼";
  float: right;
  font-size: 0.9em;
  color: #888;
  margin-left: 0.7em;
  transition: transform 0.2s;
}

.faq-item[open] summary:after {
  transform: rotate(-180deg);
}

.faq-answer {
  margin: 0.7em 0 0.2em 0.5em;
  color: #222;
  font-size: 1em;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .faq-item {
    padding: 0.5em 0.3em 0.5em 0.7em;
    font-size: 1em;
  }

  .faq-item summary {
    font-size: 1em;
  }

  .faq-answer {
    font-size: 0.98em;
  }
}

/* News page styles */
.news-item {
  margin-bottom: 1.5em;
}

.news-item h3 {
  margin-bottom: 0.3em;
  color: #000;
}

.news-item p {
  margin: 0 0 0.5em 0;
}

/* Gallery page styles */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-grid figure {
  flex: 1 1 200px;
  max-width: 300px;
  margin: 0;
  background: #f9f9f9;
  padding: 5px;
  border: 1px solid #ccc;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-grid figcaption {
  text-align: center;
  font-size: 0.9em;
  margin-top: 5px;
}

/* Survey checkboxes */
.contact-form input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

.contact-form .checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

/* Customer profile checkboxes */
.customer-profile input[type="checkbox"] {
  margin-left: 0 !important;
  margin-right: 0.5em;
  vertical-align: middle;
}

/* Responsive layout: on small screens, move sidebar to top */
@media (max-width: 600px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
    text-align: center;
  }

  .sidebar nav ul li {
    display: inline-block;
    margin: 0;
  }

  .sidebar nav ul li a {
    padding: 10px;
    /* Make nav links inline on small screens */
  }

  .content {
    padding: 8px;
    margin-left: 0;
    font-size: 1em;
  }

  h1,
  h2,
  h3 {
    font-size: 1.1em;
  }

  .card,
  .full-width-card,
  .availability-box {
    padding: 0.7rem 0.5rem;
    margin: 0.5rem 0;
    max-width: 100%;
  }

  .service-grid {
    flex-direction: column;
    gap: 10px;
  }

  .service-card {
    flex: 1 1 100%;
    padding: 0.7rem 0.5rem;
  }

  input,
  textarea,
  button {
    font-size: 1em;
    padding: 12px;
  }

  .contact-form input[type="submit"],
  .contact-form input[type="reset"] {
    width: 100%;
    margin-bottom: 8px;
  }

  .content h1,
  h2,
  h3 {
    font-size: 1.2em;
    hyphens: auto;
    word-break: break-word;
  }
}

/* Collapsible sidebar for mobile */
@media (max-width: 900px) {
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
    text-align: center;
    padding: 10px 5px 5px 5px;
    position: relative;
  }

  .sidebar-toggle {
    display: block !important;
    background: #e0e0e0;
    color: #222;
    border: none;
    border-radius: 6px;
    padding: 0.6em 1.2em;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 auto 0.7em auto;
    cursor: pointer;
    width: 90%;
    max-width: 320px;
    text-align: center;
  }

  .sidebar-nav-collapsible {
    display: none;
    margin-bottom: 1em;
  }

  .sidebar-collapsed .sidebar-nav-collapsible {
    display: none;
  }

  .sidebar-expanded .sidebar-nav-collapsible {
    display: block;
    animation: fadeIn 0.2s;
  }

  .sidebar-collapsed .sidebar-divider,
  .sidebar-collapsed .sidebar-contact {
    display: none;
  }

  .sidebar-collapsed .sidebar-btn-contact {
    margin-top: 0.5em;
  }

  /* Only show Contact Us button when collapsed */
  .sidebar-collapsed .sidebar-btn:not(.sidebar-btn-contact) {
    display: none !important;
  }

  /* Animate menu */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}

/* Employee profile styling */
.employee-profile {
  border: 1px solid #ccc;
  background: #fafafa;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.employee-profile h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #222;
}

/* Blockquote styling */
blockquote {
  font-style: italic;
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  border-right: 5px solid #ccc;
  margin: 1em 0;
  padding: 0.8em 1em;
  position: relative;
  border-radius: 4px;
}

blockquote footer {
  font-style: normal;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: right;
}

/*testimonial module */
.testimonial-module {
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #ffffff;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 850px;
  /* Match .content max-width */
  width: 100%;
}

/* Top title bar */
.testimonial-titlebar {
  background: #e4e4e4;
  color: #222;
  font-weight: 600;
  font-size: 1.1em;
  padding: 0.75em 1.25em;
  border-bottom: 1px solid #d0d0d0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Main quote block */
.testimonial-quote {
  padding: 1em 1.25em 0.5em;
  background: #fafafa;
  font-style: italic;
  border-left: 4px solid #ccc;
  border-right: 4px solid #ccc;
  margin: 0;
  line-height: 1.5;
}

/* Footer container */
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75em 1.25em;
  background: #f1f1f1;
  border-top: 1px solid #ddd;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Author block */
.testimonial-clientname-footer {
  background: #ffffff;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-style: normal;
  color: #555;
  font-size: 0.95em;
}

/* Button styling */
#next-testimonial {
  background: #333;
  color: #fff;
  border: none;
  padding: 6px 14px;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

#next-testimonial:hover {
  background: #555;
}

.testimonial-section {
  width: 100%;
}

.testimonial-module {
  width: 100%;
  max-width: none;
}

.testimonial-submit-cta-separated {
  display: flex;
  justify-content: center;
  margin-top: 1.2em;
}

.testimonial-submit-btn {
  background: #1976d2;
  color: #fff;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.07);
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.testimonial-submit-btn:hover {
  background: #0d47a1;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.13);
}

/*Contact page layouts*/
.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-form {
  flex: 1;
  min-width: 250px;
}

/* visual/hero shit for people complaining it's too plain */
.card {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 1rem;
  margin: 1rem auto;
  /* Center horizontally */
  max-width: 700px;
  /* Prevent it from stretching too wide */
  width: 100%;
  /* Let it scale responsively */
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}


.section-highlight {
  background-color: #f0f4f8;
  padding: 2rem;
  text-align: center;
}

.full-width-card {
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.5rem;
  font-size: 1rem;
  background: #f0f4f8;
  text-align: center;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.full-width-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.5em;
}

.full-width-card p {
  margin: 0;
  font-size: 1em;
  color: #444;
}


.collapse-wrapper {
  width: 100%;
  max-width: 100%;
  border: 1px solid #000000;
  background: #f9f9f9;
  border-radius: 6px;
  padding: 1rem;
  margin: 1.2rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}


details.collapse {
  text-align: left;
}

details.collapse summary {
  cursor: pointer;
  font-weight: bold;
  color: #0077cc;
  list-style: none;
  display: block;
  text-align: left;
  margin-bottom: 0.25rem;
}

details.collapse summary::-webkit-details-marker {
  display: none;
  /* Hide triangle on WebKit browsers */
}

details.collapse[open] summary {
  margin-bottom: 0.25rem;
}

details.collapse p {
  margin: 0.3rem 0;
}

/* site alert styles */
.site-alert {
  background-color: #ffdddd;
  border: 2px solid #cc0000;
  color: #800000;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 0.95em;
}

.site-alert a {
  color: #800000;
  text-decoration: underline;
}

.site-alert button#close-alert {
  color: #800000;
  background: none;
  border: none;
  font-size: 1.2em;
  float: right;
  margin-top: -5px;
}

.site-alert button#close-alert:hover {
  color: #cc0000;
}

.site-alert button#close-spam-alert {
  color: #800000;
  background: none;
  border: none;
  font-size: 1.2em;
  float: right;
  margin-top: -5px;
}

.site-alert button#close-spam-alert:hover {
  color: #cc0000;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1rem;
}

.service-card {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  flex: 1 1 260px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  margin-top: 0;
}

.service-card .price {
  font-weight: bold;
  color: #007700;
  margin-top: 0.5rem;
}

.availability-box {
  background: #f0f8ff;
  border: 1px solid #cce;
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 6px;
  max-width: 500px;
}

.availability-box h2 {
  margin-top: 0;
}

.availability-box ul {
  list-style: none;
  padding-left: 0;
}

.availability-box li {
  padding: 2px 0;
}

.trust-badges {
  display: flex;
  gap: 1em;
  justify-content: center;
  margin: 1.5em 0;
  flex-wrap: wrap;
}

.trust-badges span {
  background: #f0f4f8;
  border-radius: 5px;
  padding: 0.5em 1em;
  font-size: 1em;
  color: #333;
  border: 1px solid #e0e4e8;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.notice-box {
  background: #f0f7fa;
  border-left: 4px solid #1976d2;
  padding: 0.8em 1em;
  margin-bottom: 1.2em;
  color: #15597b;
  border-radius: 5px;
  font-size: 1em;
}

/* Upgrade card styles */
.upgrade-card {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.07);
  padding: 1.2em 1em;
  margin-bottom: 1.2em;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.upgrade-card h2 {
  color: #1976d2;
  margin-bottom: 0.5em;
}

.upgrade-card ul {
  text-align: left;
  margin: 0.5em 0 1em 0;
  padding-left: 1.2em;
}

.cta-btn {
  display: inline-block;
  background: #1976d2;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #0d47a1;
}

/* Offer banner styles */
.offer-banner {
  background: #e3f2fd;
  color: #0d47a1;
  border-left: 6px solid #1976d2;
  padding: 1em 1.2em;
  margin-bottom: 1.5em;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
}

/* Pickup location card styles */
.pickup-location-card {
  background: #f8fafc;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1.5em;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.04);
}

/* Validation result styles */
.validation-result.valid {
  color: #1976d2;
  margin-top: 1em;
}

.validation-result.invalid {
  color: #b71c1c;
  margin-top: 1em;
}

#tech-login-btn {
  display: inline-block;
}

@media (max-width: 700px) {
  #tech-login-btn {
    display: none !important;
  }
}

/* --- Improved service card mobile styles --- */
@media (max-width: 700px) {
  .service-grid {
    flex-direction: column;
    gap: 14px;
  }

  .service-card {
    flex: 1 1 100%;
    padding: 0.8rem 0.7rem 0.9rem 0.7rem;
    margin: 0 auto 0.7em auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.06);
    border: 1.5px solid #e0e4e8;
    background: #f8fafc;
    max-width: 98vw;
    min-width: 0;
    text-align: left;
    font-size: 1em;
    transition: box-shadow 0.18s;
  }

  .service-card h3 {
    font-size: 1.13em;
    margin-bottom: 0.3em;
    color: #1976d2;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .service-card p {
    font-size: 0.98em;
    margin: 0.2em 0 0.2em 0;
    color: #333;
  }

  .service-card .price {
    font-size: 1em;
    color: #007700;
    font-weight: 600;
    margin-top: 0.5em;
    margin-bottom: 0.1em;
    display: block;
  }
}

/* --- End improved service card mobile styles --- */
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }

  .sidebar-menu-toggle {
    display: block;
  }
}