/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Base layout fixes */
body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.brxe-section {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

.brxe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Carousel specific styles */
#trustpilot-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
}

#trustpilot-slider .splide__slide {
    border-radius: 16px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 16px;
    overflow: hidden;
}

/* Testimonial styles */
.brxe-heading {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 20px;
    max-width: 800px;
}

.brxe-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #101828;
    font-weight: 500;
}

.brxe-text-link:hover {
    text-decoration: underline;
}

/* Pagination dots */
.carousel-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #000;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .brxe-container {
        padding: 0 15px;
    }

    .slide {
        padding: 20px;
    }

    .brxe-heading {
        font-size: 20px;
    }
}

#brxe-1d38be {
    z-index: 2;
}

.reg-form {
    background: #fcc500;
    border-radius: 0 0 10px 10px;
    padding: calc(30px + 2rem) 30px 30px;
    margin: -2.5rem auto 0;
    z-index: 1;
    width: 100%;
}


.nowrap-text{
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .nowrap-text{
        white-space: normal;
    }
}