/* ==========================================================================
   Page Styles — consolidated from Oxygen Builder numbered CSS files
   ========================================================================== */

/* --- Base Semantic Styles (replaces ct-* class defaults from universal.css) --- */

.site-header,
.header-left,
.header-right,
.footer-col,
.footer-contact,
.footer-services,
.footer-highlights,
.footer-bottom,
.footer-payments {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-start;
}
.footer-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.header-logo-link,
.mobile-cta-link {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Header buttons: icon + text on same line */
.header-right .btn-icon {
  text-decoration: none;
}

.btn-label {
  /* inherits text styles from parent */
}

.footer-links {
  display: inline-block;
}

.footer-heading {
  margin-bottom: 10px;
}

#header-logo {
  max-width: 100%;
}

#footer-logo {
  max-width: 100%;
}

/* --- Hero Section --- */

#hero-section > .section-inner {
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#hero-section {
  display: block;
  text-align: center;
  background-color: #4f4f4f;
  height: 600px;
  background-position: 50% 50%;
}

@media (max-width: 1168px) {
  #hero-section {
    height: 500px;
  }
}
@media (max-width: 767px) {
  #hero-section > .section-inner {
    padding-top: 96px;
  }
  #hero-section {
    height: 400px;
  }
}
@media (max-width: 479px) {
  #hero-section {
    height: 500px;
  }
}

/* --- Hero CTA Row --- */

.hero-cta-row {
  text-align: left;
  flex-direction: row;
  display: flex;
  margin-top: 30px;
}

@media (max-width: 991px) {
  .hero-cta-row {
    margin-top: 15px;
  }
}
@media (max-width: 479px) {
  .hero-cta-row {
    flex-direction: column;
    display: flex;
    text-align: left;
    align-items: stretch;
    width: 100%;
    margin-top: 5px;
  }
  .hero-cta-row .btn-outline-call {
    margin-right: 0px;
  }
  .hero-cta-row > a:last-child {
    margin-top: 10px;
  }
  .hero-cta-row .btn-icon {
    justify-content: center;
  }
}

/* Hero button icon spacing */
.hero-cta-row .icon {
  margin-right: 8px;
}

@media (max-width: 767px) {
  .hero-call-label {
    display: none;
  }
}

/* --- Hero Headings --- */

#hero-h1 {
  color: #ffffff;
  text-shadow: 0px 0px 25px #000000;
}
#hero-h2 {
  color: #ffffff;
  margin-top: 25px;
  font-size: 25px;
  font-weight: 600;
  text-shadow: 0px 0px 8px #000000;
}

@media (max-width: 991px) {
  #hero-h2 {
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  #hero-h1 {
    font-size: 35px;
  }
}
@media (max-width: 479px) {
  #hero-h1 {
    font-size: 32px;
  }
  #hero-h2 {
    margin-top: 5px;
  }
}

/* --- Header --- */

.site-header,
#site-header {
  text-align: left;
  flex-direction: row;
  display: flex;
  align-items: center;
  height: 75px;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
  padding-bottom: 0px;
  padding-top: 0px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 20;
}
.header-left {
  text-align: left;
  flex-direction: row;
  display: flex;
  align-items: center;
}
.header-right {
  text-align: left;
  flex-direction: row;
  display: flex;
  margin-left: auto;
}

@media (max-width: 479px) {
  .header-left {
    margin-right: 16px;
  }
}

/* --- Header Logo --- */

#header-logo {
  height: 44px;
  width: 276px;
}

@media (max-width: 991px) {
  #header-logo {
    width: 200px;
    height: 32px;
  }
}

/* --- Header Buttons --- */

#header-call-button {
  background-color: rgba(255, 216, 21, 0);
  border: 2px solid #ffffff;
}
#header-call-button-text {
  color: #ffffff;
}
#header-quote-button {
  margin-left: 16px;
}

@media (max-width: 991px) {
  #header-quote-button {
    display: none;
  }
}
@media (max-width: 767px) {
  #header-call-button-text {
    display: none;
  }
}

