@media only screen and (max-width: 768px) {
    /* Stack sections vertically */
    .cpr-section {
        flex-direction: column;
        padding: 1em; /* Convert to em for relative spacing */
    }

    .cpr-courses-inner {
        margin: 0 10%;
        font-size: 1rem; /* Use rem for consistent font scaling */
    }

    .cpr-top-inner {
        margin: 0 5%;
        gap: 3rem; /* Use rem for consistent gap */
        flex-direction: column;
    }

    .left-block,
    .right-block {
        flex: 1;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .right-block {
        padding: 1rem;
    }

    /* Adjust feature bar */
    .feature-bar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .feature-item {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ecf4ff;
        padding: 0.5rem 0;
        text-align: center;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    /* Adjust infographic steps */
    .infographic-steps {
        flex-direction: column;
        gap: 1rem;
    }

    /* Testimonial slider adjustments */
    .testimonial-slider {
        margin: 0 5%;
    }

    .testimonial {
        margin: 2rem 1rem;
    }

    /* Adjust headline */
    .subheadline-slide {
        font-size: 2.25rem;
        line-height: 1.2;
        padding: 1.25rem 0;
    }

    /* Benefit cards adjustments */
    .benefit-container {
        flex-direction: column;
        align-items: center;
    }

    .benefit-card {
        width: 90%;
        margin: 2rem 0;
    }

    /* CTA section adjustments */
    .cta-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-background {
        display: none;
    }

    .content-cta {
        width: 90%;
        padding: 1.25rem;
    }

    .testimonial-slider::before, .testimonial-slider::after {
        width: 20%;
    }
}

@media only screen and (max-width: 480px) {
    .cpr-courses-inner {
        margin: 0 5%;
        font-size: 0.875rem; /* Use rem for consistent font scaling */
    }

    .cpr-top-inner {
        margin: 0 2.5%;
        gap: 2rem; /* Use rem for consistent gap */
    }

    .left-block,
    .right-block {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .right-block {
        padding: 0.75rem;
    }

    .feature-bar {
        padding: 0.75rem;
    }

    .infographic-steps {
        gap: 0.75rem;
    }

    .subheadline-slide {
        font-size: 1.75rem;
        padding: 0.75rem 0;
    }

    .testimonial {
        margin: 1rem 0.5rem;
    }

    .benefit-card {
        width: 95%;
        padding: 1rem 0.5rem;
    }

    .content-cta {
        width: 95%;
        padding: 1rem;
    }

    .testimonial-slider::before, .testimonial-slider::after {
        width: 15%;
    }
}


/* General styles for the slider container */
.testimonial-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Allow elements to display outside the slider's box */
    position: relative; /* Adjust relative positioning */
    /*    z-index: 1; /* Ensure it's layered correctly */
    /*    margin-top: 5px; /* Extra top margin to accommodate the avatar's overflow */
    /*    padding: 20px 0; /* Padding to prevent clipping on the top and bottom */
    transition: all 0.3s ease;
    margin: 0 50px; /* Increase margins of the slider itself */
    margin-top: -25px;
    /*    transform: scale(0.8); */
}

/* Styling individual testimonial cards */
.testimonial {
    font-family: Poppins, Arial, sans-serif;
    background: white;
    /*    box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
    border-radius: 5px;
    padding: 25px;
    padding-top: 60px; /* Increased padding to accommodate the avatar */
    position: relative;
    margin: 85px 35px 50px 35px;
    /*    width: 280px; /* Adjust width as necessary */
    transition: all 0.3s ease;
    overflow: visible; /* Prevent the avatar from being clipped */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Darker and narrower shadow for non-center cards */
}

/* Specific styling for the center card using Slick's .slick-center class */
.testimonial.slick-center {
    transform: scale(1.15); /* Enlarge center card */
    opacity: 1; /* Fully opaque */
    z-index: 2; /* Ensures it's above other cards */
    /*    box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* Stronger shadow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Lighter and wider shadow */
}

/*    .slick-prev:before, .slick-next:before {
/*        content: ""; /* Ensure the pseudoelement has content so it displays */
/*        display: inline-block; /* Use inline-block for proper rendering */
/*        width: 46px; /* Adjust width as needed based on your image's dimensions */
/*        height: 46px; /* Adjust height as needed based on your image's dimensions */
/*        background-size: contain; /* Ensure the image fits within the dimensions */
/*        background-repeat: no-repeat; /* Do not repeat the image */
/*        opacity: .75; /* Retain the original opacity */
/*    }

    .slick-prev:before {
        background-image: url('/public/images/back-icon.png');
    }

    .slick-next:before {
        background-image: url('/public/images/next-icon.png'); 
    }

    .slick-slide{
        padding-left: 20px;
        padding-right: 20px;
    }
    .slick-list{
        heigth: auto!important;
    }

    .slick-prev{
        left: -50px;
    }
    slick-slide {
        height:250px;
    }
	
*/


/* Avatar styling */
.testimonial img {
    width: 60px; /* Larger avatar */
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid lightblue;
    position: absolute;
    top: -30px; /* Position the avatar half outside the top of the card */
    left: calc(50% - 30px); /* Center the avatar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Styling for the author name and location text */
.author-name {
    text-align: center;
    color: #333;
    font-size: 16px;
    font-weight: bold; /* Optional: make the text bold */
    display: block; /* Ensure these are on their own line */
    margin-top: -10px; /* Adjust spacing as needed */
}

.location {
    text-align: center;
    color: #555;
    font-size: 12px;
    font-weight: normal; /* Optional: make the text bold */
    display: block; /* Ensure these are on their own line */
    margin-top: 0px; /* Adjust spacing as needed */
    font-style: italic;
}

/* Styling for the quote text */
.quote {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-top: 10px; /* Spacing between the avatar and the text */
    margin-bottom: 25px;
}

/* Adding stylized quote marks */
.quote:before, .quote:after {
    content: '"';
    font-size: 65px;
    font-style: italic;
    color: lightblue;
    position: absolute;
}

.quote:before {
    top: 10px;
    left: 15px;
}

.quote:after {
    bottom: -40px;
    right: 40px;
}

.bg-container {
    width: 100%;
    margin: 0;
    position: relative;
    /*    padding: 50px 125px; /* Add some padding if needed */
    min-height: 400px;
    /*    border-radius: 10px;*/
    /*    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);*/
    display: flex;
    align-items: center;
    overflow: hidden; /* Ensure pseudo-elements are contained */
}

.bg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/images/iLoveMyJob5.webp'); /* Background image */
    background-size: cover;
    background-position: 0 90%; /* Adjustable background position */
    background-repeat: no-repeat; /* Prevents the background image from repeating */
    /*    filter: saturate(10%); /* Desaturate the background image */
    z-index: 0;
}

.bg-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.3) 80%);
    z-index: 1;
    border-radius: inherit; /* Inherit border-radius from parent */
}

