.mauthLogo{
    width:70px;height:70px;
}

.configHeaderIcon1{
    display:none;
}

.configHeaderIcon2{
    display:block;
}

@media (max-width:767px){
    .mauthLogo{
        width:60px;height:60px;
    }

    .configHeaderIcon1{
        display:block;
    }

    .configHeaderIcon2{
        display:none;
    }
}

.navbar-nav a:hover{
    color:mediumseagreen !important;
    font-size:20px !important;
    font-weight:bold !important;

    i{
        color:mediumseagreen !important;
    }
}

.carousel-item img{
    height:700px;
}

@media (max-width:767px){
    .carousel-item img{
        height:350px;
    }
}

.sliderTextBg{
    max-width:900px;
    background-color:rgb(0,0,0);
    background-color:rgb(60,179,113,0.5);
    border-radius:10px;

    h1{
        text-shadow:0.6px 0.6px 0.6px red;
    }
}

@media (max-width:767px){
    .sliderTextBg{
        border-radius:0px;
    }
}

.headerTopCard{
    border-radius:20px 0px 0px 20px;
}

.headerBottomCard{
    border-radius:0px 20px 20px 0px;
}

@media (max-width:1024px){

    .headerTopCard{
        border-radius:0px;
    }

    .headerBottomCard{
        border-radius:0px 0px 20px 20px;
    }
}

.headerCardBtn:hover{
    color:mediumseagreen;
    font-size:16px;
    font-weight:bold;
}

/* Professional Academic Styling for About Section */
    .cmd-academic-wrap {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }
    
    .cmd-degree-badge {
        background-color: #ffffff;
        color: #dc3545; /* Red accent for the degrees */
        border: 1px solid #dee2e6;
        font-size: 10px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        text-transform: uppercase;
    }

    .cmd-profile-card {
        border-top: 4px solid #dc3545; /* Signature Red Line */
        transition: 0.3s;
    }

    .cmd-profile-card:hover {
        transform: translateY(-5px);
    }


