/* Testimonial Section Styling */
#testimonials {
    padding: 60px 0; /* Increase padding for top and bottom */
    background-color: #24292f; /* Dark background color */
    color: #f8f9fa; /* Light text color for contrast */
    font-family: 'Roboto';
    padding-top: 80px !important;
}

#testimonials .testimonial-title {
    margin-bottom: 30px; /* Increase margin below the title */
}

#testimonials h2 {
    font-size: 36px; /* Increase font size for the title */
    font-weight: bold; /* Make the title bold */
    margin-bottom: 15px; /* Increase margin below the title */
}

#testimonials p {
    font-size: 18px; /* Increase font size */
    line-height: 1.6; /* Increase line height for better readability */
    margin: 0; /* Remove default margin */
}

#testimonials .testimonial-container {
    overflow: hidden; /* Hide overflow for scrolling effect */
    position: relative; /* Set position relative for the animation */
    width: 100%; /* Full width for the container */
}

#testimonials .testimonial-content {
    display: flex; /* Display testimonials in a row */
    animation: scroll-left 20s linear infinite; /* Scroll animation */
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

#testimonials .testimonial-content:hover {
    animation-play-state: paused; /* Pause animation on hover */
}

#testimonials .testimonial-item {
    background-color: #3f4348; /* Dark gray background for each testimonial */
    border: 1px solid #444; /* Slightly darker border */
    border-radius: 8px; /* Rounded corners */
    padding: 30px; /* Increase padding inside the testimonial */
    max-width: 350px; /* Increase max width for each testimonial */
    margin: 15px; /* Increase margin around each testimonial */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Increase shadow effect */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
    text-align: center; /* Center-align text */
}

#testimonials .testimonial-item:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

#testimonials .testimonial-quote {
    font-style: italic; /* Italic text for quotes */
    margin-bottom: 15px; /* Increase margin below the quote */
}

#testimonials .testimonial-author {
    font-weight: bold; /* Bold text for author name */
    margin-bottom: 15px; /* Increase margin below the author name */
}

#testimonials .testimonial-image {
    width: 80px; /* Increase width for the image */
    height: 80px; /* Increase height for the image */
    border-radius: 50%; /* Make the image round */
    object-fit: cover; /* Ensure the image maintains its aspect ratio */
    margin-bottom: 20px; /* Increase margin below the image */
}

/* Star Rating Styling */
.testimonial-stars {
    display: flex; /* Display stars in a row */
    justify-content: center; /* Center-align stars */
    font-size: 24px; /* Larger font size for stars */
    color: #ffcc00; /* Yellow color for stars */
    margin-top: 10px; /* Margin above the stars */
}

/* Scrolling Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.testimonial-item {
    background-color: #3f4348;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    max-width: 350px;
    margin: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #f8f9fa;
}
.testimonial-quote {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-author {
    font-weight: bold;
    margin-bottom: 15px;
}
.testimonial-stars {
    font-size: 24px;
    color: #ffcc00;
}