img{
    max-width: 100%;
    height: auto;
}


header{
    position: fixed;
    z-index: 999;
    background-color: white;
    width: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.img-logo img{
    width: 200px;
}

.callNow{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3D7CC9;
    color: white;
    text-decoration: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 25px;
    padding-right: 25px;
    gap: 8px;
    border-radius: 30px;
}

.callNow:hover{
    opacity: 0.8;
    transition: 0.3s;
}

.picture{
    padding-top: 87px;
    padding-bottom: 30px;
}

.title1{
    color: #212529;
    font-size: 25px;
    line-height: 1.5;
    text-align: center;
    font-weight: bold;
}

.title2{
    color: red;
    font-size: 25px;
    line-height: 1.5;
    text-align: center;
    font-weight: bold;
}

.title3{
    color: #3D7CC9;
    font-size: 25px;
    line-height: 1.5;
    font-weight: bold;
}

.list{
    list-style: upper-alpha;
}

.list li{
    font-weight: bold;
    color: #212529;
    line-height: 2;
    font-size: 16px;
}

.space{
    padding-bottom: 30px;
}

.img{
    text-align: center;
}

.img img{
    width: 450px;
    border-radius: 30px;
}

.dokter{
    display: grid;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #212529;
    line-height: 2;
    font-size: 16px;
}

.text{
    font-weight: bold;
    color: #212529;
    line-height: 2;
    font-size: 16px;
}

.hide{
    display: none;
}

.btnView{
    text-align: center;
    margin-top: 20px;
}

.viewMore{
    background-color: #10a37f;
    color: white;
    border: none;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 30px;
}

.viewMore:hover{
    opacity: 0.8;
    transition: 0.3s;
}

.box{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);;
    background-color: white;
    padding: 20px;
    border-radius: 30px;
}

.gray{
    padding-bottom: 60px;
}

/* form */

.form1{
    background-color: #1DA8E5;
}

.form-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.form-pendaftaran{
    background-color: white;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    padding: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 20px;
}

.form-flex-width{
    width: 50%;
}


input[type="text"],    input[type="email"],    input[type="date"],    input[type="number"],    textarea {      
    width: 100%;      
    padding: 10px;      
    border: 1px solid #ccc;      
    border-radius: 5px;      
  }   

  .grid-input{
    display: grid;
    gap: 10px;
  }

  .calender{
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .input-jk{
    display: flex;
    gap: 50px;
  }

  .appointment{
    width: 100%;
    background-color: #1BA8E1;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
  }

  .appointment:hover{
    opacity: 0.9;
    transition: 0.4s;
  }

  .error-message {
    color: red;
    font-size: 0.9em;
    display: none; /* Disembunyikan secara default */
}


/* akhir form */


.title4{
    font-size: 30px;
    font-weight: bold;
    color: #212529;
    text-align: center;
}

.need{
    margin-top: 50px;
}

.flex-need{
    display: flex;
    width: 100%;
    gap: 20px;
    margin-top: 30px;
}

.tlp{
    width: 50%;
    background-color: #3D7CC9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 30px;
    gap: 8px;
    font-weight: 600;
}

.wa{
    width: 50%;
    background-color: #61CE70;
    display: flex;
    align-items: center;
    color: white;
    justify-content: center;
    text-decoration: none;
    padding: 15px;
    border-radius: 30px;
    gap: 8px;
    font-weight: 600;

}


.tlp:hover{
    opacity: 0.9;
    transition: 0.3s;
}

.wa:hover{
    opacity: 0.9;
    transition: 0.3s;
}

.calender {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alamat{
    display: grid;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    color: #212529;
    line-height: 1.8;
    font-size: 16px;
}


.alamat a{
    text-decoration: none;
}

.waFixed{
   position: fixed;
    top: 250px;
    right: 15px;
    z-index: 9999;

}

.waFixed2{
    text-decoration: none;
    position: fixed;
    z-index: 100;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background-color: #4CAF50;
    text-align: center;
    letter-spacing: .5px;
    transition: .2s ease-out;
    cursor: pointer;
    width: 250px;
    padding: 10px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.waFixed3{
    position: fixed;
    bottom: 200px;
    left: 4px;
    z-index: 9999;
    width: 140px;
    background-color: #4CAF50;
    border-radius: 50px;
    padding-top: 8px;
    text-align: center;
    padding-bottom: 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    gap: 8px;
}

@media(max-width: 768px){
    .img-logo img{
        width: 150px;
    }

    .picture{
        padding-top: 70px;
    }

    .form-flex{
        justify-content: normal;
        display: grid;
    }

    .form-flex-width{
        width: 100%;
    }

    .book_title{
        text-align: center;
    }

    .gray{
        padding-bottom: 40px;
    }

    .title1{
        font-size: 22px;
    }

    .title2{
        font-size: 22px;
    }

    .title3{
        font-size: 22px;
    }

    .flex-need{
        display: grid;
    }

    .tlp, .wa{
        width: 100%;
    }

    .need{
        margin-top: 20px;
    }
}