/* --- Header Icons --- */

#header-call-icon {
  color: #ffffff;
}

@media (max-width: 767px) {
  #header-call-icon {
    color: #ffffff;
    margin-right: 0px;
  }
}

/* --- Skip Link --- */

#skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 10px;
  z-index: 9999;
  transition: top 0.3s;
  display: inline-block;
}
#skip-link:focus {
  top: 0;
}

/* --- Navigation --- */

#main-nav {
  margin-left: 20px;
}
#main-nav .nav-hamburger-line {
  background-color: #ffffff;
}
#main-nav .nav-menu-list {
  flex-direction: row;
}
#main-nav .menu-item a {
  padding: 20px;
  color: #ffffff;
  font-weight: 700;
}
#main-nav.nav-menu:not(.nav-menu-open) .sub-menu .menu-item a {
  border: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #686868;
}
#main-nav .menu-item:focus-within a,
#main-nav .menu-item:hover a {
  padding-top: 20px;
  border-top-width: 0px;
  color: #b5b5b5;
}
#main-nav.nav-menu:not(.nav-menu-open) .sub-menu .menu-item a:hover {
  border: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #f7f7f7;
  color: #000000;
}
#main-nav .nav-hamburger-wrap {
  width: 31px;
  height: 31px;
  margin-top: 10px;
  margin-bottom: 10px;
}
#main-nav .nav-hamburger {
  width: 31px;
  height: 24px;
}
#main-nav .nav-hamburger-line {
  height: 4px;
}
#main-nav.nav-menu-open .nav-hamburger .nav-hamburger-line:first-child {
  top: 10px;
}
#main-nav.nav-menu-open .nav-hamburger .nav-hamburger-line:last-child {
  top: -10px;
}

@media (max-width: 767px) {
  #main-nav .nav-menu-list {
    display: none;
  }
  #main-nav .nav-toggle {
    display: initial;
  }
  #main-nav.nav-menu.nav-menu-open .nav-menu-list {
    display: initial;
  }
}
#main-nav.nav-menu.nav-menu-open {
  background-color: #4c4c4c;
  margin: 0 !important;
}
#main-nav.nav-menu.nav-menu-open .menu-item a {
  padding: 20px;
}

/* --- Trust Badges Row (below hero) --- */

#trust-badges > .section-inner {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
#trust-badges {
  display: block;
}

@media (max-width: 767px) {
  #trust-badges > .section-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  #trust-badges {
    display: block;
    text-align: center;
  }
}
@media (max-width: 479px) {
  #trust-badges > .section-inner {
    gap: 10px;
  }
  #trust-badges {
    text-align: center;
  }
}

.trust-badge {
  flex-direction: row;
  display: flex;
  align-items: center;
  text-align: center;
}
.trust-badge img {
  max-width: 100%;
  height: auto;
}

/* --- Footer --- */

#site-footer {
  background-color: #262626;
}
.footer-highlights {
  color: #ffffff;
}
.footer-right {
  flex-direction: row;
  display: flex;
  color: #ffffff;
}
.footer-contact {
  width: 50%;
}

.icon-list-footer {
  list-style: none;
  padding: 0;
  margin: 0;
}
.icon-list-footer li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}
.icon-list-footer .footer-heading {
  display: block;
}
svg.footer-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--primary-color);
}

/* Contact page "Who We Are" icon list */
.icon-list-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.icon-list-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.5;
}
svg.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--primary-color);
}

/* Review QR card buttons */
.review-btn {
  color: #000;
}

.footer-bottom {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  text-align: justify;
  align-items: center;
}
.footer-payments {
  flex-direction: row;
  display: flex;
}
.footer-payments img {
  height: auto;
}
.footer-heading {
  margin-bottom: 10px;
}
.footer-copyright {
  color: #ffffff;
}
#footer-logo {
  margin-bottom: 12px;
}

