/* Centering the Contact Section */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 20px; */
    padding: 20px;
}

/* Contact Container */
.contact-container {
    width: 100%;
    max-width: 850px;
}

/* Contact Box */
.contact-box {
    display: flex;
    background: #B3D7E0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
}

/* Left Side (Info & Image) */
.contact-left {
    width: 50%;
    background: #EADDED;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 15px;
}

.contact-info h2 {
    color: #2661a9;
    font-size: 24px;
    font-weight: bold;
}

.contact-info p {
    font-size: 14px;
    color: #333;
}

.contact-info a {
    color: #2661a9;
    text-decoration: none;
    font-weight: bold;
}

/* Image Animation */
.contact-image {
    animation: floatUpDown 3s infinite ease-in-out;
}

.contact-image img {
    max-width: 100%;
    height: auto;
}

/* Floating Animation */
@keyframes floatUpDown {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Right Side (Form) */
.contact-form {
    width: 50%;
    padding: 40px;
    text-align: left;
}

.contact-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#countryCode {
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    max-width: 400px;
}

.contact-form textarea {
    resize: none;
}

/* Error Message Text */
.error-text {
    font-size: 12px;
    color: red;
    margin-top: 5px;
    display: block;
}

/* Highlight invalid fields with red border */
.input-error {
    border: 2px solid red !important;
    transition: 0.3s;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #2661a9;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: rgb(61, 3, 255);
}



/* Responsive Styles */
@media (max-width: 768px) {
    .contact-box {
        flex-direction: column;
        text-align: center;
    }

    .contact-left {
        width: 100%;
        padding: 30px;
    }

    .contact-form {
        width: 100%;
    }
}

.info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.info-box {
    background-color: #B3D7E0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 30px;
    color: #0056b3;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .info-box {
        width: 100%;
    }
}