/* --- About Us Section --- */
.about-us {
    padding: 50px 20px;
    background-color: #b6d0ef;
    color: #333;
    text-align: left;
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-us h1.main-title {
    font-size: 50px;
    font-weight: bold;
    color: #090b3c;
    margin-bottom: 20px;
}

.about-us .intro {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.about-us .description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* --- Why Technical Center Section --- */
.why-technical-center {
    padding: 50px 20px;
    background-color: #ccdded;
    color: #333;
    text-align: left;
}

.why-technical-center .container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-technical-center .why-title {
    font-size: 40px;
    font-weight: bold;
    color: #090b3c;
    margin-bottom: 20px;
}

.why-technical-center .why-description {
    font-size: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* --- Address Section --- */
.address-section {
    padding: 20px;
    background-color: #b4c7ef;
    border-radius: 5px;
}

.address-info {
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.address-info p {
    margin-bottom: 10px;
}

/* --- Reviews Section --- */
.reviews-section {
    padding: 50px 20px;
    background-color: #dfe9f4;
    text-align: center;
}

.reviews-section h1 {
    font-size: 35px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.star {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

.star:hover,
.star.selected {
    color: #ffd700;
    transform: scale(1.1);
}

.review-form {
    background: #53a9dd;
    border: 2px solid #ffd700;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

/* h2 inside review-form is specific enough to keep */
.review-form h2 {
    font-size: 24px;
    font-weight: bold;
    color: #0a2472;
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.review-form textarea {
    width: 90%;
    padding: 8px;
    font-size: 14px;
    border: 2px solid #ffd700;
    border-radius: 5px;
    min-height: 60px;
    resize: vertical;
    display: block;
    margin: 10px auto;
}

.review-form textarea:focus {
    border-color: #ffcc00;
    outline: none;
}

.review-form button {
    background-color: #003366;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    text-transform: uppercase;
}

.reviews-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.review {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.review-rating {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 12px;
}

.review-rating .star {
    color: #ffd700; /* Overrides the default grey color for stars in a submitted review */
}

.review-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.review-author {
    font-size: 16px;
    font-style: italic;
    color: #666;
    text-align:right;
}
/* RTL Overrides for Arabic Language */

/* Flip main about section text alignment */
:dir(rtl) .about-us,
:dir(rtl) .why-technical-center,
:dir(rtl) .address-section,
:dir(rtl) .reviews-list {
    text-align: right;
}

/* Flip title and description alignments */
:dir(rtl) .about-us .description,
:dir(rtl) .why-technical-center .why-description,
:dir(rtl) .address-info {
    text-align: right;
}

/* Flip review text */
:dir(rtl) .review-text {
    text-align: right;
}

/* Flip author alignment */
:dir(rtl) .review-author {
    text-align: left;
}
