/* ========================================
   Custom CSS Overrides
   ========================================
   Add your custom styles here.
   This file is loaded LAST so it will
   override all other stylesheets.
   ======================================== */

@media (max-width: 767.98px) {
    .mobile-footer {
        display: block;
        margin-bottom: 82px;
    }
}

/* Contact Us - Career Resume Upload */
.career-upload-field {
    position: relative;
}

.career-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.career-upload-card {
    border: 1px dashed #153c89;
    background: transparent;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.career-upload-field:hover .career-upload-card,
.career-upload-field:focus-within .career-upload-card {
    border-color: #153c89;
    background: transparent;
    /* box-shadow: 0 0 0 3px rgba(21, 60, 137, 0.08); */
}

.career-upload-card.has-file {
    border-style: solid;
    border-color: #1a9689;
    background: #f2fffe;
}

.career-upload-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(21, 60, 137, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.career-upload-icon img {
    width: 20px;
    height: 20px;
}

.career-upload-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    flex: 1;
}

.career-upload-title {
    font-weight: 600;
    color: #153c89;
    font-size: 15px;
}

.career-upload-subtitle {
    font-size: 12px;
    color: #6b7a90;
    margin-top: 2px;
}

.career-upload-filename {
    font-size: 13px;
    color: #1a9689;
    margin-top: 6px;
    font-weight: 500;
    word-break: break-word;
}

.career-upload-cta {
    background: #153c89;
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.search-tag {
    cursor: pointer;
}

.doctor-quote .doctor-image {
    background-color: #ededf1;
}

.doctor-quote .doctor-image img,
.training-card .doctor-info img {
    border: 1px solid #D9D9D9 !important;
    background-color: #ededf1;
}

@media (max-width: 575.98px) {
    .career-upload-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .career-upload-cta {
        margin-left: 56px;
    }
}

.star-list-light-div ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
}

.star-list-light-div ul li {
    position: relative !important;
    padding-left: 22px !important;
    line-height: 28px !important;
    margin-bottom: 4px !important;
    list-style: none !important;
}

.star-list-light-div ul li::before {
    position: absolute;
    content: '';
    background-image: url(../images/star-light-bullets.svg) !important;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 5px;
}

.who-we-are-desc p {
    font-size: 16px;
    color: #353535;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 15px;
}

.who-we-are-desc p:last-child {
    margin-bottom: 0;
}

.appointment-wrapper .appointment-box h2,
.specialities-wrapper .specialities-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.specialities-wrapper {
    border-radius: 10px;
}

.specialities-box .arrow-list li {
    margin-bottom: 16px;
}

.specialities-box .arrow-list li:last-child {
    margin-bottom: 0;
}

.highlights-list li:last-child {
    margin-bottom: 0;
}

/* Main list styling */
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each list item */
.highlights-list li {
    display: flex;
    align-items: center;
    /* vertical center */
    gap: 8px;
    /* space between image and text */
    margin-bottom: 24px;
}

/* Image container */
.highlights-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* prevents image shrinking */
}

/* Image size */
.highlights-list li span img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Text */
.highlights-list li div {
    flex: 1;
    line-height: 1.4;
}

.main-wrapper {
    margin-bottom: 50px;
}

.specialty-description:last-child p:last-child {
    margin-bottom: 0px;
}

.star-list li,
.star-list-light li {
    margin-bottom: 16px;
}

