/* Hero Slider Stack Setup */
.hero-zoom-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    background-color: var(--mml-dark);
}

.hero-bg-slider, 
.hero-bg-slider .owl-stage-outer, 
.hero-bg-slider .owl-stage, 
.hero-bg-slider .owl-item, 
.hero-bg-slider .item {
    height: 100%;
    width: 100%;
}

/* Full-bleed background element */
.slider-bg-img {
    width: 100%;
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 7000ms ease-in-out; /* Match crossfade window */
}

/* Trigger Ken Burns zoom ONLY on the currently active slide */
.owl-item.active .slider-bg-img {
    transform: scale(1.12);
}

/* Content layer sitting safely over the active carousel */
.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(23, 26, 45, 0.7) 0%, rgba(23, 26, 45, 0.8) 100%);
    display: flex;
    align-items: center;
    z-index: 5; /* Forces content over images */
}

/* Remove default owl dots/nav interfering with design layout */
.hero-bg-slider .owl-dots {
    display: none !important;
}



/* --- NAV ITEMS ROW SPACING & ALIGNMENT --- */
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 20px; /* Increased from 8px for premium breathing room */
}

/* --- NAV LINKS STYLE --- */
.nav-item .nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #2D3748 !important;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0px !important; /* Balanced internal link targets */
    transition: color 0.3s ease;
}

/* --- DYNAMIC UNDERLINE HOVER EFFECT --- */
.nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px; /* Slightly pushed below for optical clarity */
    left: 14px;
    /*background-color: var(--mml-blue);*/
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item .nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: calc(100% - 28px);
}

.nav-item .nav-link:hover {
    /*color: var(--mml-blue) !important;*/
}

/* --- RIGHT SIDE ACTION BUTTONS MATCHING --- */
.nav-actions-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}


/*.btn-mml-yellow {
    
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;

}*/

/* Unified button layout framework for symmetry */
.btn-nav-complaints,
.btn-nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px; /* Fixed matching block height */
    padding: 0 24px; /* Identical horizontal internal breathing room */
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px;
    box-sizing: border-box; /* Normalizes line-height vs borders */
    white-space: nowrap;
    transition: all 0.25s ease;
}

/* Outlined Complaints Button */
.btn-nav-complaints {
    border: 1.5px solid #2D3748;
    color: #2D3748;
    background-color: transparent;
}

.btn-nav-complaints:hover {
    border-color: var(--mml-blue);
    color: var(--mml-blue);
    background-color: rgba(30, 160, 211, 0.04);
}

/* Solid Apply Now Button */
.btn-nav-contact {
    background-color: var(--mml-blue);
    color: #FFFFFF !important;
    border: 1.5px solid transparent; /* Keeps sizes perfectly identical */
}

.btn-nav-contact:hover {
    background-color: #1680AA;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 160, 211, 0.15);
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
  padding: 12px 50px !important;
  font-size: 12px;
}

.btn-outline-secondary:hover {
  color: #FFF;
  background: #000 !important;
  border-color: #6c757d;
  padding: 12px 50px !important;
  font-size: 12px;
}

/* Core Values Floating Strip Container */
.floating-values-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding: 20px 10px;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Base Item Styling */
.value-item {
    border-right: 1px solid #EAEAEA;
    padding: 16px 12px;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: default;
}

/* Remove border on last item */
.value-item:last-child {
    border-right: none;
}

/* Icon Animation Styling */
.value-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(30, 160, 211, 0.06); /* Soft sky blue background tint */
    margin-bottom: 12px;
    transition: all 0.35s ease;
}

.value-icon-wrapper img {
    transition: transform 0.35s ease;
}

/* --- HOVER EFFECTS --- */
.value-item:hover {
    background-color: #FFFFFF;
    transform: translateY(-8px); /* Elevates card item upward */
    box-shadow: 0 12px 24px rgba(30, 160, 211, 0.12); /* Soft sky blue glow */
    border-color: transparent; /* Seamless shadow transition */
}

/* Accent Indicator Line on Hover */
.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--mml-yellow); /* #FAB82C accent */
    border-radius: 3px;
    transition: width 0.35s ease;
}

.value-item:hover::after {
    width: 40%;
}

/* Icon Hover Transform */
.value-item:hover .value-icon-wrapper {
    background-color: var(--mml-blue); /* Switches icon container to brand blue */
}

.value-item:hover .value-icon-wrapper img {
    transform: scale(1.15); /* Slight zoom on icon */
    filter: brightness(0) invert(1); /* Turns blue/black icons crisp white on hover */
}