@media (max-width: 1168px) {
  #site-footer > .section-inner {
    padding-top: 65px;
    padding-bottom: 65px;
  }
}
@media (max-width: 991px) {
  .footer-grid {
    flex-direction: row;
    display: flex;
  }
  .footer-contact {
    width: 100%;
  }
  .footer-services {
    display: none;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
  }
  .footer-highlights {
    display: none;
  }
  .footer-payments {
    display: flex;
    flex-direction: column;
  }
  .footer-heading:first-child {
    display: none;
  }
  .footer-payments img:first-child {
    padding-top: 10px;
  }
  .footer-payments img:last-child {
    padding-top: 10px;
    padding-bottom: 40px;
  }
}

/* --- Mobile Sticky CTA --- */

#stickyMobileCTA > .section-inner {
  display: none;
  flex-direction: unset;
  justify-content: center;
}
#stickyMobileCTA {
  display: none;
  position: fixed;
  bottom: 0px;
  z-index: 999;
}
#mobile-cta-call {
  flex-direction: unset;
}
#mobile-cta-quote {
  flex-direction: row;
  text-align: center;
  display: flex;
}

@media (max-width: 767px) {
  #stickyMobileCTA > .section-inner {
    padding: 3px 3px 16px 3px;
    display: flex;
    flex-direction: row;
  }
  #stickyMobileCTA {
    display: block;
    background-image: linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.8)
    );
    bottom: -100px;
  }
  #mobile-cta-call {
    margin-right: 2px;
    background-color: #ffffff;
    border-color: #000000;
  }
  #mobile-cta-quote {
    margin-left: 1px;
    background-color: #fac528;
    border-color: #fac528;
  }
  #mobile-cta-call .icon > svg {
    width: 23px;
    height: 23px;
  }
  #mobile-cta-call .icon {
    margin-top: 3px;
    margin-right: 4px;
    color: #000;
  }
  #mobile-cta-quote .icon > svg {
    width: 23px;
    height: 23px;
  }
  #mobile-cta-quote .icon {
    margin-top: 3px;
    margin-right: 4px;
    color: #000;
  }
}
@media (max-width: 479px) {
  #mobile-cta-call .icon > svg {
    width: 20px;
    height: 20px;
  }
  #mobile-cta-call .icon {
    margin-top: 1px;
  }
  #mobile-cta-quote .icon > svg {
    width: 20px;
    height: 20px;
  }
  #mobile-cta-quote .icon {
    margin-top: 1px;
  }
}

/* --- CTA Block (Get a Free Quote) --- */

.cta-row {
  margin-top: 47px;
  margin-bottom: 0px;
  align-items: center;
}
.cta-text-col {
  width: 33.33%;
  position: relative;
  max-width: 378px;
  padding: 0px 0px 0px 1px;
  justify-content: center;
}
.cta-row > div:not(.cta-text-col) {
  width: 33.33%;
  padding: 10px;
}
.cta-text-col h3 {
  font-weight: 700;
  font-size: 36px;
}
.ready-to-donate-subline {
  font-size: 22px;
}
.cta-arrow {
  width: 69px;
  position: absolute;
  left: 86%;
  top: 50%;
}

@media (max-width: 1168px) {
  .cta-text-col h3 {
    font-size: 34px;
  }
  .cta-arrow {
    left: 89%;
  }
}
@media (max-width: 991px) {
  .cta-text-col {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }
  .cta-row > div {
    width: 100% !important;
  }
  .cta-row {
    align-items: center;
  }
  .cta-arrow {
    flex-direction: unset;
    display: none;
  }
}
@media (max-width: 479px) {
  .ready-to-donate-subline {
    font-size: 22px;
  }
}

/* --- Testimonials Section --- */

