.swal2-with-backdrop {
    background: rgba(0, 0, 0, .4);
}

.swal2-with-backdrop {
    background: rgba(10, 10, 10, 0.86);
}

/*GENERAL STYLES*/
.pbmit-heading-subheading .pbmit-subtitle {
    color: var(--pbmit-global-color);
}

.pbmit-bg-color-global .pbmit-heading-subheading .pbmit-subtitle {
    color: var(--pbmit-global-color);
}

.pbmit-slider-three .pbmit-button .pbmit-btn:hover {
    background-color: var(--theme-secondary-color);
}

.pbminfotech-ele-fid-style-5 .pbmit-icon-type-icon {
    color: var(--pbmit-global-color);
}

.pbminfotech-ele-fid-style-5 .pbmit-fid-title {
    color: var(--pbmit-global-color);
}

body .pbmit-bg-color-global {
    background-color: var(--theme-primary-color);
}

.pbmit-ihbox-style-18 .pbmit-ihbox-box-number {
    background-color: var(--theme-secondary-color);
}

.pbmit-ihbox-style-17 .pbmit-element-heading {
    color: var(--theme-secondary-color);
    font-weight: 800;
    font-size: 38px;
}

.pbmit-ihbox-style-17 .pbmit-ihbox-btn a {
    background-color: var(--theme-secondary-color);
}

.pbminfotech-ele-ptable-style-1 .pbmit-ptable-price-w {
    color: var(--theme-secondary-color);
}

.pbmit-testimonial-style-2 .pbminfotech-post-item::before {
    background-color: var(--theme-secondary-color);
}

.pbmit-blog-style-2 .pbmit-meta-line i {
    color: var(--theme-secondary-color);
}

.pbmit-blog-style-2 .pbmit-blog-btn {
    background-color: var(--theme-secondary-color);
}

.pbmit-blog-style-2:hover .pbminfotech-box-wrap .pbmit-blog-btn {
    background-color: var(--theme-secondary-rbga-08);
}

.pbmit-blog-style-2 .pbmit-post-title::before {
    background-color: var(--theme-secondary-rbga-05);
}

.site-footer .widget .widget-title {
    color: var(--theme-secondary-color);
}

.footer-top-section .pbmit-icon-list-items li:not(:last-child):before {
    background-color: var(--theme-secondary-color);
}

.team_arrow .swiper-button-next,
.team_arrow .swiper-button-prev,
.blog-swiper_arrow .swiper-button-next,
.blog-swiper_arrow .swiper-button-prev,
.testimonial_arrow .swiper-button-next,
.testimonial_arrow .swiper-button-prev,
.service-four .service_arrow .swiper-button-next,
.service-four .service_arrow .swiper-button-prev {
    color: var(--theme-secondary-color);
    border-color: var(--theme-secondary-color);
}

.team_arrow .swiper-button-next:hover,
.team_arrow .swiper-button-prev:hover,
.blog-swiper_arrow .swiper-button-next:hover,
.blog-swiper_arrow .swiper-button-prev:hover,
.testimonial_arrow .swiper-button-next:hover,
.testimonial_arrow .swiper-button-prev:hover,
.service-four .service_arrow .swiper-button-next:hover,
.service-four .service_arrow .swiper-button-prev:hover {
    border-color: var(--theme-secondary-color);
    background-color: var(--theme-secondary-color);
}

.pbminfotech-ele-ptable-style-1 .pbmit-ptable-col .pbmit-head-wrap::before {
    background-color: var(--theme-secondary-color);
}

.pbminfotech-ele-ptable-style-1 .pbmit-ptable-line .pbmit-ptable-line-svg,
.pbminfotech-ele-ptable-style-1 .pbmit-ptable-line i {
    color: var(--theme-secondary-color);
}

.pbminfotech-ele-ptable-style-1 .pbmit-button a {
    border: 1px solid var(--theme-primary-color);
    color: var(--theme-primary-color);
}

.pbminfotech-ele-ptable-style-1 .pbmit-button a:hover {
    border-color: var(--theme-primary-color);
    background-color: var(--theme-primary-color);
}