/* Text Hover Colors */
.value-item:hover .value-title {
    color: var(--mml-blue) !important;
}



/* --- SECTION HEADERS SYSTEM --- */
.section-header-wrapper {
    margin-bottom: 2.5rem;
    position: relative;
}

/* Modern Tag/Badge Pill */
.section-subtitle-badge {
    display: inline-block;
    background-color: rgba(30, 160, 211, 0.08); /* Soft blue tint */
    color: var(--mml-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

/* Primary Main Headline */
.section-title-main {
    font-family: 'Barlow', 'Reem Kufi Fun', sans-serif;
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    color: #1A202C; /* Dark Slate */
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-title-main .text-highlight {
    color: var(--mml-blue);
}

/* Rounded Animated Accent Divider */
.section-divider-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--mml-blue) 0%, var(--mml-yellow) 100%);
    border-radius: 4px;
    margin: 14px auto 0 auto;
}


/* --- HERO TYPOGRAPHY REFINEMENTS --- */

/* "Let's Discover" Fluid Script Tagline */
.hero-title-script {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem; /* Noticeably elegant and fluid */
    color: var(--mml-yellow); /* #FAB82C */
    letter-spacing: 1px;
    margin-bottom: -5px; /* Pulls the main heading closer naturally */
    text-transform: none; /* Keeps cursive natural casing */
}

/* "How Can We Help You Grow?" Display Title */
.hero-title-main {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem; /* 48px scalable desktop */
    font-weight: 800; /* Ultra-bold geometric architecture */
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Description Paragraph text */
.hero-desc-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
    opacity: 0.92;
    max-width: 780px;
    margin: 0 auto;
}

/* Typed.js Variable Footer Option text */
.hero-typed-wrapper {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.3px;
}

/* --- HERO BUTTON REFINEMENTS --- */
.hero-overlay .btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 30px !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Solid Yellow Button */
.btn-mml-yellow {
    background-color: var(--mml-yellow);
    color: #171A2D !important;
    font-size: 12px;
    padding: 12px 30px;
    font-family: 'Outfit', sans-serif;
    border: 2px solid var(--mml-yellow);
}


.btn-mml-yellow:hover {
    background-color: #E2A420;
    border-color: #E2A420;
    font-size: 12px;
    /*transform: translateY(-2px);*/
    transition: all 0.25s ease;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(250, 184, 44, 0.25);
}




/* Outline White Button */
.btn-outline-light-custom {
    background-color: transparent;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light-custom:hover {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* --- CALCULATOR CONTAINER GRID --- */
.calculator-card {
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 2.5rem;
}

/* Range Group Spacing */
.calc-input-group {
    margin-bottom: 2rem;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calc-label-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #2D3748;
    font-size: 15px;
}

.calc-value-display {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}

/* Range Scale Limits Footer */
.calc-limit-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #A0AEC0;
    margin-top: 6px;
    font-weight: 500;
}

/* --- REFINED CUSTOM RANGE SLIDERS --- */
.custom-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 10px;
    outline: none;
}

/* Chrome/Safari Thumb */
.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid var(--mml-blue); /* Crisp white inner circle with thick brand blue border */
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(30, 160, 211, 0.3);
    transition: transform 0.1s ease, background-color 0.2s ease;
}
.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Firefox Thumb */
.custom-range-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid var(--mml-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(30, 160, 211, 0.3);
    transition: transform 0.1s ease;
}
.custom-range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* --- PREMIUM RECEIPT SUMMARY CARD --- */
.receipt-summary-box {
    background-color: #F7FAFC;
    border: 1px dashed #E2E8F0; /* Institutional financial breakdown design style */
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.receipt-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1A202C;
    margin-bottom: 20px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.receipt-row.total-row {
    border-top: 1px dashed #E2E8F0;
    padding-top: 12px;
    margin-top: 4px;
}

.receipt-btn-apply {
    width: 100%;
    background-color: var(--mml-blue);
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(30, 160, 211, 0.15);
}

.receipt-btn-apply:hover {
    background-color: #1680AA;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(30, 160, 211, 0.25);
}

/* --- ABOUT SECTION ARCHITECTURE --- */
.about-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Integrated Minimalist Metrics Grid */
.about-metrics-row {
    margin-top: 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #EDF2F7;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-center;
}

.metric-block {
    text-align: center;
    flex: 1;
}

.metric-block:first-child {
    border-right: 1px solid #E2E8F0;
}

.metric-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--mml-blue);
    line-height: 1.1;
}

.metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #718096;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

/* High-Readability Body Copy Styles */
.about-lead-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2D3748; /* Dark charcoal slate */
    font-weight: 500;
}

.about-compliance-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4A5568; /* Readable dark grey instead of invisible light grey */
    border-left: 3px solid var(--mml-yellow); /* Elegant compliance visual anchor */
    padding-left: 14px;
}

/* Styled Button to match Header System */
.btn-about-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 28px;
    background-color: var(--mml-blue);
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(30, 160, 211, 0.15);
}

.btn-about-more:hover {
    background-color: #1680AA;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(30, 160, 211, 0.25);
}


/* CTA section */

/* --- PREMIUM INTERMISSION BANNER --- */
.cta-intermission-section {
    position: relative;
    background: radial-gradient(circle at 80% 50%, #1F243E 0%, #171A2D 100%); /* Elegant light depth */
    padding: 4.5rem 0;
    overflow: hidden;
}

/* Light Mode Transparent Pill Badge */
.cta-subtitle-badge-light {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08); /* Sophisticated white tint */
    color: var(--mml-blue); /* #1EA0D3 */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* Clean High-Contrast Display Title */
.cta-title-display {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Smooth Description Block */
.cta-desc-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #A0AEC0; /* Readable soft grey text */
    max-width: 680px;
    margin-bottom: 0;
}

/* Tactile Interactive Yellow CTA Button */
.btn-cta-action-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    background-color: var(--mml-yellow); /* #FAB82C */
    color: #171A2D !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    border-radius: 8px;
    border: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 14px rgba(250, 184, 44, 0.15);
}

.btn-cta-action-yellow:hover {
    background-color: #E2A420;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 184, 44, 0.3);
}


/* --- ABOUT MEDIA HOVER EFFECTS --- */
.about-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden; /* Clips the inner image zoom cleanly */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Image Wrapper Hover State */
.about-img-wrapper:hover {
    box-shadow: 0 20px 40px rgba(30, 160, 211, 0.12); /* Soft brand blue glow */
}

.about-img-wrapper:hover img {
    transform: scale(1.04); /* Elegant micro-zoom */
}

/* --- INTERACTIVE METRICS CARD HOVER EFFECTS --- */
.about-metrics-row {
    margin-top: 1.5rem;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #EDF2F7;
    padding: 22px 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.metric-block {
    text-align: center;
    flex: 1;
    padding: 8px 12px;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
    cursor: default;
}

.metric-block:first-child {
    border-right: 1px solid #E2E8F0;
}

/* Stat Number Micro Transition */
.metric-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mml-blue);
    line-height: 1.1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #718096;
    margin-top: 6px;
    transition: color 0.3s ease;
}

/* Individual Metric Hover State */
.metric-block:hover {
    transform: translateY(-4px);
    background-color: rgba(30, 160, 211, 0.03); /* Subtle light tint background */
}

.metric-block:hover .metric-number {
    transform: scale(1.08); /* Stat pops out slightly */
}

.metric-block:hover .metric-label {
    color: #2D3748; /* Darkens label text for focus */
}


/* --- PARTNERS GRID DESIGN SYSTEM --- */
.partners-section {
    background-color: #F8FAFC; /* Soft clean off-white background */
    padding: 5rem 0;
}

.partner-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Base Logo Styling (Grayscale for uniform clean baseline) */
.partner-logo {
    max-height: 120px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: all 0.35s ease;
}

/* Card Hover State */
.partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 160, 211, 0.3); /* Subtle MML Blue accent border */
    box-shadow: 0 12px 28px rgba(30, 160, 211, 0.12); /* Soft blue elevation glow */
}

/* Restore Logo Original Color & Focus on Hover */
.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

/* Subtle Accent Line on Hover */
.partner-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mml-blue) 0%, var(--mml-yellow) 100%);
    border-radius: 3px;
    transition: width 0.35s ease;
}

.partner-card:hover::after {
    width: 50%;
}


/* --- NEWS & INSIGHTS DESIGN SYSTEM --- */
.news-section {
    background-color: #FFFFFF;
    padding: 5rem 0;
}

/* Base News Card Shell */
.news-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 160, 211, 0.3);
    box-shadow: 0 16px 35px rgba(30, 160, 211, 0.12);
}

/* Image Thumbnail Container */
.news-img-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.06);
}

/* Floating Category Pill on Image */
.news-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(23, 26, 45, 0.85);
    backdrop-filter: blur(4px);
    color: var(--mml-yellow);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

