﻿/* quotation background */
.expert-section {
    position: relative;
    background: var(--primary-bg);
    padding: 60px 85px;
    color: #ffffff;
    overflow: hidden;
}
    .expert-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100%);
        pointer-events: none;
        z-index: 1;
    }
    .expert-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100%);
        pointer-events: none;
    }

.bg-quotation {
    position: relative;
    background-image: url(/img/quotationmark_wht400x330.webp);
    background-repeat: no-repeat;
    background-position: left 30px top 114px;
    background-size: 400px 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    z-index: 1;

}


/* Container for the right image */
.col-expert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    height: 375px;
}

    /* Image inside right column */
.col-expertimg {
    width: 565px;
    height: 310px;
    object-fit: cover;
}

/* DOT INDICATORS */
.carousel-indicators.custom-dots {
    bottom: -40px;
}

    .carousel-indicators.custom-dots li {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: transparent;
        border: 1px solid white;
        margin: 0 6px;
    }

    .carousel-indicators.custom-dots .active {
        background-color: #fff;
    }

.carousel-indicators {
    list-style: none !important;
    padding-left: 0 !important;
    
}


.author-text {
    display: block;
    text-align: right; 
    margin-top: 10px;
    font-size: 28px;
    font-style: italic;
    color: #fff;
}
.text-box {
    width: 600px;
    height: 320px;
    display: flex;
    flex-direction: column; /* stack text if needed */
    justify-content: center; /* center vertically */
    padding: 20px;
    box-sizing: border-box;
}

    .text-box p {
        font-family: Arial, sans-serif; /* Arial Regular */
        font-size: 1.5rem;
        line-height: 45px;
        text-align: left; /* left-aligned */
        margin: 0; /* remove default p margins */
        z-index:1;
    }