/* MAIN SECTION */

.contact-section {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.contact-section {
    width: 100%;
    padding: 40px 0;
    background: #f2f2f2;
    font-family: Arial, sans-serif;
}

/* TWO-COLUMN CONTAINER */
.contact-row {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;        /* Makes it responsive */
}

/* EACH COLUMN */
.contact-col {
    flex: 1;
    min-width: 320px;       /* Ensures good mobile stacking */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* HEADINGS */
.contact-col h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* FORM INPUTS */
.contact-col input,
.contact-col textarea {
    width: 90%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}

/* TEXTAREA HEIGHT */
.contact-col textarea {
    height: 100px;
}

/* BUTTON */
.contact-col button {
    width: 90%;
    background: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-col button:hover {
    background: #0056c7;
}

/* 💥 MOBILE RESPONSIVE STYLING */
@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-col {
        width: 100%;
    }
}

.contact-col input,
.contact-col textarea {
    transition: 0.3s ease;
}

.contact-col input:focus,
.contact-col textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
    transform: scale(1.02);
}

.contact-col button {
    transition: 0.3s ease;
}

.contact-col button:hover {
    transform: scale(1.05);
}


/* EXTRA SMALL SCREENS */
@media (max-width: 480px) {
    .contact-col input,
    .contact-col textarea {
        font-size: 14px;
        padding: 10px;
    }

    .contact-col button {
        padding: 10px;
        font-size: 15px;
    }
}

.left {
    animation: slideLeft 1s ease forwards;
    opacity: 0;
}

.right {
    animation: slideRight 1s ease forwards;
    opacity: 0;
}

@keyframes slideLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
