/* ==========================================================================
   LAYOUT
   --------------------------------------------------------------------------
   PURPOSE:
   This file controls global structure of the site.
   It answers: "How is the page arranged?"

   Layout styles deal with:
   - header positioning
   - footer structure
   - containers
   - navigation placement
   - responsive layout rules

   NOTE:
   This file currently also contains some component-level styling that would
   ideally live in 50-components.css. It has been retained here for stability.
   ========================================================================== */


/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: relative;
  z-index: 9;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 10px #e5e5e5;
}

.navbar {
  padding: 12px 0;
  border-radius: var(--radius-sm);
}

.headerbg.inner {
  background-color: var(--bg-light);
  background-image: url(images/header.png);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}

a.topphone {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link {
  margin: 0 0.75rem;
  padding: 0 0.5rem !important;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--brand-black);
}

#menu-menu-2 .nav-link {
  font-size: 0.85rem !important;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus,
.current-menu-item a.nav-link, .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--brand-accent);
  text-decoration: none;
  opacity: 1;
  background-repeat: no-repeat;
  background-position: left;
}

.navbar .nav-item:first-child a {
  margin-left: 0;
  padding-left: 0 !important;
}

.navbar .nav-item:last-child a {
  margin-right: 0;
  padding-right: 0 !important;
}

.dropdown-toggle::after {
  display: none;
}


/* ==========================================================================
   HERO / GLOBAL LAYOUT
   ========================================================================== */


.single-post-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero {
  height: 100dvh !important;
  background-position: 50%;
  background-size: cover;
}

.hero-fullscreen {
  min-height: 100vh;
  min-height: calc(100svh - var(--header-height));
}

.layout-hero p {
  font-size: 1.2rem;
}

.layout-hero h1,
.layout-hero .h1 {
  font-size: 2.2rem;
  text-wrap: balance;
}

.layout-hero h2,
.layout-hero .h2 {
  margin-top: -5px;
  font-family: 'Arkipelago';
  font-size: 3rem;
  font-weight: 500;
  text-wrap: balance;
  color: var(--brand-primary) !important;
}

.herobgshape {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  max-width: 100%;
  height: 75%;
}

.heroshape {
  left: -26px !important;
  min-width: 125%;
  max-height: 53vh;
}

.custom-shape-clip {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  -webkit-mask-image: url('../images/heroshape.png');
  mask-image: url('../images/heroshape.png');
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.custom-shape-clip img,
.custom-shape-clip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #000;
  margin: 6px 0;
  border-radius: var(--radius-sm);
}

.hamburger-line-2 {
  width: 75%;
  margin-left: auto;
}


/* ==========================================================================
   SECTION / PROSE HELPERS
   ========================================================================== */

.prose > *:last-child,
.promotion-card__content p:last-child {
  margin-bottom: 0;
}

.prose ul {
  padding-left: 1rem;
  list-style-position: inside;
}

.prose ul li {
  margin-bottom: 0.5rem;
}

#content ul {
  margin-bottom: 1.5rem;
  margin-left: 0;
  /* padding-left: 0; */
}

#content ul li {
  position: relative;
  padding-left: 0.5rem;
}

#content li::marker {
  font-size: 1rem;
  line-height: 1;
}

h1.page-title {
  text-wrap: balance;
}

a.rpi-name {
  font-weight: 700;
}


/* 
Section Quick Links
*/

