
.hero-section {
    position: relative;
    width: 100%;
    background: none;
    background-image: url('../Images/ComplaintsBG.svg');
    background-size: cover;
    background-position: center;
    padding: 22rem 0; /* Increase height */
    text-align: center;
    font-size: 2rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.complaints-hero-section.hero-section {
  background: #fffbe7;
  background-image: none;
  box-shadow: none;
  padding: 3.5rem 0 2.2rem 0;
  min-height: unset;
  text-align: center;
  position: relative;
}
.complaints-hero-label {
  color: #ab8d44;
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.complaints-hero-title {
  color: #1a3a24;
  font-family: 'Crimson Text', serif;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.7rem;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
.complaints-hero-section .ewing-law-logo {
  position: static;
  display: block;
  margin: 0 auto 0 auto;
  max-width: 200px;
  height: 80px;
}
.complaints-main {
  max-width: 700px;
  margin: 2.5rem auto 2.5rem auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(171, 141, 68, 0.10);
  padding: 2.7rem 2.5rem 2.5rem 2.5rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a3a24;
  font-size: 1.13rem;
  line-height: 1.7;
  border-top: 4px solid #ab8d44;
  border-bottom: 2px solid #f5ecd2;
}
.complaints-main::before {
    content: "";
    position: absolute;
    top: 0; left: 50%; right: 50%; bottom: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(1, 39, 14, 0.651);
    margin-top: -100px;
    margin-bottom: -100px;
    z-index: -1;
    border-radius: 0;
}
.complaints-main p {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.13rem;
  color: #1a3a24;
}
.complaints-main h2 {
  font-family: 'Crimson Text', serif;
  color: #ab8d44;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid #f5ecd2;
  padding-bottom: 0.3rem;
}
.complaints-main ul {
  margin: 1.2rem 0 1.2rem 1.5rem;
  padding-left: 1.2rem;
  list-style: disc inside;
}
.complaints-main li {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  color: #1a3a24;
  line-height: 1.6;
  padding-left: 0.2em;
}
.complaints-main a {
  color: #ab8d44;
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-all;
}
.complaints-main a:hover,
.complaints-main a:focus {
  color: #1a3a24;
  text-decoration: underline wavy #ab8d44;
}
.complaints-main .sra-link {
  color: #bfa16a;
  font-weight: 600;
  text-decoration: underline;
}
.complaints-main ul {
  background: #fffbe7;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #ab8d44;
}
.complaints-main h2 + p {
  margin-top: 0.5rem;
}
.complaints-main p:last-child {
  margin-bottom: 0;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 40000;
  background: linear-gradient(135deg, #1a3a24 0%, #ab8d44 100%);
  border: 2px solid #ffe7a0;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(171, 141, 68, 0.4);
  transition: all 0.3s ease;
}

.mobile-nav-toggle .material-icons {
  color: #ffe7a0;
  font-size: 32px;
  transition: transform 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: linear-gradient(135deg, #ab8d44 0%, #1a3a24 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 231, 160, 0.5);
}

.mobile-nav-toggle:active {
  transform: scale(0.95);
}

.mobile-nav-toggle.active .material-icons {
  transform: rotate(90deg);
}

.hero-nav-btns-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-90%);
    z-index: 30000;
    max-width: 340px;
    width: 100%;
    padding-left: 2.2vw;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    pointer-events: auto;
}
.hero-nav-fadein-btn.hero-nav-fadein-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.77,0.2,0.05,1.0), transform 0.8s cubic-bezier(0.77,0.2,0.05,1.0);
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
    box-shadow: none;
    margin: 0;
    padding: 0.3rem 1.2rem 0.3rem 0.2rem;
    border-radius: 0 32px 32px 0;
    cursor: pointer;
    overflow: visible;
    background: none;
}
.hero-nav-fadein-btn.hero-nav-fadein-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.hero-nav-fadein-btn .gold-vert-line {
    display: inline-block;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #ffe7a0 0%, #ab8d44 100%);
    margin-right: 1.1rem;
    border-radius: 2px;
    transition: height 0.7s cubic-bezier(0.77,0.2,0.05,1.0);
    vertical-align: middle;
    box-shadow: 0 0 6px #ab8d44a0;
}
.hero-nav-fadein-btn.hero-nav-fadein-left.visible .gold-vert-line {
    height: 2.1rem;
}
.hero-nav-fadein-btn .hero-nav-btn-text {
    color: #fff;
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: color 0.2s;
}
.hero-nav-fadein-btn:hover .hero-nav-btn-text {
    color: #ffe7a0;
}
.hero-nav-fadein-btn:hover .gold-vert-line {
    box-shadow: 0 0 16px #ffe7a0;
}

/* Mobile & Tablet Responsive Styles */
@media (max-width: 1024px) {
  .complaints-main {
    max-width: 90vw;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 900px) {
  .complaints-main {
    max-width: 95vw;
    padding: 2rem 1.5rem;
  }
  .complaints-hero-section.hero-section {
    padding: 18rem 0;
  }
}

@media (max-width: 800px) {
  .complaints-main {
    max-width: 95vw;
    padding: 1.8rem 1.2rem;
  }
  .complaints-hero-section.hero-section {
    padding: 15rem 0;
  }
  .complaints-hero-title {
    font-size: 1.8rem;
  }
  .complaints-hero-section .ewing-law-logo {
    max-width: 150px;
    height: auto;
  }
  .complaints-main ul {
    padding: 0.9rem 1rem;
  }
  .complaints-main h2 {
    font-size: 1.8rem;
  }
  .complaints-main h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .complaints-main {
    padding: 1.5rem 1rem;
  }
  .complaints-hero-section.hero-section {
    padding: 12rem 0;
  }
  .complaints-hero-title {
    font-size: 1.5rem;
  }
  .complaints-main h2 {
    font-size: 1.5rem;
  }
  .complaints-main h3 {
    font-size: 1.2rem;
  }
}

/* Hide mobile navigation on complaints procedure page */
.mobile-nav-toggle {
  display: none !important;
}

.hero-nav-btns-col {
  display: none !important;
}

