@media screen and (max-width: 767px){ 
    .mdheader{
        padding: 8px 0px;
        margin-right: 6px;

    }
    .mdheader a img{
        width: 50px;
        height: 50px;
        
    }
    .mdheader #dr-name{
        font-size: 19px;
        font-weight: 800;
        line-height: 23px;

    }
    .mdheader #icon a{
        font-size: 24px;
        border: 1px solid black;
        border-radius: 8px;
        text-align: center;
        display: inline-block;
        padding: 5px;
        line-height: 1;
    }
    /* ---------------------- canvas ------------------------ */
    .offcanvas-header {
        position: relative;
        justify-content: center;
        border-bottom: 1px solid #eee;
        padding: 24px 16px 16px;
    }
    .menu-profile {
        text-align: center;
    }
    .menu-profile img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
        object-position: top;
    }
    .offcanvas-header .btn-close {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    .menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .menu li {
        padding-bottom: 5px;
    }
    .menu li .menu-icon {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 8px;
        font-size: 16px;
        border: none;
    }
    .menu li .menu-icon i {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        border: 1px solid #cfe3e6;
        border-radius: 10px;
    }
    .menu li .menu-icon span {
        position: relative;
    }
    .menu li .menu-icon span::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 2px;
        background: var(--secondary);
        transform: scaleX(0);
        transform-origin: left;
        transition: 0.3s ease;
    }
    .menu li:hover .menu-icon,
    .menu li:focus-within .menu-icon,
    .menu li:active .menu-icon {
        color: var(--secondary);
    }
    .menu li:hover a.menu-icon i,
    .menu li:focus-within a.menu-icon i {
        border-color: var(--secondary);
    }
    .menu li:hover a.menu-icon span::after,
    .menu li:focus-within a.menu-icon span::after,
    .menu li:active a.menu-icon span::after {
        transform: scaleX(1);
    }
    /* ----------------------- nav section end---------------------- */
    /* ----------------------- hero section start ------------------ */
    .hero .row{
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
    main .hero a img {
        max-width: 100%;
        max-height: 100%;
        margin-top: 10%;
        border-radius: 15px;
        margin-left: 0%;
        box-shadow: rgba(14, 13, 13, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }
    main .hero h6{
        display: none;
    }
    main .hero h1 {
        font-size: 41px;
        font-family: var(--font-heading);
        padding-top: 0;
        color: #0E2A4A;

        margin: 0px;
    }
    main .hero .skl {
        color: var(--secondary);
        font-weight: 600;
        font-family: var(--font-body);
        font-size: 14px;
    }
    main .hero .pos {
        display: none;
    }
    main .hero .sam {
        padding: 16px 9px;
        font-size: 12px;
    }
    main .hero .sam #d-text{
        display: none;
    }
    main .hero .btn-box {
        display: flex;
        flex-direction: column;

    }
    main .hero .btn-box button{
        max-width: 100%;
    }
    main .hero .btn-box button:first-child {
        background-color: var(--button);
        border-radius: 27px 27px 27px 27px;
        font-size: 20px;
        margin-right: 0px;
    }
    main .hero .btn-box button:last-child{
        background-color: transparent;
        border: 1px solid black;
        font-size: 20px;
        padding: 10px 30px;
        margin-bottom: 35px;
    }
    /* ---------------------------- hero section end -------------------------- */
    /* ---------------------------- about section start ----------------------- */
    main .about a img {
        max-width: 100%;
        max-height: 100%;
        margin: 30px 0px;
        border-radius: 12px;
        box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    }
    main .about #abo-cont h1 {
        margin-top: 0px;
        font-size: 31px;
        font-weight: 700;
    }
     main .about #abo-cont p {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    main .about #view {
        border-radius: 25px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        padding: 9px 12px;
    }
    main .about #view #arrow {
        font-weight: 200;
        font-size: 18px;
    }
    main .about .icon-box {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 14px;
	    margin: 30px 0px;
    }
    main .about .icon-box a {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    /* ------------------ services sestion start --------------------------- */
    main .services .head-text h6 {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 1px;
        color: var(--primary);
        margin-bottom: 5px;
        margin-left: 28%;
        margin-right: 0;
        display: inline-block;
        padding: 5px 14px;
        background: #b8f1ef;
        border-radius: 50px;
        margin-top: 16px;
    }
    main .services .head-text h2 {
        color: var(--secondary);
        font-size: 29px;
        font-weight: 800;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
        padding: 0px 22px;
    }
    main .services .head-text h2 span{
        text-align: center;
        padding-left: 50px;
        font-size: 30px;
    }
    main .services .head-text p {
        display: none;
    }
    /* ------------------ services sestion end -------------------------- */
    main .my-re h2 {
        font-size: 25px;
        font-weight: 700;
        color: var(--primary);
        padding-left: 0px;
    }
    /* ------------------ locations sestion start ----------------------- */
    main .locations .loc-head h6 {
        color: #5b6b8c;
        font-size: 19px;
        font-weight: 700;
        letter-spacing: 1px;
        display: inline-block;
        padding: 6px 14px;
        background: #acf5f1;
        border-radius: 50px;

    }
    main .locations .loc-head h2 {
        color: #0f2f8f;
        font-size: 28px;
        font-weight: 600;
        padding: 5px 0;
    }
    main .locations .loc-head p{
        display: none;
    }
    main .locations .loc-bottom p {
        margin: 0;
        color: #333;
        font-size: 8px;
    }
    /* ------------------ locations sestion end ------------------------- */
    main .appointment .apt-badge {
        display: inline-block;
        padding: 5px 14px;
        background: #c9e4e2;
        color: #3b8f8a;
        font-size: 13px;
        border-radius: 50px;
        margin-bottom: 16px;
    }
    main .appointment h2 {
        color: #0f2a5c;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 14px;
    }
    main .appointment p {
        color: #5b6b8c;
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

}