* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.appointment-section1 {
    /* margin-top: 80px; */
    min-height: 50vh;
    background-image: url(assets/Gemini_Generated_Image_c52oqqc52oqqc52o.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.appointment-section1-content {
    /* min-height: 80vh; */
    margin-left: 15%;
}

.appointment-section1-content-h2 {
    color: #272727;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
}

.appointment-section1-content-anchor-home {
    color: #838383;
    text-decoration: none;
    font-size: 1.1rem;
    margin-right: 1.2rem;
    transition: all 0.2s linear;
}

.appointment-section1-content-anchor-home:hover {
    color: #c78766;
}

.appointment-section1-content-anchor {
    color: #c78766;
    text-decoration: none;
    font-size: 1.1rem;
}

@media (max-width: 768px) {

    .appointment-section1 {
        min-height: 35vh;
    }

    .appointment-section1-content {
        margin-left: 8%;
    }

    .appointment-section2-content {
        width: 95%;
    }

}

.appointment-section2 {
    padding: 60px 40px;
    display: flex;
    justify-content: center;
}

.appointment-section2-divs {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 60%;
}

.appointment-section2-left {
    flex: 1;
}

.appointment-section2-right {
    flex: 1;
}

.appointment-section2-divs-inner-right-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0 80px 0 80px;
}

.appointment-section2-divs-inner-para {
    color: #c8845a;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.appointment-section2-divs-inner-h2 {
    font-size: 3rem;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.appointment-section2-divs-inner-para2 {
    color: #777;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* FORM */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #c8845a;
    outline: none;
    font-size: 1.2rem;
    color: #555;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: #b3703f;
}

.appointment-form textarea {
    height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* SLIDER */
.booking-summary {
    border: 1px solid #e8d5c8;
    padding: 20px;
    background: #fdf8f5;
}

.summary-note {
    font-size: 0.78rem;
    color: #999;
    margin-top: 12px;
    margin-bottom: 0;
}

input[type="range"] {
    width: 100%;
    accent-color: #c8845a;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.payment-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: #555;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0ccc0;
}

.summary-row.remaining {
    font-weight: 700;
    color: #c8845a;
    border-bottom: none;
}

/* SUBMIT */
.submit-btn {
    background-color: #c8845a;
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #b3703f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .appointment-section2-divs {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}