/* -----------------------------------
     General Style
-------------------------------------- */


.lp-location-new .btn {
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 900;
}

/* -----------------------------------
    Ninja Table
-------------------------------------- */


.ninja_table_wrapper {
    max-width: 1265px;
    margin: 0 auto;
}

.ninja_table_wrapper.semantic_ui table.foo-table {
    border-radius: 30px;
    overflow: hidden;
    margin-top: 30px !important;
}

.ninja_table_wrapper.semantic_ui table.foo-table th {
    text-align: center;
    padding: 8px 11px !important;
}

.ninja_table_wrapper.semantic_ui table.foo-table td {
    font-size: 16px;
    line-height: 27px;
    padding: 9px;
}

.ninja_table_wrapper::-webkit-scrollbar {
    height: 10px;
    width: 10px;
  }

  .ninja_table_wrapper::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #ECECEC;
  }

  .ninja_table_wrapper::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #a6230e;
  }

@media (min-width: 1025px) {

    .ninja_table_wrapper.semantic_ui table.foo-table th {
        font-size: 24px;
    }

    .ninja_table_wrapper.semantic_ui table.foo-table td {
        font-size: 18px;
        padding: 9px 20px;
    }
}

/* -----------------------------------
    Masthead Section
-------------------------------------- */

.services-heading-section {
    padding-bottom: 0;
    overflow: unset;
}

.services-heading-section h1 {
    font-weight: 900;
}

.sevices-description strong {
    color: #a6230e;
    font-weight: 900;
}

.location-header-img {
    position: relative;
}

.location-header-img .custom-map-img {
    position: absolute;
    z-index: -1;
    top: -100px;
    left: 0;
}


.services-heading-section .sevices-description-container {
    max-width: unset !important;
}

.services-heading-section .sevices-description {
    margin-bottom: 30px;
}

.services-heading-section .services-header-logos {
    margin-left: 0;
    position: relative;
}

.services-stats .logo-item {
    max-width: 165px;
    min-width: 165px;
}

.services-stats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.logo-item-content p {
    text-transform: capitalize;
}

.stats-logo {
    background: #A6240E;
    border: 8px solid #D39186;
    border-radius: 100%;
    width: 90px;
    height: 90px;
    margin: auto auto 10px;
}

.stats-logo img {
    max-width: 40px;
    margin-top: 17px;
}

.services-stats h4 {
    margin-bottom: 0;
}

.row.logo-mobile-only {
    background: #fff;
    padding: 30px 0 0;
    justify-content: center;
}

@media (max-width: 600px) {
    .sevices-description p:has(.btn) {
        text-align: center;
    }
}

@media (max-width: 991px) {

    .location-header-img {
        padding-top: 70px;
        text-align: center;
        max-width: 507px;
        width: 100%;
    }

    .location-header-img .custom-map-img {
        width: 256px;
        height: 100%;
        object-fit: contain;
        left: -40px;
        top: 0;
    }

    .location-header-img .header-img {
        position: relative;
        max-width: 320px;
        right: -10px;
        width: 100%;
    }
}

@media (min-width: 768px) {

    .location-header-img.header-image {
        padding-top: 45px;
        padding-left: 45px;
        position: absolute;
        bottom: 0;
    }
}
@media (min-width: 992px) {
    .logo-mobile-only {
        display: none;
    }

    .services-heading-section .services-header-logos {
        display: block !important;
        max-width: 100%;
        position: relative;
        margin-top: 56px;
        min-height: 140px;
    }

    .services-heading-section {
        padding-bottom: 0;
    }

    .location-header-img .header-img {
        position: relative;
        top: 0;
    }

    .services-stats {
        width: 100%;
        justify-content: start;
        padding-top: 25px;
        position: absolute;
        z-index: 1;
    }

    .services-header-logos::before,
    .services-header-logos::after {
        content:'';
        background: #fff;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        z-index: -1;
    }
    .services-header-logos::before {
        left: -98%;
    }
    .services-header-logos::after {
        clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
        right: 0%;
    }

    .services-heading-section + section {
        padding-top: 80px;
    }
}


@media (min-width: 1200px) {

    .services-heading-section .sevices-description {
        min-height: 0;
        margin-bottom: 0;
    }

    .location-header-img .custom-map-img {
        top: -25px;
    }
}

@media (min-width: 1300px) {
    .services-heading-section .container {
        max-width: 1300px;
    }
}

/* -----------------------------------
      WYSIWYG Content
-------------------------------------- */