.superiorProgram {
    position: relative;
    z-index: 2; /* Ensure content is above pseudo-elements */
    width: 100%;
    color: #333; /* Ensure text color is white */
}

.subheadline-slide, .bg-container div {
    position: relative;
    z-index: 2;
}

.testimonial-slider::before, .testimonial-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%; /* Adjust the width as needed */
    pointer-events: none; /* Allows interactions with elements behind the overlay */
    z-index: 1; /* Ensure overlays appear on top of content */
}

.testimonial-slider::before {
    left: -5px;
    background: linear-gradient(to right, #f8fbff, rgba(250, 250, 250, 0));
}

.testimonial-slider::after {
    right: -5px;
    background: linear-gradient(to left, #f8fbff, rgba(250, 250, 250, 0));
}

.item::before {
    content: "";
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* Needed for solid icons */
    font-size: 600%; /* Adjust size */
    bottom: -20px; /* Lower the icon */
    right: -20px; /* Move it further to the right */
    color: rgba(0, 0, 0, 0.1); /* Adjust opacity as needed */
    z-index: 0;
    pointer-events: none; /* Ensure the background icon does not interfere with clicks */
}

.item-cloud-moon::before {
    content: "\f6c3"; /* Unicode for the FontAwesome cloud-moon icon */
}

.item-sync-alt::before {
    content: "\f2f1"; /* Unicode for the FontAwesome sync-alt icon */
}

.item-list-check::before {
    content: "\f0ae"; /* Unicode for the FontAwesome list-check icon */
}

.item-magnifying-glass-dollar::before {
    content: "\f688"; /* Unicode for the FontAwesome magnifying-glass-dollar icon */
}

.item-user-doctor::before {
    content: "\f0f0"; /* Unicode for the FontAwesome user-doctor icon */
}

.item-globe-americas::before {
    content: "\f57d"; /* Unicode for the FontAwesome globe-americas icon */
}

.item-award::before {
    content: "\f559"; /* Unicode for the FontAwesome award icon */
}

.item-headset::before {
    content: "\f590"; /* Unicode for the FontAwesome headset icon */
}

.icon-title, .section1-text-wrapper {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 60%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-left: 100px;
    margin-top: 75px;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, .1);
}

.review-container{
    border: 1px solid transparent;
    width: 100%;
    height: 500px;
    padding: 0px;
    margin: 0 0 100px 0;
    background-position: center -25px; background-image: url('/public/images/laptop-on-fire-escape.webp');
    background-size: 105%; background-repeat: no-repeat; font-size: 14px;
}

.review-subheadline{
    margin: 0 2em;
    font-size: 32px;
    padding: 50px 0 25px 0;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 1.15px;
    line-height: 42px;
    text-decoration: none;
    color: #333;
    /* margin-bottom: 0px; */
    text-align: center;
    /* background-color: #fafafa; */
}
.star-rating {
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 3em; /* Adjust the size as needed */
    color: #ddd;
    cursor: pointer;
    line-height: 1.15em;
}

.star-rating input:checked ~ label,
.star-rating input:checked ~ label ~ label {
    color: gold;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: gold;
    /*            font-size: 3.5em; /* Increase size when hovered */
}

.rating-description {
    display: block;
    text-align: center;
    margin-bottom: -5px; /* Adjust the space below the description */
    font-size: 1.25em;
    color: #555;
    min-height: 1.5em; /* Adjust height for blank space */
    font-family: 'Poppins', Arial, sans-serif;
}

.submit-button {
    height: 50px; /* Adjust the height as needed */
    margin-top: 20px; /* Adjust the whitespace above the button */
    width: 100%; /* Ensure full width */
}
/* Override styles for the standalone form page */
.testimonial-slider::before,
.testimonial-slider::after,
.testimonial-slider-reversed::before,
.testimonial-slider-reversed::after {
    content: none; /* Remove the content to eliminate the fade effect */
}

.testimonial-sliders-container {
    max-width: 100%;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cpr-courses-inner{
    width: auto;
}
