.section1 {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}
.container {
    width: 70%;
    margin: auto;
    background: transparent;
    padding: 60px;
    border-radius: 12px;
}

.section {
    background: #fff;
    padding: 50px;
    margin-bottom: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.section:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section h2 {
    margin-bottom: 15px;
    color: #668c0a;
    font-size: 1.5em;
    padding-bottom: 0px;
}
#form-p{
    margin-bottom: 15px;
    border-bottom: 2px solid #d0d0d0;
    padding-bottom: 20px;
    color: #8c8c8c;
    font-weight: 400;
    margin-top: -1.5%;
}

#form-p span{
    color: #668c0a;
    background-color: #e7f1d1;
    padding: 5px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 5px;
    padding-left: 12px;
    padding-right: 12px;
    margin-right: 0.5%;
}
.section1  label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: #34495e;
}

.section1 input, .section1 select, .section1 textarea {
    width: 90%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #bdc3c7;
    border-radius: 7px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cairo', sans-serif;
    box-sizing: border-box;
}

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

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

.submit-btn {
    width: 100%;
    background: #27ae60;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    transform: scale(1.02);
}

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

.link-group {
    display: flex;
    gap: 20px; /* Space between links */
    margin-top: 40px;
}

.link-group a {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.link-group a:hover {
    transform: scale(1.02);
    background-color: #668c0a;
    color: white;
}

.link-group a:active {
    transform: scale(0.98);
}

.link-group a.primary {
    background: none;
    color: white;
    border: 1px solid #668c0a;
    color: #668c0a;
    font-weight: 800;
}

.link-group a.warning {
    background: #668c0a;
    color: white;
}









/* The modal background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* Black with opacity */
    padding-top: 60px;
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Could be adjusted */
    max-width: 400px;
}

/* The close button */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styling for inputs and button */
.modal input {
    width: 100%;
    padding: 12px;
    margin: 15px 0; /* Increased margin for more space */
    border: 1px solid #ccc;
    border-radius: 4px; /* Rounded corners for better aesthetics */
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px; /* Increased padding for more space */
    border: none;
    cursor: pointer;
    border-radius: 4px; /* Rounded corners for consistency */
}

.submit-btn:hover {
    background-color: #45a049;
}













/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        margin-right: 2.5%;
        padding: 0px;
        padding-bottom: 50px;
    }

    .section {
        padding: 15px;
        padding-bottom: 50px;
    }

    .section h2 {
        font-size: 1.3em;
    }

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

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

    .link-group {
        flex-direction: column; /* Stack links vertically on small screens */
    }
}