﻿


/*** doctor  ***/

.banner.subnr .py-banner {
    background: url(../images/subnnr.png) no-repeat;
    background-position: left top;
    background-size: auto;
    padding-left: 0px;
}

.banner.subnr .overlay {
    display: block;
}

    .banner.subnr .overlay::after {
        position: inherit;
    }

.banner.subnr .text-banner {
    top: 50%;
    translate: 0% -50%;
    left: 40px;
}

.banner.subnr .serch-news {
    width: 100%;
    margin-bottom: 50px;
}

.banner.subnr .find-nes {
    position: inherit;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    box-shadow: 0 8px 9px -2px #c5cacb66;
    bottom: auto;
}

.banner.subnr .serch {
    position: inherit;
    height: auto;
}

.all-doctor h5 {
    font-size: 20px;
    font-weight: 600;
    color: #212121;
    border-bottom: .5px solid #d7d7d7;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.doctor-fnd {
    padding: 0 30px;
}

.doctors-list-box .container-checkbox {
    display: block;
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: normal;
    text-transform: inherit;
    margin-bottom: 0px;
    white-space: nowrap;
    margin-top: 15px;
    color: #626262;
    font-size: 15px;
    font-weight: normal;
}

    .doctors-list-box .container-checkbox .checkmark::after {
        left: 4px;
        top: 1px;
        width: 5px;
        height: 8px;
        border: solid #125683;
        border-width: 0 1px 1px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        content: "";
        position: absolute;
        display: none;
    }

.all-doctor-btn {
    padding-top: 20px;
    padding-left: 20px;
}

    .all-doctor-btn a {
        text-decoration: none;
        color: #212121;
        padding: 4px 40px;
        font-size: 15px;
        font-weight: normal;
        transition: 0.5s;
        border: 1px solid #212121;
        border-radius: 8px;
    }

.dtl-row.no-aftr::after {
    display: none;
}

.filr-right {
    width: 79%;
}

.doctor-filr {
    min-width: 230px;
}

.all-doctor-btn a:hover {
    background: #1a61a8;
    transition: 0.5s;
    color: #fff;
    border: 1px solid #1a61a8;
}

.doctors-list-box .container-checkbox input:checked ~ .checkmark span {
    color: #125683;
}

.doctors-list-box .container-checkbox input:checked ~ .checkmark::after {
    display: block;
}

.doctors-list-box input {
    position: inherit;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.text-lbl {
    padding-left: 20px;
    position: relative;
    top: -3px;
}

.doctors-list-name h4 {
    color: #212121;
}

.hd-list-wrp h3 {
    color: #212121;
    font-size: 20px;
    font-family: var(--third-font);
    font-weight: 500;
    margin: 0;
}

.hd-list-wrp.blu {
    color: #1274BD;
}

    .hd-list-wrp.blu h3 {
        color: #1274BD;
    }

.hd-list-wrp {
    border-left: 3px solid;
    margin-bottom: 20px;
    height: 45px;
    align-items: end;
    display: flex;
    margin-top: 50px;
}

.doctors-list-wrp {
    display: block;
    justify-content: space-between;
}

.doctors-list-box .container-checkbox .checkmark {
    position: absolute;
    top: 6px;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: none;
    border: 1px solid #6a6a6a;
    border-radius: 2px;
}

.grednt .dr-list-wrp {
    background: #7AB9CF;
    background: linear-gradient(167deg,rgb(97, 169, 195) 57%, rgb(199, 114, 182) 100%);
}

.doctors-list-img img {
    border-radius: 12px;
}

.dtl-row {
    display: flex;
    position: relative;
    margin: 0;
}

    .dtl-row::after {
        content: "";
        position: absolute;
        right: -9%;
        top: 0;
        width: 2px;
        height: 100%;
        background-color: #E0E5E5;
    }

.border-line-name {
    padding-top: 10px;
    display: block;
    padding-bottom: 20px;
}

.dr-list-wrp {
    padding: 10px;
    border-radius: 16px;
    margin: 0 5px 30px 5px;
    width: 23.8%;
  
}

.doctors-list-img span {
    color: #212121;
    text-decoration: underline;
}

.doctors-list-img h5 {
    color: #212121;
}

.doctors-list-img h6 {
    color: #212121;
}

.grednt .dr-list-wrp .doctors-list-img span {
    color: #fff;
}

.grednt .dr-list-wrp .doctors-list-img h5 {
    color: #fff;
}

.grednt .dr-list-wrp .doctors-list-img h6 {
    color: #fff;
}

.banner.subnr h1 {
    font-size: 34px;
}

.anuval-box {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    margin-bottom: 25px;
    box-shadow: 0 3px 6px #00000029
}

.monthy-bx {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #012859;
    padding: 30px 15px;
    position: relative
}

    .monthy-bx::before {
        position: absolute;
        content: "";
        width: 150px;
        height: 3px;
        background: #002156;
        left: 0;
        bottom: 0
    }

    .monthy-bx h5 {
        padding-left: 10px;
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        color: #000;
    }

    .monthy-bx::after {
        position: absolute;
        content: "";
        width: 150px;
        height: 3px;
        background: #f1352f;
        right: 0;
        bottom: 0
    }

.anuval-box a {
    text-decoration: none
}



.appointment-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .appointment-modal.active {
        display: flex;
    }

.appointment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
}

