/*======================================================
    APPOINTMENT SECTION
======================================================*/

.appointment-section{

    padding:90px 0;

    background:#F7FAF7;

}

.appointment-section .container{

    max-width:1400px;

    margin:auto;

}

.appointment-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:32px;

    align-items:stretch;

}

/*======================================================
    BLOG
======================================================*/

.appointment-blog-card{

    position:relative;

    height:560px;

    border-radius:32px;

    overflow:hidden;

    background:#EAF3E5;

}

.appointment-heart{

    position:absolute;

    top:0;

    right:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:right center;

}

.appointment-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-end;

    padding:60px;
    
    padding-right:90px;

    text-align:right;

    gap:0;

    width:100%;

    box-sizing:border-box;

}

.appointment-overlay .section-badge{

    align-self:flex-start;

    margin-bottom:20px;

    background:rgba(255,255,255,.18);

    color:#fff;

}

.appointment-overlay h2{

    width:300px;

    font-size:38px;

    font-weight:700;

    line-height:1.25;

    color:#272626;

    margin:0 0 14px 0;

}

.appointment-overlay p{

    width:300px;

    font-size:16px;

    line-height:2;

    color:#666;

    margin:0 0 28px 0;

}


.appointment-overlay .primary-btn{

    width:max-content;

}
/*======================================================
    APPOINTMENT FORM
======================================================*/

.appointment-form-card{

    background:#fff;

    border-radius:32px;

    padding:42px;

    height:560px;

    box-shadow:0 18px 50px rgba(0,0,0,.06);

    display:flex;

    flex-direction:column;

}

.appointment-form-card .section-badge{

    align-self:flex-start;

    margin-bottom:18px;

}

.appointment-form-card h2{

    font-size:40px;

    font-weight:800;

    color:#222;

    margin-bottom:12px;

    line-height:1.2;

}

.appointment-form-card p{

    color:#777;

    line-height:1.9;

    font-size:15px;

    margin-bottom:24px;

}

/*====================================*/

.appointment-form{

    display:flex;

    flex-direction:column;

    flex:1;

    gap:16px;

}

.appointment-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:16px;

}

/*====================================*/

.appointment-form input,

.appointment-form select,

.appointment-form textarea{

    width:100%;

    border:1px solid #E6E6E6;

    border-radius:14px;

    background:#fff;

    padding:16px 18px;

    font-size:15px;

    font-family:inherit;

    direction:rtl;

    outline:none;

    transition:.25s;

}

.appointment-form input,

.appointment-form select{

    height:54px;

}

.appointment-form textarea{

    resize:none;

    height:130px;

}

/*====================================*/

.appointment-form input:focus,

.appointment-form select:focus,

.appointment-form textarea:focus{

    border-color:#6B8A5C;

    box-shadow:0 0 0 3px rgba(107,138,92,.10);

}

/*====================================*/

.appointment-submit{

    margin-top:auto;

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:#6B8A5C;

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.appointment-submit:hover{

    background:#567248;

}
/*======================================================
    FINAL
======================================================*/

/* BLOG BUTTON */

.appointment-overlay .primary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:54px;

    padding:0 30px;

    border-radius:14px;

    background:#ffffff;

    color:#6B8A5C;

    font-weight:700;

    text-decoration:none;

    transition:.25s;

}

.appointment-overlay .primary-btn:hover{

    transform:translateY(-2px);

}

/* BLOG TEXT */

.appointment-overlay h2{

    max-width:340px;

}

.appointment-overlay p{

    max-width:330px;

}

/* INPUT PLACEHOLDER */

.appointment-form input::placeholder,

.appointment-form textarea::placeholder{

    color:#A0A0A0;

}

/* CARD HOVER */

.appointment-blog-card,

.appointment-form-card{

    transition:.30s;

}

.appointment-blog-card:hover,

.appointment-form-card:hover{

    transform:translateY(-6px);

}

/* RESPONSIVE */

@media(max-width:1200px){

    .appointment-grid{

        grid-template-columns:1fr;

    }

    .appointment-blog-card,

    .appointment-form-card{

        height:auto;

        min-height:520px;

    }

}

@media(max-width:768px){

    .appointment-section{

        padding:60px 0;

    }

    .appointment-blog-card,

    .appointment-form-card{

        border-radius:24px;

        padding:28px;

    }

    .appointment-row{

        grid-template-columns:1fr;

    }

    .appointment-form-card h2{

        font-size:32px;

    }

    .appointment-overlay h2{

        font-size:34px;

    }

    .appointment-overlay p{

        font-size:15px;

    }

}
