/*Post Cache version*/


/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 600px !important;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Title Override */
.page-title.standard {
    padding: 0px 0 !important;
    border-bottom: solid 1px #f0f0f0;
}

/* Image Columns */
.image-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
}

.image-columns .column {
    flex: 1 1 30%;
    text-align: center;
    margin: 0px !important;
    box-sizing: border-box;
}

.image-columns img {
    max-width: 30%;
    height: auto;
}

/* Image Row */
.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Info Box */
.info-box {
    padding: 5%;
    background-color: #1e1e1c;
    text-align: center;
    margin: 20px 0;
    color: white;
    border: solid 10px #007811;
}

/* Info Box Title */
.info-title {
    font-size: 50px;
    padding-bottom: 2%;
}

/* Info Box Subtitle */
.info-subtitle {
    font-size: 28px;
    font-weight: 300;
}

/* Brand Carousel */
.brand-carousel {
    margin: 20px 0;
}

.brand-carousel .carousel {
    align-items: center;
    overflow: hidden;
}

.brand-carousel .brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.brand-carousel img {
    max-width: 250px;
    height: auto;
}

/* Split Section */
.split-section {
    margin: 20px 0;
}

.split-section .split-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.split-section .split-text, .split-section .split-image {
    flex: 1 1 48%;
    box-sizing: border-box;
    padding-left: 5%;
}

.split-section .split-text {
    padding-top: 7%;
    padding-right: 5%;
    text-align: left;
    font-size: 21px;
}

.split-section img {
    max-width: 100%;
    height: auto;
}

/* Split Section Flip */
.split-section-flip {
    margin: 20px 0;
}

.split-section-flip .split-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.split-section-flip .split-text, .split-section-flip .split-image {
    flex: 1 1 48%;
    box-sizing: border-box;
}

.split-section-flip .split-text {
    padding-top: 5%;
    padding-right: 5%;
    padding-left: 5%;
    text-align: left;
    font-size: 21px;
}

.split-section-flip img {
    max-width: 100%;
    height: auto;
}

.split-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 5%;
}

/* Form Split Section */
.form-split-section {
    margin: 60px 0;
}

.form-split-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-split-text, .form-split-form {
    flex: 1 1 48%;
    box-sizing: border-box;
    padding-right: 12%;
}

.form-split-text {
    padding-right: 10%;
    padding-left: 10%;
    padding-top: 8%;
    font-size: 21px;
}

.form-split-form {
    padding-left: 10px;
}

.page-title.standard {
    padding: 30px 0;
    border-bottom: solid 1px #f0f0f0;
    display: none !important;
}

/* Facts Block */
.facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
}

.facts .column {
    flex: 1 1 30%;
    text-align: center;
    margin: 0 !important;
    box-sizing: border-box;
    padding-right: 2%;
    padding-left: 2%;
}

.facts img {
    max-width: 30%;
    height: auto;
}

/* Testimonials Carousel */
.testimonials-carousel {
    margin: 20px 0;
}

.testimonials-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial-column {
    flex: 1 1 30%;
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
}

.testimonials-carousel img {
    border-radius: 50%;
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.testimonials-carousel p {
    font-style: italic;
    margin: 10px 0;
}

.testimonials-carousel h4 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* General styling for split text */
.split-text p {
    margin: 0;
    padding: 0;
    font-size: 21px;
}

/* Hide the Read More button by default */
.read-more-btn {
    display: none; /* Hidden by default (affects desktop) */
    background-color: #007811;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    margin-top: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .hero-slider .slide {
        height: 500px !important;
    }

    .image-columns .column {
        flex: 1 1 45%;
    }

    .info-box {
        padding: 5%;
        background-color: #000;
        text-align: center;
        margin: 20px 0;
        color: #fff;
        border: solid 3px #007811;
    }

    .info-title {
        font-size: 31px;
        padding-bottom: 7%;
    }

    .info-subtitle {
        font-size: 20px;
        font-weight: 300;
    }

    .split-section .split-text, .split-section .split-image {
        flex: 1 1 100%;
        margin-top: 5%;
    }

    .split-section .split-text {
            /* padding-top: 9%; */
            padding-right: 5%;
            text-align: left;
            overflow: hidden;
    }

    .split-section-flip .split-text {
        padding-right: 5%;
        text-align: left;
        overflow: hidden;
    }

    .form-split-text, .form-split-form {
        flex: 1 1 100%;
        padding: 0 10%;
    }

    .form-split-text {
        padding-top: 20px;
    }

    .facts .column {
        flex: 1 1 45%;
    }

    .testimonial-column {
        flex: 1 1 45%;
    }

    .split-text p {
        line-height: 1.5em;
        max-height: 6em; /* Show 4 lines initially */
        overflow: hidden;
        position: relative;
    }

    .read-more-btn {
        display: inline-block; /* Show button only on mobile */
    }

    .split-text.expanded p {
        max-height: none; /* Remove height restriction */
        overflow: visible;
    }

    .split-text p::after {
        content: '...';
        position: absolute;
        bottom: 0;
        right: 0;
        background-color: white;
        padding-left: 5px;
        display: block;
        height: 1.5em;
        width: 100%;
        text-align: right;
    }

    .split-text.expanded p::after {
        content: '';
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hero-slider .slide {
        height: 410px !important;
    }

    .slick-dots {
        display: none !important;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 0px !important;
    }

    .image-columns .column {
        display: none !important;
    }

    .image-columns {
        display: none !important;
    }

    .split-section .split-text, .split-section .split-image {
        flex: 1 1 100%;
    }

    .split-section .split-text {
        /* padding-top: 9%; */
        padding-right: 5%;
        text-align: left;
        overflow: hidden;
    }

    .split-section-flip .split-text, .split-section-flip .split-image {
        flex: 1 1 100%;
    }

    .split-section-flip .split-text {
        padding-right: 5%;
        text-align: left;
        overflow: hidden;
    }

    .form-split-text, .form-split-form {
        flex: 1 1 100%;
        padding: 10px 5%;
        margin-top: 20px;
    }

    .form-split-text {
        padding-top: 20px;
    }

    .slide {
        height: auto; /* Adjust height to auto */
        background-size: auto 100%; /* Adjust background size to prevent tiling */
        background-repeat: no-repeat; /* Stop image from repeating */
        display: block; /* Change display to block */
    }

    .facts .column {
        display: none !important;
    }

    .facts {
        display: none !important;
    }

    .testimonial-column {
        flex: 1 1 100%;
    }
}
