.contact{
    margin-top:7rem;
    margin-bottom: 7rem;
    text-align: center;
}
.contact h3{
    font-size: 24px;
    font-weight: 600;
}
.contact a, .contact p{
    color: black;
    font-size: 20px;
}
.contact a:hover{
    text-decoration: none;
}
.lowerDiv{
    margin-top: 3rem;
}
.contact-section {
    max-width: 450px;
    margin: 50px auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    border: 1px solid #0000002b;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

    form label {
        margin-bottom: 6px;
        font-weight: 500;
        color: #444;
    }

    form input {
        padding: 10px;
        margin-bottom: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 15px;
        outline: none;
        transition: 0.3s;
    }

        form input:focus {
            border-color: #007bff;
            box-shadow: 0 0 4px rgba(0,123,255,0.4);
        }

    form button {
        padding: 10px;
        border: none;
        border-radius: 6px;
        background-color: #071C60;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    form textarea {
        padding: 10px;
        margin-bottom: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 15px;
        font-family: 'Poppins', sans-serif;
        line-height: 1.5;
        outline: none;
        resize: vertical; /* allow resizing only vertically */
        min-height: 100px; /* ensures decent space */
        transition: 0.3s;
        box-sizing: border-box;
        vertical-align: top; /* ensures text starts from top */
    }

        form textarea:focus {
            border-color: #007bff;
            box-shadow: 0 0 4px rgba(0,123,255,0.4);
        }
.message {
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    display: none;
    padding: 10px;
    border-radius: 6px;
}

    .message.success {
        color: #155724;
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        display: block;
    }

    .message.error {
        color: #721c24;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
        display: block;
    }
.loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid #0056b3;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: block;
    margin-left: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@media (max-width: 768px){
    .contact{
        margin-top:4rem;
        margin-bottom: 4rem;
        padding-left:30px;
        padding-right: 30px;
    }
    .contact h3{
        margin-top: 1.4rem;
        margin-bottom: 0.4rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 1500px) {
    .bannerSection.profile h2 {
        font-size: 2.4rem;
    }
    .contact h3 {
        font-size: 20px;
    }
    .contact a, .contact p {
        font-size: 18px;
    }}