/* =========================
   SECTION BACKGROUND
========================= */
.dept-section {
    background: linear-gradient(to bottom, #f3fbf6, #ffffff);
    overflow-x: hidden; /* prevents right-side scroll bug */
}

/* =========================
   ROW SAFETY FIX
========================= */
.dept-section .row {
    margin-left: 0;
    margin-right: 0;
}

/* =========================
   CARD BASE
========================= */
.dept-card {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden; /* CRITICAL FIX (prevents page overflow) */
    background: #fff;
    position: relative;

    border: 1px solid rgba(60,179,113,0.15);
    border-bottom: 2px solid mediumseagreen;

    box-shadow: 0 5px 20px rgba(0,0,0,0.06);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

/* =========================
   CARD HOVER (SAFE)
========================= */
.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(60,179,113,0.18);
}

/* =========================
   IMAGE CONTAINER
========================= */
.dept-img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* =========================
   IMAGE FIX (NO OVERFLOW)
========================= */
.dept-img img {
    width: 100%;
    max-width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

/* image zoom ONLY inside container */
.dept-card:hover .dept-img img {
    transform: scale(1.08);
}

/* =========================
   IMAGE OVERLAY
========================= */
.dept-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.dept-card:hover .dept-img::after {
    opacity: 1;
}

/* =========================
   TITLE
========================= */
.dept-title {
    font-weight: 600;
    font-size: 15px;
    color: #14532d;
    min-height: 40px;
}

/* =========================
   BUTTON
========================= */
.dept-btn {
    border-radius: 50px;
    font-size: 13px;
    padding: 6px 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* button arrow animation */
.dept-btn i {
    transition: transform 0.3s ease;
}

.dept-card:hover .dept-btn i {
    transform: translateX(4px);
}

/* =========================
   TABS
========================= */
.nav-pills .nav-link {
    border-radius: 30px;
    padding: 10px 25px;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: mediumseagreen;
    box-shadow: 0 4px 12px rgba(60,179,113,0.35);
}

/* =========================
   GLOBAL SAFETY FIX
========================= */
body {
    overflow-x: hidden; /* FINAL FIX for right scroll bug */
}

/* =========================
   WOW / ANIMATION SAFETY
========================= */
.wow {
    will-change: transform;
}

@media (max-width:767px){
    .offerBtn{
        display:none;
    }
}

@media (min-width:768px){
    .serviceCardImageHeight{
        height:350px;
    }

    .serviceCardHeight{
        height:190px;
    }

    .serviceLeftImage1, .serviceLeftImage2{
        max-width:400px;
    }
}

@media (max-width:767px){
    .serviceLeftImage2{
        display:none;
    }
}

.testimony-btn {
    border-radius: 50px;
    font-weight: 600;
    color: mediumseagreen;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Hover effect */
.testimony-btn:hover {
    background: mediumseagreen;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(60,179,113,0.4);
}

/* Icon animation */
.testimony-btn i {
    transition: 0.3s;
}

.testimony-btn:hover i {
    transform: rotate(-15deg) scale(1.2);
}

.form-control:focus {
    border-color: mediumseagreen;
    box-shadow: 0 0 0 0.25rem rgba(60,179,113,0.25);
}

 /* Styling for the Academic Title Badges */
    .academic-titles {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 8px;
        flex-wrap: wrap;
    }
    
    .badge-academic {
        background-color: #e9ecef;
        color: #14532d; /* Professional Green */
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 50px;
        border: 1px solid #3cb371;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .team-item:hover .badge-academic {
        background-color: #dc3545; /* Turns red on hover to match your theme */
        color: white;
        border-color: #dc3545;
        transition: 0.3s;
    }

    /* --- NEWSLETTER SECTION STYLE --- */
    .mauth-newsletter-container {
        position: relative;
        z-index: 10;
        margin-top: -60px; /* Overlap effect */
    }

    .mauth-newsletter-card {
        background: linear-gradient(rgba(60, 179, 113, 0.95), rgba(20, 83, 45, 0.95)), url('img/cer4.jpg');
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        /* FIX 1: Prevent any inner elements from leaking out */
        overflow: hidden; 
    }

    .newsletter-form-group {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
    }

    .newsletter-input-field {
        width: 100%;
        padding: 18px 30px;
        border-radius: 50px;
        border: 2px solid transparent;
        outline: none;
        font-size: 16px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .newsletter-input-field:focus {
        border-color: #dc3545;
    }

    .btn-mauth-subscribe {
        position: absolute;
        right: 6px;
        top: 6px;
        bottom: 6px;
        background: #dc3545;
        color: white;
        border: none;
        padding: 0 35px;
        border-radius: 50px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .btn-mauth-subscribe:hover {
        background: #212529;
        color: white;
        transform: scale(1.02);
    }

    /* Mobile Responsive Fix */
    @media (max-width: 767px) {
        .mauth-newsletter-container {
            margin-top: 20px;
        }
        .btn-mauth-subscribe {
            position: relative;
            width: 100%;
            margin-top: 15px;
            padding: 15px;
            justify-content: center;
            top: auto;
            right: auto;
        }
        .newsletter-input-field {
            border-radius: 15px;
            text-align: center;
        }
    }

    .faq-section {
        background-color: #f8f9fa;
        border-radius: 30px;
    }

    /* Accordion Item Styling */
    .mauth-faq .accordion-item {
        border: none;
        margin-bottom: 15px;
        border-radius: 12px !important;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .mauth-faq .accordion-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(60, 179, 113, 0.1);
    }

    /* Button Styling */
    .mauth-faq .accordion-button {
        padding: 20px 25px;
        font-weight: 600;
        font-size: 17px;
        color: #14532d;
        background-color: #ffffff;
        border: none;
    }

    .mauth-faq .accordion-button:not(.collapsed) {
        color: #3cb371; /* Medium Sea Green */
        background-color: #f0fff4;
        box-shadow: none;
    }

    /* Red indicator icon */
    .mauth-faq .accordion-button::after {
        background-size: 1.25rem;
        transition: transform 0.3s ease;
    }

    .mauth-faq .accordion-button i {
        color: #dc3545; /* Red Icon accent */
        margin-right: 15px;
        font-size: 1.1rem;
    }

    /* Content Styling */
    .mauth-faq .accordion-body {
        padding: 20px 25px 25px;
        color: #555;
        line-height: 1.7;
        background-color: #f0fff4;
        border-top: 1px solid rgba(60, 179, 113, 0.1);
    }

    .faq-highlight {
        border-left: 4px solid #dc3545;
    }

    /* Premium Input Styling */
    .inner-form-input {
        background: #f8f9fa !important;
        border: 2px solid #eeeeee !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
    }

    .inner-form-input:focus {
        background: #ffffff !important;
        border-color: #22c55e !important; /* Success Green */
        box-shadow: 0 8px 20px rgba(34, 197, 94, 0.1) !important;
        transform: translateY(-2px);
    }

    /* Icon Styling inside input group */
    .input-icon-box {
        border: 2px solid #eeeeee !important;
        border-right: none !important;
        border-radius: 12px 0 0 12px !important;
        background: #f8f9fa !important;
        color: #6c757d !important;
    }

    .inner-form-input:focus + .input-icon-box,
    .input-group:focus-within .input-icon-box {
        border-color: #22c55e !important;
        color: #22c55e !important;
    }

    /* Professional Button */
    .btn-mauth-send {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .btn-mauth-send:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        color: #22c55e;
    }

.topMgtText{
    font-size:35px;
}
@media(max-width:767px){
    .topMgtText{
        font-size:30px;
    }
}

.hover-elevate:hover {
        transform: translateY(-7px);
        box-shadow: 0 1rem 3rem rgba(25, 135, 84, 0.12) !important;
    }
    .hover-elevate:hover .transition-zoom {
        transform: scale(1.05);
    }
    .transition-zoom {
        transition: transform 0.5s ease;
    }
    

/* Container set to flex/wrap by default on larger screens */
.cmd-academic-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Individual badge styling baseline */
.cmd-degree-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    /* Add your background/color styles here if not already defined elsewhere */
}

/* Mobile Responsive Grid for Small Screens */
@media (max-width: 576px) {
    .cmd-academic-wrap {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Creates 3 neat columns on mobile */
        gap: 6px;
        width: 100%;
    }

    .cmd-degree-badge {
        text-align: center;
        padding: 6px 4px;
        font-size: 0.75rem; /* Slightly smaller text to prevent text wrapping breaking the layout */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Safely cuts off if text is unusually long */
    }
}

/* Add this inside your main stylesheet or a <style> block on the page */
.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}
.hover-card:hover .zoom-img {
    transform: scale(1.08);
}



    .premium-health {
        --ph-green: #087647;
        --ph-dark: #073d2b;
        --ph-light: #eff9f3;
        position: relative;
        padding: 75px 0;
        overflow: hidden;
        background:
            radial-gradient(ellipse at 0% 0%, rgba(34, 197, 94, .09), transparent 40%),
            radial-gradient(ellipse at 100% 100%, rgba(8, 118, 71, .07), transparent 40%),
            #f8fbf9;
    }

    .premium-health,
    .premium-health * {
        box-sizing: border-box;
    }

    .premium-health .ph-heading {
        max-width: 650px;
        margin: 0 auto 42px;
        text-align: center;
    }

    .premium-health .ph-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
        padding: 8px 15px;
        border: 1px solid #d5ecdf;
        border-radius: 50px;
        background: #fff;
        color: var(--ph-green);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .premium-health .ph-eyebrow i {
        font-size: 13px;
    }

    .premium-health .ph-heading h2 {
        margin: 0 0 14px;
        color: var(--ph-dark);
        font-size: clamp(27px, 3vw, 38px);
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -.8px;
    }

    .premium-health .ph-heading h2 span {
        color: var(--ph-green);
    }

    .premium-health .ph-heading p {
        max-width: 520px;
        margin: 0 auto;
        color: #687b71;
        font-size: 15px;
        line-height: 1.9;
    }

    .premium-health .ph-card {
        --ph-accent: #087647;
        --ph-tint: #e8f7ee;

        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 365px;
        padding: 30px;
        overflow: hidden;
        isolation: isolate;
        border: 1px solid rgba(15, 95, 57, .10);
        border-radius: 22px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 8px 30px rgba(16, 67, 42, .055);
        transition: transform .35s ease,
                    box-shadow .35s ease,
                    border-color .35s ease;
    }

    .premium-health .ph-card::before {
        position: absolute;
        z-index: -1;
        top: -75px;
        right: -65px;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: var(--ph-tint);
        content: "";
        opacity: .8;
        transition: transform .45s ease;
    }

    .premium-health .ph-card::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(
            90deg,
            var(--ph-accent),
            rgba(255, 255, 255, .4)
        );
        content: "";
    }

    .premium-health .ph-card:hover {
        transform: translateY(-9px);
        border-color: rgba(15, 95, 57, .2);
        box-shadow: 0 22px 50px rgba(16, 67, 42, .12);
    }

    .premium-health .ph-card:hover::before {
        transform: scale(1.3);
    }

    .premium-health .ph-emergency {
        --ph-accent: #d93649;
        --ph-tint: #fff0f2;
    }

    .premium-health .ph-appointment {
        --ph-accent: #087647;
        --ph-tint: #e8f7ee;
    }

    .premium-health .ph-doctor {
        --ph-accent: #167bb4;
        --ph-tint: #eaf5fc;
    }

    .premium-health .ph-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 27px;
    }

    .premium-health .ph-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 66px;
        height: 66px;
        border: 1px solid rgba(255, 255, 255, .9);
        border-radius: 20px;
        background: var(--ph-tint);
        color: var(--ph-accent);
        box-shadow: 0 7px 18px rgba(17, 67, 43, .06);
        font-size: 27px;
        transition: transform .35s ease,
                    border-radius .35s ease;
    }

    .premium-health .ph-card:hover .ph-icon {
        transform: rotate(-5deg) scale(1.07);
        border-radius: 50%;
    }

    .premium-health .ph-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 39px;
        height: 39px;
        border: 1px solid #e7eee9;
        border-radius: 50%;
        background: rgba(255, 255, 255, .8);
        color: #829389;
        font-size: 12px;
        font-weight: 800;
    }

    .premium-health .ph-tag {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        align-self: flex-start;
        margin-bottom: 12px;
        color: var(--ph-accent);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.3px;
        text-transform: uppercase;
    }

    .premium-health .ph-tag-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--ph-accent);
    }

    .premium-health .ph-card h3 {
        margin: 0 0 12px;
        color: #153e2b;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -.4px;
    }

    .premium-health .ph-card p {
        margin: 0 0 26px;
        color: #6b7b72;
        font-size: 14px;
        line-height: 1.9;
    }

    .premium-health .ph-action {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 51px;
        margin-top: auto;
        padding: 8px 9px 8px 17px;
        border: 1px solid var(--ph-accent);
        border-radius: 12px;
        background: var(--ph-accent);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        transition: background .25s ease,
                    color .25s ease,
                    border-color .25s ease;
    }

    .premium-health .ph-action:hover {
        border-color: var(--ph-accent);
        background: #fff;
        color: var(--ph-accent);
    }

    .premium-health .ph-action-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 33px;
        height: 33px;
        border-radius: 9px;
        background: rgba(255, 255, 255, .18);
        transition: transform .25s ease,
                    background .25s ease;
    }

    .premium-health .ph-action:hover .ph-action-icon {
        transform: translateX(2px);
        background: var(--ph-tint);
    }

    .premium-health .ph-action:focus-visible {
        outline: 3px solid var(--ph-tint);
        outline-offset: 4px;
    }

    /* Tablet */
    @media (max-width: 991.98px) {
        .premium-health {
            padding: 55px 0;
        }

        .premium-health .ph-heading {
            margin-bottom: 32px;
        }

        .premium-health .ph-card {
            min-height: 355px;
            padding: 25px;
        }

        .premium-health .ph-card h3 {
            font-size: 21px;
        }

        .premium-health .ph-card-top {
            margin-bottom: 23px;
        }
    }

    /* Mobile */
    @media (max-width: 575.98px) {
        .premium-health {
            padding: 38px 0;
        }

        .premium-health .container {
            padding-right: 18px;
            padding-left: 18px;
        }

        .premium-health .ph-heading {
            margin-bottom: 26px;
        }

        .premium-health .ph-heading h2 {
            font-size: 28px;
            letter-spacing: -.5px;
        }

        .premium-health .ph-heading p {
            font-size: 14px;
        }

        .premium-health .ph-card {
            min-height: auto;
            padding: 25px 23px 23px;
            border-radius: 18px;
        }

        .premium-health .ph-card-top {
            margin-bottom: 22px;
        }

        .premium-health .ph-icon {
            width: 59px;
            height: 59px;
            border-radius: 17px;
            font-size: 24px;
        }

        .premium-health .ph-card h3 {
            font-size: 22px;
        }

        .premium-health .ph-card p {
            font-size: 14px;
            line-height: 1.85;
        }

        .premium-health .ph-action {
            min-height: 50px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .premium-health *,
        .premium-health *::before,
        .premium-health *::after {
            scroll-behavior: auto !important;
            transition: none !important;
            animation: none !important;
        }

        .premium-health .ph-card:hover {
            transform: none;
        }
    }
    
    
    /* Trigger button */
    .mauth-about-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 14px 22px;
        border: 1px solid #087647;
        border-radius: 10px;
        background: #087647;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 22px rgba(8, 118, 71, .15);
        transition: all .25s ease;
    }

    .mauth-about-trigger:hover {
        background: #fff;
        color: #087647;
        transform: translateY(-2px);
    }

    /* Modal backdrop and dialog */
    #mauthAboutModal .modal-dialog {
        max-width: 950px;
        margin: 1.25rem auto;
    }

    #mauthAboutModal .modal-content {
        overflow: hidden;
        border: 0;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 25px 90px rgba(0, 35, 20, .22);
    }

    #mauthAboutModal .modal-header {
        position: relative;
        padding: 27px 30px;
        border: 0;
        background:
            radial-gradient(circle at 95% 0%, rgba(255,255,255,.12), transparent 35%),
            linear-gradient(125deg, #063d2b, #087647);
        color: #fff;
    }

    #mauthAboutModal .modal-brand {
        display: flex;
        align-items: center;
        gap: 15px;
        min-width: 0;
    }

    #mauthAboutModal .modal-brand-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 15px;
        background: rgba(255,255,255,.12);
        color: #fff;
        font-size: 23px;
    }

    #mauthAboutModal .modal-brand h2 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.3;
    }

    #mauthAboutModal .modal-brand p {
        margin: 0;
        color: rgba(255,255,255,.8);
        font-size: 12px;
        line-height: 1.6;
    }

    #mauthAboutModal .btn-close {
        flex: 0 0 auto;
        margin: 0 0 0 15px;
        padding: 11px;
        border-radius: 50%;
        background-color: rgba(255,255,255,.95);
        opacity: 1;
    }

    /* Tab navigation */
    #mauthAboutModal .mauth-modal-tabs {
        display: flex;
        gap: 7px;
        padding: 15px 22px;
        overflow-x: auto;
        border-bottom: 1px solid #e6eee8;
        background: #f7faf8;
        scrollbar-width: thin;
    }

    #mauthAboutModal .mauth-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 0 0 auto;
        padding: 11px 14px;
        border: 1px solid transparent;
        border-radius: 9px;
        background: transparent;
        color: #64766a;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        transition: all .2s ease;
    }

    #mauthAboutModal .mauth-tab:hover {
        background: #eaf5ee;
        color: #087647;
    }

    #mauthAboutModal .mauth-tab.active {
        border-color: #cfe7d7;
        background: #e8f5ec;
        color: #087647;
    }

    #mauthAboutModal .mauth-tab:focus-visible {
        outline: 3px solid #9bd4b0;
        outline-offset: 2px;
    }

    /* Modal body */
    #mauthAboutModal .modal-body {
        padding: 30px;
        background: #fff;
    }

    #mauthAboutModal .mauth-panel {
        animation: mauthPanelIn .25s ease;
    }

    @keyframes mauthPanelIn {
        from {
            opacity: 0;
            transform: translateY(6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #mauthAboutModal .mauth-section-label {
        display: inline-block;
        margin-bottom: 12px;
        color: #087647;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    #mauthAboutModal .mauth-panel h3 {
        margin: 0 0 17px;
        color: #073d2b;
        font-size: 27px;
        font-weight: 800;
        line-height: 1.35;
    }

    #mauthAboutModal .mauth-panel h4 {
        margin: 0 0 10px;
        color: #174b32;
        font-size: 17px;
        font-weight: 800;
    }

    #mauthAboutModal .mauth-panel p {
        margin-bottom: 16px;
        color: #63756a;
        font-size: 14px;
        line-height: 1.9;
    }

    #mauthAboutModal .mauth-intro-card {
        padding: 22px;
        border: 1px solid #dcece1;
        border-radius: 14px;
        background: linear-gradient(135deg, #f0f9f3, #fff);
    }

    #mauthAboutModal .mauth-intro-card p:last-child {
        margin-bottom: 0;
    }

    #mauthAboutModal .mauth-mini-card {
        height: 100%;
        padding: 21px;
        border: 1px solid #e1ece4;
        border-radius: 13px;
        background: #fff;
    }

    #mauthAboutModal .mauth-mini-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
        border-radius: 12px;
        background: #eaf6ee;
        color: #087647;
        font-size: 19px;
    }

    #mauthAboutModal .mauth-mini-card p {
        margin: 0;
        font-size: 13px;
    }

    /* Core values */
    #mauthAboutModal .mauth-value-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #mauthAboutModal .mauth-value {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 15px;
        border: 1px solid #e2ece5;
        border-radius: 11px;
        background: #fbfdfb;
        color: #254b36;
        font-size: 13px;
        font-weight: 700;
    }

    #mauthAboutModal .mauth-value i {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        border-radius: 9px;
        background: #e8f5ec;
        color: #087647;
    }

    /* History timeline */
    #mauthAboutModal .mauth-timeline {
        position: relative;
        margin: 25px 0 0 8px;
        padding-left: 27px;
        border-left: 2px solid #dcece1;
    }

    #mauthAboutModal .mauth-timeline-item {
        position: relative;
        padding: 0 0 26px;
    }

    #mauthAboutModal .mauth-timeline-item:last-child {
        padding-bottom: 0;
    }

    #mauthAboutModal .mauth-timeline-item::before {
        position: absolute;
        top: 4px;
        left: -35px;
        width: 14px;
        height: 14px;
        border: 3px solid #fff;
        border-radius: 50%;
        background: #087647;
        box-shadow: 0 0 0 2px #bfe1ca;
        content: "";
    }

    #mauthAboutModal .mauth-year {
        display: inline-block;
        margin-bottom: 7px;
        padding: 5px 10px;
        border-radius: 6px;
        background: #eaf6ee;
        color: #087647;
        font-size: 11px;
        font-weight: 800;
    }

    #mauthAboutModal .mauth-timeline-item h4 {
        font-size: 15px;
    }

    #mauthAboutModal .mauth-timeline-item p {
        margin-bottom: 0;
        font-size: 13px;
    }

    /* Services */
    #mauthAboutModal .mauth-service {
        display: flex;
        align-items: flex-start;
        gap: 13px;
        height: 100%;
        padding: 17px;
        border: 1px solid #e2ece5;
        border-radius: 12px;
        background: #fff;
        transition: border-color .2s ease, background .2s ease;
    }

    #mauthAboutModal .mauth-service:hover {
        border-color: #b8ddc5;
        background: #f8fcf9;
    }

    #mauthAboutModal .mauth-service i {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 39px;
        width: 39px;
        height: 39px;
        border-radius: 10px;
        background: #eaf6ee;
        color: #087647;
        font-size: 16px;
    }

    #mauthAboutModal .mauth-service h4 {
        margin: 2px 0 0;
        font-size: 13px;
        line-height: 1.6;
    }

    /* Footer */
    #mauthAboutModal .modal-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 17px 25px;
        border-top: 1px solid #e7eee9;
        background: #f8fbf9;
    }

    #mauthAboutModal .mauth-footer-note {
        margin: 0;
        color: #75847a;
        font-size: 11px;
        line-height: 1.6;
    }

    #mauthAboutModal .mauth-close-btn {
        padding: 10px 18px;
        border: 1px solid #087647;
        border-radius: 8px;
        background: #087647;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
    }

    #mauthAboutModal .mauth-close-btn:hover {
        background: #063d2b;
    }

    /* Responsive */
    @media (min-width: 768px) {
        #mauthAboutModal .modal-dialog {
            margin: 2rem auto;
        }
    }

    @media (max-width: 575.98px) {
        #mauthAboutModal .modal-dialog {
            margin: .5rem;
        }

        #mauthAboutModal .modal-content {
            border-radius: 15px;
        }

        #mauthAboutModal .modal-header {
            padding: 20px 16px;
        }

        #mauthAboutModal .modal-brand {
            gap: 10px;
        }

        #mauthAboutModal .modal-brand-icon {
            flex-basis: 43px;
            width: 43px;
            height: 43px;
            font-size: 19px;
        }

        #mauthAboutModal .modal-brand h2 {
            font-size: 18px;
        }

        #mauthAboutModal .modal-brand p {
            font-size: 10px;
        }

        #mauthAboutModal .mauth-modal-tabs {
            padding: 12px;
        }

        #mauthAboutModal .mauth-tab {
            padding: 10px 12px;
            font-size: 11px;
        }

        #mauthAboutModal .modal-body {
            padding: 20px 16px;
        }

        #mauthAboutModal .mauth-panel h3 {
            font-size: 23px;
        }

        #mauthAboutModal .mauth-panel p {
            font-size: 13px;
        }

        #mauthAboutModal .mauth-value-grid {
            grid-template-columns: 1fr;
        }

        #mauthAboutModal .modal-footer {
            padding: 14px 16px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        #mauthAboutModal .mauth-panel {
            animation: none;
        }
    }
    