/* Card Body Content */
.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #A0AEC0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A202C;
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

.news-card:hover .news-title {
    color: var(--mml-blue);
}

.news-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Read More Link Styling */
.news-read-more {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--mml-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: gap 0.25s ease;
}

.news-card:hover .news-read-more {
    gap: 10px;
}


/* --- FOOTER & MODAL CUSTOM STYLE ARCHITECTURE --- */

/* Footer Navigation Link Hover Effect (Mimics Nav Chevron Slide Language) */
.footer-nav-links a {
    color: #A0AEC0;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.25s ease;
}

.footer-nav-links a:hover {
    color: var(--mml-blue) !important;
    transform: translateX(4px);
}

/* Premium Trigger Action Button */
.btn-staff-portal {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #E2E8F0;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    transition: all 0.25s ease;
}

.btn-staff-portal:hover {
    background-color: rgba(30, 160, 211, 0.1);
    border-color: var(--mml-blue);
    color: #FFFFFF;
}

/* Premium Glassmorphic Modal Box Container Shell */
.custom-portal-modal {
    background: radial-gradient(circle at top left, #1A1F36 0%, #111422 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
}

.portal-icon-shield {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: rgba(30, 160, 211, 0.15);
    color: var(--mml-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Luxury Interactive Internal Navigation Gateways */
.portal-gate-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gate-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease;
}

.mail-box { background-color: rgba(30, 160, 211, 0.1); color: var(--mml-blue); }
.wp-box { background-color: rgba(250, 184, 44, 0.1); color: var(--mml-yellow); }

.gate-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #F7FAFC;
    line-height: 1.2;
}

.gate-desc {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #718096;
}

.gate-chevron {
    color: #4A5568;
    font-size: 13px;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Master Link Gate Hover State Interactions */
.portal-gate-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.portal-gate-link:hover .gate-chevron {
    color: #FFFFFF;
    transform: translateX(3px);
}

.portal-gate-link:hover .gate-icon-box {
    transform: scale(1.08);
}

/* Social Icon Quick Polish */
.social-footer-icons a {
    color: #718096;
    font-size: 16px;
    transition: color 0.25s ease;
}
.social-footer-icons a:hover {
    color: var(--mml-yellow);
}



/* --- ENHANCED PORTAL MODAL SIZE EXTENSIONS --- */

/* Override the dialog layout properties directly */
#staffPortalModal .modal-dialog {
    max-width: 440px; /* Expands width to a beautiful, readable golden ratio box profile */
    width: 90%;       /* Fluid fallback responsiveness for mobile viewports */
}

/* Add internal breathing room space splits to the card container */
.custom-portal-modal {
    padding: 12px; /* Generous inside bleed framing */
}

/* Scale up individual row link buttons */
.portal-gate-link {
    padding: 18px 22px; /* Amplified hit areas and vertical cushion spacing */
    margin-bottom: 4px;
}

/* Elevate the text layouts inside the gates */
.gate-title {
    font-size: 16px; /* Increased from 14px for sharp, rapid layout scanning */
    letter-spacing: -0.2px;
}

.gate-desc {
    font-size: 12px; /* Scaled up from 11px to match expanded row balances */
    margin-top: 2px;
}

/* Minor icon scaling balance tweak */
.gate-icon-box {
    width: 46px;
    height: 46px;
    font-size: 20px;
}


/* <!-- PREMIUM CONTACT STYLING EXTRAS -->  */
:root {
        --inq-blue: #1EA0D3;
        --inq-dark: #171A2D;
        --inq-yellow: #FAB82C;
        --inq-border: #DDE1E6;
    }
    .premium-contact-section {
        background-color: #FAFAFA;
    }
    /* Map Framing Architecture */
    .map-wrapper-premium {
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid var(--inq-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
        min-height: 400px;
    }
    /* Premium Form Panel Interface */
    .inquiry-card-premium {
        background: #FFFFFF;
        border: 1px solid #EFEFEF;
        border-radius: 16px;
        padding: 40px;
        box-shadow: 0 20px 50px rgba(23, 26, 45, 0.05);
    }
    .inquiry-badge {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--inq-blue);
        background-color: rgba(30, 160, 211, 0.08);
        padding: 5px 12px;
        border-radius: 4px;
        font-weight: 700;
    }
    .inquiry-label {
        font-size: 13.5px;
        font-weight: 600;
        color: var(--inq-dark);
        margin-bottom: 6px;
        display: inline-block;
    }
    /* Premium Form Inputs Override styling */
    .inquiry-control {
        display: block;
        width: 100%;
        height: 48px;
        padding: 10px 16px;
        font-size: 14px;
        color: #2D3142;
        background-color: #F8F9FA;
        border: 1px solid var(--inq-border);
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
    }
    .inquiry-control:focus {
        background-color: #FFFFFF;
        border-color: var(--inq-blue);
        outline: 0;
        box-shadow: 0 0 0 4px rgba(30, 160, 211, 0.12);
    }
    .inquiry-control.text-area-fix {
        height: auto !important;
        resize: none;
    }
    /* Poppy Submit CTA Action */
    .btn-inquiry-submit {
        background-color: var(--inq-dark);
        color: #FFFFFF;
        font-weight: 600;
        font-size: 15px;
        height: 50px;
        border: none;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(23, 26, 45, 0.15);
        transition: all 0.2s ease;
        cursor: pointer;
    }
    .btn-inquiry-submit:hover {
        background-color: var(--inq-blue);
        box-shadow: 0 6px 16px rgba(30, 160, 211, 0.25);
        transform: translateY(-1px);
    }



    /* ==========================================================================
   Premium Wide Dropdown Menu Overhaul (GG Attorneys Style)
   ========================================================================== */
/* The Drawer Container */
.navbar-nav .dropdown-menu {
    border-radius: 12px !important;
    background-color: #FFFFFF !important;
    padding: 12px 0 !important;
    margin-top: 15px !important;
    min-width: 240px !important; /* Extended width for a premium presence */
    border: 1px solid #EFEFEF !important;
    box-shadow: 0 15px 35px rgba(23, 26, 45, 0.1) !important; /* Deep luxury shadow */
}

/* Explicit Visibility & Contrast Rules for Links */
.navbar-nav .dropdown-item {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #171A2D !important; /* Forced ultra-dark blue contrast to prevent white-out */
    padding: 11px 24px !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    transition: all 0.25s ease-in-out !important;
}

/* Premium Interactive Hover State */
.navbar-nav .dropdown-item:hover {
    background-color: #F8F9FA !important; /* Soft gray background block */
    color: #000 !important; /* Transitions sharply to brand blue */
    padding-left: 30px !important; /* Dynamic micro-indentation effect */
}

/* Caret Indicator Rotation Fixes */
.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.355em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid #171A2D; /* Match the dark text matrix */
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

/* Desktop Hover Trigger Alignment */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .navbar-nav .nav-item.dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
        border-top-color: #1EA0D3; /* Caret changes color on active hover */
    }
}

