@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    direction: rtl;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header, footer {
    background-color: #013220; /* Dark Green */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
}

header p {
    margin: 5px 0;
    line-height: 1.6;
}

footer p {
    margin: 5px 0;
}

main {
    padding: 40px 0;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
}

.service-description {
    flex-basis: 50%;
}

.service-description h2 {
    color: #013220;
    font-size: 1.8em;
    margin-top: 0;
}

.service-description p {
    line-height: 1.8;
    font-size: 1.1em;
}

.service-info-card {
    flex-basis: 45%;
    background-color: #fdf5e6; /* Light Beige */
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #f2e8d9;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.icon-container {
    font-size: 2em;
    color: #46b5a7; /* Teal icon color */
    margin-left: 20px;
    width: 60px;
    text-align: center;
}

.text-container h3 {
    margin: 0 0 5px 0;
    color: #d2691e; /* Chocolate/Brown */
    font-size: 1.2em;
}

.text-container p {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.fraud-types {
    padding: 20px;
    text-align: center;
}

.fraud-types .intro-text {
    font-size: 1.2em;
    color: #013220;
    font-weight: bold;
    margin-bottom: 30px;
}

.fraud-types ol {
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: right;
}

.fraud-types li {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.1em;
}


.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.fraud-types {
    flex-basis: 55%;
    order: 2; /* Place list on the right */
    padding: 0;
    text-align: right;
}

.complaint-form-container {
    flex-basis: 40%;
    order: 1; /* Place form on the left */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden; /* To contain the h3 border-radius */
}

.complaint-form-container h3 {
    background-color: #1a73e8; /* Blue background for title */
    color: #fff;
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 1.8em;
}

.complaint-form-container form {
    padding: 25px;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 5px;
}

.complaint-form-container button[type="submit"] {
    background-color: #d2691e;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: block;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.complaint-form-container button[type="submit"]:hover {
    background-color: #024a30;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-details {
        flex-direction: column;
        align-items: center;
    }

    .service-info-card, .service-description {
        flex-basis: 100%;
        width: 100%;
    }

    .service-description {
        text-align: center;
        margin-top: 30px;
    }
    
    .main-content {
        flex-direction: column-reverse; /* Stack form below the list on mobile */
        align-items: center;
    }

    .fraud-types, .complaint-form-container {
        flex-basis: 100%;
        width: 100%;
    }

    .fraud-types {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    header h1 {
        font-size: 1.8em;
    }
}
