/*
Theme Name: Medova
Theme URI: https://wordpress.themeholy.com/medova
Author: Themeholy
Author URI: https://themeforest.net/user/themeholy 
Description: Medova - Health & Medical WordPress Theme
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: medova
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.4
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others. 

*/

/* Header sub-menu icon */
.hide-icon.main-menu ul.sub-menu li a:before {
    display: none;
}
.hide-icon.main-menu ul.sub-menu li a:hover {
    padding-left: 0;
}

/*  */
.filter-item.hidden {
    display: none;
}

/*Doctor Page Section Css St*/
.doctor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    position: relative;
    color: #122f54;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 22px 22px 0 0;
    background-image: url('https://staging.bloomzhealthcare.com/wp-content/themes/medova/assets/img/doctor-bg.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    background-color: #F2F3FC;
}

.doctor-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.doctor-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}
.doctor-card:hover .doctor-card-image img {
    transform: scale(1.05);
}
.doctor-card-content {
    min-height: 108px;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
    border-radius: 0 0 22px 22px;
    transition: background-color 0.3s ease;
    margin-top: auto;
    border: 1px solid #DEDFE3;
    border-top: none;
}
.doctor-card:hover .doctor-card-content {
    background-color: #FFF2F2;
}
.doctor-card-name {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}
.doctor-card-name a {
    color: var(--title-color);
    text-decoration: none;
    transition: 0.6s ease-in-out;
}
.doctor-card-name a:hover {
    color: var(--theme-color);
}
.doctor-card-specialty {
    font-size: 16px;
    color: var(--title-color);
    display: block;
    text-align: left;
    margin-bottom: 0;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.6s ease-in-out;
}
.doctor-social-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.doctor-card-plus {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #f1f3fb;
    color: var(--title-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.6s ease;
}
.doctor-social-icons {
    position: absolute;
    bottom: 50px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.60s cubic-bezier(0.4, 0, 0.2, 1);
}
.doctor-social-icons a {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.doctor-social-icons a:hover {
    background: var(--theme-color);
    color: #ffffff;
    transform: scale(1.1);
}
.doctor-social-wrapper:hover .doctor-social-icons,
.doctor-card:hover .doctor-social-icons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.doctor-social-wrapper:hover .doctor-card-plus,
.doctor-card:hover .doctor-card-plus {
    background: var(--title-color);
    color: #ffffff;
    transform: rotate(45deg);
}
/*Doctor Page Section Css End*/

/* =========================================
   SPECIALTIES LISTING
========================================= */

.specialties-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   CARD
========================================= */

.specialty-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 280px;

    padding: 35px;

    border: 1px solid #e1e5ec;
    border-radius: 24px;

    background: #ffffff;

    text-decoration: none !important;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.specialty-card:hover {
    transform: translateY(-7px);

    border-color: #39b9d1;

    box-shadow: 0 18px 40px rgba(18, 47, 84, 0.10);
}


/* =========================================
   ICON
========================================= */

.specialty-card-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 45px;

    border-radius: 18px;

    background: #f0f3fb;
}


.specialty-card-icon img {
    width: 45px;
    height: 45px;

    object-fit: contain;
}


.specialty-default-icon {
    color: #39b9d1;

    font-size: 34px;
    font-weight: 300;
}


/* =========================================
   CONTENT
========================================= */

.specialty-card-content {
    position: relative;

    display: flex;
    align-items: flex-end;

    margin-top: auto;

    padding-right: 55px;
}


.specialty-card-content h3 {
    margin: 0;

    color: #122f54;

    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
}


/* =========================================
   ARROW
========================================= */

.specialty-card-arrow {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0f3fb;

    color: #122f54;

    font-size: 27px;
    font-weight: 300;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.specialty-card:hover .specialty-card-arrow {
    background: #39b9d1;

    color: #ffffff;

    transform: rotate(90deg);
}


/*Hospital Page Section Css St*/
.hospital-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #DEDFE3;
}

.hospital-card:hover {
    transform: translate(0, -15px);
}


/* =========================================
   LOGO AREA
========================================= */

.hospital-card-logo {
    height: 200px;
    background: #F2F3FC;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.hospital-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 15px;
    max-width: 260px !important;
}

.hospital-logo-placeholder {
    color: #ffffff;
    font-size: 82px;
    font-weight: 300;
    line-height: 1;
}


/* =========================================
   CONTENT
========================================= */

.hospital-card-content {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* =========================================
   TITLE
========================================= */

.hospital-card-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.hospital-card-title a {
    color: var(--title-color);
    text-decoration: none;
    transition: 0.3s ease;
}
.hospital-card-title a:hover {
    color: var(--theme-color);
}


/* =========================================
   CONTACT INFORMATION
========================================= */

.hospital-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--title-color);
    font-size: 15px;
    line-height: 1.4;
}

.hospital-contact-item a {
    text-decoration: none;
    word-break: break-word;
    color: var(--title-color);
}

.hospital-contact-item:hover .hospital-contact-item a {
    color: var(--theme-color);
}

.hospital-contact-icon i {
    color: var(--title-color);
    font-size: 16px;
}
.hospital-contact-item:hover .hospital-contact-icon i {
    color: var(--theme-color);
}