.star-list li:last-child,
.star-list-light li:last-child {
    margin-bottom: 0px;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.page-header p {
    font-weight: 400;
}

.video-cards-container .owl-dots.disabled {
    margin-top: -10px !important;
    display: flex;
    justify-content: center;
}

.right-content .nav-item:nth-child(2) {
    border-left: 1px solid rgba(21, 60, 137, 1);
    border-right: 1px solid rgba(21, 60, 137, 1);
}

.hightlight-box h6 {
    margin-bottom: 0 !important;
    font-weight: 600;
    margin-top: 5px;
}

.center-white-box .star-list {
    width: 100%;
}

.center-white-box {
    background-color: #fff;
    width: 70%;
    margin: 0 auto;
    padding: 48px;
    border-radius: 16px;
    position: relative;
}

.top-doctors-section .owl-nav,
.video-carousel .owl-nav {
    display: none !important;
}

.gallery-card .owl-theme .owl-nav.disabled+.owl-dots {
    display: block;
}

@media (max-width: 767.98px) {
    .contact_header .container {
        z-index: 999;
    }

    .right-content .nav-tabs .nav-link {
        padding: 10px 15px !important;
    }

    .loc-data:last-child {
        padding-bottom: 0px;
    }

    .search-section-find-pag .search-sec {
        margin-top: 20px;
        margin-bottom: 0 !important;
    }

    .doctor-profile-card {
        margin-bottom: 0;
    }

    .specialty-card .video-card-wraper {
        min-width: auto;
    }

    .specialty-card .video-cards-container {
        gap: 10px;
    }

    .training-card {
        margin: 0;
        padding: 00px 0;
    }

    .tpa_header .col-6 {
        background: transparent;
    }

    .training-section .doctor-image {
        background-color: #ededf1;
        border: 2px solid #D9D9D9;
    }

    .main-wrapper {
        margin-bottom: 10px;
    }

    .star-list li:last-child,
    .star-list-light li:last-child {
        margin-bottom: 11px;
    }

    .page-header.about_header li span {
        color: #000;
    }

    .page-header.about_header ul {
        margin-top: 15px;
        display: block !important;
    }

    .page-header.about_header ul li {
        margin-bottom: 15px;
    }

    .page-header.about_header ul li:last-child {
        margin-bottom: 0;
    }

    .tpa_header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(255 255 255 / 45%);
        z-index: 1;
    }

    .about_header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(255 255 255 / 45%);
        z-index: 1;
    }

    .page-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(255 255 255 / 45%);
        z-index: 1;
    }

    .about_header .container {
        position: relative;
        z-index: 2;
    }

    .page-header.about_header::after {
        background-size: cover;
        background-position: left;
        left: 0;
    }

    .page-header.about_header .col-md-6 {
        z-index: 2;
        background: transparent;
    }

    .page-header.about_header {
        height: auto;
    }

    .highlights-list li span img {
        width: 30px;
        height: 30px;
    }

    .search-section-find-pag .book-apoinment-hero a {
        width: max-content;
        margin: 6px 0;
        justify-content: center;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding-right: 13px !important;
    }

    .search-section-find-pag .book-apoinment-hero a img {
        background-color: #FFFFFF;
        padding: 5px 6px;
        border-radius: 8px;
    }

    .search-section-find-pag .book-apoinment-hero {
        margin-bottom: 0 !important;
    }

    .search-section-find-pag {
        padding: 20px 15px 0px 15px !important;
    }

    p,
    .specialty-description {
        font-size: 16px;
    }

    .specialty-description:not(:last-child) {
        margin-bottom: 15px;
    }



    .about-wrapper .d-flex .star-list {
        width: 100%;
    }

    .star-list li,
    .star-list-light li {
        margin-bottom: 11px;
    }

    .star-list:last-child li:last-child {
        margin-bottom: 0px;
    }

    .message-box .message-desc {
        padding-top: 0px;
    }

    .callback-form {
        margin-top: 32px;
    }

    .highlights-list li {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .highlights-list li:last-child {
        margin-bottom: 0;
    }

    .specialty-title {
        font-size: 22px;
        padding-bottom: 5px;
    }

    .owl-theme .owl-nav.disabled+.owl-dots {
        margin-top: 0 !important;
    }

    .tpa-main .specialty-card-container {
        gap: 0;
    }

    .page-header .col-md-4 {
        background: transparent;
    }

    .doc-gallery figcaption {
        font-size: 15px;
        margin-top: 16px;
        font-weight: 600;
        text-align: center;
    }

    .training-section .section-title,
    .doc-gallery .section-title,
    .appointment-wrapper .appointment-box h2 {
        text-align: left !important;
        font-size: 22px !important;
    }

    .doctor-summary-block .doctor-name {
        margin-bottom: 0;
    }

    .doctor-summary-block .doctor-designation {
        margin-bottom: 0;
    }

    .doctor-details-list .detail-label,
    .doctor-details-list .detail-value {
        font-size: 15px;
    }

    .doctor-details-list {
        margin-bottom: 10px;
    }

    .feature-item img {
        width: 24px;
    }

    .doctors-carousel .doctor-img-wrapper,
    .doctors-carousel .doctor-img-wrapper img {
        height: 220px;
    }

    .accordion-header {
        padding: 15px 15px 15px 15px;
    }

    .accordion-content {
        padding: 0 15px 15px 15px;
    }

    .accordion-item:last-child {
        margin-bottom: 0;
    }
}

/* Health Awareness Section - Video Height Increase when playing */
.health-awareness-section .video-thumbnail iframe {
    height: 480px !important;
}

@media (max-width: 991.98px) {
    .health-awareness-section .video-thumbnail iframe {
        height: 350px !important;
    }
}

@media (max-width: 767.98px) {
    .health-awareness-section .video-thumbnail iframe {
        height: 280px !important;
    }
}