/* Project: Movers Federation of India
    Updated Color Palette from Logo: 
    - Indigo / Navy Blue: #2b3990   (Main text 'mfi' and core branding)
    - Saffron / Orange:  #f58220   (Top curve, accent dots, and primary gradients)
    - Deep Forest Green: #008744   (Left border curve)
    - Slate Charcoal:    #58595b   (Right side descriptor text 'MOVERS FEDERATION...')
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');


/* ==========================================================================
   GLOBAL BRAND TYPOGRAPHY STANDARDS
   ========================================================================== */

/* ==========================================================================
   MFI TYPOGRAPHY & BODY CANVAS SETUP
   ========================================================================== */
body {
    font-family: 'Poppins', sans-serif !important;
    color: #555555; 
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Master Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    color: #233486 !important; /* Primary Brand Navy */
    font-weight: 600 !important;   
    line-height: 1.3 !important;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
}

/* Precise font-size scales across heading tiers */
h1 { font-size: 46px !important; }
h2 { font-size: 38px !important; }
h3 { font-size: 28px !important; }
h4 { font-size: 22px !important; }
h5 { font-size: 18px !important; }
h6 { font-size: 14px !important; letter-spacing: 0.5px; }

p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    color: #555555 !important; 
    line-height: 1.8 !important;
    margin-bottom: 15px !important; /* Controlled bottom margins */
    text-align: justify !important; 
}

/* Standalone Lead Paragraph Class */
.mfi-lead-text {
    font-size: 16px !important;
    color: #666666 !important;
    line-height: 1.8 !important;
    font-weight: 400;
}

/* Global Link Actions */
a {
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.3s ease;
}
.banner-heading2 {
    font-weight: 900 !important; /* Forces the ultra-bold look */
    font-size: clamp(2rem, 5vw, 3.5rem); /* Keeps size consistent with other banners */
    line-height: 1.1;
    color: #233486;
    margin-bottom: 20px;
}

.banner-heading2 span {
    display: block;
    color: #ff6b00;
}

/* ==========================================================================
   BOOTSTRAP CONTAINER OVERRIDES & LAYOUT COMPACTORS
   ========================================================================== */
.container {
    width: 100% !important;
    max-width: none !important;
    padding-right: var(--bs-gutter-x, .75rem) !important;
    padding-left: var(--bs-gutter-x, .75rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.container-fluid {
    width: 100% !important;
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* ==========================================================================
   FIXED SECTION PADDING ENGINES (PREVENTS ACCUMULATED VERTICAL GAPS)
   ========================================================================== */

/* Compacted Matrix Counter Section */
.mfi-matrix-counter-strip {
    padding: 50px 0 !important; /* Drastically scaled down from 110px */
    background-color: #ffffff;
    overflow: hidden;
}

/* Compacted Corporate Pillars Section */
.mfi-pillars-block {
    padding: 50px 0 !important; /* Drastically scaled down from 120px */
    background-color: #ffffff;
    overflow: hidden;
}

/* Controlled spacing offsets for header spacing vectors */
.mfi-counter-main-header,
.mfi-pillars-main-header {
    margin-bottom: 35px !important; /* Keeps title paragraph close to the cards */
}

/* ==========================================================================
   INNER STATIC BANNER SCHEMATICS
   ========================================================================== */
.banner-section.static-inner-banner {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 0 !important; 
    min-height: 450px;           
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;                  
    overflow: hidden;
}

.banner-section.static-inner-banner .container {
    position: relative;
    z-index: 5 !important;       
}

.static-inner-banner .mfi-slider-center-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65) !important; 
    z-index: 2;
}

.static-inner-banner .banner-heading2,
.static-inner-banner .banner-heading2 span {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Breadcrumbs Framework */
.static-inner-banner .mfi-breadcrumb {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.static-inner-banner .mfi-breadcrumb a,
.static-inner-banner .mfi-breadcrumb .current,
.static-inner-banner .mfi-breadcrumb .separator i {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
}

.static-inner-banner .mfi-breadcrumb a {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.static-inner-banner .mfi-breadcrumb a:hover { opacity: 1; }
.static-inner-banner .mfi-breadcrumb .separator {
    opacity: 0.5;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN OVERRIDES (PORTABLES & MOBILE LAYOUTS)
   ========================================================================== */
@media (max-width: 991px) {
    /* Section padding compression for mobile viewports */
    .mfi-matrix-counter-strip,
    .mfi-pillars-block {
        padding: 40px 0 !important; 
    }

    .mfi-counter-main-header,
    .mfi-pillars-main-header {
        margin-bottom: 25px !important;
    }

    /* Font size scaling */
    h1 { font-size: 36px !important; }
    h2 { font-size: 28px !important; }
    h3 { font-size: 24px !important; }
    h4 { font-size: 20px !important; }
    h5 { font-size: 16px !important; }
    h6 { font-size: 13px !important; }

    h1, h2, h3, h4, h5, h6 {
        text-align: center !important;
    }

    p, .mfi-lead-text {
        font-size: 14px !important;
        line-height: 1.7 !important;
        text-align: justify !important;
    }
}





/* --- Global Reset Elements --- */
a {
    text-decoration: none !important; 
    transition: 0.3s ease-in-out;
}

body {
    color: #58595b;
    font-family: 'Roboto', sans-serif !important;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- Fixed Scroll Navigation Header area --- */
.header-area {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* --- Branding Logo Area (Increased 50% for high visual authority) --- */
.logobox {
    width: 160px !important;  /* Upscaled 50% from 105px for prominence */
    height: 75px !important;  /* Aspect ratio protected for elegant banner alignment */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logobox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Top Contacts Strip Bar --- */
.top-header {
    background-color: #2b3990;
}

.contact-info i {
    background: linear-gradient(45deg, #f58220, #008744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 15px;
    display: inline-block;
}

.phone-no, .emailid {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 400;
}

.phone-no:hover, .emailid:hover {
    color: #f58220 !important;
}

/* --- Navigation Desktop Menu Elements --- */
.navbar-nav .nav-link {
    color: #58595b !important;
    padding: 35px 14px !important; 
    text-transform: capitalize; 
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0px;
    position: relative;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #2b3990 !important;
}

/* Premium sliding track underlines for desktop layouts */
@media (min-width: 992px) {
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 24px;
        left: 14px;
        width: 0;
        height: 3px;
        background-color: #f58220; 
        transition: width 0.3s ease;
    }
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: calc(100% - 28px);
    }
    
    /* Interactive Hover Dropdown Automation System */
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease-in-out;
        margin-top: 0;
    }
}

/* Navigation Dropdown Boxes */
.navbar-nav .dropdown-menu {
    background-color: #ffffff;
    border-top: 3px solid #2b3990 !important; 
    border-radius: 0px 0px 4px 4px;
    padding: 10px 0;
    min-width: 240px;
}

.navbar-nav .dropdown-item {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #58595b;
    padding: 10px 20px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #f58220;
    padding-left: 25px;
}

/* --- Corporate "Join Now" Button Component --- */
.btn1 {
    background: #2b3990;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px; 
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(43, 57, 144, 0.2);
}

.btn1:hover {
    background: #f58220; 
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}

/* --- Mobile Menu Drawer Interface with Dropdown Indicators --- */
@media (max-width: 991px) {
    .logobox { 
        width: 120px !important;  /* Perfectly scaled size for smaller viewports */
        height: 55px !important; 
    }
    
    /* Full Viewport View Drawer Navigation Container */
    .navbar-collapse {
        position: fixed;
        top: 71px; /* Repositioned to sit neatly right under the updated navbar size */
        left: 0;
        width: 100%;
        height: calc(100vh - 71px);
        background: #ffffff;
        padding: 20px 24px 80px 24px;
        overflow-y: auto;
        box-shadow: none;
        border-top: 1px solid #eee;
        transition: all 0.4s cubic-bezier(0.77,0,0.175,1);
    }
    
    .navbar-nav .nav-link {
        padding: 14px 0px !important;
        font-size: 16px;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .navbar-nav .nav-link::after {
        display: none !important;
    }

    /* Target Bootstrap dropdown toggles on mobile to inject intuitive arrow UI indicators */
    .mobile-dropdown-arrow > .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Structural indicator layout using native pure CSS indicators */
    .mobile-dropdown-arrow > .dropdown-toggle::after {
        content: '\f107'; /* FontAwesome angle down glyph configuration */
        font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
        font-weight: 900;
        border: none; 
        font-size: 16px;
        color: #2b3990;
        transition: transform 0.3s ease;
    }

    /* Rotates arrow cleanly when mobile menus open up */
    .mobile-dropdown-arrow > .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
        color: #f58220;
    }
    
    .navbar-nav .dropdown-menu {
        border-top: none !important;
        background-color: #f8f9fa;
        padding-left: 15px;
        margin-top: 5px;
        margin-bottom: 10px;
        border-radius: 4px;
        box-shadow: none !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 15px;
    }
}

/* --- Social Icons Strip Profiles --- */
.social_icons .icons {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-size: 13px;
}

.social_icons .icons:hover {
    background: #f58220;
    transform: translateY(-2px);
}

/* --- Floating Utilities --- */
.phone-call {
    width: 50px;
    height: 50px;
    right: 13px;
    bottom: 15px;
    background: #10b418;
    position: fixed;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    z-index: 115;
    display: block;
    line-height: 65px;
}

.back-to-top {
    position: fixed;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    right: 15px;
    bottom: 75px;
    background: #2b3990;
    color: #fff;
    z-index: 99999;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
}

.back-to-top:hover {
    background: #f58220;
}

//RESPONSIVE MENU //
/* [ -- Master Stylesheet -- ] */
/* ----------------------------------------------------------
:: Template Name: ClassyNav - Executive Federation Premium Edition
:: Inspired By Layout Mechanics of: iamovers.org
:: Architecture: Dropdown Overlay System + Modernized High-Contrast Mobile UX
:: Brand Tones: Indigo Blue (#2b3990) | Saffron Orange (#f58220) | MFI Grey (#58595b)
---------------------------------------------------------- */

/* --- Base Structural Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul, ol {
    margin: 0;
    padding: 0;
}
ul li, ol li {
    list-style: none;
}
img {
    height: auto;
    max-width: 100%;
}
.bg-transparent {
    background-color: transparent !important;
}

.classy-nav-container {
    z-index: 1111;
    width: 100%;
    background-color: #ffffff;
}
.classy-nav-container a {
    text-decoration: none !important;
    outline: none;
    color: #58595b;
    display: inline-block;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Fixed Scroll Sticky Configuration --- */
.classy-nav-container.classy-sticky {
    position: fixed;
    z-index: 1050;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 4px 20px rgba(43, 57, 144, 0.08);
}

/* --- Clean Modern Navbar Framework --- */
.classy-navbar {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 0 15px;
    position: relative;
}

/* --- 50% Upscaled Logo Engine Area --- */
.classy-navbar .nav-brand {
    max-width: 165px !important; 
    height: auto;
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}
.classy-navbar .nav-brand img {
    max-height: 70px;
    object-fit: contain;
}

/* --- Desktop Layout Engine --- */
.classynav ul {
    display: flex;
    align-items: center;
}
.classynav ul li {
    position: relative;
    display: inline-block;
}
.classynav ul li a {
    color: #58595b;
    padding: 0 16px;
    display: block;
    height: 90px;
    line-height: 90px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}
.classynav ul li a:hover,
.classynav ul li a.active {
    color: #2b3990;
}

/* Premium Desktop Hover Slide Underline Track */
.breakpoint-off .classynav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 16px;
    width: 0;
    height: 3px;
    background-color: #f58220;
    transition: width 250ms ease;
}
.breakpoint-off .classynav > ul > li > a:hover::after,
.breakpoint-off .classynav > ul > li > a.active::after {
    width: calc(100% - 32px);
}

/* Desktop Dropdown Framework */
.breakpoint-off .classynav ul li .dropdown {
    width: 250px;
    position: absolute;
    background-color: #2b3990;
    border-top: 4px solid #f58220;
    top: 115%;
    left: 0;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.breakpoint-off .classynav ul li .dropdown li {
    display: block;
    width: 100%;
}
.breakpoint-off .classynav ul li .dropdown li a {
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 500;
    height: 44px;
    line-height: 44px;
    width: 100%;
}
.breakpoint-off .classynav ul li .dropdown li a:hover {
	background-color: rgba(255,255,255,0.07);
    color: #f58220 !important;
    padding-left: 28px;
}
.breakpoint-off .classynav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

/* Desktop Font Indicator Arrows */
.classynav ul li.has-down > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", 'FontAwesome', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: #58595b;
    padding-left: 6px;
    transition: transform 250ms ease;
}
.classynav ul li.has-down:hover > a::after {
    color: #2b3990;
}

/* Premium "Join Now" Action Button Profile */
.classy-btn {
    min-width: 130px;
    padding: 0 24px;
    line-height: 44px;
    height: 44px;
    background: #2b3990;
    border-radius: 4px;
    color: #ffffff !important;
    margin-left: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(43, 57, 144, 0.2);
}
.classy-btn:hover, .classy-btn:focus {
    background: #f58220;
    box-shadow: 0 6px 15px rgba(245, 130, 32, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* --- Toggler & Canvas Base Properties --- */
.classycloseIcon {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2500;
    display: none;
}
.classycloseIcon .cross-wrap {
    width: 26px;
    height: 26px;
    cursor: pointer;
    position: relative;
}
.classycloseIcon .cross-wrap span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2.5px;
    background: #2b3990;
    border-radius: 4px;
}
.classycloseIcon .cross-wrap span.top {
    top: 12px;
    transform: rotate(45deg);
}
.classycloseIcon .cross-wrap span.bottom {
    bottom: 11.5px;
    transform: rotate(-45deg);
}

.classy-navbar-toggler {
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: none;
    height: 30px;
    width: 32px;
}
.classy-navbar-toggler .navbarToggler span {
    background-color: #2b3990;
    border-radius: 3px;
    display: block;
    height: 3px;
    margin-top: 5px;
    width: 28px;
    transition: all 300ms ease;
}

/* ==========================================================
   IAMOVERS.ORG LUXURY RESPONSIVE INTERFACE (Max-Width: 1000px)
   ========================================================== */
@media screen and (max-width: 1000px) {
    .classy-navbar {
        height: 75px;
        padding: 0 20px;
    }
    
    /* Perfect Mobile Scaling For Logo Block (+50% Target) */
    .classy-navbar .nav-brand {
        max-width: 130px !important;
        margin-right: 0;
    }
    
    .classy-navbar-toggler {
        display: block;
    }
    .breakpoint-on .classycloseIcon {
        display: block;
    }
    
    /* IAMOVERS Style Menu Sheet - Drop-Down Canvas Engine.
       Instead of hiding off-screen horizontally, it deploys vertically from the header,
       featuring a corporate clean surface.
    */
    .breakpoint-on .classy-navbar .classy-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 2100 !important;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        transform: translateY(-20px);
        transition: opacity 400ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 400ms;
    }
    
    /* Active expansion transition */
    .breakpoint-on .classy-navbar .classy-menu.menu-on {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Layout Inner Space Wrapper */
    .breakpoint-on .classynav {
        padding: 85px 30px 40px 30px;
    }
    .breakpoint-on .classynav ul {
        display: block;
        width: 100%;
    }
    .breakpoint-on .classynav ul li {
        display: block;
        width: 100%;
        position: relative;
        border-bottom: 1px solid #f1f3f7;
    }
    
    /* Menu Items Links Styling */
    .breakpoint-on .classynav ul li a {
        color: #1a1a1a;
        padding: 0 5px;
        font-size: 16px;
        font-weight: 600;
        height: 58px;
        line-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: 'Poppins', sans-serif;
        border-bottom: none;
        width: 100%;
    }
    
    /* Dynamic active highlights */
    .breakpoint-on .classynav ul li a:hover,
    .breakpoint-on .classynav ul li.active > a {
        color: #2b3990 !important;
    }

    /* CRITICAL DROPDOWN EXPANSION REPAIR:
       The `.dd-trigger` covers the link layer on mobile touch devices.
       We update the layout to make it perfectly actionable.
    */
    .breakpoint-on .dd-trigger {
        display: block !important;
        position: absolute;
        width: 100%;
        height: 58px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100 !important; /* Higher depth index guarantees touch intercept */
        background-color: transparent;
        cursor: pointer;
    }
    
    /* High-Contrast Navigation Arrows */
    .breakpoint-on .classynav ul li.has-down > a::after {
        content: "\f107" !important;
        font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", 'FontAwesome', sans-serif !important;
        font-weight: 900 !important;
        font-size: 18px;
        color: #2b3990;
        position: relative;
        padding-left: 0;
        transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10;
    }
    
    /* 180-Degree Rotation animation when tracking trigger opens item */
    .breakpoint-on .classynav ul li.has-down.active > a::after {
        transform: rotate(180deg);
        color: #f58220;
    }
    
    /* Polished Nested Dropdown lists 
       Uses an elegant background block indent to structure columns clearly.
    */
    .breakpoint-on .classynav ul li .dropdown {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        background-color: #f8f9fc; 
        display: none; /* Controlled dynamically via JS dropdown click handler */
        padding: 8px 0;
        border-top: none !important;
    }
    
    .breakpoint-on .classynav ul li .dropdown li {
        border-bottom: none;
    }
    .breakpoint-on .classynav ul li .dropdown li a {
        color: #58595b !important;
        padding-left: 25px !important;
        font-size: 14.5px;
        font-weight: 500;
        height: 44px;
        line-height: 44px;
    }
    .breakpoint-on .classynav ul li .dropdown li a:hover {
        color: #f58220 !important;
        background: transparent !important;
    }
    
    /* CTA "Join Now" Full-Width Executive Mobile Button placement */
    .breakpoint-on .classy-btn {
        width: 100%;
        margin: 25px 0 0 0;
        height: 48px;
        line-height: 48px;
        border-radius: 4px;
        font-size: 14px;
        box-shadow: 0 4px 12px rgba(43, 57, 144, 0.15);
    }
}

//

/* ==========================================================
:: IAM ARCHITECTURE SYSTEM FOR MOVERS FEDERATION OF INDIA
========================================================== */

/* Layout Container Reset */
.iam-mfi-hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background-color: #0c2340; /* Traditional IAM Deep Navy Blue */
    background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 140px 0; /* Clear room for the bottom metrics block */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.iam-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.96) 30%, rgba(0, 86, 179, 0.75) 100%);
    z-index: 1;
}

.iam-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
    box-sizing: border-box;
}

.iam-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Left Column Institutional Typography */
.iam-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.iam-hero-title {
    font-size: 44px;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.iam-hero-title strong {
    font-weight: 700;
    color: #ffffff;
    border-bottom: 4px solid #ffc107; /* Elite Gold Accent Line */
}

.iam-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 36px 0;
}

/* Structural CTA Blocks */
.iam-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.iam-btn-primary, .iam-btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-align: center;
}

.iam-btn-primary {
    background-color: #0056b3; /* IAM Identity Royal Blue */
    color: #ffffff;
}

.iam-btn-primary:hover {
    background-color: #004085;
}

.iam-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.iam-btn-secondary:hover {
    background-color: #ffffff;
    color: #0c2340;
}

/* Right Column: Portal Processing Block */
.iam-portal-box {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.iam-portal-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.iam-tab-trigger {
    flex: 1;
    background: none;
    border: none;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    outline: none;
}

.iam-tab-trigger.active {
    background-color: #ffffff;
    color: #0c2340;
    border-bottom: 3px solid #0056b3;
}

.iam-portal-body {
    padding: 30px;
}

.iam-tab-panel {
    display: none;
}

.iam-tab-panel.active {
    display: block;
}

/* Registry & Audit Inputs Layout */
.iam-portal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.iam-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.iam-label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.iam-input, .iam-select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #0f172a;
    background-color: #f8fafc;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.iam-input:focus, .iam-select:focus {
    background-color: #ffffff;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.iam-panel-note {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.iam-portal-submit {
    background-color: #0056b3;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.iam-portal-submit:hover {
    background-color: #003d82;
}

.iam-btn-verify {
    background-color: #0c2340;
}

.iam-btn-verify:hover {
    background-color: #05101e;
}

/* Horizontal Institutional Statistics Bar */
.iam-metrics-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 4px solid #0056b3;
    z-index: 3;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.iam-metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.iam-metric-item {
    border-right: 1px solid #e2e8f0;
    padding: 0 10px;
}

.iam-metric-item:last-child {
    border-right: none;
}

.iam-metric-num {
    font-size: 30px;
    font-weight: 700;
    color: #0c2340;
}

.iam-metric-plus {
    font-size: 22px;
    font-weight: 700;
    color: #0056b3;
}

.iam-metric-text {
    display: block;
    font-size: 13px;
    color: #475569;
    margin-top: 4px;
    font-weight: 500;
}

/* Responsive Structural Breakpoints */
@media (max-width: 991px) {
    .iam-mfi-hero {
        padding: 60px 0 0 0;
        min-height: auto;
    }
    .iam-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .iam-hero-title {
        font-size: 32px;
    }
    .iam-metrics-strip {
        position: relative;
        margin-top: 60px;
    }
    .iam-metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .iam-metric-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 575px) {
    .iam-metrics-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .iam-metric-item {
        border-right: none;
        padding-bottom: 16px;
        border-bottom: 1px solid #e2e8f0;
    }
    .iam-metric-item:last-child {
        border-bottom: none;
    }
    .iam-cta-group {
        flex-direction: column;
    }
    .iam-btn-primary, .iam-btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}

// Below header //


//banner //
/* ==========================================================
:: MFI BRAND-ALIGNED HERO ENGINE
========================================================== */

.banner-section {
    position: relative;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.banner-element {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: auto;
    height: 100%;
}

.banner-element img {
    width: auto;
    height: 100%;
}

.desk-banner-top {
    margin-top: 81px;
}

/* Background Slider Nodes with True 1920x720 Aspect Ratio Management */
.bg_banner-1, .bg_banner-2, .bg_banner-3, .bg_banner-4, .bg_banner-5 {
    width: 100%;
    height: 0;
    padding-bottom: 37.5%; /* Perfect aspect ratio math: (720 / 1920) * 100 */
    min-height: 480px;     /* Prevents text from overflowing into narrower spaces */
    position: relative;
    background-size: 100% 100%; /* Forces image bounds to perfectly map container edges */
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 9;
    overflow: hidden;
}

.bg_banner-1 { background-image: url(../images/banner-1.webp); }
.bg_banner-2 { background-image: url(../images/banner-2.webp); }
.bg_banner-3 { background-image: url(../images/banner-3.webp); }
.bg_banner-4 { background-image: url(../images/banner-4.webp); }
.bg_banner-5 { background-image: url(../images/banner-5.webp); }



/* Uniform 30% Black Overlay Filter */
.mfi-slider-center-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Locked strictly to a 30% dark overlay across the entire graphic */
    z-index: 1;
}

/* Perfectly Centered Content Box Wrapper */
.banner-contentbox {
    position: absolute; /* Realigned absolute layout to ride above padding constraints */
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center; 
    z-index: 99;
    padding: 20px 20px 35px 20px; /* Enhanced bottom padding floor protection past 15px */
    box-sizing: border-box;
}

/* Clean structural container without bounding border-boxes to block background elements */
.banner-content-borderbox {
    width: 100%;
    max-width: 1100px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Heading Typography Injection with Exact MFI Logo Colors */
.banner-contentbox .banner-heading2 {
    color: #FFFFFF !important;
    font-size: 3.85rem;
    line-height: 1.25em;
    font-weight: 900;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.65);
    -webkit-text-stroke-width: 0px; 
    stroke-width: 0px;
    margin: 0;
}

/* Exact MFI Identity Orange from "INDIA" text element */
.banner-contentbox .banner-heading2 span {
    color: #f48120 !important;
}

/* Bounding Centered Button Management */
.banner-button {
    margin-top: 20px; /* Locked precisely to 20px */
    margin-bottom: 25px; /* Extended floor margin spacing comfortably past 15px */
    display: flex;
    justify-content: center;
}

/* Dynamic Interactive Button Theme - Lock to Identity Orange */
.banner-button .btn1, .banner-form-submit-button .btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f48120 !important; 
    color: #ffffff !important;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(244, 129, 32, 0.35);
    transition: all 0.3s ease-in-out;
}