/* =========================================
   DIVIDER
========================================= */

.hospital-divider {
    border-top: 1px dashed #dce3ea;
    margin: 25px 0 18px;
    margin-top: auto; /* Buttons ko bottom me align karne ke liye */
}
.hospital-btn {
    background-color: transparent;
    border: 1px solid #DEDFE3;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 14px;
}
.hospital-btn-primary {
    background: var(--theme-color);
    color: var(--white-color);
    border: 1px solid var(--theme-color);
}
.hospital-btn-primary:hover {
    color: var(--white-color);
    background: var(--title-color);
    border: 1px solid var(--title-color);
}
.hospital-btn-outline:hover {
    background: var(--theme-color);
    border: 1px solid var(--theme-color);
    color: var(--white-color);
}
.hospital-btn-outline {
   color: var(--title-color); 
}

/* LAST BUTTON */
.hospital-btn:last-child {
    margin-bottom: 0;
}
/*Hospital Page Section Css End*/

/* =========================================
   ONCOLOGY PAGE
========================================= */

.oncology-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}


/* INTRO */

.oncology-intro {
    max-width: 850px;
    margin: 0 auto 80px;
    text-align: center;
}

.oncology-label {
    display: inline-block;
    margin-bottom: 12px;

    color: #39b9d1;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.oncology-intro h1 {
    margin: 0 0 25px;

    color: #122f54;

    font-size: 56px;
    line-height: 1.1;
}

.oncology-description {
    color: #69798d;

    font-size: 17px;
    line-height: 1.8;
}


/* SECTION HEADING */

.oncology-section-heading {
    margin-bottom: 40px;
}

.oncology-section-heading h2 {
    margin: 0;

    color: #122f54;

    font-size: 40px;
    line-height: 1.2;
}


/* SPECIALTIES */

.oncology-specialties {
    margin-bottom: 100px;
}

.oncology-specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.oncology-specialty-card {
    display: block;

    padding: 30px;

    border: 1px solid #e1e5ec;
    border-radius: 24px;

    background: #ffffff;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.oncology-specialty-card:hover {
    transform: translateY(-6px);

    border-color: #39b9d1;

    box-shadow: 0 15px 35px rgba(18, 47, 84, 0.10);
}

.oncology-specialty-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 45px;

    border-radius: 18px;

    background: #f0f3fb;
}

.oncology-specialty-icon img {
    width: 45px;
    height: 45px;

    object-fit: contain;
}

.oncology-specialty-icon span {
    color: #39b9d1;
    font-size: 32px;
}

.oncology-specialty-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.oncology-specialty-content h3 {
    margin: 0;

    color: #122f54;

    font-size: 21px;
    line-height: 1.3;
}

.oncology-card-arrow {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0f3fb;

    color: #122f54;

    font-size: 25px;

    transition: all 0.3s ease;
}

.oncology-specialty-card:hover .oncology-card-arrow {
    color: #ffffff;
    background: #39b9d1;
    transform: rotate(90deg);
}


/* DOCTORS */

.oncology-doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.oncology-doctor-card {
    display: block;

    overflow: hidden;

    border: 1px solid #e1e5ec;
    border-radius: 22px;

    background: #ffffff;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.oncology-doctor-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(18, 47, 84, 0.10);
}

.oncology-doctor-image {
    height: 300px;

    overflow: hidden;

    background: #eef0fa;
}

.oncology-doctor-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    display: block;
}

.oncology-no-image {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #7b8492;
}

.oncology-doctor-content {
    position: relative;

    padding: 22px 60px 22px 22px;
}

.oncology-doctor-content h3 {
    margin: 0 0 7px;

    color: #122f54;

    font-size: 20px;
}

.oncology-doctor-content p {
    margin: 0 0 5px;

    color: #39b9d1;

    font-size: 14px;
}

.oncology-doctor-content > span:not(.oncology-doctor-plus) {
    color: #7b8492;
    font-size: 14px;
}

.oncology-doctor-plus {
    position: absolute;

    right: 18px;
    top: 50%;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0f3fb;

    color: #122f54;

    font-size: 25px;

    transform: translateY(-50%);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
    .hospitals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
        .specialties-listing {
        grid-template-columns: repeat(2, 1fr);
    }
    .oncology-specialties-grid,
    .oncology-doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .doctor-card-content {
        padding: 22px;
    }

    .doctor-card-name {
        font-size: 20px;
    }
        .oncology-page {
        padding: 55px 20px;
    }

    .oncology-intro {
        margin-bottom: 60px;
    }

    .oncology-intro h1 {
        font-size: 40px;
    }

    .oncology-section-heading h2 {
        font-size: 32px;
    }

    .oncology-specialties-grid,
    .oncology-doctors-grid {
        grid-template-columns: 1fr;
    }

    .oncology-specialties {
        margin-bottom: 70px;
    }
    .specialties-listing {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .specialty-card {
        min-height: 230px;

        padding: 28px;
    }

    .specialty-card-icon {
        margin-bottom: 35px;
    }

    .specialty-card-content h3 {
        font-size: 21px;
    }
    .hospitals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hospital-card-logo {
        height: 230px;
    }

    .hospital-card-content {
        padding: 25px 22px;
    }

}