/* Styles for the Medical Hero Banner Elementor Widget */

.mhbe-hero-banner-container {
    position: relative;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-height: 550px;
    display: flex;
    align-items: center;
}

/* Gradient Overlay - Dark/Teal on the left, fading to transparent on the right */
.mhbe-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 71, 81, 0.9) 0%, rgba(13, 71, 81, 0.75) 40%, rgba(13, 71, 81, 0.1) 100%);
    z-index: 1;
}

/* Layout Wrapper */
.mhbe-hero-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* Left Content Section */
.mhbe-hero-content {
    color: #ffffff;
    max-width: 650px;
}

.mhbe-hero-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.mhbe-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons Container */
.mhbe-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mhbe-btn {
    display: inline-block;
    padding: 15px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

/* Solid Button: Teal background */
.mhbe-btn-solid {
    background-color: #00a8cc;
    color: #ffffff;
    border: 2px solid #00a8cc;
}

.mhbe-btn-solid:hover {
    background-color: #00b4d8;
    border-color: #00b4d8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
    color: #ffffff;
}

/* Secondary Button: Solid White background, Teal text */
.mhbe-btn-white {
    background-color: #ffffff;
    color: #0b5a6c;
    border: 2px solid #ffffff;
}

.mhbe-btn-white:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    color: #0b5a6c;
}

/* Right Section: Stats Grid */
.mhbe-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

/* Individual Stat Card */
.mhbe-stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mhbe-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mhbe-stat-number {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #00a8cc;
    line-height: 1.1;
    margin-bottom: 8px;
}

.mhbe-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

/* Responsive Styling */

/* Tablets / Medium Screens */
@media (max-width: 991px) {
    .mhbe-hero-banner-container {
        border-radius: 20px;
        min-height: auto;
    }
    
    .mhbe-hero-overlay {
        background: linear-gradient(180deg, rgba(13, 71, 81, 0.95) 0%, rgba(13, 71, 81, 0.85) 60%, rgba(13, 71, 81, 0.6) 100%);
    }

    .mhbe-hero-wrapper {
        grid-template-columns: 1fr;
        padding: 50px 40px;
        gap: 40px;
    }

    .mhbe-hero-content {
        max-width: 100%;
    }

    .mhbe-hero-title {
        font-size: 42px;
    }
    
    .mhbe-cards-grid {
        max-width: 600px;
    }
}

/* Mobile Screens */
@media (max-width: 575px) {
    .mhbe-hero-wrapper {
        padding: 40px 20px;
        gap: 30px;
    }

    .mhbe-hero-title {
        font-size: 32px;
    }

    .mhbe-hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .mhbe-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .mhbe-btn {
        width: 100%;
    }

    .mhbe-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mhbe-stat-card {
        padding: 20px;
        text-align: center;
        align-items: center;
    }
    
    .mhbe-stat-number {
        font-size: 32px;
    }
}