/* Mobile Layout Fallbacks */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        min-width: 100% !important;
        box-shadow: none !important;
        border: 1px solid #F1F1F1 !important;
        background-color: #FAFAFA !important;
        margin: 5px 0 15px 0 !important;
        padding: 8px 0 !important;
    }
    .navbar-nav .dropdown-item {
        color: #171A2D !important;
        padding: 10px 20px !important;
    }
    .navbar-nav .dropdown-item:hover {
        padding-left: 24px !important;
    }
}


/* ==========================================================================
   Premium Navigation Spacing Adjustments
   ========================================================================== */
@media (min-width: 992px) {
    /* Increase the spacing layout across standard items */
    .navbar-nav .nav-item .nav-link {
        padding-left: 20px !important;
        padding-right: 20px !important;
        font-size: 13px !important;
        letter-spacing: 0.5px !important; /* Premium tracking feel */
        text-transform: uppercase;
        transition: color 0.25s ease;
    }

    /* Target the dropdown toggle link specifically to balance its spacing with the arrow icon */
    .navbar-nav .nav-item.dropdown .dropdown-toggle {
        padding-left: 20px !important;
        padding-right: 15px !important;
    }
    
    /* Push the menu container to utilize more available space naturally */
    .navbar-nav {
        gap: 8px; /* Adds a modern clean flexbox gap between the link items */
    }
}


/* Premium Process Step Cards Hover Architecture */
.process-step-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
    cursor: pointer;
}

.process-step-card .step-badge {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Hover States */
.process-step-card:hover {
    transform: translateY(-6px);
    background-color: #ffffff !important;
    border-color: var(--mml-blue) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
}

.process-step-card:hover .step-badge {
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(30, 160, 211, 0.3) !important;
}

/* Specific accent glow for final execution step */
.process-step-card:hover .step-badge-final {
    box-shadow: 0 8px 20px rgba(250, 184, 44, 0.4) !important;
}