/* =================================
   MAUTH MODAL - GREEN SCROLLBARS
================================= */

/* Firefox */
#mauthAboutModal .modal-body,
#mauthAboutModal .mauth-modal-tabs {
    scrollbar-width: thin;
    scrollbar-color: #087647 #e8f4ec;
}

/* Chrome, Edge, Safari */
#mauthAboutModal .modal-body::-webkit-scrollbar,
#mauthAboutModal .mauth-modal-tabs::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

#mauthAboutModal .modal-body::-webkit-scrollbar-track,
#mauthAboutModal .mauth-modal-tabs::-webkit-scrollbar-track {
    background: #e8f4ec;
    border-radius: 20px;
}

#mauthAboutModal .modal-body::-webkit-scrollbar-thumb,
#mauthAboutModal .mauth-modal-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #19a568 0%,
        #087647 100%
    );
    border: 1px solid #e8f4ec;
    border-radius: 20px;
}

#mauthAboutModal .modal-body::-webkit-scrollbar-thumb:hover,
#mauthAboutModal .mauth-modal-tabs::-webkit-scrollbar-thumb:hover {
    background: #064d30;
}

/* Smooth scrolling */
#mauthAboutModal .modal-body {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

/* Green scrollbar for the history content if needed */
#mauthAboutModal .mauth-timeline {
    scrollbar-color: #087647 #e8f4ec;
}

/* Narrower scrollbar on mobile */
@media (max-width: 575.98px) {
    #mauthAboutModal .modal-body::-webkit-scrollbar {
        width: 5px;
    }

    #mauthAboutModal .mauth-modal-tabs::-webkit-scrollbar {
        height: 4px;
    }
}


/* MAUTH Modal - Left & Right Spacing */
#mauthAboutModal {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#mauthAboutModal .modal-dialog {
    width: calc(100% - 40px);
    max-width: 950px;
    margin-right: auto;
    margin-left: auto;
}

/* Mobile spacing */
@media (max-width: 575.98px) {
    #mauthAboutModal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 12px;
    }
}

/* Very small screens */
@media (max-width: 359.98px) {
    #mauthAboutModal .modal-dialog {
        margin: 8px;
    }
}