@media (min-width: 1025px) {
    .wysiwyg-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .wysiwyg-section  .container {
        max-width: 1400px;
    }
}

/* -----------------------------------
      Half Image Text Section
-------------------------------------- */

.half-image-text-section {
    background: #A6240E;
    position: relative;
    z-index: 1;
}

.half-image-text-section .container {
    position: relative;
}

.half-image-text-section  .row {
    align-items: center;
}

.half-image-text-section + .half-image-text-section {
    margin-top: 100px;
}

.half-image-text-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.half-image-text-content *:not(.btn) {
    color: #fff;
}

.half-image-text-image img:not(.graphic-rays) {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    margin-top: -50px;
}


.half-image-text-section .btn {
    background: #fff;
    font-size: 18px;
    font-style: normal;
    color: #A6240E;
    font-weight: 700;
    margin-top: 15px;
}

.half-image-text-section .new-services-cta-bg {
    position: absolute;
    z-index: -1;
    width: 100%;
}

.half-image-text-section .new-services-cta-bg img {
    filter: brightness(0) invert(1);
}


@media (max-width: 767px) {
    .half-image-text-image .graphic-rays.mobile-only {
        position: absolute;
        top: 36%;
        z-index: -1;
        left: -5px;
    }

    .half-image-text-image img:not(.graphic-rays) {
        width: calc(100% - 60px);
        margin-left: auto;
        margin-right: auto;
    }

    .half-image-text-image {
        text-align: center;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .half-image-text-section {
        background: transparent;
        overflow: hidden;
    }
    .half-image-text-section::before {
        content: '';
        position: absolute;
        height: calc(100% - 100px);
        background: #A6240E;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
    }

    .half-image-text-section .new-services-cta-bg {
        top: 50%;
        transform: translateY(-50%);
        height: calc(100% - 100px);
    }

    .half-image-text-content {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .half-image-text-section + .half-image-text-section {
        margin-top: 30px;
    }

    .half-image-text-image img:not(.graphic-rays) {
        width: 614px;
        margin-top: 0;
    }

    /* absolute positioning */
    .half-image-text-image {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }

    .half-image-text-section .row {
        justify-content: flex-end;
    }

    .flex-row-reverse .half-image-text-image {
        right: 0;
        left: unset;
    }
}

@media (min-width: 1400px) {
    .half-image-text-section .container {
        max-width: 1400px;
    }
}


/* -----------------------------------
        Services Cards Icon 
-------------------------------------- */

.card-item-details-hover a {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
}


.card-item-details-hover .hidden-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.card-item-icon {
    z-index: -1;
}

.new-services-cards-icon .new-services-cards-icons {
    justify-content: center;
    column-gap: 30px;
    row-gap: 0;
    margin-top: 40px;
    flex-direction: row;
}

@media (max-width: 767px) {
    .new-services-cards-icon .card-item:nth-last-of-type(-n + 4) {
        display: none !important;
      }
}
@media (min-width: 1200px) {
    .new-services-cards-icon .new-services-cards-icons .card-item {
        max-width: 290px;
    }
}
@media (min-width: 1400px) {
    .new-services-cards-icon .container {
        max-width: 1400px;
    }
}


/* -----------------------------------
        Testimonial Block
-------------------------------------- */

.review-author-icon {
    background: #A6240E;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    font-size: 35px;
    line-height: 1.4;
}

.review-item-description {
    min-height: 140px;
}

.review-item-description .read-more {
    display: block !important;
    cursor: pointer;
}

.review-item-description .read-more:hover {
    color: #A6240E !important;
}

@media (max-width: 767px) {
    .reviews-section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* -----------------------------------
        Half Text Image CTA
-------------------------------------- */

.new-services-cta {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.half-text-cta-details a {
    color: #fff;
}

/* -----------------------------------
      Logo Slider Section
-------------------------------------- */
.logo-slider-section + .accordion-section {
    padding-top: 20px;
}

@media (min-width: 1400px) {
    .logo-slider-section .container {
        max-width: 1400px;
    }
}

/* -----------------------------------
      Accordion Section
-------------------------------------- */

.accordion-section {
    padding: 60px 0;
}

.accordion-main-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    color: #000;
    margin-bottom: 40px;
}

.accordion-top-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.accordion-top-content h2 {
    font-size: 36px;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
}

.accordion-top-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.accordion-container {
    max-width: 790px;
    margin: 0 auto;
}

.accordion-item {
    background: #fff;
    border: none;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 13.7px 0 rgba(117, 117, 117, 0.63);
    transition: all 0.3s ease;
    padding: 0;
}

.accordion-item-title {
    padding: 20px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.accordion-item-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    flex: 1;
}

.lp-location-new .accordion-toggle:before {
    display: none !important;
}

.accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon .icon-plus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.accordion-icon .icon-minus {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.accordion-item-title.active .accordion-icon .icon-plus {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

.accordion-item-title.active .accordion-icon .icon-minus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}


.accordion-item-content {
    display: none;
}

.accordion-item-content-inner {
    padding: 0 18px 20px;
    color: #fff;
}

.accordion-item-content-inner p {
    margin: 0;
    line-height: 1.7;
    color: #fff;
}

/* Active state - Red/Maroon background */
.accordion-item-title.active {
    background: #A6240E;
}

.accordion-item-title.active h3,
.accordion-item-title.active .accordion-icon {
    color: #fff;
}

.accordion-item-title.active + .accordion-item-content {
    background: #A6240E;
}

/* Hover effect */
.accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.accordion-item-title:hover:not(.active) {
    background: #f8f9fa;
}

/* Responsive styles */
@media (max-width: 767px) {
    .accordion-section {
        padding: 40px 0;
    }

    .accordion-main-heading {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .accordion-top-content {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .accordion-top-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .accordion-top-content p {
        font-size: 16px;
    }

    .accordion-container {
        padding: 0 15px;
    }

    .accordion-item-title {
        padding: 20px;
    }

    .accordion-item-title h3 {
        font-size: 18px;
    }

    .accordion-item-content-inner {
        padding: 0 20px 20px;
    }

    .accordion-icon {
        width: 20px;
        height: 20px;
    }
}


/* -----------------------------------
      Google Map Section
-------------------------------------- */

.map-contact-form-section {
    padding: 60px 0;
}

.map-contact-form-container {
    position: relative;
    padding: 40px 30px;
}

.map-contact-form-container::before {
    content: '';
    background: #A6240E;
    border-radius: 15px;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.map-content p {
    font-size: 18px;
    font-weight: 700;
}

.map-content *:not(.btn) {
    color: #fff;
}

.map-contact-form {
    margin: 30px 0 40px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 9.8px 0 rgba(0, 0, 0, 0.25);
}

.map-embedded-code {
    position: relative;
    height: 100%;
    width: 100%;
}

.map-embedded-code iframe {
    border-radius: 30px;
    height: 100%;
    width: 100%;
}

.place-card.place-card-large {
    display: none;
}

.gm-inset-map {
    display: none;
}

/* Contact form 7 */
.map-contact-form h4 {
    margin-bottom: 0;
}

.wpcf7-form-control-wrap {
    border: none !important;
}

.map-contact-form label {
    font-family: 'Poppins';
    font-weight: 500;
    text-align: left !important;
    font-size: 16px;
    margin: 5px 0 2px;
}

.map-contact-form input.wpcf7-form-control:not(.wpcf7-submit),
.map-contact-form .nice-select {
    border: 2px solid #A6240E;
    border-radius: 50px;
    font-size: 13px;
    padding: 15px 14px;
    height: auto;
}

.nice-select span.current {
    line-height: 1.15;
}

.nice-select:after {
    font-size: 22px;
    font-weight: 600;
}

.map-contact-form p {
    margin: 0;
    font-size: 16px;
}
.map-contact-form p a {
    color: #000;
    font-weight: 700;
}

.recaptcha-rules {
    padding: 20px 30px 0;
}

@media (max-width: 767px) {
    .map-contact-form-container::before {
        height: calc(100% - 80px);
    }

    .map-embedded-code iframe {
        min-height: 390px;
    }

}
@media (min-width: 768px) {

    .map-contact-form-container::before {
        left: -7%;
    } 

    .map-embedded-code {
        margin-left: 20px;
    }
    .map-embedded-code iframe {
        position: absolute;
    }

}

@media (min-width: 1025px) {

    .map-contact-form-container .map-content_col {
        padding: 0;
    }

    .map-contact-form-container {
        padding: 40px 20px;
    }

    .map-contact-form {
        margin-right: 30px;
        margin-bottom: 30px;
    }  

    .map-content_col .map-content {
        margin-top: 40px;
    }
}

@media (min-width: 1200px) {
    .map-contact-form-container {
        padding: 40px 0 70px;
    }
}

