﻿.review-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Align center horizontally */
    justify-content: center; /* Align center vertically (if needed) */
    padding: 20px;
   
    border-radius: 10px;
    max-width: 100%; /* Ensure it doesn't overflow on smaller screens */
    box-sizing: border-box;
    margin: 0 auto;
}

.center-text {
    color: white;
    text-align: center; /* Center the text */
    font-size: 25px;
    line-height:2.0; /* Adjust line spacing for readability */
    max-width: 90%; /* Prevent text from stretching too wide */
    margin: 0 auto; /* Center the paragraph horizontally */
}

/* Responsive settings */
@media (min-width: 768px) {
    .center-text {
        max-width: 70%; /* Increase width for larger screens */
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .center-text {
        max-width: 60%; /* Further increase width on larger screens */
    }
}

.reviewcontainer {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: white; /* Background color for the container */
    border-radius: 8px; /* Rounded corners for the container */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.column {
    flex: 1;
    padding: 20px;
}

.image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-column img {
        max-width: 100%;
        height: 100%;
        border-radius: 8px; /* Rounded corners for the image */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow for the image */
    }

.form-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    padding: 20px;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333; /* Darker text color for better readability */
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd; /* Light gray border */
    border-radius: 4px; /* Rounded corners for inputs */
}

textarea {
    resize: none; /* Prevent resizing */
    height: 80px; /* Fixed height for textarea */
}

button {
    margin-top: 10px;
    padding: 10px;
    color: white;
    background: #007bff; /* Bootstrap blue */
    border: none;
    border-radius: 4px; /* Rounded corners for button */
    cursor: pointer;
    transition: background 0.3s; /* Smooth transition for hover effect */
}

    button:hover {
        background: #0056b3; /* Darker blue on hover */
    }

.rating-wrapper {
    margin: 10px 0;
}

.rating input {
    display: none; /* Hide radio buttons */
}

.rating label {
    font-size: 20px;
    color: #ccc; /* Light gray stars */
    cursor: pointer;
}

.rating input:checked ~ label {
    color: #f39c12; /* Yellow stars when selected */
}

@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack columns vertically on smaller screens */
    }

    .form-column {
        margin-top: 20px; /* Add space between image and form */
    }
}