/*END GENERAL STYLES*/

/*HEADER STYLES*/
.pbmit-slider-three .pbmit-slider-item {
    background-color: rgb(0 0 0 / 35%);
}

.logo-img {
    width: 100%;
    height: auto;
}

@media (min-width: 1201px) {

    .header-style-2 .pbmit-button-box-second a,
    .header-style-3 .pbmit-button-box-second a {
        background-color: var(--theme-primary-color);
    }

    .header-style-2 .pbmit-button-box-second a:hover,
    .header-style-3 .pbmit-button-box-second a:hover {
        background-color: var(--theme-secondary-color);
    }
}

@media (min-width: 1200px) {
    .site-navigation ul.navigation>li.active>a {
        color: var(--theme-secondary-color);
    }

    .site-navigation ul.navigation>li>a:hover {
        color: var(--theme-secondary-color);
    }
}

/*END HEADER STYLES*/
/*SERVICE STYLES*/
.custom-img-service {
    height: 553px;
    object-fit: cover;
}

.wide-service {
    grid-column: span 2;
}

.pbmit-tab .nav .nav-item a {
    text-align: center;
    height: 100%;
}

.pbmit-tab .nav .nav-item a.active {
    height: 100%;
}

/*END SERVICE STYLES*/


/*PROCESS STYLES*/
.custom-img-process {
    height: 305px;
    width: 325px;
    object-fit: cover;
}

.pbmit-slider-three .pbmit-title {
    /*text-shadow: 0 0 2px var(--theme-primary-color);*/
    /*text-shadow: 4px 4px 6px var(--theme-primary-color);*/
}

.pbmit-slider-three .pbmit-sub-title {
    /*text-shadow: 0 0 2px var(--theme-primary-color);*/
}

.pbmit-marquee-effect-style-1 .pbmit-tag-wrapper::before {
    color: var(--theme-primary-color);
}

.pbmit-marquee-effect-style-1 .pbmit-element-title:before {
    -webkit-text-fill-color: var(--theme-marquee-effect-color);
}

.pbmit-marquee-effect-style-1 .pbmit-element-title {
    text-shadow: 1px 1px 0 var(--theme-marquee-effect-color), -1px -1px 0 var(--theme-marquee-effect-color), 1px -1px 0 var(--theme-marquee-effect-color), -1px 1px 0 var(--theme-marquee-effect-color), 1px 1px 0 var(--theme-marquee-effect-color);
}

/* END SLIDERS STYLES*/

.pbmit-btn .pbmit-button-icon svg {
    width: 1.5em;
}

/*SLIDERS STYLES*/
#ingresa_btn .pbmit-button-icon:before {
    content: '\f52b';
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    top: unset;
    right: unset;
    font-size: 1.2em;
}

.pbmit-btn:hover .pbmit-button-icon svg {
    transform: scale(.26) translate(45px, -60px);
}

.pbmit-slider-three .pbmit-slider-content {
    max-width: 100%;
}

/*.pbmit-slider-bg{*/
/*    height: fit-content;*/
/*}*/

.swiper-slide {
    height: auto;
}

/* END SLIDERS STYLES*/


/*ABOUT US STYLES*/
.custom-img-about-1 {
    max-width: 600px;
    height: 520px;
    object-fit: cover;
}

.custom-img-about-2 {
    max-height: 435px;
    max-width: 430px;
    object-fit: cover;
}

/* END ABOUT US STYLES*/

/*CUSTOM STYLES FOR SERVICES TABS*/

.pbmit-bg-color-global .pbmit-element-service-style-5 .pbmit-hover-inner li:hover .pbmit-title-inner {
    color: var(--theme-secondary-color);
}

.pbmit-element-service-style-5 .pbmit-hover-inner li:hover .pbmit-service-btn .pbmit-button-icon-wrapper::before {
    color: var(--theme-secondary-color);
}

.pbmit-tab .pbmit-tab-list {
    padding-left: 0px;
}

