.primary-btn {
    background: #3D69A0;
    color: white;
}

.primary-btn:hover {
    background-color: #619bd6;
    color: #ffff;
}

.top-nav-line {
    line-height: 30px;
}

.banner-heading {
    font-size: 3rem;
    font-weight: 400;
    margin-top: 10px;
    font-family: Libre Baskerville, serif;
    color: #3d69a0;
}

.banner-paragraph {
    font-size: 1rem;
    -webkit-hyphens: inherit;
    hyphens: inherit;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
    color: #3d69a0;
}

.banner-background {
    background-color: #f7f7f5;
}

.responsive-banner {
    background-image: url('/assets/image/banner/banner1-img.jpg');
    background-size: cover;
    background-position: center;
    height: 580px;
    /* default height for larger screens */
}

@media (max-width: 768px) {
    .responsive-banner {
        height: 300px;
        /* shorter height for small screens */
    }
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    color: lightgray;
    cursor: pointer;
}

.star-rating input[type="radio"]:checked~label {
    color: lightgray;
}

.star-rating input[id="5-stars"]:checked~label[for="5-stars"],
.star-rating input[id="5-stars"]:checked~label[for="4-stars"],
.star-rating input[id="5-stars"]:checked~label[for="3-stars"],
.star-rating input[id="5-stars"]:checked~label[for="2-stars"],
.star-rating input[id="5-stars"]:checked~label[for="1-star"] {
    color: #4CAF50;
    /* Dark Green */
}

.star-rating input[id="4-stars"]:checked~label[for="4-stars"],
.star-rating input[id="4-stars"]:checked~label[for="3-stars"],
.star-rating input[id="4-stars"]:checked~label[for="2-stars"],
.star-rating input[id="4-stars"]:checked~label[for="1-star"] {
    color: #2196F3;
    /* Dark Blue */
}

.star-rating input[id="3-stars"]:checked~label[for="3-stars"],
.star-rating input[id="3-stars"]:checked~label[for="2-stars"],
.star-rating input[id="3-stars"]:checked~label[for="1-star"] {
    color: #9C27B0;
    /* Dark Purple */
}

.star-rating input[id="2-stars"]:checked~label[for="2-stars"],
.star-rating input[id="2-stars"]:checked~label[for="1-star"] {
    color: #FF9800;
    /* Dark Orange */
}

.star-rating input[id="1-star"]:checked~label[for="1-star"] {
    color: #F44336;
    /* Dark Red */
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: lightgray;
}

.star-rating input[id="5-stars"]:hover~label[for="5-stars"],
.star-rating input[id="5-stars"]:hover~label[for="4-stars"],
.star-rating input[id="5-stars"]:hover~label[for="3-stars"],
.star-rating input[id="5-stars"]:hover~label[for="2-stars"],
.star-rating input[id="5-stars"]:hover~label[for="1-star"] {
    color: #81C784;
    /* Light Green */
}

.star-rating input[id="4-stars"]:hover~label[for="4-stars"],
.star-rating input[id="4-stars"]:hover~label[for="3-stars"],
.star-rating input[id="4-stars"]:hover~label[for="2-stars"],
.star-rating input[id="4-stars"]:hover~label[for="1-star"] {
    color: #64B5F6;
    /* Light Blue */
}

.star-rating input[id="3-stars"]:hover~label[for="3-stars"],
.star-rating input[id="3-stars"]:hover~label[for="2-stars"],
.star-rating input[id="3-stars"]:hover~label[for="1-star"] {
    color: #BA68C8;
    /* Light Purple */
}

.star-rating input[id="2-stars"]:hover~label[for="2-stars"],
.star-rating input[id="2-stars"]:hover~label[for="1-star"] {
    color: #FFB74D;
    /* Light Orange */
}

.star-rating input[id="1-star"]:hover~label[for="1-star"] {
    color: #E57373;
    /* Light Red */
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: lightgray;
}

.star-rating label[for="5-stars"]:hover,
.star-rating label[for="4-stars"]:hover,
.star-rating label[for="3-stars"]:hover,
.star-rating label[for="2-stars"]:hover,
.star-rating label[for="1-star"]:hover,
.star-rating label[for="5-stars"]:hover~label,
.star-rating label[for="4-stars"]:hover~label,
.star-rating label[for="3-stars"]:hover~label,
.star-rating label[for="2-stars"]:hover~label,
.star-rating label[for="1-star"]:hover~label {
    color: #FFD700;
    /* Gold */
}

.ratings-container {
    max-width: 600px;
    /* Increased max-width for better layout */
    margin: 20px auto;
    text-align: center;
}

.average-rating {
    font-size: 2em;
    display: flex;
    align-items: center;

}

.average-rating .rating-value {
    margin-right: 5px;
}

.ratings-count {
    margin: 10px 0;
    font-size: 0.9em;
    color: #555;
}
.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    /* Increased margin for better spacing */
}

.rating-bar span {
    width: 35px;
    text-align: left;
    font-size: 1em;
    /* Adjust font size as needed */
}

.rating-bar .bar {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin: 0 10px;
    position: relative;
}

.rating-bar .fill {
    height: 100%;
    background-color: #4caf50;
    /* Default green color */
    border-radius: 5px;
    transition: width 0.3s ease;
    /* Smooth transition for width changes */
}

.rating-bar:nth-child(1) .fill {
    background-color: #4caf50;
    /* Green for 5 stars */
}

.rating-bar:nth-child(2) .fill {
    background-color: #4caf50;
    /* Light green for 4 stars */
}

.rating-bar:nth-child(3) .fill {
    background-color: #4caf50;
    /* Lime for 3 stars */
}

.rating-bar:nth-child(4) .fill {
    background-color: #ffeb3b;
    /* Yellow for 2 stars */
}

.rating-bar:nth-child(5) .fill {
    background-color: #f44336;
    /* Red for 1 star */
}

.rating-bar .count {
    width: 60px;
    /* Increased width for better alignment */
    text-align: right;
    font-size: 0.9em;
    /* Adjust font size as needed */
}


.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    max-width: 100%;
}

.uniform-responsive-image {
    width: 100%;
    max-width: 120;
    height: 80px;
    object-fit: contain;
    border: 2px solid #ccc;
    display: block;
    box-sizing: border-box;
    background-color: #4e4e4e;
}

@media (max-width: 768px) {
    .uniform-responsive-image {
        max-width: 100%;
        height: 60px;
    }
}

.primary-text{
    color:#3D69A0
}