.category-list__item {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  padding: 18px 30px;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jobcard {
  background-image: url(../images/shapebottom.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  /* background-size: 30%; */
}


/* locations box */

.locationbox {
  background-color: var(--brand-white);
}

.locationbox h3 {
  margin-bottom: 5px;
}


.greenarrowfooter {
  /* width: 50px; */
  /* height: auto; */
  right: -60px!important;
}

/* ==========================================================================
   REVIEWS STAT CARD
   ========================================================================== */

.layout-reviews-stat-card .reviews-stat-card {
  padding: 35px 53px;
  overflow: hidden;
  color: #fff;
  background: #d10f13;
  border-radius: 18px;
}

.layout-reviews-stat-card .reviews-stat-content {
  opacity: 0.95;
}

.layout-reviews-stat-card .reviews-stat-content ul {
  margin: 0;
  padding-left: 1.1rem;
}

.layout-reviews-stat-card .reviews-google-logo {
  width: 72px;
  height: auto;
}

.layout-reviews-stat-card .reviews-stat-number {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.layout-reviews-stat-card .reviews-stat-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.layout-reviews {
  background-image: unset;
  background-repeat: no-repeat;
  background-position: right 20% top 0%;
  background-size: 200px;
}

.layout-reviews .prose * {
  color: #fff;
}
/* ==========================================================================
   FEATURES / ICONS
   ========================================================================== */

.feature-pills {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-pill__icon {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
}

.feature-pill__icon img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.feature-pill__text {
  font-size: 1rem;
  line-height: 1.2;
  color: #111;
}

.layout-icon-feature-grid .icon-feature__icon,
.layout-icon-feature-vertical .icon-feature-vertical__icon {
  flex: 0 0 auto;
  width: 50px;
  height: auto;
}

.layout-icon-feature-grid .icon-feature__icon i {
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.layout-icon-feature-grid .icon-feature__img {
  object-fit: contain;
}

.layout-icon-feature-grid .icon-feature__text > *:last-child {
  margin-bottom: 0;
}

.layout-icon-feature-grid .icon-feature__content {
  max-width: 520px;
}

.layout-icon-feature-vertical .icon-feature-vertical__content {
  max-width: 700px;
}


/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.service-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 200px;
  text-decoration: none !important;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-right-radius: 23px;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgb(22 22 59 / 40%);
  border-bottom-right-radius: 23px;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-card__overlay {
  background-color: rgb(22 22 59 / 50%);
}

.service-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 30px;
}

.service-card__title {
  max-width: 80%;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
}

.service-card__arrow img {
  width: 20px;
  height: auto;
  filter: brightness(0) invert(1);
}

.service-icon-wrap img {
  width: 75px;
}


/* ==========================================================================
   TEAM HERO
   ========================================================================== */

.team_hero_container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 100px 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
}

.team-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgb(22 22 59 / 75%);
}

.team-hero__container,
.team-hero__content {
  position: relative;
  z-index: 2;
}

.team-hero__content * {
  color: #fff;
}

.team_hero_box {
  display: flex;
  align-items: center;
  padding: 0 30px;
}


/* ==========================================================================
   WHY SOS / IMAGE HELPERS
   ========================================================================== */

.why-sos__right {
  aspect-ratio: 1 / 1;
}

.imgimg {
  border-bottom-left-radius: 100px !important;
}

.twobox-left {
  background-repeat: no-repeat;
  background-image: url(../images/shapebox.png);
  background-position: 80% bottom;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  color: #000;
  /* background-color: var(--brand-primary); */
  border-top: 1px solid #dcdcdc;
}

footer a:hover {
  /* color: var(--brand-white); */
}

footer .current-menu-item a.nav-link {
  color: var(--brand-accent) !important;
}

.footer-card {
}

.footer-form {
  padding: 0px;
  background: #fff;
  /* background-color: var(--brand-secondary); */
  /* background-image: url(../images/ctashape2.png); */
  background-position: bottom;
  background-repeat: no-repeat;
  border-radius: var(--radius-md);
  box-shadow: 0px 0px 10px #00000012;
}

.footer-nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #fff;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  /* color: #fff; */
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footerlogo {
  max-width: 70px !important;
}

#copy-foot {
  font-size: 0.7rem;
  /* color: var(--brand-white); */
  text-align: center;
}


/* ==========================================================================
   MOBILE NAV / OFFCANVAS
   ========================================================================== */

.mobilenav {
  z-index: 99999;
  width: 100% !important;
  padding: 1rem;
}

.offcanvas-header {
  padding: 0;
}

.modal-dialog {
  margin: 1rem;
}

.mobilenav .menu-item a {
  margin-right: 0;
  margin-left: 0;
  padding: 0.5rem 0 !important;
  font-size: 1.2rem;
  color: var(--brand-white);
}

.mobilenav .menu-item a:hover,
.mobilenav .current-menu-item a.nav-link {
  color: var(--brand-white);
  background-image: none !important;
}

.mobilenav .btn-primary {
  font-size: 1rem;
}

.hamburger .hamburger-inner,
.hamburger .hamburger-inner::before,
.hamburger .hamburger-inner::after {
  background-color: var(--brand-secondary);
  border-radius: 5px;
}

button.hamburger.is-active .hamburger-inner,
button.hamburger.is-active .hamburger-inner::before,
button.hamburger.is-active .hamburger-inner::after {
  background-color: var(--brand-white);
}

.tel-mob {
  position: fixed;
  bottom: 10px;
  left: 14px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  background-color: #afafaf;
  border-radius: 50%;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}


/* ==========================================================================
   STORE LOCATOR
   ========================================================================== */

.store-columns {
  column-count: 4;
  column-gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-columns li {
  margin: 0 0 0.65rem;
  break-inside: avoid;
}

.store-link {
  display: block;
  font-size: 0.85rem;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
}

.store-link:hover {
  text-decoration: underline;
}


/* ==========================================================================
   PROMOTION CAROUSEL
   ========================================================================== */


.layout-feature-carousel {
  background-color: #cbeae1;
}

.promotion-carousel .slick-list {
  overflow: hidden;
}

.promotion-slide {
  padding: 0 10px;
}

.promotion-card {
  overflow: hidden;
  background: var(--brand-secondary);
  border-radius: var(--radius-sm);
}

.promotion-card__image {
  min-height: 420px;
}

.promotion-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotion-card__content {
  min-height: 420px;
  background: var(--brand-secondary);
  background-image: url(../images/arrowwhitedown.png);
  background-repeat: no-repeat;
  background-position: 91% 0;
  background-size: 50px;
  padding: 1.5rem 3rem 1.5rem 0rem;
}

.promotion-card__content-two {
  background-color: #fff;
  background-image: url(../images/shapebottom.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  padding: 30px;
}

.promotion-card__content-inner {
  max-width: 420px;
}

.promotion-card__content h2,
.promotion-card__content h3,
.promotion-card__content h4 {
  margin-bottom: 20px;
}

.layout-promotion-carousel .slick-dots {
  position: static;
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.layout-promotion-carousel .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.layout-promotion-carousel .slick-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  font-size: 0;
  background: #e5d7a3;
  border: 0;
  border-radius: 2px;
  transform: rotate(45deg);
}
.slick-dots li button:before {
  display: none;
  
}
.layout-promotion-carousel .slick-dots .slick-active button {
  background: var(--brand-primary);
}
.greenshape {
    object-fit: unset!important;
    width: auto!important;
    height: 100%;
}

.promotion-carousel-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  flex-direction: column;
  display: none;
}

.promotion-carousel-nav__item {
  background: transparent;
  border: 0;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0; /* important */
}

.promotion-carousel-nav__icon {
  flex: 0 0 72px;
  width: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promotion-carousel-nav__icon img {
  display: block;
  max-width: 48px;
  height: auto;
}

.promotion-carousel-nav__label {
  min-width: 0; /* important */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
  line-height: 1.2;
}

.promotion-carousel-nav__item.is-active {
  opacity: 1;
  /* transform: translateY(-2px); */
}

.promotion-carousel-nav__icon img {
  display: block;
  max-width: 48px;
  height: auto;
}

.promotion-carousel-nav__label {
  text-align: center;
  /* font-size: 14px; */
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}
.layout-feature-carousel .container {
  
}
span.promotion-carousel-nav__icon {
    height: 70px;
    width: 70px;
    background-color: #8dd1be;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #8dd1be;
}

span.promotion-carousel-nav__icon:hover {
  background-color: #fff;
}

.promotion-carousel-nav__item.is-active span.promotion-carousel-nav__icon {
    background-color: #fff;
}

/* ==========================================================================
   FOOTER FORM
   ========================================================================== */



.footerright {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* ==========================================================================
   NEWS PAGINATION
   ========================================================================== */

.news-pagination .page-numbers {
  display: flex;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.news-pagination .page-numbers li a,
.news-pagination .page-numbers li span {
  display: inline-block;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid rgb(0 0 0 / 15%);
  border-radius: 10px;
}

.news-pagination .page-numbers li .current {
  font-weight: 700;
}


/* ==========================================================================
   MEGA MENU DESKTOP
   ========================================================================== */

@media (min-width: 992px) {
  header.header .container,
  .rightmenu,
  .mainmenu,
  .navbar,
  .nav-item.has-megamenu {
    position: static !important;
  }

  .navbar .has-megamenu .megamenu {
    top: 100%;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(
      90deg,
      rgba(239, 238, 233, 1) 0%,
      rgba(239, 238, 233, 1) 35%,
      rgba(239, 238, 233, 1) 35%,
      rgba(255, 255, 255, 1) 35%,
      rgba(255, 255, 255, 1) 100%
    );
    background-color: #fff;
    border: none;
    border-top: 1px solid #eee;
    transform: none !important;
    box-shadow: 0px 9px 27px #0000000f !important;
  }
}
.footerleft {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: 0px!important;
  padding-right: 1.5rem!important;
  min-height: unset;
  border-top-right-radius: var(--radius-md);
}

.mega-intro-text {
  min-height: 100%;
  padding-right: 80px;
  background: #efeee9;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
}

.megamenupadding {
  padding: 90px 0;
}

.megamenu .dropdown-item {
  padding: 0.5rem 0;
  font-weight: 600;
  color: #000;
  transition: color 0.2s;
}

.megamenu .dropdown-item:hover {
  text-decoration: none;
  color: #eeb928;
  background: transparent;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: transparent;
}

.megamenu img {
  max-width: 100%;
  height: auto;
}

.mainmenu {
  border-top: 1px solid #312624;
}


/* ==========================================================================
   CONTAINERS / GUTTERS
   ========================================================================== */

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1140px;
  }
}

.container,
.container-fluid {
  --bs-gutter-x: var(--container-gutter);
}

@media (max-width: 991.98px) {
  .container,
  .container-fluid {
    --bs-gutter-x: var(--container-gutter-mobile);
  }
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
  .store-columns {
    column-count: 2;
  }

  .promotion-card__image,
  .promotion-card__content {
    min-height: auto;
  }

  .promotion-card__content {
    padding: 35px 28px;
  }
}

@media (max-width: 575.98px) {
  .store-columns {
    column-count: 1;
  }
}

@media (min-width: 992px) {
  .tel-mob {
    display: none;
  }

  #desktopmenu {
    display: flex !important;
  }

  .abbox {
    padding: 100px;
  }

  .footerlogo {
    max-width: 150px !important;
  }

  img.footerlogo {
    max-width: 100% !important;
  }

.layout-reviews {
  background-image: url(../images/bigwhitearrow.png);
  background-repeat: no-repeat;
  background-position: right 20% top 0%;
  background-size: 200px;
}
.promotion-carousel-nav__item {
  background: transparent;
  border: 0;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0; /* important */
}
  
.layout-hero h1,
.layout-hero .h1 {
  font-size: 2.9rem;
  text-wrap: balance;
}

.footerleft {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  padding-right: 135px!important;
  min-height: 600px;
}

  .promotion-carousel-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  flex-direction: row;
}
.category-list__item {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  padding: 30px 60px;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
.promotion-card__content {
  min-height: 420px;
  background: var(--brand-secondary);
  background-image: url(../images/arrowwhitedown.png);
  background-repeat: no-repeat;
  background-position: 80% 0;
  background-size: 95px;
  padding: 1.5rem 3rem 1.5rem 0rem;
}

  .layout-hero h2,
.layout-hero .h2 {
  margin-top: -5px;
  font-family: 'Arkipelago';
  font-size: 4rem;
  font-weight: 500;
  text-wrap: balance;
  color: var(--brand-primary) !important;
}
  .heroshape {
    left: -50px !important;
    min-width: 865px !important;
    max-height: unset;
  }

  .herotext h1 {
    font-size: 3.1rem;
    text-wrap: balance;
    color: #fff;
  }

  .feature-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-reviews-stat-card .reviews-stat-card {
    padding: 73px 85px;
  }

  .layout-reviews-stat-card .reviews-google-logo,
  .layout-icon-feature-grid .icon-feature__icon,
  .layout-icon-feature-vertical .icon-feature-vertical__icon {
    width: auto;
    height: auto;
  }

  .layout-reviews-stat-card .reviews-stat-label {
    font-size: 17px;
  }

  .herobgshape {
    top: 0;
    bottom: unset;
    max-width: 60% !important;
    height: 100%;
  }

  .navbar {
    padding: 0;
  }

  .service-card {
    min-height: 400px;
    border-bottom-right-radius: 50px;
  }

  .service-card__overlay {
    border-bottom-right-radius: 50px;
  }

  .team_hero_box {
    min-height: 800px;
  }

  .service-icon-wrap img {
    width: auto;
  }

  .mobilenav .menu-item a {
    font-size: 2.75rem;
  }

  .footer-form {
    padding: 0;
    /* background-image: url(../images/ctabg.png); */
    background-position: right;
    background-repeat: no-repeat;
    background-size: 57%;
    border-radius: var(--radius-md);
    box-shadow: 0px 0px 10px #d3d3d3;
    min-height: 600px;
    position: relative;
    height: 100%;
  }
}

@media (min-width: 1600px) {
  .heroshape {
    min-width: 850px !important;
  }
}

.sticky-top {
  z-index: 5 !important;
}