.pbmit-hover-inner {
    min-width: 0;
    min-height: 0;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.pbmit-element-service-style-5 .pbmit-hover-inner {
    padding: 0 50px 0 50px;
}

/*.pbmit-tab-list{*/

/*}*/
/*.pbmit-tab-list .pbmit-hover-inner li {*/
/*    position: relative;*/
/*}*/
/*.pbmit-tab-list .pbmit-title-data-hover {*/
/*    margin-bottom: 0;*/
/*    font-weight: 400;*/
/*}*/
.pbmit-bg-color-global .pbmit-tab-list .pbminfotech-box-number,
.pbmit-bg-color-global .pbmit-tab-list .pbmit-title-inner,
.pbmit-bg-color-global .pbmit-tab-list .pbmit-service-btn a {
    color: var(--theme-primary-color);
}

/*.pbmit-tab-list .pbminfotech-box-number {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    font-size: 16px;*/
/*    line-height: 16px;*/
/*    font-weight: normal;*/
/*    font-family: var(--pbmit-heading-typography-font-family);*/
/*}*/
/*.pbmit-tab-list .pbmit-title-data-hover .pbmit-title-inner, .pbmit-tab-list .pbmit-title-data-hover .pbmit-service-btn a, .pbmit-tab-list .pbmit-title-data-hover .pbmit-service-btn {*/
/*    transition: all 0.5s ease-in-out;*/
/*}*/
/*.pbmit-tab-list .pbmit-title-inner {*/
/*    font-size: 28px;*/
/*    line-height: 28px;*/
/*    position: relative;*/
/*    padding-left: 30px;*/
/*    padding-right: 10px;*/
/*    font-weight: normal;*/
/*    font-family: var(--pbmit-heading-typography-font-family);*/
/*}*/

/* TESTIMONIALS SECTION */

.testimonial-three_bg {
    background-image: url(https://cdn.omedso.com/media/landing/reviews/bg.jpg);
}

.swiper-pagination-bullet-active {
    outline: 1px solid #005e00;
}

.swiper-pagination-bullet {
    background-color: #005e00;
}

/* END TESTIMONIALS SECTION */

/*servicios tab 1*/
.service-icon-00:before {
    content: "\f116"
}

.service-icon-01:before {
    content: "\f12E"
}

.service-icon-02:before {
    content: "\f104"
}

.service-icon-03:before {
    content: "\f150"
}

/*servicios tab 2*/
.service-icon-20:before {
    content: "\f116"
}

.service-icon-21:before {
    content: "\f11f"
}

.service-icon-22:before {
    content: "\f106"
}

.service-icon-23:before {
    content: "\f11b"
}

.service-icon-24:before {
    content: "\f10c"
}

.service-icon-25:before {
    content: "\f13c"
}

.service-icon-26:before {
    content: "\f13e"
}

/*Servicios tab 3 */
.service-icon-30:before {
    content: "\f116"
}

.service-icon-31:before {
    content: "\f120"
}

.service-icon-32:before {
    content: "\f13b"
}

.service-icon-33:before {
    content: "\f165"
}

.service-icon-34:before {
    content: "\f111"
}

.service-icon-35:before {
    content: "\f105"
}

.service-icon-315:before {
    content: "\f164"
}

.service-icon-316:before {
    content: "\f15b"
}

.service-icon-310:before {
    content: "\f127"
}

/*END CUSTOM STYLES FOR SERVICES TABS*/

/*FOOTER STYLES*/
.site-footer .widget .widget-title {
    text-transform: unset;
}

.site-footer {
    /*background-image: url(https://cdn.omedso.com/media/landing/footer/footer.png);*/
    background-image: url(https://cdn.omedso.com/media/landing/footer/footer.png);
}

.site-footer .pbmit-footer-widget-col-1 .pbmit-footer-logo {
    margin-bottom: 0px;
}

.site-footer .pbmit-footer-widget-col-1 .pbmit-footer-logo img {
    /*height: 35px;*/
    /*height: 45px;*/
    height: 63px;
}

.site-footer .pbmit-footer-widget-col-1 .pbmit-footer-text {
    margin-top: 1.5rem
}

.widget_text {
    margin-top: 2.5rem !important;
}

.site-footer .pbmit-footer-big-area {
    /*padding-top: 20px;*/
    padding-top: 0px;
}

.custom-mt-footer-description {
    margin-top: 2.5rem;
}

.site-footer .widget .pbmit-contact-widget-address {
    color: var(--pbmit-body-typography-color);
    opacity: 1;
}

/*END FOOTER STYLES*/

/*ENTRIES STYLES*/
.pbmit-blog-style-2 .pbmit-post-title a {
    -webkit-line-clamp: unset !important;
}

/*END ENTRIES STYLES*/

@media (orientation: landscape) {}

@media (orientation: portrait) {

    /*ABOUT US STYLES*/
    .custom-img-about-1 {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .custom-img-about-2 {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .pbmit-element-service-style-5 .pbmit-hover-inner {
        padding: 0 5px 0 5px;
    }

    /* END ABOUT US STYLES*/

}

/* ESP FLAG */
#flag-ec-mobile {
    display: none;
}

#btn_iniciar_sesion_mobile {
    display: none;
}

@media (max-width: 1200px) {
    #flag-ec {
        display: none;
    }

    #flag-ec-mobile {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #btn_iniciar_sesion_mobile {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* QUITAR BORDER RADIUS DE /FRONTEND/LANDING */
.header-style-3 .pbmit-slider-area {
    border-radius: unset;
}

.btn-primary-light-green,
.btn-primary-light {
    background-color: var(--pbmit-white-color) !important;
    color: var(--theme-primary-color) !important;
}

.btn-primary-light-green:hover,
.btn-primary-light:hover {
    background-color: var(--theme-secondary-color) !important;
    color: var(--pbmit-light-color) !important;
}

.btn-primary-light-blue {
    background-color: var(--pbmit-white-color) !important;
    color: var(--theme-primary-color) !important;
}

.btn-primary-light-blue:hover {
    background-color: var(--theme-primary-color) !important;
    color: var(--pbmit-light-color) !important;
}

.btn-primary-green {
    background-color: var(--theme-secondary-color) !important;
    color: var(--pbmit-light-color) !important;
}

.btn-primary-green:hover {
    background-color: var(--theme-primary-color) !important;
    color: var(--pbmit-light-color) !important;
}

.btn-primary-blue {
    background-color: var(--theme-primary-color);
    color: var(--pbmit-light-color);
}

.btn-primary-blue:hover {
    background-color: var(--theme-secondary-color);
    color: var(--pbmit-light-color);
}

.btn-omedso .pbmit-btn svg path {
    stroke: currentColor !important;
}

.navbar-toggler {
    right: unset;
}

.omd-btn-success {
    background-color: #005e00;
}

.omedso-page.omedso-especialista-page section {
    padding: 100px 0;
}

/* In your main CSS file */
.specialty-card svg,
.specialty-card small {
    color: #000000 !important;
    /* Black color */
}

/* Or if you prefer a utility class */
.text-black {
    color: #000000 !important;
}

/**
 * OurServices Component Styles
 * 
 * Mobile-First approach with progressive enhancement
 * Works alongside Bootstrap 4 classes
 */

/* ===== CSS Variables ===== */
:root {
    --omedso-primary-blue: #0d3d8c;
}

/* ===== Tab Navigation with Animated Pill ===== */
.tab-nav-container {
    position: relative;
    background-color: #eef2ff;
    border-radius: 0.5rem;
}

.animated-pill {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--omedso-primary-blue);
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    width: 100%; /* Mobile: Full width per button */
}

.tab-button {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    color: #374151;
}

.tab-button.active {
    color: #ffffff !important;
}

.tab-button:focus {
    outline: none;
    box-shadow: none;
}

/* ===== Content Cards (Cross-fade Animation) ===== */
.content-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
}

.content-card.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.content-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.content-text-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.45));
    display: flex;
    flex-direction: column;
}

