/* Support section pages */

/* Fixed header with logo left / nav right — sticky on scroll like other pages */
body.support-page .headlogo {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  text-align: left;
  padding: 0.5rem 0;
}

body.support-page .headlogo .navbar {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

body.support-page .headlogo .navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

body.support-page .headlogo .navbar-collapse {
  position: static;
  width: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
  flex-basis: auto;
  flex-grow: 0;
}

body.support-page .headlogo .navbar-nav {
  flex-direction: row;
  align-items: center;
  margin-left: auto;
}

body.support-page .headlogo .navbar-nav > li {
  display: inline-block;
  border-bottom: none;
  padding: 0;
}

body.support-page .headlogo .navbar-nav a {
  color: #222;
}

body.support-page .headlogo .brand {
  width: 160px;
  height: auto;
}

body.support-page .headlogo.sticky {
  position: fixed;
  background: #fff;
  padding: 0;
  box-shadow: 0 0 4px #666;
}

body.support-page .headlogo.sticky .brand {
  width: 80px;
}

@media (min-width: 992px) {
  body.support-page .headlogo .navbar-collapse {
    display: flex !important;
  }

  body.support-page .headlogo .navbar-collapse .navbar-toggler {
    display: none;
  }
}

/* Purple hero banner */
.supporthead {
  background: #5900ff;
  color: #fff;
  padding: 7rem 0 3rem;
  margin-bottom: 0;
  margin-top: 0;
}

.supporthead .container > .row {
  align-items: center;
}

.supporthead h1,
.supporthead .display-3,
.supporthead .support-hero-title {
  color: #fff !important;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  max-width: 520px;
  font-family: Montserrat, sans-serif;
}

.supporthead h1::after,
.supporthead .display-3::after,
.supporthead .support-hero-title::after {
  display: none !important;
  content: none !important;
}

.support-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.support-page-banner {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Cards must stay visible (main style.css hides .shadow-lg until scroll) */
.homservices .shadow-lg,
.support-content .shadow-lg {
  opacity: 1 !important;
  transform: none !important;
}

.homservices .p-4:hover .material-symbols-outlined {
  background: #cce1f7;
}

.homservices .material-symbols-outlined {
  font-size: 40px;
  background: #f3f3f3;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.homservices p {
  text-align: left;
}

.homservices .p-4 {
  padding-bottom: 70px !important;
  position: relative;
}

.homservices .p-4 .btn {
  position: absolute;
  bottom: 15px;
  background: #cce1f7;
}

/* Sidebar navigation */
.sidebar .list-group {
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.sidebar .list-group li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .list-group a {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.sidebar .list-group li.active a,
.sidebar .list-group a.active {
  background: #5900ff;
  color: #fff;
}

.sidebar .list-group a:hover {
  background: #f3ecff;
  color: #5900ff;
}

.sidebar .list-group li.active a:hover {
  background: #5900ff;
  color: #fff;
}

/* Complaints level tabs */
.complaints .list-group a {
  display: block;
  padding: 20px 16px;
  border-bottom: 1px solid #eee;
  color: #333;
  text-decoration: none;
  background: #fff;
}

.complaints .list-group a.active {
  background: #f3ecff;
  border-left: 4px solid #5900ff;
}

.complaints .list-group a h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

/* Contact form on support page */
#contactForm input,
#contactForm textarea {
  border-radius: 8px;
  border: 1px solid #dce3ea;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #5900ff;
  box-shadow: 0 0 0 2px rgba(89, 0, 255, 0.15);
}

.support-content .btn-primary {
  background: #5900ff;
  border-color: #5900ff;
}

.support-content .btn-primary:hover {
  background: #96ca68;
  border-color: #96ca68;
  color: #fff;
}

@media (max-width: 991px) {
  body.support-page .headlogo .navbar > .container {
    justify-content: space-between;
  }

  body.support-page .headlogo .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    z-index: 1000;
  }

  body.support-page .headlogo .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }

  body.support-page .headlogo .navbar-nav > li {
    display: block;
    width: 100%;
    border-bottom: 1px dashed #ddd;
    padding: 0.25rem 0;
  }
}

@media (max-width: 767px) {
  .supporthead {
    padding: 2.5rem 0 2rem;
  }
}
