/* Background Section */
.contact-section {
    /* min-height: 100vh; */
    background: linear-gradient(180deg, #007b3b, #004d23);
    background-image: url("../IMAGES/7-pattern-bg.png");
    /* replace with your image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 8px;
    color: #fff;
}

/* Main Container */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    width: 96%;
    background: linear-gradient(to bottom, #000 50%, #0B9444 100%);
    background-size: 100% 200%;
    /* double height for movement space */
    background-position: center top;
    padding: 10px 60px;
    padding-top: 8%;
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.4);
    margin-top: 10px;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;

    /*  Smooth flowing up-down green gradient */
    animation: greenFlow 6s ease-in-out infinite;
    padding-top: 10%;

}

/* Flowing background animation */
@keyframes greenFlow {
    0% {
        background-position: center top;
    }

    50% {
        background-position: center bottom;
    }

    100% {
        background-position: center top;
    }
}

/* Left Section */
.contact-left {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.connect-text {
    color: #1cc267;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-heading {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
}

.contact-info i {
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

/* Right Section */
.contact-right {
    flex: 1;
    min-width: 350px;
}

.contact-right h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    outline: none;
    color: #000;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.3);
}

textarea {
    resize: none;
}

select.full-width,
textarea.full-width {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

select.full-width:focus,
textarea.full-width:focus {
    border-color: #0B9444;
    outline: none;
}

.textarea-wrapper {
    margin-top: 12px;
    position: relative;
}


.send-btn {
    background: #1cc267;
    border: none;
    color: #fff;
    padding: 10px 40px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    float: right;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: #fff;
    color: #1cc267;
}

.bottom-text {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 15px;
        margin-top: 5px;
        border-top-left-radius: 70px;
        border-bottom-right-radius: 70px;
        /* padding-top: 105px; */
        margin-top: 15%;
    }

    .contact-heading {
        font-size: 26px;
    }

    .contact-left {
        margin: 0 0 40px 0;
    }

    .form-row {
        /* flex-direction: column; */
    }

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

    .bottom-text {
        margin-top: 0;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .send-btn {
        align-self: center;
    }
}

/* Icon styles  */
.contact-info {
    font-family: Arial, sans-serif;
    color: #fff;
}

.contact-info i {
    margin-right: 8px;

}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin-right: 10px;
    font-size: 1.5em;
    color: #555;
    transition: color 0.3s;
    font-size: 20px;
}

.social-icons a:hover {
    color: #0077b5;
    /* LinkedIn blue, or pick your theme color */
}