@keyframes pageLoadAnimation {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Common Styles */
input, textarea {
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    font-family: inherit;
    font-size: 14px;
    color: #888;
    opacity: 1;
}

/* Contact Page Container */
.contact-container {
    width: 80%;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pageLoadAnimation 1s ease-out;
}

/* Contact Information Section */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.info-box {
    width: 48%;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.info-box p {
    font-size: 14px;
    color: #666;
}

/* Contact Form Section */
.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.contactus-form {
    background: #fafafa;
    padding: 30px;
    border-radius: 12px;
    width: 60%;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.get-in-touch {
    width: 35%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.get-in-touch h3 {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}

.get-in-touch p {
    font-size: 14px;
    color: #666;
}

/* Form Fields */
.form-group,
.contact-form-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* Name Fields (First & Last Name) */
.name-form-group {
    flex-direction: row;
    justify-content: space-between;
}

.first-name,
.last-name {
    text-align: left;
    flex: 1;
}

/* Input Fields */
.input-field {
    font-size: 14px;
}

/* Textarea */
.textarea-field {
    height: 100px;
    resize: none;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: center;
}

/* Submit Button */
.submit-btn {
    margin-top: 20px;
    padding: 14px 22px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

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

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 100%;
    }

    .contact-form-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contactus-form {
        width: 100%;
    }

    .name-form-group {
        flex-direction: column;
    }

    .input-field, .textarea-field {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.85);
    }
}

/* Responsive Design: Mobile */
@media (max-width: 480px) {
    .contact-container {
        width: 95%;
        padding: 15px;
    }

    .input-field, .textarea-field {
        font-size: 16px;
        padding: 12px;
    }

    .contactus-form {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: center;
    }
}
