/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header{
    background-color: #14342c;
}

body {
    background: #f4f7f8;
}

/* Contact Section Styling */
.contact-section {
    position: relative;
    background: url("https://i.ibb.co/JWfLK1PW/balajipic.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.contact-content {
    position: relative;
    z-index: 2;
}

/* Contact Form Container */
.contact-form-container {
    display: flex;
    background: #14342c;
    border-radius: 10px;
    overflow: hidden;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

/* Left Side */
.contact-left {
    background: #f5a38c;
    padding: 40px;
    text-align: center;
    width: 40%;
}

.contact-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.appointment-text {
    font-size: 20px;
    color: white;
    margin-top: 20px;
}

.highlight {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

/* Right Side (Form) */
.contact-form {
    background: #14342c;
    padding: 40px;
    width: 60%;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e89b85;
    border-radius: 5px;
    background: #14342c; /* Updated Background Color */
    color: white; /* Updated Text Color */
    font-size: 14px;
}

input::placeholder,
textarea::placeholder {
    color: white; /* Updated Placeholder Text Color */
}

textarea {
    height: 100px;
    resize: none;
}

/* Button */
.send-btn {
    background: none;
    border: 2px solid #e89b85;
    padding: 12px 20px;
    color: #e89b85;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    width: 100%;
}

.send-btn:hover {
    background: #e89b85;
    color: #14342c;
}


 
/* contact responsive */
/* Tablet View */
@media (max-width: 1024px) {
    .contact-section {
        padding: 50px 20px;
        background: url('https://i.ibb.co/XxbTTgKf/treatment.jpg') no-repeat center center;
        background-size: cover;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 15px;
        color: #fff;
    }

    .contact-form-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 80%;
    }

    .contact-left {
        display: none; /* Hides the image section */
    }

    .contact-form {
        width: 100%;
        padding: 20px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .input-group {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        flex: 1 1 calc(50% - 10px); /* Makes sure fields are split into two equal columns */
        font-size: 15px;
        padding: 10px;
        box-sizing: border-box;
    }

    .send-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .contact-section {
        padding: 30px 15px;
        background: url('https://i.ibb.co/XxbTTgKf/treatment.jpg') no-repeat center center;
        background-size: cover;
    }

    .contact-title {
        font-size: 24px;
        margin-bottom: 10px;
        color: #fff;
    }

    .contact-form-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-form {
        width: 95%;
        padding: 15px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .input-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        flex: 1 1 calc(50% - 5px); /* Keeps two-column layout on mobile */
        font-size: 14px;
        padding: 8px;
    }

    .send-btn {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
}

