body {
    font-family: 'Cairo', sans-serif;
    background-color: #f5f5f5;

    direction: rtl;
}

.rfq-container {
    width: 50%;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    direction: rtl;
}

h1 {
    text-align: center;
    color: #668c0a;
    margin-bottom: 30px;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #34495e;
}
select {
    font-family: 'Cairo', sans-serif;
    width: 90%; /* Match the width of inputs */
    padding: 10px 100px 10px 10px; /* Increase right padding to create space for the arrow */
    margin-top: 8px;
    border: 1px solid #bdc3c7;
    border-radius: 7px;
    font-size: 14px;
    color: #34495e;
    font-weight: 800;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    appearance: none; /* Remove default arrow */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23668c0a"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 15px center; /* Custom arrow with adjusted position */
    background-size: 16px; /* Increase arrow size (default was 12px) */
}
.section1 input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 7px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.section1 input:focus, textarea:focus, select:focus {
    border-color: #668c0a;
    box-shadow: 0 0 5px rgba(102, 140, 10, 0.4);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Upload Box Styles */
.upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.upload-box:hover {
    border-color: #668c0a;
}

.upload-box p {
    color: #bbb;
    font-size: 16px;
    margin: 0;
}

.upload-btn {
    background-color: #fff;
    color: #668c0a;
    border: 2px solid #668c0a;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    font-family: 'Cairo', sans-serif;
    
}

.upload-btn:hover {
    background-color: #668c0a;
    color: white;
}

.file-list {
    margin-top: 10px;
    font-size: 14px;
    color: #34495e;
}

/* Submit Button Styles */
.submit-btn {
    width: 100%;
    background: #668c0a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #78a115;
    transform: scale(1.02);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
    .rfq-container {
        width: 90%;
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    .section1 input, textarea, select {
        padding: 8px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 14px;
    }
}