/* ===== CTA Button Styles ===== */
.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: var(--omedso-primary-blue) !important;
    font-weight: 600;
    padding: 8px 20px; /* Mobile: Smaller padding */
    font-size: 0.9rem; /* Mobile: Slightly smaller text */
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.10);
}

.cta-button:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: var(--omedso-primary-blue) !important;
}

/* ===== Slider Styles ===== */
.uniform-content-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 180px; /* Mobile: Compact height */
}

.info-slider-wrapper {
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.info-slider {
    display: flex;
    transition: transform 0.7s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 5px; /* Mobile: Minimal padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ===== Slider Navigation Indicators ===== */
.slider-nav {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 200px;
}

.slider-indicator {
    height: 4px;
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

.slider-indicator.active {
    background-color: #ffffff;
}

/* ===== Feature Text Animation ===== */
.feature-text {
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.feature-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Floating Gift Element ===== */
#floating-gift {
    position: absolute;
    z-index: 50;
    bottom: 10px; /* Mobile: Safe bottom position */
    right: 10px; /* Mobile: Safe right position */
    width: 90px; /* Mobile: Smaller size */
    cursor: pointer;
    opacity: 0;
    animation: floatIn 0.8s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
        gentleFloat 4s ease-in-out 1.5s infinite;
    transition: transform 0.3s ease;
}

#floating-gift img {
    width: 100%;
    border-radius: 12px;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.25));
}