/* Testimonials heading row */
.testimonials-heading {
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}
/* Testimonial card inner layout */
.test-wrapper > div {
  padding-top: 0px;
  width: 100%;
}
.test-wrapper > div > div:last-child {
  flex-direction: row;
  display: flex;
  align-items: center;
  width: 100%;
}
.test-wrapper > div > div:last-child > div:last-child {
  text-align: left;
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.test-wrapper > div > div:last-child > div:last-child > div:first-child {
  width: 100%;
  flex-direction: row;
  display: flex;
  align-items: center;
}
.test-wrapper > div > div:last-child > div:last-child > div:first-child span {
  font-weight: 700;
}
.test-rating-mobile-wrapper img:first-child {
  float: left;
  flex-direction: unset;
  display: inline;
  height: 19px;
  width: 106px;
}
.test-source-image {
  height: 30px;
}

/* Testimonials heart icon */
.testimonials-heading .icon {
  color: #c90000;
  margin-left: 8px;
  margin-right: 8px;
}

#testimonials .card-grid {
  justify-content: center;
  align-items: center;
  display: block;
}

@media (max-width: 767px) {
  .test-wrapper > div > div:last-child {
    margin-top: 10px;
  }
  .testimonials-heading h2 {
    font-size: 30px;
  }
  .testimonials-heading .icon {
    color: #c90000;
  }
  .testimonials-heading .icon > svg {
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 479px) {
  .testimonials-heading h2 {
    font-size: 24px;
  }
  .test-rating-mobile-wrapper img:first-child {
    flex-direction: unset;
    display: block;
  }
}

/* --- Services Section (1496.css) --- */

#services-carousel > .section-inner {
  padding-top: 20px;
}
#services-carousel {
  background-color: #ffffff;
}
.carousel-wrapper {
  border-radius: 6px;
  aspect-ratio: 533 / 400;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  animation: carousel-slide 20s infinite;
}
.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes carousel-slide {
  0%,
  16% {
    transform: translateX(0);
  }
  20%,
  36% {
    transform: translateX(-100%);
  }
  40%,
  56% {
    transform: translateX(-200%);
  }
  60%,
  76% {
    transform: translateX(-300%);
  }
  80%,
  96% {
    transform: translateX(-400%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }
}
.check-item + .w-full {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

/* --- Recent Jobs Gallery --- */

#recent-jobs > .section-inner {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#recent-jobs {
  display: block;
  text-align: center;
}
#recent-jobs h2 {
  margin-bottom: 34px;
}
#recent-jobs .card-grid {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: justify;
  gap: 20px;
}
.recent-cars-photos {
  height: auto;
}

@media (max-width: 479px) {
  #recent-jobs > .section-inner {
    padding-top: 47px;
    padding-bottom: 65px;
  }
}

/* --- Contact Us Review Badges --- */

.card-normal {
  align-items: center;
  text-align: center;
}
.card-normal h5:first-child {
  margin-bottom: 10px;
}
.card-normal .qr-image {
  width: 150px;
  height: 150px;
}

@media (max-width: 1168px) {
  #who-we-are > .section-inner {
    padding-top: 65px;
    padding-bottom: 65px;
  }
}

/* --- Mobile Menu Overlay --- */

.mobile-menu-overlay {
  display: none;
}

@media (min-width: 768px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #main-nav.nav-menu-open .mobile-menu-overlay {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: #4c4c4c;
    animation: mobileMenuFadeIn 0.25s ease;
    /* Override universal.css .nav-menu.nav-menu-open > div:last-child */
    max-height: none;
    overflow: visible;
    padding-top: 0;
  }
  #main-nav.nav-menu-open .menu-main-menu-container,
  #main-nav.nav-menu-open .nav-hamburger-wrap {
    display: none;
  }
  body.nav-prevent-overflow #stickyMobileCTA {
    display: none !important;
  }

  .mobile-menu-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    flex-shrink: 0;
  }
  .mobile-menu-topbar img {
    height: 36px;
    width: auto;
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-links {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px 24px;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    padding: 8px 0 12px;
  }
  .mobile-menu-link {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
  }
  .mobile-menu-link:last-child {
    border-bottom: none;
  }
  .mobile-menu-link--separated {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .mobile-menu-cta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .mobile-menu-cta-btn {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
  }
  .mobile-menu-cta-btn.primary {
    background-color: #fac528;
    color: #000;
  }
  .mobile-menu-cta-btn.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
  }
}

@keyframes mobileMenuFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