.appointment-box {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 28px;
    width: 100%;
    max-width: 420px;
    z-index: 2;
    animation: popup 0.4s ease;

    @media (max-width:576px) {
        margin: 0 10px;
    }
}

@keyframes popup {
    from {
        transform: scale(0.9) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color:#000;
}

.appointment-box h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    color:#000;
}

.appointment-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.appointment-form .form-group {
    margin-bottom: 16px;
}

.appointment-form input,
.appointment-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 14px;
}

    .appointment-form input:focus,
    .appointment-form select:focus {
        outline: none;
        border-color: #ff7a00;
    }

.submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    background: linear-gradient(135deg, #ff7a00, #e56d00);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(255,122,0,0.45);
}

@media (max-width: 480px) {
    .appointment-box {
        padding: 30px 22px;
    }
}

.appointment-form span {
    color: red;
}



/* doctors details page scss starts here*/

.doctor-details-page {
    max-width: 1300px;
    margin: 40px 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid #fde5d6;
}

.doctor-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px 10px;
}

.doctor-image {
    border-radius: 20px;
    overflow: hidden;
}

    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.doctor-info h2 {
    margin: 0;
    font-size: 26px;
    color:#000;
}

@media (max-width: 576px) {
    .doctor-info h2, .overview h3 {
        font-size: 20px;
    }

    .degree {
        font-size: 14px;
    }

    .desc {
        font-size: 13px;
    }

    .speciality-box {
        margin: 10px 0 !important;
    }

    .overview-grid {
        gap: 2px !important;
    }
}

.degree {
    color: #f57c00;
    font-weight: 600;
    margin: 6px 0 14px;
}

.desc {
    color: #555;
    line-height: 1.6;
}

.speciality-box {
    background: #fff3e0;
    padding: 14px 14px;
    border-radius: 14px;
    margin: 20px 0;
    display: inline-block;
    width: 100%;
    border: 1px solid #d18206;
}

    .speciality-box span {
        display: block;
        font-size: 13px;
        color: #777;
    }

    .speciality-box strong {
        font-size: 15px;
        color: #f57c00;
    }

.action-buttons {
    display: flex;
    gap: 14px;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 22px;
    cursor: pointer;
}

.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #f57c00;
    color: #fff;
    cursor: pointer;
}

    .btn-icon img {
        width: 42px;
        height: 42px;
        padding: 10px;
    }

.overview h3 {
    margin-bottom: 16px;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

    .overview-grid p {
        color: #555;
        line-height: 1.6;
    }

.accordion {
    margin-top: 30px;
}

@media (max-width: 576px) {
    .accordion {
        margin-top: 10px;
    }
}

.accordion-item {
    border: 1px solid #fde5d6;
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: #f1e9d5;
    border: none;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 52px;
}

    .accordion-header span {
        position: relative;
        padding-left: 15px;
    }

        .accordion-header span::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            background: #f58322;
            border-radius: 50%;
        }

    .accordion-header::after {
        content: "+";
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        font-weight: 600;
        color: #f57c00;
        transition: 0.3s ease;
        background: #dddddd;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        text-align: center;
        line-height: 35px;
    }

.accordion-item.active .accordion-header::after {
    content: "−";
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

    .accordion-body p {
        padding: 16px 0;
        color: #555;
    }

@media (max-width: 900px) {
    .doctor-card {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }
}