/* Identity Blue Switch on Interactivity state */
.banner-button .btn1:hover, .banner-form-submit-button .btn1:hover {
    background-color: #2e3192 !important; 
    box-shadow: 0 6px 20px rgba(46, 49, 146, 0.45);
    transform: translateY(-2px);
}

/* ==========================================================
:: ENHANCED OWL CAROUSEL NAVIGATION ARROWS
========================================================== */
.banner-section .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    z-index: 999;
    pointer-events: none;
    margin-top: 0px !important;
}

/* Base Engine properties for both Left and Right arrows */
.banner-section .owl-prev, 
.banner-section .owl-next {
    width: 55px !important;
    height: 55px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    pointer-events: auto;
}

/* Specific Placements */
.banner-section .owl-prev {
    left: 30px !important;
    right: auto !important;
}

.banner-section .owl-next {
    right: 30px !important;
    left: auto !important;
}

/* Tuning font symbols inside the buttons */
.banner-section .owl-prev span,
.banner-section .owl-next span {
    font-size: 32px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    transition: all 0.2s linear;
}

/* Identity Hover States mapped to MFI Orange */
.banner-section .owl-prev:hover,
.banner-section .owl-next:hover {
    background-color: #f48120 !important;
    border-color: #f48120 !important;
    box-shadow: 0 4px 15px rgba(244, 129, 32, 0.4);
}

.banner-section .owl-prev:hover span,
.banner-section .owl-next:hover span {
    color: #ffffff !important;
}

/* Owl Pagination Dots Adjustments */
.owl-theme .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px; 
    z-index: 99;
}

.owl-theme .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    margin: 5px 7px;
    background: rgba(255, 255, 255, 0.4) !important;
    display: block;
    transition: .3s ease-in-out !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #f48120 !important; 
    transform: scale(1.25);
}

/* Form Layout Section Adjustments */
.banner-form-wrapper {
    background: #ffffff;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 40px;
    border-radius: 8px;
    margin-top: -45px; 
    position: relative;
    z-index: 999;
    border-bottom: 4px solid #2e3192; 
}

