/* Appointment/Quote Section */
.appointment-section {
    padding: 100px 0;
    background-color: #fff;
}

.appointment-container {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
    /* Dark background for form */
}

/* Left Column: Form */
.appointment-form-wrapper {
    flex: 1;
    padding: 60px;
    color: #fff;
    background-color: var(--secondary-color);
}

.appointment-tagline {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.appointment-tagline i {
    color: var(--primary-color);
}

.appointment-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 40px;
}

.appointment-title .highlight {
    color: var(--primary-color);
}

/* Form Styles */
.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    grid-column: span 1;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Transparent white */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Rounded pill shape */
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-textarea {
    border-radius: 20px;
    height: 120px;
    resize: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Custom Select styling hack */
.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FC8075%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

.form-select option {
    background-color: var(--secondary-color);
    color: #fff;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: var(--transition);
    width: fit-content;
    margin-top: 10px;
}

.submit-btn i {
    background-color: #fff;
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.submit-btn:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

.submit-btn:hover i {
    background-color: var(--secondary-color);
    color: #fff;
}


/* Right Column: Image */
.appointment-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.appointment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Badge */
.satisfaction-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: var(--primary-color);
    /* Bright Peach */
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.satisfaction-badge h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .appointment-container {
        flex-direction: column;
        /* Swap order so image is top on mobile? Or usually form first? Let's check typical UX. Usually form is primary. But visually image top is nicer. Let's keep flex-direction column (form top) or reverse. Image top looks better for "hero" style forms. */
        flex-direction: column-reverse;
    }

    .appointment-image-wrapper {
        height: 300px;
        min-height: 300px;
    }

    .appointment-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .appointment-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .appointment-title {
        font-size: 2.2rem;
    }

    .appointment-section {
        padding: 60px 0;
    }
}