/* Contact page styles */
.contact-wrapper {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-intro h2 {
    font-size: 2rem;
    color: #303f9f;
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.contact-form {
    flex: 1 1 500px;
}

.contact-info {
    flex: 1 1 300px;
    background: #f6f8ff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(87, 99, 236, 0.1);
    color: #303f9f;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #5763ec;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons a {
    color: #5763ec;
    margin-right: 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #303f9f;
}

.contact-content {
    background-color: #ffffff;
    padding: 50px 20px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #303f9f;
}

.contact-content p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

form {
    display: flex;
    flex-direction: column;
}

.input-container {
    position: relative;
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: box-shadow 0.3s;
    font-size: 16px;
    outline: none;
}

.input-lable {
    position: absolute;
    color: #303f9f;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    transform: top 5s, font-size 0.3, color 0.3s;
}

.input-areaLable {
    position: absolute;
    color: #303f9f;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    transform: top 5s, font-size 0.3, color 0.3s;
    padding-bottom: 90px;
}

.input-field:focus+.input-lable,
.input-field:not(:placeholder-shown)+.input-lable {
    top: 0%;
    font-size: 12px;
    color: #5763ec;
    padding: 3px;
    background-color: #eafcff;
}

.input-field:focus+.input-areaLable,
.input-field:not(:placeholder-shown)+.input-areaLable {
    top: 0%;
    font-size: 12px;
    color: #5763ec;
    padding: 3px;
    background-color: #eafcff;
}

form input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;

    background-color: #303f9f;
    color: #fff;
    padding: 12px 26px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;

    border: none;
    outline: none;
    cursor: pointer;
    font: inherit;
}

form input[type="submit"]:hover {
    color: #fff;
    background-color: #5763ec;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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