.tc-carousel-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0px auto;
    overflow: hidden;
}
.tc-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.tc-card {
    min-width: 100%;
    box-sizing: border-box;
    background: #f4edf3;
    padding: 20px;
    border-radius: 17px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}
.tc-card-content {
    display: block; 
}
.tc-card-image {
    width: 80px;
    height: 110px; 
    border-radius: 20%; 
    margin-bottom: 10px;
    float: left;
    margin-right: 20px;
}
.tc-card-image img {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 10%;
}
.tc-card-text {
    text-align: left;
    overflow: hidden;  
}
.tc-card-text h3 {
    margin: 0 0 5px;
    color: #5d5d5d;
    margin-top: 25px;
    margin-left: 15px;
    font-family: Reem Kufi;
font-weight: 500;
font-style: Medium;
font-size: 16px;
}
.tc-card-text h4 {
    margin: 0 0 10px;
    color: #07113c;
     font-weight: 600;
    margin-top: 10px;
    margin-left: 15px;
    font-family: Reem Kufi;
font-weight: 600;
font-style: SemiBold;
font-size: 20px;
}
.tc-testimonial-text {
    color: #555;
    line-height: 1.6;
    margin: 0;
    clear: both; 
    width: 100%; 
    font-family: Reem Kufi;
	font-weight: 400;
	font-style: Regular;
	font-size: 16px;
	margin-bottom: 0px !important;
}
.tc-quote {
    color: #6a1b9a;
    font-size: 70px;
    font-weight: 700;
    position: absolute;
    top: -25px;
    right: 20px;
    font-family: 'Poppins', sans-serif;
    transform: rotate(180deg);
}
.tc-carousel-heading {
    font-size: 32px;
    font-weight: 800;
    color: #07113c;
    margin-bottom: 25px;
    text-align: left;
}

/* Media Queries for Responsiveness */

/* Tablets and smaller desktops (max-width: 768px) */
@media (max-width: 768px) {
    .tc-carousel-wrapper {
        max-width: 90%; /* Use more screen width */
        margin: 30px auto;
    }

    .tc-card {
        padding: 15px; /* Reduced padding */
    }

    .tc-card-image {
        width: 70px; /* Slightly smaller image */
        height: 90px;
        margin-right: 15px;
    }

    .tc-card-image img {
        width: 70px;
        height: 90px;
    }

    .tc-card-text h3 {
        font-size: 14px; /* Smaller text */
        margin-top: 20px;
        margin-left: 10px;
    }

    .tc-card-text h4 {
        font-size: 12px; /* Smaller text */
        margin-left: 10px;
        margin-top: 8px;
    }

    .tc-testimonial-text {
        font-size: 12px; /* Smaller text */
        line-height: 1.5;
    }

    .tc-quote {
        font-size: 50px; /* Smaller quote */
        right: 15px;
        top: 5px;
    }

    .tc-carousel-heading {
        font-size: 26px; /* Smaller heading */
        margin-bottom: 20px;
    }
}

/* Mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .tc-carousel-wrapper {
        max-width: 95%; /* Maximize width */
        margin: 20px auto;
    }

    .tc-card {
        padding: 10px; /* Minimal padding */
    }

    .tc-card-image {
        width: 60px; /* Smaller image */
        height: 80px;
        float: none; /* Stack image above text */
        margin: 0 auto 10px; /* Center image */
        display: block;
    }

    .tc-card-image img {
        width: 60px;
        height: 80px;
    }

    .tc-card-text {
        text-align: center; /* Center text */
        margin-left: 0; /* Remove left margin */
    }

    .tc-card-text h3 {
        font-size: 12px; /* Smaller text */
        margin-top: 10px;
        margin-left: 0;
    }

    .tc-card-text h4 {
        font-size: 10px; /* Smaller text */
        margin-left: 0;
        margin-top: 5px;
        margin-bottom: 8px;
    }

    .tc-testimonial-text {
        font-size: 10px; /* Smaller text */
        line-height: 1.4;
        text-align: center;
    }

    .tc-quote {
        font-size: 40px; /* Smaller quote */
        right: 10px;
        top: 0;
    }

    .tc-carousel-heading {
        font-size: 20px; /* Smaller heading */
        text-align: center; /* Center heading */
        margin-bottom: 15px;
    }
}