﻿
.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;
    }
}