.banner-form-col-1 .content-heading1 {
    color: #414042; 
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.banner-form-col-2 .content-heading2 {
    color: #2e3192; 
    font-size: 24px;
    font-weight: 700;
}

/* Lower Section Welcome Band - Set directly to MFI Identity Blue */
.blue-box {
    position: relative;
    width: 100%;
    height: auto;
    padding: 60px 0;
    background-color: #2e3192 !important; 
}

.blue-box .content-heading3 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Animation Sync Handles */
.banner-section .owl-item.active .banner-heading2 {
    -webkit-animation: fadeInLeft 1s both 0.4s;
    animation: fadeInLeft 1s both 0.4s;
}

.banner-section .owl-item.active .banner-button {
    -webkit-animation: fadeInUp 1s both 0.7s;
    animation: fadeInUp 1s both 0.7s;
}

/* Responsive Adaptive Adjustments */
@media (max-width: 1199px) {
    .banner-contentbox .banner-heading2 { font-size: 3rem; }
}

@media (max-width: 991px) {
    .bg_banner-1, .bg_banner-2, .bg_banner-3, .bg_banner-4, .bg_banner-5 { height: auto; min-height: 480px; padding-bottom: 0; }
    .banner-contentbox { position: relative; height: auto; min-height: 480px; padding-bottom: 25px; }
    .banner-contentbox .banner-heading2 { font-size: 2.25rem; padding: 0 10px; }
    .banner-form-wrapper { margin-top: 20px; padding: 25px; }
    .banner-form-col-1, .banner-form-col-2 { width: 100%; text-align: center; }
    .banner-form-field-row { width: 100%; }
    .banner-form-field-row .form-group { width: 100%; margin-bottom: 10px; }
    .banner-form-submit-button { width: 100%; padding-left: 0; margin-top: 10px; }
    .banner-form-submit-button .btn1 { width: 100%; }
    .owl-theme .owl-dots { bottom: 15px; }
    .banner-section .owl-nav { display: none !important; }
}

@media (max-width: 767px) {
    .bg_banner-1 { background-image: url(../images/mbanner1.webp); }
    .bg_banner-2 { background-image: url(../images/mbanner2.webp); }
    .bg_banner-3 { background-image: url(../images/mbanner3.webp); }
    .bg_banner-4 { background-image: url(../images/mbanner4.webp); }
    .bg_banner-5 { background-image: url(../images/mbanner5.webp); }
    
    /* Ensure the mobile banner height is adjusted for the 4:5 ratio */
    .bg_banner-1, .bg_banner-2, .bg_banner-3, .bg_banner-4, .bg_banner-5 {
        padding-bottom: 125%; /* (5 / 4) * 100 for 4:5 ratio */
        min-height: 500px;    /* Adjust based on your preferred mobile height */
    }
}

//banner end //


//below header //





/*Section1 start*/



//overview//

.mfi-overview { background: #ffffff; font-family: 'Poppins', sans-serif; overflow: hidden; }

/* Header */
.mfi-badge { background: var(--roy-amber); color: var(--roy-dark); padding: 6px 16px; font-weight: 800; font-size: 12px; text-transform: uppercase; border-radius: 50px; display: inline-block; }
.mfi-main-title { font-size: 38px; font-weight: 800; color: var(--roy-dark); margin-top: 20px; }
.mfi-title-line { width: 70px; height: 4px; background: var(--roy-blue); margin: 15px auto; border-radius: 10px; }
.mfi-intro-text { max-width: 700px; color: #666; line-height: 1.8; }

/* Cards */
.mfi-feature-card { display: flex; margin-bottom: 40px; transition: 0.3s; }
.mfi-icon-box { min-width: 70px; height: 70px; background: var(--roy-blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; transition: 0.4s; }
.mfi-content h4 { font-weight: 800; color: var(--roy-dark); margin-bottom: 10px; }
.mfi-content p { text-align: justify; font-size: 14px; color: #555; margin-bottom: 15px; }
.mfi-link { color: var(--roy-blue); text-decoration: none; font-weight: 700; font-size: 13px; text-transform: uppercase; }

/* Layout Logic */
.mfi-left { text-align: right; flex-direction: row-reverse; }
.mfi-left .mfi-icon-box { margin-left: 20px; }
.mfi-right { text-align: left; }
.mfi-right .mfi-icon-box { margin-right: 20px; }

/* Animation */
.mfi-img-float { max-width: 100%; animation: floatAnim 4s ease-in-out infinite; }
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Responsive */
@media (max-width: 991px) {
    .mfi-feature-card { flex-direction: column !important; align-items: center !important; text-align: center !important; }
    .mfi-icon-box { margin: 0 0 20px 0 !important; }
    .mfi-main-title { font-size: 28px; }
}

//overview end //

// Execution Handover //
.ribbon-process-section {
    padding: 80px 0;
    background: #fbfcfe;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

:root {
    --mfi-brand-blue: #1a237e;    /* Deep Navy Blue from logo */
    --mfi-brand-orange: #f57c00;  /* Vibrant Saffron from logo */
    --roy-dark: #222222;
}

/* Title Styling */
.title-main { 
    font-weight: 900; 
    font-size: 42px; 
    color: var(--mfi-brand-blue);
    margin-bottom: 10px; 
    text-align: center;
}

.title-main span { 
    color: var(--mfi-brand-orange); 
}

/* Divider Styling */
.glow-divider { 
    width: 100px; 
    height: 6px; 
    background: var(--mfi-brand-orange); 
    margin: 0 auto 50px; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.4); 
}

.ribbon-wrapper {
    position: relative;
    padding: 20px 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Background Connection Line for Desktop */
.ribbon-line-bg {
    position: absolute;
    top: 80px; /* Aligned perfectly to center with the blobs */
    left: 5%;
    width: 90%;
    height: 4px;
    background: #eef2ff;
    z-index: 1;
}

.ribbon-line-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%; /* Animated by JS */
    height: 100%;
    background: linear-gradient(to right, var(--mfi-brand-blue), var(--mfi-brand-orange));
    box-shadow: 0 0 15px var(--mfi-brand-blue);
    transition: width 0.3s ease;
}

/* Desktop Flex Containers Container */
.ribbon-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 3%;
    position: relative;
    z-index: 2;
    gap: 20px;
}

/* Fixed Width Percentage & Clean Stack Positioning */
.ribbon-step {
    flex: 1;
    min-width: 0; /* Prevents text elements from breaking flexbox layouts */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.65;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.ribbon-step.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Organic Shaped Blob Engine Container */
.step-blob {
    width: 110px;
    height: 110px;
    background: #ffffff;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    position: relative;
    transition: 0.4s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.step-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--roy-dark);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Premium Color Profiles */
.color-1 { color: #004AAD; border-color: #004AAD; }
.color-2 { color: #f59e0b; border-color: #f59e0b; }
.color-3 { color: #10b981; border-color: #10b981; }
.color-4 { color: #ef4444; border-color: #ef4444; }
.color-5 { color: #8b5cf6; border-color: #8b5cf6; }
.color-6 { color: #ec4899; border-color: #ec4899; }

/* Expanded Text Layout Wrappers */
.step-info {
    width: 100%;
    margin-top: 5px;
}

.step-info h4 { 
    font-weight: 800; 
    font-size: 18px; /* Balanced down slightly for 6 columns grid space rules */
    color: var(--roy-dark); 
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-info p { 
    font-size: 13.5px; /* Clean crisp reading height spacing */
    color: #555555; 
    line-height: 1.6; 
    text-align: justify; /* Justified on desktop as requested */
    text-justify: inter-word;
    margin: 0;
    padding: 0 4px;
}

/* Responsive Structural Breakpoints */
@media (max-width: 1199px) {
    .ribbon-container {
        gap: 15px;
    }
    .step-info p {
        font-size: 12.5px; /* Safely shrinks font size dynamically before breaking columns */
    }
}

@media (max-width: 991px) {
    .title-main {
        text-align: center;
        font-size: 36px;
    }
    
    .ribbon-line-bg { 
        display: none; /* Safely deletes layout tracking bar on vertical screens */
    }
    
    .ribbon-container { 
        flex-direction: column; 
        align-items: center; 
        gap: 50px;
        padding: 0 20px;
    }
    
    .ribbon-step { 
        width: 100%;
        max-width: 480px; /* Balances paragraph widths perfectly in reading viewports */
        opacity: 1; 
        transform: scale(1);
    }
    
    .step-info h4 {
        font-size: 22px;
    }

    .step-info p {
        font-size: 15px;
        text-align: center; /* Drops back safely to centered styling on portable devices */
        padding: 0;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 28px;
    }
    .step-blob {
        width: 100px;
        height: 100px;
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .title-main {
        text-align: center;
        font-size: 36px;
    }
    
    .ribbon-wrapper {
        padding: 40px 0;
        position: relative;
    }

    /* The static tracking channel */
    .ribbon-line-bg { 
        display: block; 
        position: absolute;
        top: 90px;      
        bottom: 90px;   
        left: 50%;
        transform: translateX(-50%);
        width: 4px;     
        height: auto;   
        background: #eef2ff;
        z-index: 1;
    }

    /* Active moving progress bar */
    .ribbon-line-active {
        width: 100%;    
        height: 0%;     
        background: linear-gradient(to bottom, var(--mfi-brand-blue), var(--mfi-brand-orange));
        box-shadow: 0 0 10px rgba(26, 35, 126, 0.3);
        position: relative;
    }

    /* ─── DYNAMIC DOWN ARROWHEAD ENGINE ─── */
    .ribbon-line-active::after {
        content: '';
        position: absolute;
        bottom: -12px; /* Pulls the arrow tip right down past the leading edge */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        /* Creates a sharp, high-performance CSS Triangle pointing downwards */
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 12px solid var(--mfi-brand-orange); /* Uses the trailing gradient color */
        filter: drop-shadow(0 2px 4px rgba(245, 124, 0, 0.4));
        transition: opacity 0.2s ease;
        z-index: 2;
    }

    /* Hides arrowhead when progress is at absolute zero to prevent stray marks */
    .ribbon-line-active[style*="height: 0%"]::after,
    .ribbon-line-active[style*="height:0%"]::after {
        opacity: 0;
    }
    
    .ribbon-container { 
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 60px; 
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }
    
    .ribbon-step { 
        width: 100%;
        max-width: 480px; 
        opacity: 0.5; 
        transform: scale(0.9);
        text-align: center;
        transition: all 0.4s ease;
        position: relative;
        z-index: 3;
    }

    .ribbon-step.active {
        opacity: 1;
        transform: scale(1.05);
    }
    
    .step-info {
        position: relative;
        z-index: 4;
        background: #fbfcfe; /* Mask layer that hides the arrow channel clean under wording */
        padding: 10px 0;
    }

    .step-info h4 {
        font-size: 22px;
        position: relative;
    }

    .step-info p {
        font-size: 15px;
        text-align: justify;
        text-justify: inter-word;
        padding: 0;
        position: relative;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 28px;
    }
    .step-blob {
        width: 100px;
        height: 100px;
        font-size: 28px;
    }
    .ribbon-line-bg {
        top: 85px;
        bottom: 85px;
    }
    .step-info p {
        text-align: justify;
        text-justify: inter-word;
    }
}
//Execution Handover end //



// 2nd slider //
/* --- MFI Premium Edge-To-Edge Split Section Styling --- */
.mfi-fluid-slider-section {
    width: 100%;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.mfi-fluid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center; /* Vertically aligns the panels nicely */
    margin: 0;
    padding: 0;
}

.mfi-fluid-left-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    padding: 40px 8% 40px 40px;
    background: #ffffff;
    position: relative;
}

.mfi-fluid-text-container {
    width: 100%;
    max-width: 520px; 
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mfi-fluid-text-wrapper {
    position: relative;
    min-height: 220px;
}

.mfi-fluid-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    visibility: hidden;
    pointer-events: none;
}

.mfi-fluid-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.mfi-fluid-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #F18F1C; /* Saffron */
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.mfi-fluid-title {
    font-size: 34px; 
    color: #2B2A7C; /* MFI Corporate Blue */
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.mfi-fluid-desc {
    font-size: 15.5px;
    color: #4A4A4A;
    line-height: 1.65;
}

.mfi-fluid-controls {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.mfi-fluid-nav-btns {
    display: flex;
    gap: 14px;
}

.mfi-ctrl-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #2B2A7C;
    background: transparent;
    color: #2B2A7C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mfi-ctrl-btn:hover {
    background: #2B2A7C;
    color: #ffffff;
}

.mfi-fluid-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfi-glance-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mfi-glance-dot.active {
    background: #F18F1C;
    width: 28px;
}

/* Fixed Height Panel Layout */
.mfi-fluid-right-panel {
    position: relative;
    width: 100%;
    height: 340px; 
    max-height: 340px;
    background-color: #f4f4f4; /* Changed from Blue to a neutral color to frame the image */
    overflow: hidden;
    display: flex; /* Added to center the contained image */
    align-items: center;
    justify-content: center;
}

/* Native Object-Fit Image Properties */
.mfi-fluid-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* THIS IS THE FIX: Shows the full image */
    object-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    z-index: 1;
    padding: 10px; /* Optional: adds a little "breathing room" around the image */
}

.mfi-fluid-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Tablet and Mobile Breaks (Centered Alignment Updates) */
@media (max-width: 991px) {
    .mfi-fluid-grid {
        grid-template-columns: 1fr;
    }
    .mfi-fluid-right-panel {
        height: 340px; /* Consistently maintains specified height configuration */
        order: -1; 
    }
    .mfi-fluid-left-panel {
        padding: 50px 24px;
        justify-content: center;
    }
    .mfi-fluid-text-container {
        max-width: 100%;
        text-align: center; /* Centers slide title, paragraph descriptions, and step tags */
    }
    .mfi-fluid-controls {
        justify-content: center; /* Centers the navigation groupings horizontally */
    }
}

@media (max-width: 480px) {
    .mfi-fluid-right-panel {
        height: 260px; /* Scaled cleanly down for small device ratios */
    }
    .mfi-fluid-title {
        font-size: 26px;
    }
    .mfi-fluid-controls {
        flex-direction: column-reverse;
        align-items: center; /* Aligns stacked mobile elements perfectly in the center */
        gap: 20px;
    }
    .mfi-fluid-nav-btns {
        width: 100%;
        justify-content: center; /* Aligns control arrows relative to text bounds */
    }
    .mfi-ctrl-btn {
        flex: 1;
        max-width: 140px; /* Limits scale width expanding on small horizontal layouts */
        border-radius: 8px;
    }
}



//About us page //




/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


//routes//
/* ===== Roy Packers & Movers - Modern Kolkata Section ===== */

.rpm-locations-section{
  padding:70px 20px;
  background: linear-gradient(135deg,#f7f9fc,#eef3ff);
  font-family: 'Segoe UI', sans-serif;
}

.rpm-container{
  max-width:1200px;
  margin:auto;
}

/* MAIN TITLE */
.rpm-main-title{
  text-align:center;
  font-size:34px;
  font-weight:700;
  margin-bottom:40px;
  color:#1d2b53;
  position:relative;
  line-height:1.3;
}

.rpm-main-title:after{
  content:'';
  width:90px;
  height:4px;
  background:#2ecc71;
  display:block;
  margin:12px auto 0;
  border-radius:10px;
}

/* GRID */
.rpm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}

/* CARD */
.rpm-card{
  background:#fff;
  padding:25px 22px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  transition:0.3s ease;
  position:relative;
  overflow:hidden;

  /* ✅ center ALL internal elements */
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.rpm-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 35px rgba(0,0,0,0.12);
}

/* ICON WRAPPER CENTER */
.rpm-icon{
  width:55px;
  height:55px;
  background:#e8f8ee;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}

.rpm-icon svg{
  width:26px;
  height:26px;
  fill:#27ae60;
}

/* CARD TITLE */
.rpm-card h3{
  font-size:20px;
  margin-bottom:10px;
  color:#1d2b53;
  text-align:center;
}

/* PARAGRAPH (kept justified but visually centered block) */
.rpm-card p{
  font-size:14.5px;
  line-height:1.8;
  color:#555;
  text-align:justify;
  text-justify:inter-word;

  max-width:95%;
}

/* RESPONSIVE */
@media(max-width:768px){

  .rpm-main-title{
    font-size:26px;
  }

  .rpm-card{
    padding:20px 16px;
  }

  .rpm-card h3{
    font-size:18px;
  }
}

@media(max-width:480px){

  .rpm-main-title{
    font-size:22px;
  }

  .rpm-grid{
    grid-template-columns:1fr;
  }
}



/* ==========================================================================
   MODERN FULL-WIDTH WELCOME SECTION
   ========================================================================== */

/* ==========================================================
:: MFI OFFICIAL WELCOME SECTION - UPDATED 2026
========================================================== */

.modern-welcome-section {
    background-color: #f8f9fc;
    width: 100%;
    overflow: hidden;
}

/* Flexbox/Grid Parent Safe Wrapper alignment */
.welcome-content-wrapper {
    padding: 100px 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* Badge & Titles */
.section-badge {
    color: #f48120; /* MFI Orange */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.section-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #2e3192; /* MFI Blue */
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-main-title span {
    color: #f48120; /* MFI Orange */
}

.section-desc {
    font-size: 16px;
    color: #414042;
    line-height: 1.8;
    margin-bottom: 35px;
    text-align: justify;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #f48120; /* MFI Orange */
    color: #ffffff;
    display: flex;
    flex-shrink: 0; /* Prevents icon compression inside flex containers */
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
}

.feature-text h6 {
    margin: 0 0 4px 0;
    font-weight: 700;
    color: #2e3192; /* MFI Blue */
    font-size: 15px;
}

.feature-text p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* Buttons & Actions */
.welcome-action-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-modern-dark {
    background: #2e3192; /* MFI Blue */
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.btn-modern-dark:hover {
    background: #f48120; /* MFI Orange */
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-contact-us {
    padding: 14px 35px;
    background: transparent;
    color: #2e3192;
    border: 2px solid #2e3192;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    text-align: center;
    box-sizing: border-box;
}

.btn-contact-us:hover {
    background: #2e3192;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Image Side & Experience Card Realignment Engine */
.welcome-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 550px;
    overflow: hidden;
    border-radius: 12px; /* Smooth corners for modern branding dashboard alignment */
}

.main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.experience-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #2e3192; /* MFI Blue */
    padding: 22px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    box-shadow: 0 12px 35px rgba(46, 49, 146, 0.3);
}

.experience-card h3 {
    font-size: 38px;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
    line-height: 1;
}

.experience-card p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #f48120; /* MFI Orange */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ==========================================================
:: RESPONSIVE RESPONSIVENESS PATCH ENGINE
========================================================== */

@media (max-width: 1200px) {
    .welcome-content-wrapper { padding: 60px 30px; }
    .section-main-title { font-size: 34px; }
    .welcome-image-box { min-height: 480px; }
    .experience-card { bottom: 20px; left: 20px; padding: 18px 22px; }
    .experience-card h3 { font-size: 32px; }
}

@media (max-width: 991px) {
    .welcome-content-wrapper { padding: 60px 20px; text-align: left; }
    .welcome-image-box { 
        position: relative;
        height: 450px; 
        min-height: 450px; 
        margin-top: 30px;
    }
    .main-img {
        position: relative;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .welcome-content-wrapper { padding: 50px 15px; text-align: center; }
    .section-main-title { font-size: 28px; }
    .section-desc { text-align-last: center; font-size: 15px; }
    
    .feature-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .feature-item { 
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .welcome-action-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }
    .btn-modern-dark, .btn-contact-us {
        width: 100%;
        margin: 0;
    }
    
    .welcome-image-box { height: 380px; min-height: 380px; }
    
    .experience-card { 
        left: 50%; 
        transform: translateX(-50%); 
        bottom: 20px; 
        width: calc(100% - 40px);
        max-width: 320px;
        justify-content: center;
        box-sizing: border-box;
    }
}
/*Section1 end*/


//below banner text  //
/* Container Padding */
.hero-brand-section {
    padding: 50px 0; /* 50px top and bottom */
    overflow: hidden;
}

/* Main Title Layout */
.brand-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2e3192;
    margin: 0;
    line-height: 1.2;
}

/* Individual Letter Animation */
.char {
    display: inline-block;
    opacity: 0;
    animation: revealChar 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealChar {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* India Glow Effect */
.glow-text {
    color: #f37021 !important; 
    display: inline-block;
    animation: glow-animation 2s ease-in-out infinite alternate;
}

@keyframes glow-animation {
    from { text-shadow: 0 0 2px rgba(243, 112, 33, 0.4); }
    to { text-shadow: 0 0 10px rgba(243, 112, 33, 0.8), 0 0 20px rgba(243, 112, 33, 0.5); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .brand-main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .brand-main-title { font-size: 2rem; }
    .hero-brand-section { padding: 30px 10px; } /* Slightly less padding on mobile */
}
/* Container Spacing: 50px top and bottom */
.hero-brand-section {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #ffffff; /* Adjust as needed */
    text-align: center;
    overflow: hidden;
}

/* "Welcome to" Styling */
.brand-sub-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #6c757d;
    margin-bottom: 10px; /* Space between "Welcome to" and Main Title */
}

/* Main Title Styling */
.brand-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2e3192;
    margin: 0; /* Remove default margins to respect container padding */
    line-height: 1.2;
}

/* Animation for individual letters */
.char {
    display: inline-block;
    opacity: 0;
    animation: revealChar 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealChar {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Glow Effect for INDIA */
.glow-text {
    color: #f37021 !important; 
    display: inline-block;
    animation: glow-animation 2s ease-in-out infinite alternate;
}

@keyframes glow-animation {
    from { text-shadow: 0 0 2px rgba(243, 112, 33, 0.4); }
    to { text-shadow: 0 0 10px rgba(243, 112, 33, 0.8), 0 0 20px rgba(243, 112, 33, 0.5); }
}

/* Responsive Scaling */
@media (max-width: 992px) {
    .brand-main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .brand-main-title { font-size: 2rem; }
    /* Ensure padding remains consistent on mobile */
    .hero-brand-section { padding: 50px 15px; } 
}
//below banner text end //

/*Section2 start*/
/* --- High-End Services Styling --- */
.services-overview-section {
    background: radial-gradient(circle at top right, #ffffff, #f0f7ff);
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.top-badge {
    background: #FFC78B;
    color: #001f49;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.service-main-title {
    font-weight: 800;
    font-size: 42px;
    color: #001f49;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #004AAD;
    margin: 15px auto;
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 74, 173, 0.05);
    display: flex;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 74, 173, 0.05);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 74, 173, 0.1);
    background: #004AAD;
}

.service-card:hover h4, .service-card:hover p, .service-card:hover .read-more {
    color: #fff !important;
}

.left-card { flex-direction: row-reverse; text-align: right; }
.right-card { flex-direction: row; text-align: left; }

.card-icon {
    width: 60px;
    height: 60px;
    background: #eef3ff;
    color: #004AAD;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: 0.3s;
}

.service-card:hover .card-icon {
    background: #FFC78B;
    color: #001f49;
}

.card-text h4 { font-weight: 700; font-size: 20px; color: #001f49; margin: 0 15px 10px; }
.card-text p { font-size: 14px; color: #666; margin: 0 15px 15px; }

.read-more {
    font-size: 13px;
    font-weight: 700;
    color: #004AAD;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

/* Center Visual Animation */
.visual-wrapper {
    position: relative;
    padding: 20px;
}

.floating-man {
    max-height: 480px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: rgba(255, 199, 139, 0.2);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* Responsive Customization */
@media (max-width: 991px) {
    .left-card, .right-card { 
        flex-direction: column !important; 
        text-align: center; 
        align-items: center;
    }
    .card-text h4 { margin: 15px 0 10px; }
    .floating-man { max-height: 350px; }
}
/*section2 end*/


.read-more-button {
    text-align: center;
    margin-top: 45px;
}

.read-more-button .btn1 {
    border-radius: 30px;
}


.mt-30 {
    margin-top: 30px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.content {
    display: none;
}

.learn-more-button .btn1 {
    border-radius: 30px;
}

/*
.learn-more-button .btn1:hover {
    color: #fff;
    transition: 0.3s ease;
    background: #faa60f;
    border: 1.5px solid #faa60f;
}
*/



/*section3 start*/

/* =========================================
   MFI SECTION
========================================= */

.mfi-network-section{
    padding:100px 0;
    background:#f5f7fb;
    overflow:hidden;
}

/* Heading */

.mfi-top{
    text-align:center;
    margin-bottom:70px;
}

.mfi-mini-badge{
    display:inline-block;
    background:linear-gradient(135deg,#ff8c00,#ffb347);
    color:#fff;
    padding:10px 24px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:22px;
}

.mfi-main-title{
    font-size:52px;
    font-weight:900;
    line-height:1.2;
    color:#151515;
    margin-bottom:20px;
}

.mfi-main-title span{
    color:#2b209a;
    display:block;
}

.mfi-subtitle{
    max-width:760px;
    margin:auto;
    color:#666;
    font-size:17px;
    line-height:1.8;
}

/* =========================================
   CARD
========================================= */

.mfi-feature-card{
    background:#fff;
    border-radius:32px;
    padding:50px 40px;
    text-align:center;
    height:100%;
    transition:all .4s ease;
    position:relative;
    overflow:hidden;
    border:1px solid rgba(43,32,154,.08);
    box-shadow:0 10px 35px rgba(0,0,0,.04);

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    opacity:0;
    transform:translateY(60px);
}

/* Hover */

.mfi-feature-card:hover{
    transform:translateY(-12px) !important;
    box-shadow:0 25px 60px rgba(43,32,154,.14);
}

/* =========================================
   ICON
========================================= */

.mfi-icon-wrap{
    width:120px;
    height:120px;
    min-width:120px;
    border-radius:35px;
    margin-bottom:32px;

    background:linear-gradient(135deg,#2b209a,#17135e);

    display:flex;
    align-items:center;
    justify-content:center;

    position:relative;
    overflow:hidden;

    box-shadow:
    0 15px 35px rgba(43,32,154,.25),
    inset 0 0 20px rgba(255,255,255,.08);
}

/* Animated Orange Glow */

.mfi-icon-wrap::before{
    content:'';
    position:absolute;
    width:180%;
    height:180%;
    background:conic-gradient(
        from 0deg,
        transparent,
        rgba(255,140,0,.95),
        transparent
    );

    animation:mfiRotate 4s linear infinite;
}

/* Inner Shape */

.mfi-icon-wrap::after{
    content:'';
    position:absolute;
    inset:5px;
    border-radius:30px;
    background:linear-gradient(135deg,#2b209a,#17135e);
}

/* Icon */

.mfi-icon-wrap i{
    position:relative;
    z-index:5;
    color:#fff;
    font-size:54px;
    transition:all .5s ease;
}

/* Icon Hover */

.mfi-feature-card:hover .mfi-icon-wrap i{
    transform:rotateY(360deg) scale(1.15);
}

/* =========================================
   TEXT
========================================= */

.mfi-feature-card h4{
    font-size:32px;
    line-height:1.25;
    font-weight:800;
    color:#151515;
    margin-bottom:18px;
    text-align:center;
}

.mfi-feature-card p{
    font-size:16px;
    line-height:1.9;
    color:#666;
    max-width:320px;
    margin:auto;
    text-align:center;
}

/* =========================================
   ACTIVE STATE
========================================= */

.mfi-feature-card.mfi-show{
    opacity:1;
    transform:translateY(0);
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes mfiRotate{

    100%{
        transform:rotate(360deg);
    }
}

/* Floating Animation */

@keyframes mfiFloat{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1199px){

    .mfi-main-title{
        font-size:44px;
    }

    .mfi-feature-card h4{
        font-size:28px;
    }
}

@media(max-width:991px){

    .mfi-network-section{
        padding:80px 0;
    }

    .mfi-main-title{
        font-size:38px;
    }

    .mfi-feature-card{
        padding:45px 30px;
    }
}

@media(max-width:767px){

    .mfi-network-section{
        padding:70px 0;
    }

    .mfi-top{
        margin-bottom:50px;
    }

    .mfi-main-title{
        font-size:30px;
    }

    .mfi-subtitle{
        font-size:15px;
    }

    .mfi-feature-card{
        padding:40px 24px;
        border-radius:24px;
    }

    .mfi-icon-wrap{
        width:100px;
        height:100px;
        min-width:100px;
        border-radius:28px;
    }

    .mfi-icon-wrap::after{
        border-radius:24px;
    }

    .mfi-icon-wrap i{
        font-size:42px;
    }

    .mfi-feature-card h4{
        font-size:25px;
    }

    .mfi-feature-card p{
        font-size:14px;
        max-width:100%;
    }
}

/*section3 end*/

//members impact  //
:root {
    /* =========================================
       MFI OFFICIAL BRAND COLORS
    ========================================= */
    --mfi-purple: #2a1f8f;
    --mfi-purple-dark: #17135e;
    --mfi-orange: #f7931e;
    --mfi-orange-light: #ffb347;
    --mfi-green: #00a651;
    --mfi-white: #ffffff;
    --mfi-text: #1d1d1d;
    --mfi-gray: #666666;
    --mfi-light: #f5f7fb;
}

/* =========================================
   SECTION STRUCTURAL CONTAINER RE-ENGINEERING
========================================= */
.mfi-members-impact {
    background: #fff;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
}

/* Forces the grid container row to define heights uniformly */
.mfi-members-impact .row.g-0 {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Guarantees strict left/right column height mapping */
    min-height: 700px;    /* Shared uniform baseline size desktop constraints */
}

/* =========================================
   LEFT PANEL (EQUAL HEIGHT CALIBRATION)
========================================= */
.mfi-members-left {
    height: 100%;         /* Spans full height of the parent row boundary */
    background: linear-gradient(
        135deg,
        #17135e 0%,
        #2a1f8f 55%,
        #3a2bc7 100%
    );
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* =========================================
   BACKGROUND GLOW EFFECTS
========================================= */
.mfi-members-left::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(0,166,81,.25) 0%,
        transparent 70%
    );
    top: -140px;
    right: -120px;
    z-index: 0;
}

.mfi-members-left::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(247,147,30,.20) 0%,
        transparent 70%
    );
    bottom: -140px;
    left: -120px;
    z-index: 0;
}

.mfi-members-left > * {
    position: relative;
    z-index: 5;
}

/* =========================================
   LABEL
========================================= */
.mfi-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 60px;
    background: linear-gradient(
        135deg,
        var(--mfi-orange),
        var(--mfi-orange-light)
    );
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 28px;
    box-shadow: 0 10px 25px rgba(247,147,30,.35);
    text-transform: uppercase;
}

/* =========================================
   TITLE
========================================= */
.mfi-impact-title {
    font-size: 52px; /* Balanced tracking size down slightly to keep layout uniform */
    line-height: 1.15;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 100%;
}

.mfi-impact-title span {
    color: var(--mfi-orange);
    display: block;
}

/* =========================================
   TEXT
========================================= */
.mfi-impact-text {
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 40px;
    font-weight: 400;
}

/* =========================================
   BUTTON
========================================= */
.mfi-member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: var(--mfi-purple-dark);
    padding: 16px 36px;
    border-radius: 60px;
    text-decoration:none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    transition: .4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.mfi-member-btn i {
    transition: .4s ease;
}

.mfi-member-btn:hover {
    background: var(--mfi-orange);
    color: #fff;
    transform: translateY(-5px);
}

.mfi-member-btn:hover i {
    transform: translateX(5px);
}

/* =========================================
   RIGHT STATS GRID (EQUAL HEIGHT CALIBRATION)
========================================= */
.mfi-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%; /* Automatically scales structural box lines to match Row dimensions */
    width: 100%;
}

/* =========================================
   BOX CONFIGURATIONS
========================================= */
.mfi-stat-box {
    background: #fff;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: .4s ease;
    position: relative;
    overflow: hidden;
    height: 100%; /* Blocks automatically expand to absorb row cell space cleanly */
}

.mfi-stat-box:hover {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8f9ff 100%
    );
    transform: translateY(-4px);
}

/* =========================================
   BORDER CHANNELS
========================================= */
.border-right {
    border-right: 1px solid #eeeeee;
}

.border-bottom {
    border-bottom: 1px solid #eeeeee;
}

/* =========================================
   GRADIENT CONIC ICON CONTAINERS
========================================= */
.mfi-stat-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        var(--mfi-purple),
        var(--mfi-purple-dark)
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(42,31,143,.18);
}

/* Animated Ring */
.mfi-stat-icon::before {
    content: '';
    position: absolute;
    width: 180%;
    height: 180%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(247,147,30,.95),
        rgba(0,166,81,.85),
        transparent
    );
    animation: mfiRotate 4s linear infinite;
}

/* Inner Layer */
.mfi-stat-icon::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 25px;
    background: linear-gradient(
        135deg,
        var(--mfi-purple),
        var(--mfi-purple-dark)
    );
}

.mfi-stat-icon i {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 42px;
    transition: .6s ease;
}

.mfi-stat-box:hover .mfi-stat-icon i {
    transform: rotateY(360deg) scale(1.1);
}

/* =========================================
   NUMERICAL COUNTER TEXT STYLING
========================================= */
.mfi-counter {
    display: inline-block;
    font-size: 56px;
    line-height: 1;
    font-weight: 900;
    color: var(--mfi-purple-dark);
    margin: 0;
}

.mfi-plus {
    font-size: 28px;
    color: var(--mfi-orange);
    font-weight: 800;
    margin-left: 4px;
}

.mfi-stat-inner p {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--mfi-gray);
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 0;
}

/* =========================================
   SCROLL REVEAL ANIMATION OVERRIDES
========================================= */
.mfi-stat-box {
    opacity: 0;
    transform: translateY(40px);
    transition: all .6s ease;
}

.mfi-stat-box.mfi-show {
    opacity: 1 !important;
    transform: translateY(0px) !important;
}

@keyframes mfiRotate {
    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   RESPONSIVE LAYOUT RESPONSES
========================================= */
@media(max-width: 1199px) {
    .mfi-impact-title {
        font-size: 44px;
    }
    .mfi-counter {
        font-size: 46px;
    }
}

@media(max-width: 991px) {
    .mfi-members-impact .row.g-0 {
        min-height: auto; /* Frees hard explicit grid height constraints on responsive devices */
    }
    
    .mfi-members-left {
        padding: 60px 40px;
        align-items: center;
        text-align: center;
    }

    .mfi-members-left > * {
        text-align: center;
    }

    .mfi-impact-title {
        font-size: 38px;
        margin-left: auto;
        margin-right: auto;
    }

    .mfi-impact-text {
        margin-left: auto;
        margin-right: auto;
    }

    .mfi-btn-area {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .mfi-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mfi-stat-box {
        padding: 50px 20px;
    }
}

@media(max-width: 767px) {
    .mfi-stats-grid {
        grid-template-columns: 1fr; /* Drop cleanly down to single vertical array spine */
    }

    .border-right {
        border-right: none !important;
    }

    .border-bottom {
        border-bottom: 1px solid #eeeeee !important;
    }

    .mfi-impact-title {
        font-size: 32px;
    }

    .mfi-stat-box {
        padding: 45px 20px;
    }

    .mfi-counter {
        font-size: 42px;
    }
}

@media(max-width: 480px) {
    .mfi-members-left {
        padding: 50px 20px;
    }

    .mfi-impact-title {
        font-size: 28px;
    }

    .mfi-member-btn {
        width: 100%;
        max-width: 280px;
    }

    .mfi-counter {
        font-size: 36px;
    }
}

/* =========================================
   RIGHT PANEL IMAGE STYLING (CENTERED)
========================================= */
.mfi-right-panel-image {
    width: 100%;
    height: 100%;
    min-height: 500px; /* Ensures height on desktop */
    position: relative;
    overflow: hidden;
    background-color: #f4f4f4; /* Background color behind the centered image */
    
    /* Flexbox centering */
    display: flex;
    align-items: center;    /* Vertically center */
    justify-content: center; /* Horizontally center */
}

.mfi-panel-img {
    width: 100%;
    height: 100%;
    /* 'contain' ensures the full image is visible without cropping */
    object-fit: contain; 
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

/* Optional: Subtle zoom effect on hover */
.mfi-right-panel-image:hover .mfi-panel-img {
    transform: scale(1.03);
}

/* Mobile adjustment */
@media(max-width: 991px) {
    .mfi-right-panel-image {
        min-height: 300px;
    }
}

//mfi features end ///

//membership section //
/* Section Container Styling */
.mfi-join-section {
    padding: 100px 20px; 
    background: #ffffff; 
    font-family: 'Poppins', sans-serif;
}

.join-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    gap: 60px; 
}

/* Typography & Content Styling */
.join-content { 
    flex: 1; 
}

.mfi-badge {
    display: inline-block;
    color: #ffffff; 
    font-weight: 800; 
    text-transform: uppercase;
}

.mfi-main-title { 
    font-size: 48px; 
    color: #2D2D86; 
    line-height: 1.2; 
    margin-bottom: 20px; 
}

.mfi-main-title span { 
    color: #0B9444; 
}

.join-description {
    font-size: 16px;
    color: #58595B;
    line-height: 1.6;
}

/* Benefit List Styling */
.benefit-list { 
    list-style: none; 
    padding: 0; 
    margin: 30px 0; 
}

.benefit-list li { 
    margin-bottom: 15px; 
    font-size: 16px; 
    color: #58595B; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.benefit-list i { 
    color: #F18E1C; 
}

/* Call to Action Button Layout */
.cta-wrapper {
    display: block;
}

.join-cta { 
    background: #2D2D86; 
    color: white; 
    padding: 18px 40px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: 0.3s; 
    display: inline-block; 
}

.join-cta:hover { 
    background: #0B9444; 
    color: white; /* Ensures text stays white on hover */
    transform: scale(1.05); 
}

/* Right-Side Visual Layout */
.join-visual { 
    flex: 1; 
    text-align: center; 
    position: relative; 
}

/* 3D Floating Box Effect */
.badge-box { 
    background: #f4f7fa; 
    padding: 40px; 
    border-radius: 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    border: 2px solid #fff; 
}

.badge-box h3 { 
    color: #2D2D86; 
}

.badge-icon {
    font-size: 60px; 
    color: #0B9444; 
    margin-bottom: 20px;
}

/* Responsive Media Queries (Mobile & Tablets) */
@media (max-width: 768px) { 
    .join-container { 
        flex-direction: column; 
        gap: 40px;
    } 
    
    /* Centralizes text elements & wraps button context */
    .join-content {
        text-align: center;
    }
    
    .mfi-main-title {
        font-size: 36px;
        text-align: center;
    }
    
    /* Justifies paragraph descriptions explicitly for mobile */
    .join-description {
        text-align: justify;
        text-justify: inter-word; /* Enhances formatting across modern mobile browsers */
    }
    
    /* Keeps the checkmarks cleanly aligned left while centering the block */
    .benefit-list {
        display: inline-block;
        text-align: left;
        margin: 25px auto;
    }
    
    /* Ensures button aligns correctly inside centered wrapper */
    .cta-wrapper {
        text-align: center;
    }
}

//membership section end //

// testimonial start //
/* Section Main Wrapper Layout */
.mfi-testimonial-section {
    padding-top: 100px;
    padding-bottom: 50px; /* FIXED: Bottom padding exactly 50px */
    padding-left: 20px;
    padding-right: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.mfi-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Text Alignments */
.mfi-top {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* FIXED: Highly attractive modern pill badge with white text */
.mfi-mini-badge {
    display: inline-block;
    background-color: #F18E1C;
    color: #ffffff; /* FIXED: Crisp white text */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 8px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(241, 142, 28, 0.2);
    margin-bottom: 20px;
}

.mfi-main-title {
    font-size: 40px;
    color: #2D2D86;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: 700;
}

.mfi-main-title span {
    color: #0B9444;
}

.mfi-subtitle {
    font-size: 16px;
    color: #58595B;
    line-height: 1.6;
}

/* Carousel Canvas Tracking */
.mfi-carousel-container {
    position: relative;
    width: 100%;
}

.mfi-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

/* Individual Slide Panels */
.mfi-testimonial-slide {
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
}

/* Luxury Card Structuring */
.mfi-testimonial-card {
    height: 100%;
    padding: 40px 35px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(45, 45, 134, 0.06);
    border: 1px solid rgba(45, 45, 134, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.mfi-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(45, 45, 134, 0.12);
}

.mfi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.mfi-quote-icon {
    font-size: 32px;
    color: rgba(11, 148, 68, 0.15);
}

.mfi-stars {
    color: #F18E1C;
    font-size: 14px;
    display: flex;
    gap: 3px;
}

.mfi-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #58595B;
    font-style: italic;
    margin-bottom: 30px;
    text-align: justify;
    text-justify: inter-word;
}

/* Identity / Footer Metadata info */
.mfi-member-info {
    border-top: 1px solid #f0f2f5;
    padding-top: 20px;
    display: flex;
    align-items: center;
}

.mfi-member-details h5 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #2D2D86;
}

.mfi-role {
    font-size: 13px;
    color: #0B9444;
    font-weight: 600;
}

/* Action Control Row UI */
.mfi-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.mfi-control-btn {
    background: #ffffff;
    border: 1px solid rgba(45, 45, 134, 0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D2D86;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.mfi-control-btn:hover {
    background: #2D2D86;
    color: #ffffff;
    border-color: #2D2D86;
    transform: scale(1.05);
}

.mfi-carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mfi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mfi-dot.active {
    background: #0B9444;
    width: 24px;
    border-radius: 20px;
}

/* ==========================================================================
   DESKTOP SCREEN LAYOUTS (Grid presentation starts at 992px)
   ========================================================================== */
@media (min-width: 992px) {
    .mfi-main-title {
        font-size: 48px;
    }

    .mfi-carousel-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px;
        transform: none !important;
    }

    .mfi-testimonial-slide {
        min-width: auto !important;
        padding: 0;
    }

    .mfi-carousel-controls {
        display: none !important;
    }
}

/* Responsive Overrides (Mobile Devices) */
@media (max-width: 768px) {
    .mfi-testimonial-section {
        padding-top: 60px;
        padding-bottom: 50px; /* Keeps mobile padding structured */
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .mfi-main-title {
        font-size: 32px;
    }

    .mfi-testimonial-card {
        padding: 30px 25px;
    }
}


//features section home  //
/* Base Layout & Reset Adjustments */
.mfi-features-section {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.mfi-row-reset {
    margin: 0 !important;
}

/* Left Column Styling */
.mfi-info-column {
    background-color: #6c757d; 
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mfi-stat-number {
    font-size: 3.5rem;
}

.mfi-stat-heading {
    font-size: 1.75rem;
}

.mfi-custom-hr {
    width: 50px; 
    height: 3px; 
    opacity: 1;
    background-color: #ffffff;
    border: none;
    margin-left: 0; /* Aligns left on desktop */
}

.mfi-quote-text {
    font-style: italic; 
    line-height: 1.8;
}

/* Right Video Column Styling */
.mfi-video-column {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://moversfederation.org/wp-content/uploads/2024/01/DSC7277-scaled.jpg'); 
    background-size: cover; 
    background-position: center; 
    min-height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.mfi-video-content-wrapper {
    text-align: center;
}

.mfi-video-title {
    font-size: 1.75rem;
    line-height: 1.4;
}

/* Circular Interactive Play Button Styling */
#video.mfi-play-btn {
    cursor: pointer; 
    width: 80px; 
    height: 80px; 
    color: #6c757d; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem auto;
    border: none;
    background-color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Play button hover effect */
#video.mfi-play-btn:hover {
    transform: scale(1.1);
    background-color: #ffffff !important;
    color: #495057 !important; /* Slightly darker grey on hover */
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (Tablets and Mobile Devices)
   ========================================================================== */
@media (max-width: 991px) {
    /* Padding Adjustments */
    .mfi-features-section .mfi-info-column {
        padding: 40px 20px !important;
    }
    
    .mfi-features-section .mfi-video-column {
        min-height: 300px;
    }

    /* Centralizes text layouts, layouts structures, and rows on mobile viewports */
    .mfi-features-section {
        text-align: center !important;
    }

    /* Centers grid or column block headers, horizontal rules, and paragraphs */
    .mfi-features-section h1,
    .mfi-features-section h2,
    .mfi-features-section h3,
    .mfi-features-section h4,
    .mfi-features-section h5,
    .mfi-features-section p,
    .mfi-features-section span {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Explicitly centers the horizontal structural line */
    .mfi-features-section .mfi-custom-hr {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ensures internal flexbox column elements align to the middle */
    .mfi-features-section .d-flex,
    .mfi-features-section .display-flex {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Center aligns video title row breaks on smaller feeds */
    .mfi-video-title {
        text-align: center !important;
    }
}

// map section start  // 

/* Premium Map Wrapper Section */
.gmap-section-premium {
    position: relative;
    width: 100%;
    line-height: 0; /* Removes any browser-injected extra spacing below the map box */
    overflow: hidden;
    background: #f9f9f9;
}

/* Map Fluid Outer Container */
.g-map-full {
    width: 100%;
    position: relative;
}

/* FIXED: Complete full-width responsive iframe control override */
.g-map-full iframe {
    display: block;
    width: 100% !important; /* Enforces fluid 100% viewport span */
    height: 500px; /* Establishes a crisp, clean desktop elevation profile */
    border: none;
    
    /* Professional color filter: subtle upscale contrast styling */
    filter: grayscale(15%) contrast(1.05);
    transition: filter 0.5s ease;
}

/* Map returns to full natural saturation dynamically when hovered */
.g-map-full:hover iframe {
    filter: grayscale(0%);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (Tablets and Mobile Devices)
   ========================================================================== */
@media (max-width: 991px) {
    /* Responsive height scaling prevents map from engulfing full mobile screens */
    .g-map-full iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    /* Slightly more compact dimensions specifically matching smaller smartphone feeds */
    .g-map-full iframe {
        height: 320px;
    }
}


//map section end //


// faq and conract form //
/* Color Scheme Variables scoped to section */
.mfi-verify-support-section {
    --mfi-primary-blue: #004AAD;
    --mfi-accent-red: #F05A4E;
    --mfi-brand-dark: #001533;
    --mfi-gray-text: #555555;
    
    /* UPDATED: Structured 50px top and bottom balance */
    padding: 50px 0 !important;
    background: linear-gradient(to right, #f8fbff 50%, #ffffff 50%);
    font-family: 'Poppins', sans-serif;
}

/* Rigidly forces dark background display and overrides global theme leaks */
.mfi-verify-support-section .mfi-support-card-container {
    background-color: #001533 !important; 
    background: #001533 !important;
    padding: 50px 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 74, 173, 0.4) !important;
    position: relative !important;
    z-index: 99 !important;
    display: block !important;
}

.mfi-support-card-badge {
    background: var(--mfi-accent-red) !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
}

/* High Contrast Title Layouts */
.mfi-support-card-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 12px !important;
    display: block !important;
}

.mfi-support-card-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.mfi-support-card-gradient {
    background: linear-gradient(to right, #FFC78B, #ffffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline !important;
    color: #FFC78B !important;
}

/* Input Fields Containers */
.mfi-support-input-wrapper {
    position: relative !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.mfi-support-input-wrapper i {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #007bff !important; 
    z-index: 102 !important;
    font-size: 16px !important;
}

/* Input Overrides targeting themes that default to white-on-white text */
.mfi-support-input-wrapper input, 
.mfi-support-select-dropdown {
    width: 100% !important;
    padding: 15px 15px 15px 48px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
}

.mfi-support-input-wrapper input:focus, 
.mfi-support-select-dropdown:focus {
    border-color: #007bff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

/* Forces Placeholder Visibility */
.mfi-support-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.65) !important;
    opacity: 1 !important;
}
.mfi-support-input-wrapper input::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.65) !important; }
.mfi-support-input-wrapper input::-moz-placeholder { color: rgba(255, 255, 255, 0.65) !important; }

.mfi-support-select-dropdown option {
    background-color: #001533 !important;
    color: #ffffff !important;
    padding: 10px !important;
}

.mfi-support-select-dropdown {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
}

/* Glow Action Button Overrides */
.mfi-support-submit-btn {
    width: 100% !important;
    padding: 18px !important;
    border-radius: 10px !important;
    border: none !important;
    background: var(--mfi-accent-red) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 20px rgba(240, 90, 78, 0.3) !important;
    transition: 0.4s ease !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: block !important;
}

.mfi-support-submit-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(240, 90, 78, 0.5) !important;
}

/* Accordion Headings Styles */
.mfi-support-text-blue { color: var(--mfi-primary-blue) !important; }
.mfi-support-faq-tagline { letter-spacing: 2px; color: var(--mfi-accent-red); font-weight: 700; font-size: 13px; }

/* FAQ Main Accordion Wrapper Overrides */
.mfi-support-faq-accordion .accordion-item { 
    border: none !important; 
    margin-bottom: 15px !important; 
    background: transparent !important; 
}

.mfi-support-faq-accordion .accordion-button {
    background: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 20px !important;
    color: var(--mfi-brand-dark) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
}

.mfi-support-faq-accordion .accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(0, 74, 173, 0.2) !important;
}

.mfi-support-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--mfi-primary-blue) !important;
    background: #f0f6ff !important;
    box-shadow: none !important;
}

.mfi-support-faq-accordion .accordion-body {
    padding: 25px 20px !important;
    color: var(--mfi-gray-text) !important;
    line-height: 1.7 !important;
    font-size: 0.95rem !important;
    background: #ffffff !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    box-shadow: 0 8px 15px rgba(0,0,0,0.02) !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (Tablets and Mobile Devices)
   ========================================================================== */
@media (max-width: 991px) {
    .mfi-verify-support-section {
        /* UPDATED: Retains 50px padding block balance cleanly on mobile ports */
        padding: 50px 0 !important;
        background: #f8fbff !important; 
    }
    
    .mfi-support-card-container {
        padding: 40px 25px !important;
    }
}


//home video section //
/* Responsive adjustments */
@media (max-width: 991px) {
    .mfi-features-section .col-lg-5 {
        padding: 40px 20px !important;
    }
    .mfi-features-section .min-height {
        min-height: 300px;
    }
}

/* Play button hover effect */
#video.btn:hover {
    transform: scale(1.1);
    background-color: #ffffff !important;
    color: #495057 !important; /* Slightly darker grey on hover */
}

//home video section end //







.mt-10 {
    margin-top: 10px !important;
}

/*section4 start*/


.moving-process-section {
    background: #ffffff;
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.process-badge {
    background: #FFC78B;
    color: #001f49;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.process-title {
    font-weight: 800;
    font-size: 40px;
    color: #001f49;
}

/* Timeline Path Design */
.process-path {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

/* Connecting Line for Desktop */
@media (min-width: 992px) {
    .process-path::before {
        content: '';
        position: absolute;
        top: 100px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: repeating-linear-gradient(to right, #004AAD 0, #004AAD 10px, transparent 10px, transparent 20px);
        z-index: 0;
    }
}

.process-step {
    width: 300px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrap {
    width: 80px;
    height: 80px;
    background: #004AAD;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    position: relative;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.2);
    transition: 0.4s;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FFC78B;
    color: #001f49;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step:hover .step-icon-wrap {
    transform: rotateY(360deg) scale(1.1);
    background: #FFC78B;
    color: #001f49;
}

.step-content h4 {
    font-weight: 700;
    color: #001f49;
    font-size: 20px;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .process-step { width: 100%; max-width: 450px; display: flex; text-align: left; align-items: flex-start; gap: 20px; }
    .step-icon-wrap { flex-shrink: 0; margin: 0; }
}
/*section4 end*/

/* --- Contact Section Styles --- */
.contact-section {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 40px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-section p {
    margin-bottom: 30px;
    color: #ccc;
}

.quote-form input, .quote-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    background: #fff;
    box-sizing: border-box;
    font-size: 1rem;
}

.btn-send {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 40px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-send:hover {
    background-color: #d43f33;
}

/* --- FAQ Section Styles --- */
.faq-section {
    background-color: #fff;
    padding: 60px 50px;
}

.sub-heading {
    color: var(--primary-red);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.faq-section h1 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: #333;
}

/* FAQ Accordion Styling */
.faq-accordion {
    margin-top: 40px;
}

details {
    border: 1px solid #eee;
    margin-bottom: 10px;
    background-color: var(--light-grey);
}

summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    border-bottom: 1px solid transparent;
    color: #444;
}

/* Add custom +/- icon */
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--accent-blue); /* Using logo blue for icons */
    font-size: 1.2rem;
}

details[open] summary::after {
    content: '-';
}

details[open] summary {
    border-bottom: 1px solid #ddd;
}

.content {
    padding: 20px;
    line-height: 1.6;
    color: #666;
    background: #fff;
}

/* Responsive Design */
@media (max-width: 850px) {
    .main-container {
        grid-template-columns: 1fr;
    }
}


/*Location section start*/

.location-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url(../images/location-bg2.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    position: relative;
    z-index: 99;
}

.location-section .content-heading2 {
    text-align: center;
    color: #fff;
}

.location-section .left-contentbox-details {
    text-align: center;
    color: #fff;
}

.box4-imgbox {
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
}

.box4-imgbox img {
    width: auto;
    max-height: 100%;
}

.box4-contentbox {
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    padding-top: 20px;
}

/*Location section end*/

/*section5 start*/

.section5 {
    padding: 50px 0px 120px 0px;
    background-image: url(../images/client-bg.webp);
        background-size: contain;
/*    background-repeat: no-repeat;*/
/*    background-attachment: fixed;*/
/*    background-position: center center;*/
    position: relative;
    z-index: 99;
}
.section5 .content-heading3{
    color: #fff;
    -webkit-text-stroke-width: 1px;
    stroke-width: 1px;
    -webkit-text-stroke-color: #000000;
    stroke: #000000;
}

.countUp-item {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.countUp-progress {
    width: 200px;
    height: 200px;
    font-size: 30px;
    color: #fff;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #07070c;
    text-align: center;
    line-height: 200px;
    margin: 20px
}

.countUp-progress::after {
    content: "%";
}

.countUp-progress .title {
    position: relative;
    z-index: 100;
}

.countUp-progress .overlay {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #07070c
}

.countUp-progress .left,
.countUp-progress .right {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 10px solid #222235;
    border-radius: 100px 0px 0px 100px;
    border-right: 0;
    transform-origin: right;
}

.countUp-progress .left {
    animation: load1 1s linear forwards;
}

.countUp-progress:nth-of-type(2) .right,
.countUp-progress:nth-of-type(3) .right {
    animation: load2 .5s linear forwards 1s;
}

.countUp-progress:last-of-type .right,
.countUp-progress:first-of-type .right {
    animation: load3 .8s linear forwards 1s;
}

@keyframes load1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

@keyframes load2 {
    0% {
        z-index: 100;
        transform: rotate(180deg);
    }

    100% {
        z-index: 100;
        transform: rotate(270deg);
    }
}

@keyframes load3 {
    0% {
        z-index: 100;
        transform: rotate(180deg);
    }

    100% {
        z-index: 100;
        transform: rotate(315deg);
    }
}

.card-wrapper {
    width: 100%;
/*
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
*/
}

.card-wrapper .card {
    background: transparent;
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    border: none;
/*    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);*/
}

.card-wrapper .card .circle {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    cursor: default;
}

.card .circle .box,
.card .circle .box span {
    position: absolute;
    top: 50%;
    left: 50%;
}

.card .circle .box {
    height: 100%;
    width: 100%;
/*    background: rgba(0,0,0,0.5);*/
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.2s;
}

.card .circle:hover .box {
    transform: translate(-50%, -50%) scale(0.91);
}

.card .circle .box span,
.card-wrapper .card .text {
    background: #fff;
/*    background: -webkit-linear-gradient(left, #a445b2, #fa4299);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.circle .box span {
    font-size: 38px;
    font-family: sans-serif;
    font-weight: 600;
    transform: translate(-45%, -45%);
    transition: all 0.1s;
}

.card .circle:hover .box span {
    transform: translate(-45%, -45%) scale(1.09);
}

.card .text {
    margin-top: 30px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
}

@media(max-width: 753px) {
    .wrapper {
        max-width: 700px;
    }

    .wrapper .card {
        width: calc(50% - 20px);
        margin-bottom: 20px;
    }
}

@media(max-width: 505px) {
    .wrapper {
        max-width: 500px;
    }

    .wrapper .card {
        width: 100%;
    }
}




.section5-transparentbox {
    padding: 70px 50px;
    border-radius: 30px;
    /* margin: 20px 20px 24px; */
    border: 2px solid #e7e7e7;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    /*
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
*/
}

.testi_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.testi_imagebox {
    width: 200px;
    height: 200px;
    background: #c4cce3;
    border-radius: 50%;
    overflow: hidden;
}

.testi_contentbox {
    width: 75%;
    margin-left: 50px;
}

.testi_heading {
    color: #222021;
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    margin-bottom: 5px;
}

.testi_subheading {
    color: #b4b2b3;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 30px;
}

.testi_details {
    color: #222021;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 0px;
}

.get_a_quotecontainer {
    background: #f08161;
    padding: 40px 50px;
}

.get_a_quotebox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.get_a_quote-iconbox {
    width: 60px;
    height: 60px;
}

.get_a_quote-iconbox img {
    width: auto;
    height: 100%;
}

.get_a_quote-contentbox {
    padding-left: 10px;
    width: 650px;
}

.get_a_quote-heading {
    color: #fff;
    font-size: 38px;
    line-height: 44px;
    /* font-weight: 600; */
    text-transform: capitalize;
    font-family: 'Anton', sans-serif !important;
    margin-bottom: 0px;
}

.get_a_quote-details {
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    font-weight: normal;
    margin-bottom: 0px;
}

.get_a_quote-buttonbox .btn1 {
    color: #001e57;
    background-color: #fff;
}

.get_a_quote-buttonbox .btn1:hover {
    color: #fff;
}






.col-lg-2_5 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    padding-right: 15px;
    padding-left: 15px;
}

/*

.section5 .content-heading1 {
    text-align: center;
    color: #fff;
}

.section5 .content-heading1::after {
    right: 0;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.section5 .content-heading2 {
    text-align: center;
    color: #fff;
}
*/

.section5 .content-heading1::after {
    left: -25px;
    right: 0;
    margin: 0 auto;
    text-align: center;
}

.gallery-slider-con {
    margin-top: 40px
}




/*
.section5 .heading-section {
    margin-bottom: 0;
}

.section5 .heading-section .heading-2 {
    text-align: left;
    margin-bottom: 20px;
}

.section5 .content-heading1{
    color: #00aeef;
}
.section5 .content-heading1::after{
    left: -120px;
    right: 0;
    margin: 0 auto;
    text-align: center;
    border-bottom: 2px solid #00aeef;
}
*/

.mission_vision-tab_container {
    margin-top: 30px;
}



.section5 .treatment_box {
    box-shadow: none;
}

.section5 .treatment_name a {
    text-align: center;
    color: #111;
    transition: 0.3s ease-in-out;
}

.section5 .treatment_name a:hover {
    text-align: center;
    color: #3ab54a;
}

/*
.section5 .owl-carousel .owl-stage-outer {
    padding-top: 20px;
    padding-bottom: 20px;
}
*/
/*
.section5 .owl-theme .owl-nav {
    display: none !important;
}
*/
/*
.section5 .owl-theme .owl-dots .owl-dot {
    display: block !important;
}
*/

.section5 .owl-prev {
    width: 45px !important;
    height: 45px !important;
    position: absolute;
    top: 35%;
    left: -50px;
    background-color: transparent !important;
    border-radius: 0 !important;
    border: 2px solid transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

/*
.section5 .owl-prev:hover {
    background-color: #e7e5ff !important;
}
*/

.section5 .owl-prev span {
    font-size: 40px;
    line-height: 30px;
    color: #fff !important;
}

.section5 .owl-prev:hover span {
    color: #fff !important;
}

.section5 .owl-next {
    width: 45px !important;
    height: 45px !important;
    position: absolute;
    top: 35%;
    right: -50px;
/*    bottom: 0px;*/
    background-color: transparent !important;
    border-radius: 0 !important;
    border: 2px solid transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

/*
.section5 .owl-next:hover {
    background-color: #fff !important;
}
*/

.section5 .owl-next span {
    font-size: 40px;
    line-height: 30px;
    color: #fff !important;
}

.section5 .owl-next:hover span {
    color: #fff !important;
}

.section5 .owl-theme .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
}

.section5 .treatment_box {
    border: none;
}

/*
.section5 .treatment_imgbox {
    background: #f8f8fa;
}
*/


.treatment_button2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}

.section5 .treatment_box:hover .treatment_button2 {
    opacity: 1;
    visibility: visible;
}

.section5 .treatment_btn {
    justify-content: center;
    color: #392917;
    transition: 0.3s ease-in-out;
}

.section5 .treatment_btn:hover {
    color: #966528;
}

/*
.section5 .owl-theme .owl-dots .owl-dot {
    display: block !important;
}
*/

.section5_box {
    width: 500px;
    height: auto;
    padding: 25px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #282828;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-top-left-radius: 40px;
    overflow: hidden;
}

.section5_imagebox {
    width: 150px;
    height: auto;
    border-top-left-radius: 40px;
    overflow: hidden;
}

.section5_imagebox img {
    width: 100%;
    height: auto;
}

.section5_box-heading {
    color: #fff;
    font-size: 26px;
    line-height: 30px;
    font-weight: 600;
    text-transform: capitalize;
    padding-left: 40px;
    position: relative;
}

.section5_box-heading::before {
    content: '';
    position: absolute;
    top: 12px;
    left: -25px;
    width: 55px;
    border-top: 2px solid #eb1329;
}

/*section5 end*/


//roy services //

/* ===== BASE ===== */
.rpm-service-page{
  font-family:'Poppins',sans-serif;
  background:#f6f9ff;
  color:#1c1c1c;
}

/* ===== CONTAINER ===== */
.rpm-container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* ===== HEADINGS ===== */
.rpm-service-page h1,
.rpm-service-page h2{
  text-align:center;
  color:#0b2c5f;
  margin-bottom:15px;
}

.rpm-service-page p{
  text-align:justify;
  line-height:1.8;
  color:#555;
}

/* ===== BUTTON ===== */
.rpm-btn{
  display:inline-block;
  background:linear-gradient(135deg,#ff6a3d,#ff3d77);
  color:#fff;
  padding:12px 28px;
  border-radius:30px;
  font-weight:600;
  text-decoration:none;
  margin-top:20px;
  transition:0.3s;
}

.rpm-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(255,61,119,0.3);
}

/* ===== HERO ===== */
.rpm-hero{
  background:linear-gradient(135deg,#0b2c5f,#1a4fa3);
  color:#fff;
  padding:80px 0;
}

.rpm-hero h1,
.rpm-hero p{
  color:#fff;
}

.rpm-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.rpm-hero-image img{
  width:100%;
  border-radius:18px;
  box-shadow:0 15px 35px rgba(0,0,0,0.25);
}

/* ===== ABOUT + CONTENT ===== */
.rpm-about,
.rpm-content{
  padding:70px 0;
  background:#fff;
}

/* ===== FEATURES ===== */
.rpm-features{
  padding:70px 0;
}

.rpm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.rpm-card{
  background:#fff;
  padding:25px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  text-align:center;
  transition:0.3s;
}

.rpm-card:hover{
  transform:translateY(-8px);
}

.rpm-icon{
  font-size:40px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:10px;
}

/* ===== PROCESS ===== */
.rpm-process{
  background:#eef4ff;
  padding:70px 0;
}

.rpm-steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.rpm-step{
  background:#fff;
  padding:25px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.rpm-step span{
  width:40px;
  height:40px;
  background:#ff6a3d;
  color:#fff;
  display:inline-block;
  border-radius:50%;
  line-height:40px;
  font-weight:bold;
  margin-bottom:10px;
}

/* ===== CTA ===== */
.rpm-cta{
  background:linear-gradient(135deg,#ff6a3d,#ff3d77);
  color:#fff;
  padding:70px 0;
  text-align:center;
}

.rpm-cta h2,
.rpm-cta p{
  color:#fff;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

  .rpm-hero-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .rpm-service-page h1{
    font-size:26px;
  }

  .rpm-service-page h2{
    font-size:22px;
  }
}


//faq page //




/*Team section start*/

.team-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url(../images/team-bg-image2.webp);
    background-size: cover;
    background-repeat: no-repeat;
    /*    background-attachment: fixed;*/
    background-position: center center;
    position: relative;
    z-index: 99;
}

.teambox {
    height: 100%;
    max-height: 655px;
    background: #fff;
    padding: 30px 20px;
    box-shadow: 0px 0px 20px 0 rgb(80 80 80 / 20%);
}

.team-section .content-heading2 {
    text-align: center;
}

.team-section .left-contentbox-details {
    text-align: center;
}

.member-details {
    color: #878787;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

/*Team section end*/



/*section6 start*/

.section6 {
    padding-top: 200px;
    padding-bottom: 200px;
    background-image: url(../images/sec6-bg.webp);
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed;
    background-position: center center;
    position: relative;
    z-index: 99;
}
.section6::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #101218;
    opacity: 0.71;
    z-index: 0;
}
.section6 .content-heading1 {
    text-align: center;
}
.section6 .content-heading2 {
    color: #4175fc;
}
.section6 .content-heading3 {
    color: #fff;
}
.section6 .content-heading2::before {
    right: 0;
    margin: 0 auto;
    text-align: center;
}

.section6 .content-heading2::after {
    right: 60px;
    margin: 0 auto;
    text-align: center;
}

.sec6_logobox {
    width: 160px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}


.section6 .nav-pills .nav-link.active,
.section6 .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #3bb5ff;
}

.section6 .nav-pills .nav-item {
    margin-right: 10px;
}

.section6 .nav-pills .nav-link {
    color: #282828;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    background-color: #fff;
    padding: 7px 25px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 0 !important;
}

.section6 .tab-content .tab-pane {
    color: #767676;
    font-size: 16px;
    line-height: 22px;
}


.sec6_logobox img {
    width: 100%;
    height: auto;
}

.sec6_logobox img {
    transform: scale(1.2);
}

.section6 .readmore-button .btn1 {
    color: #fff;
    background: #fe0000;
    border: 1.5px solid #fe0000;
}

.section6 .readmore-button .btn1:hover {
    color: #fe0000;
    background: #fff;
    border: 1.5px solid #fff;
}

/*
.section6 .heading-section .heading-1{
    color: #fff;
}
.section6 .heading-section .details{
    color: #cfcfcf;
}
*/
.popular-products-slider {
    margin-top: 15px;
}

.section6 .treatment_contentcon {
    padding: 0 0 0 30px;
}

.section6 .treatment_detailsbox {
    width: 100%;
    position: relative;
    height: auto;
    overflow: visible;
    padding: 30px 20px 30px 45px;
    background: #fff;
    transition: 0.3s ease-in-out;
    border-top: none;
    border-bottom: none;
    margin-top: -30px;
    border: 2px solid #ebebeb;
}

.section6 .treatment_name {
    text-align: left;
}

.section6 .treatment_name::before {
    content: '';
    position: absolute;
    top: 12px;
    left: -74px;
    width: 65px;
    border-bottom: 2px solid #F55B14;
}

.section6 .treatment_button {
    padding-bottom: 0px;
}

.section6 .treatment_btn {
    text-align: left;
    justify-content: flex-start;
}

.section6 .owl-prev {
    width: 60px !important;
    height: 45px !important;
    position: absolute;
    right: 60px;
    top: -65px;
    bottom: 0px;
    background-color: #f55b14 !important;
    border-radius: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    clip-path: polygon(20% 0, 100% 0%, 79% 100%, 0% 100%);
}

.section6 .owl-prev:hover {
    background-color: #08172e !important;
}

.section6 .owl-prev span {
    font-size: 40px;
    line-height: 45px;
    color: #fff !important;
}

.section6 .owl-prev:hover span {
    color: #fff !important;
}

.section6 .owl-next {
    width: 60px !important;
    height: 45px !important;
    position: absolute;
    right: 0;
    top: -65px;
    bottom: 0px;
    background-color: #f55b14 !important;
    border-radius: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    clip-path: polygon(20% 0, 100% 0%, 79% 100%, 0% 100%);
}

.section6 .owl-next:hover {
    background-color: #08172e !important;
}

.section6 .owl-next span {
    font-size: 40px;
    line-height: 45px;
    color: #fff !important;
}

.section6 .owl-next:hover span {
    color: #fff !important;
}

.section6 .owl-theme .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
}


.box4-icon {
    width: 50px;
    height: 50px;
    /*
    border-radius: 50%;
    background: #252525;
*/
    display: grid;
    place-items: center;
    /*    border: 2px solid #fff;*/
    margin-left: auto;
    margin-right: auto;
}

.box4-icon img {
    width: auto;
    height: 100%;
}

.box4-icon i {
    font-size: 24px;
    line-height: 30px;
    color: #0062c6;
}

.box4-heading1 {
    color: #252525;
    text-align: center;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 15px;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.box4-heading2 {
    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

.box4-details {
    color: #7b7b7b;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 0;
    text-align: center;
}

/*section6 end*/


/*section7 start*/


.section7 {
    padding-left: 30px;
    padding-right: 30px;
    /*
    background-image: url(../images/section7-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
*/
    position: relative;
}

.section7-innerbox {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-image: url(../images/section7-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

.section7 .content-heading1::after {
    left: -30px;
    right: 0;
    margin: 0 auto;
    text-align: center;
}

/*
.section7 .content-heading1 {
    text-align: center;
    color: #fff;
}
*/

.section7 .content-heading2 {
    color: #fff;
}

.section7 .content-heading2::before {
    border-bottom: 2px solid #fff;
}

.section7 .features-list {
    margin-left: 20px;
}

.features-listbox .features-list li {
    color: #fff;
}

.section7 .readmore-button {
    text-align: right;
}

.section7 .treatment_box {
    padding-bottom: 40px;
    background-color: transparent;
}

.section7 .treatment_name {
    text-align: center;
    margin-bottom: 20px;
}

.section7 .product_button {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.section7 .product_button .btn1 {
    background: #fff;
}

.btn2 {
    color: #fff;
    background-color: #3bb5ff;
    border: 2px solid #3bb5ff;
    position: relative;
    display: inline-block;
    padding: 0 35px;
    line-height: 44px;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 0;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    z-index: 1;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn2::before {
    content: "";
    border-color: #1587cd transparent transparent #1587cd;
    border-style: solid;
    border-width: 10px;
    position: absolute;
    bottom: -2px;
    right: -22px;
    z-index: -1;
}

.btn2:hover {
    color: #fff;
    background-color: #00578c;
    border: 2px solid #00578c;
    position: relative;
}

.section7 .owl-theme .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
}

.section7 .owl-prev {
    width: 45px !important;
    height: 45px !important;
    position: absolute;
    right: 60px;
    top: -65px;
    bottom: 0px;
    background-color: #fff !important;
    border-radius: 0 !important;
    border: 1px solid #e5e5e5 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.section7 .owl-prev:hover {
    background-color: #282828 !important;
    border: 1px solid #282828 !important;
}

.section7 .owl-prev span {
    font-size: 34px;
    line-height: 24px;
    color: #282828 !important;
}

.section7 .owl-prev:hover span {
    color: #fff !important;
}

.section7 .owl-next {
    width: 45px !important;
    height: 45px !important;
    position: absolute;
    right: 0;
    top: -65px;
    bottom: 0px;
    background-color: #fff !important;
    border-radius: 0 !important;
    border: 1px solid #e5e5e5 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.section7 .owl-next:hover {
    background-color: #282828 !important;
    border: 1px solid #282828 !important;
}

.section7 .owl-next span {
    font-size: 34px;
    line-height: 24px;
    color: #282828 !important;
}

.section7 .owl-next:hover span {
    color: #fff !important;
}

.section7 .owl-theme .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
}



.blog-slider-con {
    margin-top: 40px;
}

.blog-slider-con .owl-carousel .owl-stage-outer {
    padding: 0 18px;
}

.section7 .owl-theme .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
}


/*  Video Style  */

.video_gallery-section {
    padding-top: 100px;
    padding-bottom: 100px;
}
.videobox-con{
    width: 100%;
    height: auto;
    padding: 100px 20px;
    position: relative;
    background-image: url(../images/video-section-bg.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.video_gallery-section .content-heading1::after {
    left: -120px;
    right: 0;
    margin: 0 auto;
    text-align: center;
    /* border-bottom: 2px solid #00aeef; */
}

.video-box {
    /* height: 100%; */
    /* display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 100px;
    height: 100px;
    /* margin-left: auto;
    margin-right: auto;
    margin-top: 0px; */
}

.videobox-con2{
    position: relative;
}
.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    border-radius: 0;
    min-height: 250px;
    width: 100%;
    height: 315px;
    position: relative;
    /* top: 0;
    left: 0;
    right: 0;
    bottom: 0; */
    /* position: absolute; */
}

.video-bg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute; */
}


.video-box a {
    font-size: 27px;
    color: #fff !important;
    /*
      position: absolute;
      z-index: 1111;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
*/
}

video {
    position: absolute;
    z-index: 1111;
}

.video-box a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100px;
    height: 100px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 34px;
    border-radius: 50%;
    color: #fff;
    position: relative;
    background: transparent;
    border: 4px solid #fff;
}

.video-buttonbox {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 20px 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.video-content {
    padding-left: 10px;
}

.video-content {
    color: #181818;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
}

.video-content span {
    color: #cda274;
}

/*
.video-box a::before{
    content: '';
    position: absolute;
    left: -7px;
    right: 0;
    margin: 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(228,168,83,0.3);
}
*/
/*
.video-box a::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}
*/
.video-title h2 {
    font-size: 32px;
    font-weight: 900;
    padding-bottom: 0;
    line-height: 1px;
    margin-bottom: 15px;
    color: #ff891a;
}

.video-title p {
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
    font-size: 50px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 60px;
}

.video-popup {
    z-index: 111;
}

.video-popup i {
    color: #fff;
    z-index: 1;
    font-size: 26px;
}

.video-name {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #252525;
    text-align: center;
    margin-top: 20px;

}

/* .video-popup::before {
      position: absolute;
      content: " ";
      z-index: -11;
      top: -15px;
      left: -15px;
      background-color: #dc354e;
      width: 115px;
      height: 115px;
      border-radius: 100%;
      animation-fill-mode: both;
      -webkit-animation-fill-mode: both;
      opacity: 0.6;
      -webkit-animation: pulse 1s ease-out;
      animation: pulse 1.8s ease-out;
      -webkit-animation-iteration-count: infinite;
      animation-iteration-count: infinite;
} */


.video_gallerybox{

}

/*  Video Style  */


.blog-card {
    width: 90%;
    /*
    margin-left: auto;
    margin-right: auto;
*/
    border-bottom: 2px solid #ed1b24;
    box-shadow: 0px 0px 20px 0 rgb(80 80 80 / 20%);
}

.blog-imgbox {
    width: 100%;
    height: auto;
}

.blog-imgbox img {
    width: 100%;
    height: auto;
}

.blog-body {
    position: relative;
    padding: 15px 30px;
}

.blog-type {
    position: absolute;
    top: -16px;
    right: 0;
    padding: 5px 20px;
    display: inline-block;
    background: #e81921;
    text-align: center;
    color: #fff;
}

.publish-date {
    color: #e81921;
    font-size: 15px;
    line-height: 22px;
    font-weight: 300;
    margin-bottom: 12px;
}

.blog-heading {
    color: #1d1d1d;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-text {
    color: #5a5a5a;
    font-size: 15px;
    line-height: 22px;
    font-weight: 300;
    margin-bottom: 10px;
}


.gallery-box {
    width: 100%;
    height: auto;
    position: relative;
    /* border: 7px solid #f6d8a9; */
    padding: 0;
    background-color: #fff;
    border-top-left-radius: 0;
/*    border: 2px solid #e5e5e5;*/
        border: 1px solid #ebebeb;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.gallery-imgboxcon {
    width: 100%;
    height: auto;
}
.gallery-imgbox img{
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
/* .gallery-imgbox img {
    max-height: 100%;
    max-width: 100%;
    width: auto !important;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.3s ease-in-out;
} */



.gallery-iconbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-icon-1 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50% !important;
    z-index: 22;
    -webkit-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    color: #4175fc;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.gallery-icon-1:hover {
    color: #4175fc !important;
}

.gallery-box:hover .gallery-icon-1 {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    background: #fff;
}

.gallery-hover-bg {
    position: absolute;
    z-index: 4;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.gallery-box:hover .gallery-hover-bg {
    opacity: 1;
    visibility: visible;
}


/*section7 end*/


/*Testimonial section start*/

.testimonial-section {
    width: 100%;
    height: auto;
    position: relative;
    background-image: url(../images/testimonial_bg-image.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 90px;
    padding-bottom: 90px;
}


.client_slider_con {
    margin-top: 50px;
}
.clients_con{
    padding: 25px 35px;
}
.client-imagebox {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
/*    border: 2px solid #f08161;*/
}

.client-imagebox img {
    width: 100%;
    height: auto;
}

.section8 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section8 .content-heading2::before {
    right: 0;
    margin: 0 auto;
    text-align: center;
}

.section8 .content-heading2::after {
    right: 60px;
    margin: 0 auto;
    text-align: center;
}

.section8 .treatment_box {
    width: 100%;
    border-radius: 0;
}

.section8 .treatment_imgbox {
    border-bottom: none;
    background: #e6e6e8;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.section8 .treatment_contentcon {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
    margin-top: -20px;
}

.section8 .treatment_detailsbox {
    height: 180px;
    background: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    border-bottom: 3px solid #001e57;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s linear;
}

.section8 .treatment_box:hover .treatment_detailsbox {
    background: #001e57;
    border-bottom: 3px solid #f08161;
    transition: 0.3s linear;
}


.section8 .treatment_name {
    height: auto;
    color: #001e57;
}

.section8 .treatment_box:hover .treatment_name {
    color: #fff;
}

.section8 .treatment_box:hover .treatment_name a {
    color: #fff;
}

.section8 .product_button {
    position: absolute;
    bottom: 27px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
}

.section8 .product_btn {
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    place-items: center;
    color: #f08161;
    background: #fff;
    border-radius: 50%;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 0px 20px 0 rgb(80 80 80 / 20%);
}




.gmap-box iframe {
    width: 100%;
}

/*Testimonial section end*/

.google-map-section {
    width: 100%;
    position: relative;
    margin-top: -100px;
    position: relative;
    z-index: -1;
}

/*Contact form section start*/

.contactus-section {
    padding-top: 40px;
    padding-bottom: 100px;
    position: relative;
    background: #D6D6D6;
}

.contactus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    overflow: hidden;
    background-image: url(../images/contact_bg.webp);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

/*
.contactus-section .content-heading2 {
    color: #fff;
    font-size: 36px;
    line-height: 42px;
    font-weight: 600;
    text-transform: uppercase;
}
*/


.contactus_boxcon {
    /*    background: #d6e5d4;*/
    padding-left: 0;
}

.contactus-section .trans_heading {
    bottom: 45px;
}

/*
.contactus-section .content-heading1{
    color: #00aeef;
}
*/
/*
.contactus-section .content-heading1::after{
    left: -160px;
    right: 0;
    margin: 0 auto;
    text-align: center;
    border-bottom: 2px solid #00aeef;
}
*/

.faqpage_section1{
    padding-top: 80px;
    padding-bottom: 80px;
}
.faqpage_section1 .content-heading3{
    color: #54595f;
}
.faq-col {
    margin-left: -10%;
}

.faq_box {
    width: 100%;
    height: auto;
    /* background: #f4f4f9; */
}
.contactus-section .content-heading1{
    margin-left: 20px;
}
/*
.contactus-section .content-heading1::after {
    left: -55px;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
*/

.faq_box .accordion-item {
    margin-bottom: 0;
}

.faq_box .accordion-header .accordion-button {
    font-size: 18px !important;
    line-height: 24px;
    font-weight: 600;
    padding: 16px 20px 16px 45px;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.faq_box .accordion-header .accordion-button:not(.collapsed):before{
    content: "\f0d8";
    font-family: "FontAwesome";
    position: absolute;
    left: 20px;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
    color: #084af3;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
}
.faq_box .accordion-header .accordion-button::before{
    content: "\f0d8";
    font-family: "FontAwesome";
    position: absolute;
    left: 20px;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
    color: #084af3;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
}

.faq_box .accordion-header .accordion-button::after{
    display: none;
}
.faq_box .accordion-button{
    color: #fff;
    background-color: #084af3;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.faq_box .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #084af3;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    /* box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%); */
}

.faq_box .accordion-body {
    color: #494b51;
    font-size: 16px;
    line-height: 26px;
}


.small-heading1 {
    color: #e81921;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 12px;
}

.contact-imagebox {
    width: 100%;
    height: auto;
}

.contact-imagebox img {
    width: 100%;
    height: auto;
}

/*
.form-box{
    padding-top: 60px;
    padding-left: 45px;
    padding-right: 45px;
    padding-bottom: 75px;
    background: #fff;
    box-shadow: 0px 0px 20px 0 rgb(80 80 80 / 30%);
}
*/


/*
.contactus-section .form-box .content-heading2{
    color: #fff;
}
*/

.form-detailsbox-col {
    width: 100%;
    height: 100%;
}


.contactus-section .form-box .left-contentbox-details {
    color: #fff;
}

.form-box-col {
    width: 100%;
    height: 100%;
}

.form-box {
    width: 100%;
    height: 100%;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
/*    background: #fff;*/
    position: relative;
    z-index: 11;
    /*    border-bottom-left-radius: 50px;*/
}

.contact-form-heading {
    color: #2a2a2a;
    font-size: 36px;
    line-height: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.form-details {
    color: #8c8c8c;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 30px;
}

.contact-form-heading2 {
    color: #232323;
    text-align: left;
    font-size: 36px;
    line-height: 44px;
    font-weight: 800;
}


.contact-form {
    width: 100%;
}

.contact-form .form-control {
    height: 40px;
    color: #454545 !important;
    background-color: #f3f5f9 !important;
    border: 1px solid #f3f5f9 !important;
    border-radius: 0px !important;
    padding-left: 20px;
    font-size: 16px;
    line-height: 22px;
}

.contact-form .form-control::placeholder {
    color: #454545 !important;
    font-size: 16px;
    line-height: 22px;
}

.contact-form textarea {
    height: 120px !important;
}

.submit-button {
    margin-top: 30px;
}

.submit-button .btn1 {
    color: #fff !important;
    background: #252525;
    border: 1px solid #252525;
/*    width: 100%;*/
    display: block;
    border-radius: 0;
}

.submit-button .btn1:hover {
    color: #fff !important;
    background: #cda274;
    border: 1px solid #cda274;
}

.submit-button .btn1::before {
    background: #cda274;
}

.submit-button .btn2 {
    width: 100%;
}

.submit-button .btn2::before {
    display: none;
}

.form-detailsbox {
    padding: 0px 0px;
/*    background: #cda274;*/
    position: relative;
    /*    height: 100%;*/

    /*
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
*/
}

.form-detailsbox .content-heading2 {
    color: #4175fc;
    margin-bottom: 10px;
    padding-bottom: 0;
}
.form-detailsbox .content-heading3 {
    color: #101218;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.form-detailsbox .content-heading2::before {
    display: none;
}

.form-detailsbox .content-heading2::after {
    display: none;
}

.form-detailsbox .left-contentbox-details {
    margin-bottom: 10px;
}

.form-detailsbox3 {
    border-right: none;
}

.info {
    width: 100%;
    height: 556px;
    padding-top: 50px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 50px;
    background: #004838;
}

.info_imgbox {
    width: 148px;
    height: 148px;
    overflow: hidden;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.info_imgbox img {
    width: 100%;
    height: auto;
}

.form-heading {
    color: #fff;
    font-size: 28px;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 30px;
}

.addressbox {
    padding-bottom: 30px;
    /*    border-bottom: 2px solid #e9e9e9;*/
}

.iconbox {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    margin-right: 20px;
    transition: 0.3s;
}

.iconbox i {
    color: #2acaa6;
    font-size: 20px;
}

/*
.iconbox:hover{
    color: #fff;
    background: #d48d04;
    transition: 0.3s;
}
*/

.emailbox2 {
    padding: 10px 0 10px 0;
}

.email-address {
/*    color: #fff;*/
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

/*
.email-address:hover {
    color: #e4a853;
}
*/

.phonebox2 {
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #ccc;
}



.location {
    color: #fff;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    /*    font-family: 'Anton', sans-serif !important;*/
    position: relative;
    padding-bottom: 10px;
}

/*
.location::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 40px;
    border-bottom: 3px solid #fff;
    border-radius: 5px;
}
*/
.address-details {
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 0;
}

.contact-no {
/*    color: #fff;*/
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

/*
.contact-no:hover {
    color: #fff;
    transition: 0.3s ease-in-out;
}
*/

.contact-detailsbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.contact_iconbox {
    width: 16px;
    height: auto;
}
.contact_iconbox img{
    width: 100%;
    height: auto;
}

.contact_iconbox i {
    font-size: 16px;
    line-height: 24px;
    color: #4f4f4f;
}

.contact-detailsbox p {
    margin-bottom: 0;
}

/*
.contact-detailsbox p {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #e8e8e8;
}
*/
.gmap-section {
    padding-top: 10px;
    padding-bottom: 40px;
}
.gmap-section .content-heading3{
    color: #54595f;
}
.g-map{
    width: 100%;
    height: 450px;
}
.g-map iframe{
    width: 100%;
    height: 450px;
}
/*Contact form section end*/


/*Footer start*/

/* =========================
   Footer Start
========================= */

/* Main Footer Section */
.footer-area {
    padding-top: 80px;
    padding-bottom: 0;
    background: #001533;
    position: relative;
    z-index: 99;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

/* Footer Headings */
.footer-area h5,
.footer-heading {
    color: #ffffff;
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    letter-spacing: 1px;
}

/* Red underline */
.footer-area h5::after,
.footer-heading::after {
    position: absolute;
    content: '';
    bottom: -8px;
    left: 0;
    width: 40px;
    border-bottom: 3px solid #F05A4E;
    border-radius: 5px;
}

/* Footer Links */
.footer-links,
.quick-link {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.footer-links li,
.ql {
    padding: 6px 0;
    transition: 0.3s;
}

/* Links */
.footer-links a,
.ql a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 15px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
    word-break: break-word;
}

.footer-links a:hover,
.ql a:hover {
    color: #F05A4E !important;
    transform: translateX(5px);
}

/* Optional Arrow Icons */
.ql a i {
    font-size: 12px;
    margin-right: 10px;
    color: #F05A4E;
}

/* Contact Details */
.footer-contact-details {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.footer-contact-details i {
    color: #F05A4E;
    width: 25px;
}

/* Social Icons */
.social-links a,
.footer-area .social_icons .icons {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 50%;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-links a:hover,
.footer-area .social_icons .icons:hover {
    background: #F05A4E;
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Copyright Section */
.copyright-section {
    width: 100%;
    background: #101218;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright-section p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 24px;
    color: rgba(255,255,255,0.75);
}

/* Copyright Links */
.copyright-section a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
}

.copyright-section a:hover {
    color: #F05A4E !important;
}

/* Digital Sankalp */
.copyright-section .designer-link {
    color: #F05A4E !important;
    font-weight: 700;
}

/* =========================
   Responsive Fixes
========================= */

@media (max-width: 991px) {

    .footer-area {
        padding-top: 60px;
    }

    .footer-area .row > div {
        margin-bottom: 35px;
    }

    .footer-area h5,
    .footer-heading {
        font-size: 18px;
        margin-bottom: 25px;
    }

}

@media (max-width: 767px) {

    /* Center Footer Content */
    .footer-area {
        text-align: center;
    }

    .footer-area h5::after,
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-box {
        display: inline-block !important;
    }

    /* Footer Links */
    .footer-links li,
    .ql {
        padding: 4px 0;
    }

    .footer-links a,
    .ql a {
        justify-content: center;
        font-size: 14px;
    }

    /* Contact */
    .footer-area .mt-3 a {
        justify-content: center;
        display: flex !important;
        align-items: center;
    }

    /* Social Icons */
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-links a {
        margin-right: 0 !important;
    }

    /* Copyright */
    .copyright-section {
        text-align: center;
    }

    .copyright-section .row {
        row-gap: 10px;
    }

    .copyright-section p {
        font-size: 13px;
        line-height: 22px;
    }

}

@media (max-width: 480px) {

    .footer-area {
        padding-top: 50px;
    }

    .footer-area h5,
    .footer-heading {
        font-size: 16px;
    }

    .footer-links a,
    .ql a,
    .footer-contact-details,
    .copyright-section p {
        font-size: 13px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px !important;
    }

}


/* =========================
   FOOTER ALIGNMENT FIX
========================= */

/* Ensure proper box alignment */
.footer-area .row > div {
    box-sizing: border-box;
}

/* Social icons base fix */
.social-links {
    display: flex;
    align-items: center;
}

/* =========================
   TABLET + MOBILE FIX (≤991px)
========================= */
@media (max-width: 991px) {

    /* Center all footer columns */
    .footer-area {
        text-align: center !important;
    }

    .footer-area .col-lg-3,
    .footer-area .col-lg-2,
    .footer-area .col-lg-4,
    .footer-area .col-md-6 {
        text-align: center !important;
        margin-bottom: 30px;
    }

    /* Center logo */
    .footer-logo-box {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Center contact links */
    .footer-area .mt-3 a {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    /* Center social icons */
    .social-links {
        justify-content: center !important;
        width: 100%;
    }

    /* Footer headings underline center */
    .footer-area h5::after {
        left: 50% !important;
        transform: translateX(-50%);
    }
}

/* =========================
   MOBILE FIX (≤767px)
========================= */
@media (max-width: 767px) {

    /* Full center alignment */
    .footer-area,
    .footer-area p,
    .footer-area h3,
    .footer-area h5 {
        text-align: center !important;
    }

    /* Links center */
    .footer-links a {
        justify-content: center;
    }

    /* Social icons spacing */
    .social-links {
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Bottom footer fix */
    .copyright-section .row {
        text-align: center !important;
    }

    .copyright-section .col-md-6 {
        text-align: center !important;
        margin-bottom: 8px;
    }
}

/* =========================
   SMALL MOBILE (≤480px)
========================= */
@media (max-width: 480px) {

    .footer-area h5 {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px !important;
    }

    .copyright-section p {
        font-size: 12px;
    }
}
/*Footer end*/


//floating buttons //

.floating-contact-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Specific Colors */
.btn-whatsapp {
    background: transparent;
}
.btn-whatsapp img {
    width: 100%;
    height: auto;
}

.btn-call {
    background-color: #004AAD; /* Roy Blue */
}

.btn-email {
    background-color: #F05A4E; /* Roy Red */
}

.btn-top {
    background-color: #333;
    visibility: hidden; /* Controlled by JS scroll */
    opacity: 0;
}

.btn-top.show {
    visibility: visible;
    opacity: 1;
}

/* FontAwesome Icon size */
.float-btn i {
    font-size: 20px;
}

//floating buttons end //


//static banner start //

/* Static Banner Core Layout */
.static-inner-banner {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

/* Background Dark Overlay Mask */
.mfi-slider-center-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Soft dark layer ensuring complete text readability */
  z-index: -1;
}

/* Breadcrumb Styling - Forced White Colors */
.mfi-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 15px;
}

.mfi-breadcrumb a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.mfi-breadcrumb a:hover {
  opacity: 1;
}

.mfi-breadcrumb .separator {
  color: #ffffff !important;
  font-size: 12px;
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
}

.mfi-breadcrumb .current {
  color: #ffffff !important;
  font-weight: 600;
  opacity: 1;
}


//static banner end //


// about page section 1 start //
/* ==========================================================================
   ADVANCED DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
  --mfi-navy: #1d2060;
  --mfi-orange: #f28c28;
  --mfi-green: #0a8f47;
  --mfi-card-shadow: 0 20px 40px rgba(29, 32, 96, 0.12);
  --mfi-transition-fluid: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Structural Spacing & Asymmetric Background Art */
.mfi-overview-block {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 75%, rgba(242, 140, 40, 0.03) 75.1%, rgba(10, 143, 71, 0.02) 100%);
}

/* ==========================================================================
   CONTENT STYLING (Fonts & Base Colors Inherited/Defaulted)
   ========================================================================== */
.mfi-overview-content p {
  margin-bottom: 22px;
  line-height: 1.75;
}

.mfi-overview-content p:last-child {
  margin-bottom: 0;
}

/* Premium Heading Accent Left Border/Line Block */
.mfi-split-title {
  position: relative;
  padding-left: 20px;
  margin-bottom: 30px;
  line-height: 1.2;
}

.mfi-split-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5%;
  height: 90%;
  width: 5px;
  background: linear-gradient(to bottom, var(--mfi-navy), var(--mfi-green));
  border-radius: 4px;
}

/* ==========================================================================
   ADVANCED INTERACTIVE MEDIA INTERFACE (3D TILT EFFECT)
   ========================================================================== */
.mfi-overview-media {
  perspective: 1000px; /* Essential for depth-perception map */
}

.mfi-interactive-tilt-card {
  position: relative;
  border-radius: 16px;
  box-shadow: var(--mfi-card-shadow);
  transition: transform 0.15s ease-out, box-shadow 0.4s var(--mfi-transition-fluid);
  transform-style: preserve-3d;
  background: #ffffff;
  padding: 10px;
}

.mfi-interactive-tilt-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transform: translateZ(20px); /* Pushes image element out in virtual 3D plane */
  transition: transform 0.4s var(--mfi-transition-fluid);
}

/* Geometric framing element behind the image wrapper */
.mfi-interactive-tilt-card::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--mfi-orange);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  transform: translateZ(-10px);
  transition: opacity 0.4s ease, transform 0.4s var(--mfi-transition-fluid);
}

/* Hover Adjustments */
.mfi-interactive-tilt-card:hover {
  box-shadow: 0 30px 60px rgba(29, 32, 96, 0.18);
}

.mfi-interactive-tilt-card:hover::after {
  opacity: 0.8;
  transform: translateZ(-15px) scale(1.02);
}

/* ==========================================================================
   ADVANCED RUNTIME SCROLL ENGINE (ANIMATIONS BASE)
   ========================================================================== */
.mfi-reveal-init .mfi-slide-left,
.mfi-reveal-init .mfi-slide-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.9s var(--mfi-transition-fluid), transform 0.9s var(--mfi-transition-fluid);
}

.mfi-reveal-init .mfi-slide-left {
  transform: translateX(-40px);
}

.mfi-reveal-init .mfi-slide-right {
  transform: translateX(40px);
}

/* Activation Keyframe Mapping */
.mfi-reveal-init.mfi-active .mfi-slide-left,
.mfi-reveal-init.mfi-active .mfi-slide-right {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Adaptive Modifiers */
@media (max-width: 991px) {
  .mfi-overview-block {
    padding: 60px 0;
    background: #ffffff; /* Strip heavy background lines on tablet/mobile screens */
  }
  .mfi-overview-media {
    margin-top: 50px;
    padding: 0 15px;
  }
}

// about page section 3 start //
/* ==========================================================================
   MFI BRAND INTEGRATION VARIABLES
   ========================================================================== */
:root {
  --mfi-navy: #1d2060;
  --mfi-orange: #f28c28;
  --mfi-green: #0a8f47;
  --mfi-dark-text: #2d3142;
  --mfi-bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Wrapper & Soft Texture Background */
.mfi-kinetic-objectives {
  padding: 120px 0;
  background: radial-gradient(circle at 90% 10%, rgba(29, 32, 96, 0.02) 0%, #f8f9fc 60%);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   DYNAMIC HEADER & LOGO-INSPIRED ROAD SEPARATOR
   ========================================================================== */
.mfi-master-header {
  margin-bottom: 70px;
}

.mfi-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--mfi-orange);
  margin-bottom: 10px;
}

.mfi-master-title {
  margin: 0 0 20px 0;
  color: var(--mfi-navy);
}

/* Custom animated line reflecting the road element in the MFI logo */
.mfi-kinetic-line {
  width: 120px;
  height: 6px;
  background-color: var(--mfi-navy);
  margin: 0 auto;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.mfi-kinetic-line .road-dash {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: roadFlow 3s linear infinite;
}

@keyframes roadFlow {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* ==========================================================================
   ASYNCHRONOUS GLASS PANEL ARCHITECTURE
   ========================================================================== */
.mfi-premium-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(29, 32, 96, 0.05);
  border-radius: 24px;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(29, 32, 96, 0.03);
  z-index: 1;
  transition: 
    transform 0.7s var(--mfi-bezier), 
    border-color 0.5s var(--mfi-bezier), 
    box-shadow 0.7s var(--mfi-bezier);
}

.panel-content-flex {
  display: flex;
  align-items: flex-start;
  gap: 35px;
  z-index: 3;
}

/* Neomorphic / Geometric Icon Shield */
.panel-shield-icon {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: #ffffff;
  color: var(--mfi-navy);
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(29, 32, 96, 0.06);
  border: 1px solid rgba(29, 32, 96, 0.03);
  transition: transform 0.6s var(--mfi-bezier), color 0.4s ease, background-color 0.4s ease;
}

/* Text layout alignment rules */
.panel-details h3 {
  margin: 0 0 12px 0;
  color: var(--mfi-navy);
}

.panel-details p {
  margin: 0;
  line-height: 1.75;
}

/* Hidden dynamic corner gradient variables */
.panel-corner-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 100% 100%, transparent 60%, rgba(29, 32, 96, 0.03) 100%);
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

/* ==========================================================================
   ADVANCED INTERACTIVE HOVER CONTROLS (WHITE ICON OVERRIDE FIXED)
   ========================================================================== */
.mfi-premium-panel:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 35px 70px rgba(29, 32, 96, 0.09);
}

/* Saffron Glow Variant Interface */
.panel-saffron-edge:hover {
  border-color: rgba(242, 140, 40, 0.4);
}
.panel-saffron-edge:hover .panel-shield-icon {
  color: var(--mfi-orange) !important;
  transform: scale(1.15) rotate(-8deg);
}
.panel-saffron-edge:hover .panel-corner-glow {
  background: radial-gradient(circle at 100% 100%, transparent 50%, rgba(242, 140, 40, 0.06) 100%);
}

/* Green Glow Variant Interface */
.panel-green-edge:hover {
  border-color: rgba(10, 143, 71, 0.4);
}
.panel-green-edge:hover .panel-shield-icon {
  color: var(--mfi-green) !important;
  transform: scale(1.15) rotate(8deg);
}
.panel-green-edge:hover .panel-corner-glow {
  background: radial-gradient(circle at 100% 100%, transparent 50%, rgba(10, 143, 71, 0.06) 100%);
}

/* ==========================================================================
   SCROLL APPEARANCE DRIVER ENGINE
   ========================================================================== */
.mfi-scroll-engine .mfi-reveal-item {
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
  transition: 
    opacity 0.9s var(--mfi-bezier), 
    transform 0.9s var(--mfi-bezier),
    border-color 0.5s var(--mfi-bezier),
    box-shadow 0.7s var(--mfi-bezier);
}

.mfi-scroll-engine .mfi-reveal-item:nth-child(2) {
  transition-delay: 0.2s;
}

.mfi-scroll-engine.mfi-render-active .mfi-reveal-item {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MATRIX
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-kinetic-objectives { padding: 80px 0; }
  .mfi-premium-panel { padding: 40px 30px; }
  .mfi-master-header { margin-bottom: 50px; }
}

@media (max-width: 767px) {
  .panel-content-flex {
    flex-direction: column;
    gap: 20px;
  }
  .col-lg-6:first-child .mfi-premium-panel {
    margin-bottom: 24px;
  }
}


//about page section 4 
/* ==========================================================================
   MFI COLOR-FLOW DESIGN CONFIGURATION
   ========================================================================== */
:root {
  --mfi-navy: #1d2060;
  --mfi-orange: #f28c28;
  --mfi-green: #0a8f47;
  --mfi-dark-text: #1a1e2d;
  --mfi-bezier-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Section Layout */
.mfi-matrix-counter-strip {
  padding: 110px 0;
  background-color: #ffffff;
  overflow: hidden;
}

/* ==========================================================================
   HEADER & DESCRIPTION TYPOGRAPHY
   ========================================================================== */
.mfi-counter-main-header {
  margin-bottom: 65px;
}

.mfi-counter-h2 {
  font-family: 'Poppins', 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--mfi-navy);
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.mfi-counter-intro-text {
  font-size: 15px;
  line-height: 1.8;
  color: #5c6278;
  max-width: 850px;
  margin: 0 auto 30px auto;
}

.mfi-h2-indicator-line {
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--mfi-navy), var(--mfi-orange), var(--mfi-green));
  margin: 0 auto;
  border-radius: 10px;
}

/* ==========================================================================
   ONE-BY-ONE ENTRY & HIGHLIGHTED ORANGE BOX ARCHITECTURE
   ========================================================================== */
.mfi-kinetic-node {
  background: #ffffff;
  /* Premium solid Saffron Orange border */
  border: 2px solid var(--mfi-orange);
  border-radius: 24px;
  padding: 45px 20px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  /* Entrance Animation Vectors */
  opacity: 0;
  transform: translateY(50px) scale(0.92);
  will-change: transform, opacity;
  transition: 
    opacity 0.8s var(--mfi-bezier-bounce), 
    transform 0.8s var(--mfi-bezier-bounce),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background-color 0.4s ease;
}

/* ==========================================================================
   MASSIVE HIGH-CONTRAST NUMBERS ENGINE
   ========================================================================== */
.mfi-metric-visual {
  position: relative;
  margin-bottom: 15px;
}

.counter-val {
  font-family: 'Arial Black', 'Impact', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 46px; 
  letter-spacing: -1px;
  line-height: 1;
}

/* Colored Separation Line inside cards */
.mfi-node-line {
  width: 45px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.mfi-counter-label {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--mfi-dark-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* ==========================================================================
   COLOR SCHEMES & GLOW HIGHLIGHTS (ALWAYS VISIBLE - NOT JUST ON HOVER)
   ========================================================================== */

/* 1. Navy Node Highlight Box */
.mfi-highlight-navy .counter-val { color: var(--mfi-navy); }
.mfi-highlight-navy .mfi-node-line { background-color: var(--mfi-navy); }
.mfi-highlight-navy {
  box-shadow: 0 15px 40px rgba(29, 32, 96, 0.1);
}

/* 2. Saffron Orange Node Highlight Box */
.mfi-highlight-orange .counter-val { color: var(--mfi-orange); }
.mfi-highlight-orange .mfi-node-line { background-color: var(--mfi-orange); }
.mfi-highlight-orange {
  box-shadow: 0 15px 40px rgba(242, 140, 40, 0.15);
}

/* 3. Transit Green Node Highlight Box */
.mfi-highlight-green .counter-val { color: var(--mfi-green); }
.mfi-highlight-green .mfi-node-line { background-color: var(--mfi-green); }
.mfi-highlight-green {
  box-shadow: 0 15px 40px rgba(10, 143, 71, 0.1);
}

/* 4. Alternate Navy Node Highlight Box */
.mfi-highlight-navy-alt .counter-val { color: var(--mfi-navy); }
.mfi-highlight-navy-alt .mfi-node-line { background-color: var(--mfi-navy); }
.mfi-highlight-navy-alt {
  box-shadow: 0 15px 40px rgba(29, 32, 96, 0.1);
}

/* ==========================================================================
   INTERACTIVE STATES (GENTLE SHIFT EFFECT)
   ========================================================================== */
.mfi-kinetic-node:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: var(--mfi-navy); /* Clean shift transition on active interaction */
  box-shadow: 0 25px 50px rgba(29, 32, 96, 0.15);
}

/* ==========================================================================
   RESPONSIVE MATRIX
   ========================================================================== */
@media (max-width: 1199px) {
  .counter-val { font-size: 38px; }
}

@media (max-width: 991px) {
  .mfi-matrix-counter-strip { padding: 80px 0; }
  .mfi-kinetic-node { padding: 40px 15px; }
  .mfi-counter-h2 { font-size: 30px; }
}

@media (max-width: 575px) {
  .counter-val { font-size: 32px; }
  .mfi-counter-label { font-size: 12px; }
}


//mfi about page section5 //

/* ==========================================================================
   MFI PILLARS BRAND DESIGN CONFIGURATION
   ========================================================================== */
:root {
  --mfi-navy-clr: #1d2060;
  --mfi-orange-clr: #f28c28;
  --mfi-green-clr: #0a8f47;
  --mfi-charcoal-clr: #1a1e2d;
  --mfi-spring-bounce-curve: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Compact Base Section Wrapper */
.mfi-pillars-block {
  padding: 30px 0 !important;
  background-color: #ffffff;
  overflow: hidden;
}

/* ==========================================================================
   HEADER COMPRESSION ENGINES (ELIMINATES BLANK GAP)
   ========================================================================== */
.mfi-pillars-main-header {
  margin-bottom: 20px !important; /* Brought significantly closer to lower elements */
}

.mfi-pillars-h2 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  margin: 0 0 12px 0 !important; /* Tight header bottom distance */
  letter-spacing: -0.5px;
}

.mfi-pillars-intro-text {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #5c6278 !important;
  max-width: 900px;
  margin: 0 auto 15px auto !important; /* Stripped whitespace padding bounds */
  text-align: justify !important;
}

.mfi-pillars-indicator-line {
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--mfi-navy-clr), var(--mfi-orange-clr), var(--mfi-green-clr));
  margin: 0 auto;
  border-radius: 10px;
}

/* Tight Grid Offset Modifier */
.mfi-tight-gap-grid {
  margin-top: -40px !important; /* Seamless connection baseline */
}

/* ==========================================================================
   CORE CARD ARCHITECTURE
   ========================================================================== */
.mfi-pillar-node {
  background: #ffffff;
  border: 2px solid var(--mfi-orange-clr);
  border-radius: 28px;
  padding: 40px 30px 35px 30px; /* Reduced top padding to tighten vertical height */
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 40px rgba(242, 140, 40, 0.04);
  
  /* Cascade Entrance Vectors (JS Triggered) */
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  will-change: transform, opacity;
  transition: 
    opacity 0.8s var(--mfi-spring-bounce-curve), 
    transform 0.8s var(--mfi-spring-bounce-curve),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.mfi-pillar-node h3 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 21px !important;
  margin: 0 0 12px 0 !important;
  transition: color 0.4s ease;
}

.mfi-pillar-node p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #555b70 !important;
  margin: 0 !important;
  text-align: center !important; 
}

/* ==========================================================================
   PURE CSS ADVANCED 3D ISOMETRIC ICON ENGINE
   ========================================================================== */
.mfi-3d-scene {
  width: 120px;
  height: 80px; /* Shortened footprint */
  perspective: 600px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfi-3d-icon-wrap {
  position: relative;
  width: 65px;
  height: 65px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-45deg);
  transition: transform 0.5s var(--mfi-spring-bounce-curve);
}

/* Layer 1: Ground floor blur shadow */
.mfi-3d-shadow {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100%;
  height: 100%;
  background: rgba(26, 30, 45, 0.15);
  border-radius: 16px;
  transform: translateZ(-22px);
  filter: blur(5px);
  transition: transform 0.5s var(--mfi-spring-bounce-curve), filter 0.5s ease;
}

/* Layer 2: Extrusion Thickness */
.mfi-3d-extrusion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transform: translateZ(-8px);
  transition: transform 0.5s var(--mfi-spring-bounce-curve), background-color 0.4s ease;
}

/* Layer 3: Floating Action Top Plate */
.mfi-3d-top-plate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  transform: translateZ(0px);
  transition: transform 0.5s var(--mfi-spring-bounce-curve), background-color 0.4s ease, box-shadow 0.4s ease;
}

/* ==========================================================================
   INDIVIDUAL 3D COLOR CHANNELS (STATIC PROFILES)
   ========================================================================== */
.mfi-pillar-navy .mfi-3d-top-plate { background-color: var(--mfi-navy-clr); box-shadow: inset 0 2px 4px rgba(255,255,255,0.2); }
.mfi-pillar-navy .mfi-3d-extrusion { background-color: #11133a; }

.mfi-pillar-orange .mfi-3d-top-plate { background-color: var(--mfi-orange-clr); box-shadow: inset 0 2px 4px rgba(255,255,255,0.3); }
.mfi-pillar-orange .mfi-3d-extrusion { background-color: #aa5a0e; }

.mfi-pillar-green .mfi-3d-top-plate { background-color: var(--mfi-green-clr); box-shadow: inset 0 2px 4px rgba(255,255,255,0.3); }
.mfi-pillar-green .mfi-3d-extrusion { background-color: #054e26; }

/* ==========================================================================
   DYNAMIC INTERACTIVE HOVER STATE MATRIX
   ========================================================================== */
.mfi-pillar-node:hover {
  transform: translateY(-6px) scale(1.015) !important;
  border-color: var(--mfi-navy-clr);
  box-shadow: 0 20px 40px rgba(29, 32, 96, 0.1);
  background-color: #fafbfe;
}

.mfi-pillar-node:hover .mfi-3d-icon-wrap {
  transform: rotateX(50deg) rotateZ(-35deg) translateY(-6px);
}

.mfi-pillar-node:hover .mfi-3d-top-plate {
  transform: translateZ(12px); 
  background-color: var(--mfi-navy-clr); 
}

.mfi-pillar-node:hover .mfi-3d-extrusion {
  transform: translateZ(-2px);
  background-color: #11133a;
}

.mfi-pillar-node:hover .mfi-3d-shadow {
  transform: translateZ(-30px) scale(0.85);
  filter: blur(8px);
  background: rgba(29, 32, 96, 0.25);
}

.mfi-pillar-node:hover h3 {
  color: var(--mfi-navy-clr); 
}

/* ==========================================================================
   RESPONSIVE LAYOUT CONSTRAINTS
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-pillars-block { padding: 35px 0 !important; }
  .mfi-pillar-node { padding: 35px 20px 25px 20px; }
  .mfi-pillars-h2 { font-size: 28px !important; }
  .mfi-pillar-node h3 { font-size: 19px !important; }
  .mfi-3d-scene { margin-bottom: 12px; }
  .mfi-tight-gap-grid { margin-top: 5px !important; }
}



//about page section6 //

/* ==========================================================================
   MFI JOURNEY TIMELINE CONFIGURATION
   ========================================================================== */
:root {
  --mfi-navy-clr: #1d2060;
  --mfi-orange-clr: #f28c28;
  --mfi-green-clr: #0a8f47;
  --mfi-light-grey: #f4f6fc;
  --mfi-spring-bounce-curve: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Outer Section Box Wrapper (Kept Clean White on Outer Margins) */
.mfi-journey-timeline {
  padding: 50px 0 !important;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Confine 30% Occupancy Background Asset Strictly inside the Container Bounds */
.mfi-journey-timeline .container {
  position: relative;
  z-index: 2;
}

.mfi-journey-timeline .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;  /* Matches Bootstrap default horizontal gutter padding lines */
  right: 12px; /* Matches Bootstrap default horizontal gutter padding lines */
  bottom: 0;
  background-image: url('images/journey.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.30; /* Exactly 30% background opacity */
  z-index: -1;   /* Safely sits beneath the spine and cards */
  pointer-events: none;
  border-radius: 24px; /* Optional clean framing effect for the graphic area */
}

/* Header Layout Elements */
.mfi-timeline-main-header {
  margin-bottom: 25px !important;
  padding-top: 15px; /* Added spacing buffer within the container graphic bounds */
}

.mfi-timeline-h2 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.5px;
}

.mfi-timeline-intro-text {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #5c6278 !important;
  max-width: 900px;
  margin: 0 auto 15px auto !important;
  text-align: justify !important;
}

.mfi-timeline-indicator-line {
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--mfi-navy-clr), var(--mfi-orange-clr), var(--mfi-green-clr));
  margin: 0 auto;
  border-radius: 10px;
}

/* Tight connection offset below header marker */
.mfi-timeline-grid-offset {
  margin-top: 25px !important;
  padding-bottom: 20px;
}

/* ==========================================================================
   TIMELINE WRAPPER & CENTRAL RUNNING SPINE TRACK
   ========================================================================== */
.mfi-timeline-wrapper {
  position: relative;
  padding: 20px 0;
}

/* Central spine line geometry */
.mfi-timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #eef1f8;
  transform: translateX(-50%);
  border-radius: 4px;
  overflow: hidden;
}

/* Filled dynamic progress channel */
.mfi-timeline-spine-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; 
  background: linear-gradient(180deg, var(--mfi-navy-clr), var(--mfi-orange-clr), var(--mfi-green-clr));
  transition: height 0.1s linear;
}

/* ==========================================================================
   ROW ENTRY EVENTS SCATTER PATTERN
   ========================================================================== */
.mfi-timeline-event {
  position: relative;
  width: 100%;
  margin-bottom: 30px; 
  display: flex;
}

.mfi-timeline-event:last-child {
  margin-bottom: 0;
}

/* Alternating Split Mechanics for Large Display Screens */
.mfi-timeline-event:nth-child(even) {
  flex-direction: row-reverse;
}

/* Event text box containers */
.mfi-timeline-event .event-body {
  position: relative;
  width: 45%;
}

.mfi-timeline-event:nth-child(odd) .event-body {
  margin-right: auto;
  padding-right: 20px;
}

.mfi-timeline-event:nth-child(even) .event-body {
  margin-left: auto;
  padding-left: 20px;
}

/* Content card block base styling (Slightly backed with semi-transparency for blended look) */
.event-body-inner {
  background: rgba(255, 255, 255, 0.96); /* High opacity backdrop to maintain extreme text clarity */
  border: 1.5px solid #e2e7f3;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(29, 32, 96, 0.02);
  
  /* Fade element setups triggered dynamically */
  opacity: 0;
  transform: translateY(25px) scale(0.97);
  transition: opacity 0.6s var(--mfi-spring-bounce-curve), transform 0.6s var(--mfi-spring-bounce-curve), border-color 0.3s ease, box-shadow 0.3s ease;
}

.mfi-timeline-event.is-activated .event-body-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.event-body-inner h4 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin: 0 0 10px 0 !important;
}

.event-body-inner p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #555b70 !important;
  margin: 0 !important;
  text-align: justify !important;
}

/* Phase design label tags */
.event-phase-tag {
  display: inline-block;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.tag-navy { background-color: rgba(29, 32, 96, 0.08); color: var(--mfi-navy-clr); }
.tag-orange { background-color: rgba(242, 140, 40, 0.08); color: var(--mfi-orange-clr); }
.tag-green { background-color: rgba(10, 143, 71, 0.08); color: var(--mfi-green-clr); }

/* ==========================================================================
   CENTER SPINE TRACK MARKERS
   ========================================================================== */
.event-marker {
  position: absolute;
  top: 25px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 4px solid #eef1f8;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, transform 0.4s var(--mfi-spring-bounce-curve);
}

.marker-core {
  width: 6px;
  height: 6px;
  background: transparent;
  border-radius: 50%;
  transition: background-color 0.4s ease, transform 0.4s ease;
}

.mfi-timeline-event.is-activated .event-marker {
  transform: translateX(-50%) scale(1.15);
}

/* Loop structural indexing for theme assignments dynamically */
.mfi-timeline-event:nth-child(3n+1).is-activated .event-marker { border-color: var(--mfi-navy-clr); }
.mfi-timeline-event:nth-child(3n+1).is-activated .marker-core { background-color: var(--mfi-navy-clr); }

.mfi-timeline-event:nth-child(3n+2).is-activated .event-marker { border-color: var(--mfi-orange-clr); }
.mfi-timeline-event:nth-child(3n+2).is-activated .marker-core { background-color: var(--mfi-orange-clr); }

.mfi-timeline-event:nth-child(3n+3).is-activated .event-marker { border-color: var(--mfi-green-clr); }
.mfi-timeline-event:nth-child(3n+3).is-activated .marker-core { background-color: var(--mfi-green-clr); }

/* Card Interactive Hover Loops */
.event-body-inner:hover {
  border-color: #c9d2e7;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(29, 32, 96, 0.06);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM OVERRIDES (MOBILE FLATTENING ENGINE)
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-journey-timeline { padding: 40px 0 !important; }
  .mfi-timeline-h2 { font-size: 28px !important; }
  
  .mfi-journey-timeline .container::before {
    left: 0;
    right: 0;
    border-radius: 0;
  }
  
  .mfi-timeline-spine {
    left: 15px;
    transform: none;
  }
  
  .mfi-timeline-event {
    flex-direction: row !important;
    padding-left: 40px;
    margin-bottom: 25px;
  }
  
  .mfi-timeline-event .event-body {
    width: 100% !important;
    padding: 0 !important;
  }
  
  .event-body-inner {
    padding: 22px 20px;
  }
  
  .event-marker {
    left: 15px;
    top: 25px;
    transform: translateX(-50%) !important;
  }
  .mfi-timeline-event.is-activated .event-marker {
    transform: translateX(-50%) scale(1.1) !important;
  }
}


//about us section 7  //
/* ==========================================================================
   MFI COMPLIANCE CTA DESIGN ARCHITECTURE
   ========================================================================== */
:root {
  --mfi-navy-primary: #1d2060;
  --mfi-orange-accent: #f28c28;
  --mfi-smooth-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base structural wrapper configuration - Zero dead-space bounds */
.mfi-compliance-cta {
  padding: 50px 0 !important;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* The High-End Focal Box Card */
.cta-inner-box {
  background: #ffffff;
  border: 1.5px solid #eef1f8;
  border-top: 4px solid var(--mfi-navy-primary); /* Institutional top bar anchoring */
  border-radius: 32px;
  padding: 50px 40px;
  box-shadow: 
    0 10px 40px rgba(29, 32, 96, 0.03),
    0 30px 70px rgba(29, 32, 96, 0.02);
  position: relative;
  transition: transform 0.4s var(--mfi-smooth-curve), box-shadow 0.4s var(--mfi-smooth-curve);
}

.cta-inner-box:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 15px 45px rgba(29, 32, 96, 0.05),
    0 35px 80px rgba(29, 32, 96, 0.03);
}

/* Micro-badge locator element */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(29, 32, 96, 0.06);
  color: var(--mfi-navy-primary);
  font-family: 'Poppins', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.cta-badge i {
  font-size: 12px;
  color: var(--mfi-orange-accent);
}

/* Heading & Typography Rules */
.cta-inner-box h2 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 34px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.5px;
  margin: 0 0 14px 0 !important;
}

.cta-inner-box p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #555c72 !important;
  max-width: 720px;
  margin: 0 auto 30px auto !important;
}

/* Base structural container for buttons */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Default Corporate Button Style Core Integration --- */
.btn1,
a.btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2b3990 !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 4px !important; 
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  border: none !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 2px 6px rgba(43, 57, 144, 0.2) !important;
  backface-visibility: hidden;
}

.btn1:hover,
a.btn1:hover {
  background: #f58220 !important; 
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3) !important;
}

.btn1:focus,
a.btn1:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(43, 57, 144, 0.4) !important;
}

.btn1:active,
a.btn1:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 4px rgba(43, 57, 144, 0.1) !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-compliance-cta { padding: 40px 0 !important; }
  .cta-inner-box { padding: 40px 24px; border-radius: 24px; }
  .cta-inner-box h2 { font-size: 28px !important; }
  .cta-inner-box p { font-size: 14.5px !important; margin-bottom: 24px !important; }
}

@media (max-width: 575px) {
  .cta-actions { width: 100%; }
  .cta-actions .btn1 { width: 100% !important; text-align: center; }
}



//mission & vissio page  //

/* ==========================================================================
   MFI PILLARS SECTION ARCHITECTURE (ICON & MOBILE CENTERING FIX)
   ========================================================================== */
:root {
  --mfi-navy: #1d2060;
  --mfi-orange: #f28c28;
  --mfi-card-border: #eef1f8;
  --mfi-text-muted: #555c72;
  --mfi-smooth-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base structural wrapper configuration - 50px strategy */
.mfi-pillars-section {
  padding: 50px 0 !important;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Base structural card container setup */
.mfi-pillar-card {
  background: #ffffff;
  border: 1.5px solid var(--mfi-card-border);
  border-radius: 28px;
  padding: 45px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  
  /* Initial hidden state metrics for smooth JS reveal cascading */
  opacity: 0;
  transform: translateY(30px);
  
  transition: 
    transform 0.5s var(--mfi-smooth-curve), 
    box-shadow 0.5s var(--mfi-smooth-curve),
    border-color 0.3s ease,
    opacity 0.6s ease;
}

/* Brand Anchor Top-Border Caps */
.mfi-pillar-card.mission-card { border-top: 5px solid var(--mfi-navy); }
.mfi-pillar-card.vision-card { border-top: 5px solid var(--mfi-orange); }

/* Active Visibility Cascade Modifier Class */
.mfi-pillar-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Hover States with targeted shadow color profiles */
.mfi-pillar-card.mission-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(29, 32, 96, 0.15);
  box-shadow: 0 20px 50px rgba(29, 32, 96, 0.06);
}

.mfi-pillar-card.vision-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(242, 140, 40, 0.15);
  box-shadow: 0 20px 50px rgba(242, 140, 40, 0.06);
}

/* Icon Structural Geometry Frameworks */
.pillar-icon-wrapper {
  display: flex;
  justify-content: flex-start; /* Default left-aligned layout for desktops */
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform 0.4s var(--mfi-smooth-curve), background-color 0.3s ease;
}

.mission-card .pillar-icon {
  background: rgba(29, 32, 96, 0.06);
  color: var(--mfi-navy);
}

.vision-card .pillar-icon {
  background: rgba(242, 140, 40, 0.06);
  color: var(--mfi-orange);
}

/* Icon Micro-Animation Loop when hovering over parent card */
.mfi-pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
}

/* FIXED: Explicitly forces text icon nodes (i) to render high-contrast white on hover */
.mission-card:hover .pillar-icon { background-color: var(--mfi-navy) !important; }
.mission-card:hover .pillar-icon i { color: #ffffff !important; }

.vision-card:hover .pillar-icon { background-color: var(--mfi-orange) !important; }
.vision-card:hover .pillar-icon i { color: #ffffff !important; }

/* Text Content Structuring Rules */
.pillar-content {
  display: flex;
  flex-direction: column;
}

.pillar-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.mission-card .pillar-tag { color: var(--mfi-navy); }
.vision-card .pillar-tag { color: var(--mfi-orange); }

.mfi-pillar-card h3 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  margin: 0 0 14px 0 !important;
  letter-spacing: -0.3px;
  color: #161824;
}

.mfi-pillar-card p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  color: var(--mfi-text-muted) !important;
  text-align: justify;
  margin: 0 !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (MOBILE RADIAL CENTERING RE-ALIGNMENT ENGINE)
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-pillars-section { 
    padding: 40px 0 !important; 
  }
  
  .mfi-pillar-card { 
    padding: 40px 30px; 
    border-radius: 24px;
    text-align: center !important; /* Centers headings and baseline text alignments */
    align-items: center !important;  /* Centers the flex row columns layout structures */
  }
  
  .pillar-icon-wrapper {
    display: flex;
    justify-content: center; /* Horizontally centers the icon box wrapper on mobile */
    width: 100%;
  }
  
  .mfi-pillar-card h3 { 
    font-size: 22px !important; 
  }
  
  .mfi-pillar-card p { 
    text-align: center !important; /* Converts text block from justify to precise layout center */
  }
}



// vision page section3 // 
/* ==========================================================================
   MFI CORE VALUES GRID ARCHITECTURE (SOLID ORANGE NUMBERS CONFIGURATION)
   ========================================================================== */
:root {
  --mfi-navy: #1d2060;
  --mfi-blue-alt: #2b3990;
  --mfi-orange: #f28c28; /* Pure brand orange used for the numbers */
  --mfi-green: #0a8f47;
  --mfi-card-border: #2b3990; 
  --mfi-text-muted: #555c72;
  --mfi-smooth-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base structural wrapper configuration - 50px vertical strategy */
.mfi-values-section {
  padding: 50px 0 !important;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Heading Isolation Setup */
.mfi-section-header {
  margin-bottom: 35px !important;
}

.mfi-grid-gap-fix {
  margin-top: 15px !important;
}

/* Individual Core Value Box Structure */
.mfi-value-box {
  background: #ffffff;
  border: 2px solid var(--mfi-card-border) !important;
  border-radius: 24px;
  padding: 0 28px 35px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  
  /* Centered layout architecture forced globally for all viewports */
  display: flex;
  flex-direction: column;
  align-items: center !important;  
  text-align: center !important;   
  
  /* Initial hidden metrics for smooth JS layout animation engine tracking */
  opacity: 0;
  transform: translateY(25px);
  
  transition: 
    transform 0.4s var(--mfi-smooth-curve), 
    box-shadow 0.4s var(--mfi-smooth-curve),
    border-color 0.3s ease,
    opacity 0.6s ease;
}

/* Active Modifier Rule used by JS Intersections hook */
.mfi-value-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Card Elevation & Hover State */
.mfi-value-box:hover {
  transform: translateY(-5px);
  border-color: var(--mfi-orange) !important;
  box-shadow: 0 15px 40px rgba(43, 57, 144, 0.08);
}

/* Card Numeric Container & Dynamic Underline Line Element */
.value-num-frame {
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
  width: auto;
}

/* FIXED: Number sizes expanded to 48px and color strictly locked to brand orange globally */
.value-num {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 48px !important;
  line-height: 1.1 !important;
  color: var(--mfi-orange) !important; /* Forces solid orange color on standard load state */
  transition: transform 0.3s var(--mfi-smooth-curve);
}

/* FIXED: Keeps the number color crisp orange even when hovering over parent container box elements */
.mfi-value-box:hover .value-num {
  transform: translateY(-2px);
  color: var(--mfi-orange) !important; /* Locks color to orange on hover to block parent styling leaks */
}

/* Micro-Underline Accent Strips anchored directly to the mathematical center */
.value-num-frame::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 4px;
  transition: width 0.3s var(--mfi-smooth-curve), background-color 0.3s ease;
}

.accent-navy .value-num-frame::after { background-color: var(--mfi-navy); }
.accent-orange .value-num-frame::after { background-color: var(--mfi-orange); }
.accent-green .value-num-frame::after { background-color: var(--mfi-green); }
.accent-navy-alt .value-num-frame::after { background-color: var(--mfi-blue-alt); }

/* Keeps expansion transform balanced smoothly on center axis point */
.mfi-value-box:hover .value-num-frame::after {
  width: 40px; 
}

/* Grid Value Box Typography Rules */
.mfi-value-box h4 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin: 0 0 10px 0 !important;
  color: #161824;
  letter-spacing: -0.2px;
}

.mfi-value-box p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: var(--mfi-text-muted) !important;
  margin: 0 !important;
  text-align: center !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-values-section { 
    padding: 40px 0 !important; 
  }
  
  .mfi-value-box { 
    padding: 0 24px 30px 24px; 
    border-radius: 20px;
  }
  
  .value-num-frame {
    margin-bottom: 18px;
  }
}


//vision page section4 //
/* ==========================================================================
   REFRACTORED MFI JOURNEY TIMELINE ARCHITECTURE
   ========================================================================== */
:root {
  --mfi-tl-navy-color: #1d2060;
  --mfi-tl-blue-color: #2b3990;
  --mfi-tl-orange-color: #f28c28;
  --mfi-tl-green-color: #0a8f47;
  --mfi-tl-border-mute: #2b3990;
  --mfi-tl-text-mute: #555c72;
  --mfi-tl-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

.mfi-timeline-section {
  padding: 50px 0 !important;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.mfi-tl-header {
  margin-bottom: 45px !important;
}

.mfi-tl-grid-fix {
  margin-top: 20px !important;
}

.mfi-tl-container {
  position: relative;
  padding: 20px 0;
}

/* Central Spine Rail Geometry */
.mfi-tl-spine-rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #eef1f8;
  transform: translateX(-50%);
  border-radius: 4px;
  overflow: hidden;
}

.mfi-tl-spine-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--mfi-tl-navy-color), var(--mfi-tl-orange-color), var(--mfi-tl-green-color));
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mfi-tl-container.spine-active .mfi-tl-spine-progress {
  transform: translateY(0);
}

/* Timeline Layout Blocks */
.mfi-tl-block {
  position: relative;
  width: 50%;
  margin-bottom: 40px;
  display: flex;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s var(--mfi-tl-curve);
}

.mfi-tl-block:last-child {
  margin-bottom: 0;
}

.mfi-tl-block.mfi-tl-left {
  left: 0;
  padding-right: 45px;
  justify-content: flex-end;
  transform: translateX(-30px);
}

.mfi-tl-block.mfi-tl-right {
  left: 50%;
  padding-left: 45px;
  justify-content: flex-start;
  transform: translateX(30px);
}

.mfi-tl-block.is-visible {
  opacity: 1;
  transform: translateX(0) !important;
}

/* Central Node Markers Architecture */
.mfi-tl-node {
  position: absolute;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #eef1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: border-color 0.4s ease, transform 0.4s var(--mfi-tl-curve);
}

.mfi-tl-block.mfi-tl-left .mfi-tl-node { right: 0; transform: translate(50%, 0); }
.mfi-tl-block.mfi-tl-right .mfi-tl-node { left: 0; transform: translate(-50%, 0); }

.mfi-tl-node-num {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--mfi-tl-orange-color) !important;
  line-height: 1 !important;
}

/* Event Inner Body Box Cards with Crisp Solid Border Outline */
.mfi-tl-card-wrap {
  width: 100%;
  max-width: 460px;
}

.mfi-tl-card-inner {
  background: #ffffff;
  border: 2px solid var(--mfi-tl-border-mute) !important;
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.4s var(--mfi-tl-curve), box-shadow 0.4s var(--mfi-tl-curve), border-color 0.4s ease;
}

/* Interactive Box Elevations and Focal Border Changes on Hover */
.mfi-tl-block:hover .mfi-tl-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(43, 57, 144, 0.06);
}

.mfi-tl-block.mfi-border-navy:hover .mfi-tl-card-inner { border-color: var(--mfi-tl-navy-color) !important; }
.mfi-tl-block.mfi-border-orange:hover .mfi-tl-card-inner { border-color: var(--mfi-tl-orange-color) !important; }
.mfi-tl-block.mfi-border-green:hover .mfi-tl-card-inner { border-color: var(--mfi-tl-green-color) !important; }
.mfi-tl-block.mfi-border-blue:hover .mfi-tl-card-inner { border-color: var(--mfi-tl-navy-color) !important; }

.mfi-tl-block:hover .mfi-tl-node {
  border-color: var(--mfi-tl-orange-color) !important;
  scale: 1.15;
}

/* Typographic Content Styles */
.mfi-tl-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.mfi-bg-navy { background: rgba(29, 32, 96, 0.06); color: var(--mfi-tl-navy-color); }
.mfi-bg-orange { background: rgba(242, 140, 40, 0.06); color: var(--mfi-tl-orange-color); }
.mfi-bg-green { background: rgba(10, 143, 71, 0.06); color: var(--mfi-tl-green-color); }
.mfi-bg-blue { background: rgba(43, 57, 144, 0.06); color: var(--mfi-tl-blue-color); }

.mfi-tl-card-inner h4 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: #161824;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.2px;
}

.mfi-tl-card-inner p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: var(--mfi-tl-text-mute) !important;
  margin: 0 !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (MOBILE CENTRALIZATION)
   ========================================================================== */
@media (max-width: 991px) {
  .mfi-timeline-section {
    padding: 40px 0 !important;
  }
  
  .mfi-tl-spine-rail {
    left: 20px;
    transform: none;
  }
  
  .mfi-tl-block {
    width: 100% !important;
    left: 0 !important;
    padding-left: 55px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
    margin-bottom: 30px;
    transform: translateY(25px) !important;
  }
  
  .mfi-tl-node {
    left: 20px !important;
    transform: translate(-50%, 0) !important;
    top: 26px;
  }
  
  .mfi-tl-card-wrap {
    max-width: 100%;
  }
  
  .mfi-tl-card-inner {
    padding: 25px 22px;
    text-align: center !important; 
  }
}


//leadership page section2

/* --- MFI Values Section Layout Styling --- */
.mfi-values-section {
    background-color: #fdfdfd;
}

/* Card Base Styles matching the image layout */
.mfi-value-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px;
    padding: 3.5rem 2rem 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* Base Top Color Strip Assignment */
.mfi-value-box.accent-blue {
    border-top: 5px solid #0a192f !important; /* Default Brand Navy Blue */
}

.mfi-value-box.accent-orange {
    border-top: 5px solid #ff6b00 !important; /* Specific Highlight Orange */
}

/* Circle Number Background Frame */
.mfi-value-box .value-num-frame {
    width: 90px;
    height: 90px;
    background-color: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Huge Number Typography Styling */
.mfi-value-box .value-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a192f; /* Default Navy Blue matching design specs */
    letter-spacing: -1px;
}




/* Hover Interactive Elevation States */
.mfi-value-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Responsive Fluid Adapters for Mobile Viewports */
@media (max-width: 768px) {
    .mfi-value-box {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    .mfi-value-box .value-num-frame {
        width: 75px;
        height: 75px;
    }
    .mfi-value-box .value-num {
        font-size: 2rem;
    }
}
/* --- MFI Values Section Layout Styling --- */
.mfi-values-section {
    background-color: #fdfdfd;
}

/* Card Base Styles - Applied universally to all 4 items */
.mfi-value-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #dcdcdc !important;
    border-top: 5px solid #ff6b00 !important; /* All boxes now strictly use your orange top accent by default */
    border-radius: 8px;
    padding: 3.5rem 2rem 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* Circle Number Background Frame */
.mfi-value-box .value-num-frame {
    width: 90px;
    height: 90px;
    background-color: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Big Number Typography - Default Corporate Blue */
.mfi-value-box .value-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a192f; 
    letter-spacing: -1px;
}

/* Heading Structure - Default Corporate Blue */
.mfi-value-box .mfi-value-heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0a192f; 
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

/* Body Text Paragraph Styling */
.mfi-value-box .mfi-value-text {
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover Interactive Elevation States */
.mfi-value-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Responsive Fluid Adapters for Mobile Viewports */
@media (max-width: 768px) {
    .mfi-value-box {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    .mfi-value-box .value-num-frame {
        width: 75px;
        height: 75px;
    }
    .mfi-value-box .value-num {
        font-size: 2rem;
    }
}


// leadership section3
/* --- MFI Founder Profile Layout System --- */
.mfi-founder-profile-section {
    background-color: #ffffff;
    overflow: hidden;
}

/* Eyebrow styling matching accent parameters */
.mfi-founder-profile-section .mfi-eyebrow-accent {
    color: #ff6b00;
    font-size: 13px;
}

/* Overrides subtitle specifically to highlight position within brand constraints */
.mfi-founder-profile-section .mfi-founder-title-badge {
    color: #ff6b00 !important; /* Controlled orange position emphasis */
    font-size: 20px !important;
}

/* Image framing structures */
.mfi-founder-image-wrapper {
    padding: 20px;
    z-index: 1;
}

/* Background layout accent shape */
.mfi-founder-image-wrapper .mfi-image-geometry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    background-color: #f0f2f5;
    border-radius: 8px;
    z-index: -1;
    transform: rotate(-3deg);
}

.mfi-founder-portrait-frame {
    border: 1px solid #e9ecef !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Interactive zoom layer */
.mfi-founder-portrait-frame .mfi-portrait-core {
    transition: transform 0.5s ease;
}

.mfi-founder-image-wrapper:hover .mfi-portrait-core {
    transform: scale(1.03);
}

/* Floating operational badge element */
.mfi-founder-image-wrapper .mfi-founder-floating-tag {
    position: absolute;
    bottom: 40px;
    right: 0;
    background-color: #233486; /* Primary Brand Navy */
    border-left: 4px solid #ff6b00; /* Contrast Orange Track */
    z-index: 2;
}

/* Controlled spacing inside text layouts */
.mfi-biography-text-wrapper p {
    margin-bottom: 20px !important;
}

/* Tablet and Smartphone Layout Compactor Fixes */
@media (max-width: 991.98px) {
    .mfi-founder-image-wrapper {
        max-width: 420px;
        margin: 0 auto 2rem auto;
    }
    .mfi-founder-image-wrapper .mfi-founder-floating-tag {
        bottom: 25px;
        right: 15px;
    }
}


//leadership section4
.mfi-team-roster-section { background-color: #ffffff; padding: 60px 0; }
.mfi-team-roster-section h2, .mfi-team-roster-section h4 { text-align: center !important; color: #233486 !important; }
.mfi-team-roster-section p { text-align: justify !important; }

.mfi-member-photo-frame {
    position: relative;
    border: 1px solid #e9ecef !important;
    border-top: 5px solid #ff6b00 !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
}

.mfi-member-designation {
    display: block;
    text-align: center !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    color: #ff6b00;
    font-weight: 500;
}

.mfi-social-links a {
    color: #233486 !important;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: #f0f2f5;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfi-social-links a:hover {
    color: #ffffff !important;
    background: #ff6b00 !important;
    transform: translateY(-3px);
}

.mfi-team-card:hover .mfi-member-photo-frame {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


//membershio overview 
.mfi-essential-card {
    background: #ffffff;
    border-top: 5px solid #ff6b00 !important;
    transition: transform 0.3s ease;
    height: 100%;
}

.mfi-essential-card:hover {
    transform: translateY(-10px);
    border-color: #233486 !important;
}

.mfi-essential-card p {
    text-align: justify !important;
    font-size: 14px;
    color: #555555;
}


//mfi section3
.mfi-premium-standards .row { justify-content: center; }

.premium-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.premium-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.icon-box-orange {
    width: 70px; height: 70px;
    background: #ff6b00;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 15px; font-size: 1.5rem;
}

.premium-cta-box {
    background: linear-gradient(135deg, #233486 0%, #1a2766 100%);
    padding: 50px;
    border-radius: 30px;
}

.btn1 {
    background: #ff6b00 !important; color: white !important;
    padding: 15px 40px !important; border-radius: 50px !important;
    font-weight: 700 !important; text-transform: uppercase;
    text-decoration: none !important; transition: 0.3s;
}

.btn1:hover { background: white !important; color: #233486 !important; }


//mfi benefits 
.mfi-mission-section {
    padding: 80px 0;
}

.text-orange {
    color: #ff6b00;
}

.mfi-mission-section h2 {
    font-size: 2.2rem;
}

.shadow-sm {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
}


//mfi benefits section3
/* Updated 3D Card Style */
.benefit-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    /* 3D Depth Effect */
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), inset 0 -4px 0 #ff6b00; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures content centers horizontally */
}

.benefit-card:hover { 
    transform: translateY(-15px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(35, 52, 134, 0.2), inset 0 -4px 0 #ff6b00;
}

/* Perfect Icon Alignment */
/* Container for the Card */
.benefit-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    
    /* Ensure everything inside is centered */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), inset 0 -4px 0 #ff6b00; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.benefit-card:hover { 
    transform: translateY(-15px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(35, 52, 134, 0.2), inset 0 -4px 0 #ff6b00;
}

/* Perfect Icon Centering */
.benefit-card i { 
    font-size: 2.5rem; 
    color: #ff6b00; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #fff5ed; 
    border-radius: 50%;
    /* No margin auto needed now because of flex-direction: column */
}

/* Heading Centered */
.benefit-card h5 { 
    color: #233486; 
    font-weight: 800; 
    margin-bottom: 12px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center; /* Explicit center */
    width: 100%;
}

/* Text Centered */
.benefit-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    text-align: center; /* Explicit center */
    width: 100%;
}

/* CTA Banner Enhancement */
.cta-banner {
    background: linear-gradient(135deg, #233486 0%, #1a2766 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(35, 52, 134, 0.3);
    padding: 60px 40px !important;
    text-align: center; /* Centers the heading and button inside */
}

.btn1 {
    background: #ff6b00 !important; 
    color: white !important;
    padding: 18px 45px !important; 
    border-radius: 50px !important;
    font-weight: 700 !important; 
    text-transform: uppercase;
    text-decoration: none !important; 
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
    display: inline-block; /* Ensures button respects centering */
}

.btn1:hover { 
    background: white !important; 
    color: #233486 !important; 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}
/* CTA Banner Enhancement */
.cta-banner {
    background: linear-gradient(135deg, #233486 0%, #1a2766 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(35, 52, 134, 0.3);
    padding: 60px 40px !important;
}

.btn1 {
    background: #ff6b00 !important; 
    color: white !important;
    padding: 18px 45px !important; 
    border-radius: 50px !important;
    font-weight: 700 !important; 
    text-transform: uppercase;
    text-decoration: none !important; 
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.btn1:hover { 
    background: white !important; 
    color: #233486 !important; 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}


// membership request form //
/* Center Titles */
.section-title { 
    color: #233486; 
    font-size: 1.1rem; 
    margin: 30px 0 15px 0; 
    text-transform: uppercase;
}

/* Ensure full responsiveness */
.form-control { 
    width: 100%; 
    padding: 12px; 
    border-radius: 6px; 
    border: 1px solid #ced4da; 
}

/* Fix for mobile button alignment */
.btn-primary { 
    background-color: #233486 !important; 
    border-color: #233486 !important; 
    width: 100%;
    max-width: 300px; /* Keep button manageable on desktop */
}

/* Adjust for small screens */
@media (max-width: 768px) {
    .form-card { padding: 20px !important; }
    .btn-primary { max-width: 100%; }
}


//mfi membership terms & conditions
.terms-card {
    border-top: 5px solid #233486;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.terms-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fafafa;
}

.banking-box {
    background: #233486;
    color: #ffffff;
    border-radius: 10px;
}

.text-orange { color: #ff6b00; }

/* Custom scrollbar for better UX */
.terms-content::-webkit-scrollbar { width: 6px; }
.terms-content::-webkit-scrollbar-thumb { background: #ff6b00; border-radius: 10px; }


//careers page //
/* Job Card Styles */
.job-card { 
    transition: all 0.3s ease; 
    border-left: 5px solid #ff6b00 !important; 
    border-top: none;
    border-right: none;
    border-bottom: none;
}
.job-card:hover { 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; 
    transform: translateY(-5px);
}

/* Button Styles */
.btn-outline-primary { 
    border: 2px solid #233486 !important; 
    color: #233486 !important; 
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 12px 20px;
    transition: 0.3s;
}
.btn-outline-primary:hover { 
    background-color: #233486 !important; 
    color: #fff !important; 
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .job-card { margin-bottom: 20px; }
}


//contact us page //
.mfi-form-container { border-top: 5px solid #ff6b00; }
.form-control { 
    padding: 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
}
.mfi-submit-btn { 
    background-color: #233486; 
    color: white; 
    border: none; 
    padding: 15px; 
    font-weight: 700; 
    text-transform: uppercase; 
    border-radius: 8px; 
    transition: 0.3s; 
}
.mfi-submit-btn:hover { background-color: #ff6b00; }


//member page start //



/* =========================================
   MFI MEMBER DIRECTORY - PREMIUM UI
========================================= */

#mfi-member-directory{
    font-family:'Plus Jakarta Sans',sans-serif;
    background:
        radial-gradient(circle at top left, rgba(40,42,122,0.06), transparent 30%),
        radial-gradient(circle at bottom right, rgba(242,144,38,0.08), transparent 25%),
        linear-gradient(to bottom,#f8fbff,#f3f6fb);
    padding:80px 0;
    position:relative;
    overflow:hidden;
}

/* Container */
#mfi-member-directory .container{
    max-width:1300px;
    position:relative;
    z-index:2;
}

/* Decorative Glow */
#mfi-member-directory::before{
    content:"";
    position:absolute;
    top:-120px;
    left:-120px;
    width:300px;
    height:300px;
    background:rgba(40,42,122,0.08);
    filter:blur(80px);
    border-radius:50%;
}

#mfi-member-directory::after{
    content:"";
    position:absolute;
    bottom:-100px;
    right:-100px;
    width:280px;
    height:280px;
    background:rgba(242,144,38,0.10);
    filter:blur(90px);
    border-radius:50%;
}

/* =========================================
   HEADING
========================================= */

#mfi-member-directory h1{
    font-size:48px;
    font-weight:800;
    color:#1d2671;
    letter-spacing:-1px;
    margin-bottom:14px;
}

#mfi-member-directory .title-divider{
    width:150px;
    height:7px;
    border-radius:50px;
    margin:auto;
    background:linear-gradient(90deg,#282a7a 0%,#4b53d1 40%,#f29026 100%);
    box-shadow:0 4px 15px rgba(242,144,38,.35);
}

/* =========================================
   SEARCH BAR
========================================= */

#mfi-member-directory .search-glow{
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,.5);
    border-radius:70px;
    padding:10px 15px;
    box-shadow:
        0 10px 35px rgba(37,99,235,.08),
        0 4px 12px rgba(0,0,0,.03);
    transition:all .35s ease;
}

#mfi-member-directory .search-glow:hover{
    transform:translateY(-2px);
}

#mfi-member-directory .search-glow:focus-within{
    border-color:#f29026;
    box-shadow:
        0 0 0 4px rgba(242,144,38,.12),
        0 18px 40px rgba(242,144,38,.15);
}

#mfi-member-directory input{
    border:none !important;
    background:transparent !important;
    font-size:15px;
    font-weight:600;
    color:#334155;
}

#mfi-member-directory input::placeholder{
    color:#94a3b8;
}

/* =========================================
   MEMBER CARD
========================================= */

#mfi-member-directory .member-card{
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(248,250,255,0.98)
        );

    border:1px solid rgba(226,232,240,.8);
    border-radius:28px;
    padding:35px;
    overflow:hidden;
    position:relative;
    transition:all .45s cubic-bezier(.2,.8,.2,1);

    box-shadow:
        0 10px 30px rgba(15,23,42,.04),
        0 2px 8px rgba(15,23,42,.03);
}

#mfi-member-directory .member-card:hover{
    transform:translateY(-10px);

    border-color:rgba(242,144,38,.5);

    box-shadow:
        0 25px 50px rgba(40,42,122,.10),
        0 12px 25px rgba(242,144,38,.10);
}

/* Border Effect */
#mfi-member-directory .member-card::before{
    content:"";
    position:absolute;
    inset:0;
    padding:1px;
    border-radius:28px;

    background:
        linear-gradient(
            135deg,
            rgba(40,42,122,.12),
            rgba(242,144,38,.25),
            rgba(40,42,122,.10)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
            mask-composite:exclude;

    pointer-events:none;
}

/* =========================================
   BADGE
========================================= */

#mfi-member-directory .member-badge{
    background:linear-gradient(135deg,#282a7a,#4d55d6);
    color:#fff;
    font-size:22px;
    font-weight:700;
    padding:10px 18px;
    border-radius:50px;
    box-shadow:0 8px 20px rgba(40,42,122,.25);
}

/* =========================================
   IMAGES
========================================= */

#mfi-member-directory .company-logo{
    width:200px;
    height:200px;
    object-fit:contain;
    border-radius:24px;
    background:#fff;
    border:1px solid #eef2ff;
    padding:16px;
    box-shadow:0 10px 20px rgba(0,0,0,.04);
    transition:all .35s ease;
}

#mfi-member-directory .member-card:hover .company-logo{
    transform:scale(1.04);
}

#mfi-member-directory .member-photo{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #fff;
    box-shadow:0 12px 25px rgba(40,42,122,.18);
}

/* =========================================
   CONTENT
========================================= */

#mfi-member-directory .member-title{
    color:#1d2671;
    font-size:30px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:-0.5px;
}

#mfi-member-directory .member-location{
    font-size:15px;
    font-weight:500;
    color:#64748b !important;
}

/* About */
#mfi-member-directory .about-box{
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.95),
            rgba(248,250,252,.95)
        );

    border-left:5px solid #f29026;
    border-radius:20px;
    padding:24px;
    color:#475569;
    line-height:1.8;
    font-size:15px;
}

/* Info Box */
#mfi-member-directory .info-box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:18px;
    padding:18px;
    transition:all .3s ease;
    box-shadow:0 4px 12px rgba(0,0,0,.02);
}

#mfi-member-directory .info-box:hover{
    transform:translateY(-3px);
}

#mfi-member-directory .info-box small{
    color:#94a3b8;
    font-size:11px;
    letter-spacing:1px;
    font-weight:700;
}

#mfi-member-directory .info-box div{
    font-size:15px;
    font-weight:700;
    color:#1e293b;
}

/* =========================================
   BUTTONS
========================================= */

#mfi-member-directory .btn{
    border:none;
    padding:12px 26px;
    border-radius:50px;
    font-weight:700;
    font-size:14px;
    transition:all .35s ease;
}

#mfi-member-directory .btn:hover{
    transform:translateY(-4px);
}

#mfi-member-directory .btn-success{
    background:linear-gradient(135deg,#25D366,#16a34a);
    box-shadow:0 10px 20px rgba(37,211,102,.22);
}

#mfi-member-directory .btn-primary-custom{
    background:linear-gradient(135deg,#282a7a,#4652d8);
    color:#fff;
    box-shadow:0 10px 20px rgba(40,42,122,.22);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:991px){

    #mfi-member-directory h1{
        font-size:36px;
        text-align:center;
    }

    #mfi-member-directory .member-card{
        text-align:center;
        padding:28px 22px;
    }

    #mfi-member-directory .member-title{
        font-size:25px;
    }

    #mfi-member-directory .member-location{
        justify-content:center;
    }

    #mfi-member-directory .about-box{
        text-align:center;
    }

    #mfi-member-directory .info-box{
        text-align:center;
    }

    #mfi-member-directory .member-buttons{
        justify-content:center;
    }

    #mfi-member-directory .member-buttons .btn{
        min-width:220px;
    }

    #mfi-member-directory .company-logo,
    #mfi-member-directory .member-photo{
        margin:auto;
    }
}

@media(max-width:767px){

    #mfi-member-directory{
        padding:55px 0;
    }

    #mfi-member-directory h1{
        font-size:28px;
    }

    #mfi-member-directory .search-glow{
        border-radius:24px;
        padding:15px;
    }

    #mfi-member-directory .member-card{
        padding:20px;
        border-radius:24px;
    }

    #mfi-member-directory .member-title{
        font-size:22px;
    }

    #mfi-member-directory .member-buttons{
        flex-direction:column;
        width:100%;
    }

    #mfi-member-directory .member-buttons .btn{
        width:100%;
    }
}


// Blogs

/* --- Modern Insights Section --- */
.mfi-blog-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.mfi-badge {
    background-color: #f47920;
    color: #ffffff;
    padding: 6px 20px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.mfi-main-title {
    color: #233486;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.mfi-title-line {
    width: 80px;
    height: 5px;
    background-color: #f47920;
    margin: 0 auto 30px auto;
    border-radius: 10px;
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(35, 52, 134, 0.15);
}

.blog-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.card-body { padding: 25px !important; }

.read-more-link {
    color: #f47920;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more-link i { margin-left: 8px; transition: margin 0.3s; }
.blog-card:hover .read-more-link i { margin-left: 15px; }