/* ==========================================================================
   Medifly Custom Stylesheet
   ========================================================================== */

/* --- Read More Button Hover --- */
.single-services-box .read-more-btn {
    transition: all 0.3s ease;
}
.single-services-box:hover .read-more-btn,
.single-services-box .read-more-btn:hover {
    color: #ffc107 !important;
}

/* --- Hospital Card New (Homepage) --- */
.hospital-card-new {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(31, 30, 97, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    align-items: center;
    text-align: left;
}
.hospital-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(31, 30, 97, 0.12);
    border-color: #3b82f6;
}
.hospital-card-new .hospital-icon-wrapper {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 14px;
    background: rgba(31, 30, 97, 0.06);
    color: #1f1e61;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 16px;
    transition: all 0.3s ease;
}
.hospital-card-new:hover .hospital-icon-wrapper {
    background: #1f1e61;
    color: #ffffff;
}
.hospital-card-new .hospital-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f1e61;
    margin-bottom: 4px;
    line-height: 1.35;
}
.hospital-card-new .accreditation-tag {
    font-size: 0.83rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Hospital Directory Card (Hospitals Page) --- */
.hospital-directory-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 18px !important;
}
.hospital-directory-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(31, 30, 97, 0.1) !important;
    border-color: #3b82f6 !important;
}
.hospital-directory-card .icon-box {
    transition: all 0.3s ease;
}
.hospital-directory-card:hover .icon-box {
    background: #3b82f6 !important;
}

/* --- Healthcare Journey 4-Step Cards (Patient Stories Page) --- */
.journey-step-card-v2 {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 22px 25px 22px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #1f1e61 !important;
    box-shadow: 0 4px 20px rgba(31, 30, 97, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: left;
}
.journey-step-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(31, 30, 97, 0.12) !important;
    border-top-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}
.journey-step-watermark {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(31, 30, 97, 0.07);
    line-height: 1;
    font-family: 'Rubik', sans-serif;
    user-select: none;
    transition: all 0.3s ease;
}
.journey-step-card-v2:hover .journey-step-watermark {
    color: rgba(59, 130, 246, 0.18);
    transform: scale(1.1);
}
.journey-step-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    background: #eff6ff;
    color: #1f1e61;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
.journey-step-icon-v2 {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(31, 30, 97, 0.06);
    color: #1f1e61;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}
.journey-step-card-v2:hover .journey-step-icon-v2 {
    background: #1f1e61;
    color: #ffffff;
}
.journey-step-card-v2 h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f1e61;
    margin-bottom: 8px;
}
.journey-step-card-v2 p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- WhatsApp Green Button Class --- */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease !important;
}
.btn-whatsapp:hover {
    background-color: #20ba5a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* --- Form Field Utility Classes --- */
.form-label-medifly {
    font-weight: 500;
    color: #1f1e61;
    margin-bottom: 8px;
}
.btn-submit-medifly {
    background-color: #1f1e61 !important;
    border-color: #1f1e61 !important;
    border-radius: 30px !important;
    padding: 12px 35px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.btn-submit-medifly:hover {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

/* --- Direct Helpline Card --- */
.helpline-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-top: 5px solid #1f1e61 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- General Left Title Override --- */
.section-title-left {
    max-width: 100% !important;
    margin-left: 0 !important;
    text-align: left !important;
}
.section-title-left p {
    margin-left: 0 !important;
    max-width: 100% !important;
    text-align: left !important;
}

/* --- Mobile Responsive Rules --- */
@media only screen and (max-width: 991px) {
    .feedback-slides .client-thumbnails {
        max-width: 320px !important;
        margin: 0 auto -45px auto !important;
        position: relative;
        z-index: 10;
    }
    .feedback-slides .client-thumbnails .item .img-fill {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .feedback-slides .client-thumbnails .item .img-fill img {
        width: 62px !important;
        height: 62px !important;
        margin: 0 auto !important;
        display: block !important;
        border-radius: 50% !important;
        border: 2px solid #1f1e61 !important;
        transform: scale(0.85);
        transition: all 0.3s ease;
    }
    .feedback-slides .client-thumbnails .item.slick-center .img-fill img {
        transform: scale(1.05) !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 4px 15px rgba(31, 30, 97, 0.2);
    }
    .feedback-slides .client-feedback .single-feedback {
        padding-top: 55px !important;
        text-align: center;
    }
    .feedback-slides .client-feedback .single-feedback h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 4px;
    }
}

/* --- Hero Slider Buttons Mobile Spacing --- */
@media only screen and (max-width: 767px) {
    .main-banner-content .btn-box {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 10px !important;
        margin-top: 18px !important;
    }
    .main-banner-content .btn-box .btn {
        margin: 3px 4px !important;
        padding: 10px 16px !important;
        font-size: 12.5px !important;
    }
}

/* --- Footer Office & Contact Info --- */
.footer-contact-info {
    padding-left: 0;
    list-style-type: none;
    margin-bottom: 0;
}
.footer-contact-info li {
    color: #cecece;
    font-size: 14.5px;
    font-family: "Rubik", sans-serif;
    transition: transform 0.25s ease;
}
.footer-contact-info li a {
    color: #cecece;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}
.footer-contact-info li a:hover {
    color: #38bdf8 !important;
    transform: translateX(3px);
}
.copyright-area a {
    transition: color 0.25s ease;
}
.copyright-area a:hover {
    color: #38bdf8 !important;
}

/* --- Premium Deep Gradient Breadcrumb (page-title-area clean-bg) --- */
.page-title-area.clean-bg {
    height: auto;
    padding: 54px 0 52px;
    background: linear-gradient(135deg, #0b1120 0%, #111a36 45%, #1b2559 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
    overflow: hidden;
}

.page-title-area.clean-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 8%;
    width: 420px;
    height: 100%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-title-area.clean-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
}

.page-title-area.clean-bg .page-title-content {
    text-align: left;
    position: relative;
    z-index: 2;
}

.page-title-area.clean-bg .page-title-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.page-title-area.clean-bg .page-title-content ul {
    margin-top: 8px;
    padding-left: 0;
}

.page-title-area.clean-bg .page-title-content ul li {
    color: #38bdf8 !important;
    font-size: 14.5px;
    font-weight: 500;
}

.page-title-area.clean-bg .page-title-content ul li:first-child {
    margin-left: 0;
}

.page-title-area.clean-bg .page-title-content ul li a {
    color: #94a3b8 !important;
    transition: color 0.25s ease;
}

.page-title-area.clean-bg .page-title-content ul li a:hover {
    color: #ffffff !important;
}

.page-title-area.clean-bg .page-title-content ul li::before {
    color: rgba(148, 163, 184, 0.5) !important;
}

@media only screen and (max-width: 767px) {
    .page-title-area.clean-bg {
        padding: 42px 0 40px !important;
    }
    .page-title-area.clean-bg .page-title-content h2 {
        font-size: 26px !important;
    }
    .page-title-area.clean-bg .page-title-content ul li {
        font-size: 13.5px !important;
    }
}

/* --- Medical Destination Flag Badges --- */
.destination-flag-wrap {
    width: 72px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8fafc;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destination-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.destination-card:hover .destination-flag-wrap {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 30, 97, 0.16);
}