#floating-gift:hover {
    transform: translateY(-8px) scale(1.05);
    animation-play-state: paused;
}

/* ===== Keyframe Animations ===== */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===== TABLET AND UP (577px+) ===== */
@media (min-width: 577px) {
    .uniform-content-area {
        min-height: 220px; /* More breathing room */
    }

    .slider-slide {
        padding: 0 10px; /* Increased padding */
    }

    .cta-button {
        padding: 10px 24px; /* Larger touch targets */
        font-size: 1rem; /* Standard text size */
    }
}

/* ===== DESKTOP (769px+) ===== */
@media (min-width: 769px) {
    .animated-pill {
        width: auto; /* Let it size based on button width */
    }

    #floating-gift {
        width: 280px; /* Larger, more prominent */
        bottom: -30px; /* Creative overflow effect */
        right: 15px; /* Standard desktop spacing */
    }
}

.especialista-features {
    background-color: var(--theme-primary-color);
    background-position: top center;
    background-repeat: no-repeat;
}

.especialista-features .pbmit-title {
    color: var(--pbmit-white-color);
}

.features-specialties *, .features-specialties p.text-muted{
    color: var(--pbmit-white-color) !important;
}

.especialista-section .image-crop {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Keeps a balanced square shape */
    overflow: hidden;
    position: relative;
}

.especialista-section .image-crop img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* ensures the image fills the crop box */
    object-position: center;
    /* centers the most important part */
}

/* Optional: refine the look on small devices */
@media (max-width: 768px) {
    .especialista-section .image-crop {
        aspect-ratio: 4 / 3;
    }
}

/* Testimonial Section */
.especialista-testimonial {
    padding: 4rem 0;
}

/* Wrapper for positioning context */
.testimonial-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    /* NEW: Forces wrapper to match image height */
    align-items: center;
    /* NEW: Vertically centers content */
}

/* Image Container */
.testimonial-image {
    width: 100%;
    height: auto;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    display: block;
    /* NEW: Removes inline spacing */
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Floating Text Box */
.testimonial-content {
    position: absolute;
    right: -10rem;
    transform: translateY(-50%);
    /* Shifts up by half its own height */

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);

    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    max-width: 450px;
    /* Slightly reduced for better balance */
    width: 90%;

    z-index: 10;
    /* NEW: Ensures text appears above image */
}

/* Star Ratings Styling */
.pbminfotech-box-star-ratings {
    color: #ffc107;
    /* Gold color */
    font-size: 1.2rem;
}

.pbminfotech-box-star-ratings i {
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-wrapper {
        flex-direction: column;
        /* Stack vertically on tablets */
    }

    .testimonial-content {
        position: relative;
        top: auto;
        right: auto;
        transform: none;

        margin-top: -3rem;
        /* Overlap image slightly */
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .testimonial-content {
        margin-top: -2rem;
        padding: 1.5rem;
        width: 95%;
        max-width: 100%;
    }

    .pbminfotech-box-star-ratings {
        font-size: 1rem;
    }
}