/* Metalogix.ai — Global site: header consistency, inner heroes, enterprise footer */

:root {
    --mx-orange: #FF6B35;
    --mx-gold: #F59E0B;
    --mx-gold-text: #F5B301;
    --mx-dark: #0B1120;
    --mx-header-bg: rgba(8, 11, 18, 0.95);
    --mx-gradient-cta: linear-gradient(90deg, #FF6B35 0%, #F59E0B 100%);
}

body {
    scroll-padding-top: 88px;
}

/* ── Unified header (all pages) ── */
.trp_nav_area {
    background: var(--mx-header-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-height: 76px;
    display: flex;
    align-items: center;
}

.trp_nav_area .row.logo-left {
    min-height: 76px;
    align-items: center;
    width: 100%;
}

.hbg2 .trp_nav_area,
.metalogix_nav_area.prefix .trp_nav_area {
    min-height: 64px;
}

.hbg2 .trp_nav_area .row.logo-left {
    min-height: 64px;
}

.trp_nav_area .metalogix_menu > ul.sub-menu > li > a {
    margin: 0 !important;
    padding: 0 13px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 76px;
    color: #fff !important;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.hbg2 .trp_nav_area .metalogix_menu > ul.sub-menu > li > a {
    line-height: 64px;
}

.trp_nav_area .metalogix_menu > ul.sub-menu > li > a:hover {
    color: var(--mx-gold-text) !important;
}

.tx_mmenu_together {
    gap: 12px !important;
}

.donate-btn-header .dtbtn {
    background: var(--mx-gradient-cta) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 11px 18px !important;
    box-shadow: 0 10px 30px rgba(255, 110, 50, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-btn-header .dtbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 110, 50, 0.35);
    color: #fff !important;
}

.em40_header_area_main .logo {
    flex-shrink: 0;
}

.trp_nav_area .metalogix_menu > ul.sub-menu {
    flex-wrap: nowrap;
}

@media (max-width: 1199px) {
    .trp_nav_area .metalogix_menu > ul.sub-menu > li > a {
        padding: 0 9px !important;
        font-size: 13px !important;
    }
    .donate-btn-header .dtbtn {
        font-size: 12px !important;
        padding: 10px 14px !important;
    }
}

/* ── Inner page hero ── */
.mx-page-hero,
.mx-about-hero {
    position: relative;
    min-height: 400px;
    padding: 48px 0 56px;
    background: linear-gradient(135deg, #0B1120 0%, #141d30 45%, #1a2744 70%, #2d1f14 100%);
    overflow: hidden;
}

.mx-page-hero::before,
.mx-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 40%, rgba(255, 107, 53, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mx-page-hero__mesh,
.mx-about-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.3) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.mx-page-hero .container,
.mx-about-hero .container {
    position: relative;
    z-index: 2;
}

.mx-page-hero__breadcrumb,
.mx-about-hero__breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.mx-page-hero__breadcrumb a,
.mx-about-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.mx-page-hero__breadcrumb a:hover,
.mx-about-hero__breadcrumb a:hover {
    color: var(--mx-gold);
}

.mx-page-hero__label,
.mx-about-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mx-gold);
    margin-bottom: 16px;
}

.mx-page-hero h1,
.mx-about-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.mx-page-hero h1 span,
.mx-about-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #FF6B35, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mx-page-hero__sub,
.mx-about-hero__sub {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin: 20px 0 28px;
}

.mx-page-hero__cta,
.mx-about-hero__cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, #FF6B35, #F59E0B);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mx-page-hero__cta:hover,
.mx-about-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.35);
    color: #fff !important;
}

.mx-page-hero__visual,
.mx-about-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-page-hero__visual img,
.mx-about-hero__visual img {
    width: 100%;
    max-width: 440px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

body.has-inner-hero .breadcumb-area {
    display: none !important;
}

.mx-inner-section {
    padding: 80px 0;
    background: #FAFBFD;
}

.mx-inner-section--white {
    background: #fff;
}

.mx-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mx-icon-wrap i {
    font-size: 30px;
    color: var(--mx-orange);
}

a.mx-solution-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.mx-solution-card:hover {
    color: inherit;
}

.mx-solution-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef0f4;
    padding: 32px;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mx-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.mx-solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--mx-dark);
    margin-bottom: 12px;
}

.mx-solution-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* Inner page CTA (match homepage) */
#cta.br_call_area {
    padding: 96px 0 !important;
    background: #FAFBFD !important;
}

#cta .all_cal_color {
    background: linear-gradient(135deg, #FF6B35 0%, #F59E0B 55%, #E8870B 100%) !important;
    border-radius: 20px;
    padding: 64px 32px;
}

#cta .metalogix_content h2,
#cta .metalogix_content p {
    color: #fff !important;
}

/* Insight cards (homepage + insights page) */
.mx-insights-grid .row > [class*="col-"] {
    display: flex;
}

.mx-insight-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    text-decoration: none !important;
    color: inherit;
    margin-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mx-insight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.mx-insight-card__image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.mx-insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mx-insight-card:hover .mx-insight-card__image img {
    transform: scale(1.04);
}

.mx-insight-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(11, 17, 32, 0.75);
    color: #F59E0B;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.mx-insight-card__body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mx-insight-card__body h3 {
    font-size: 20px;
    line-height: 1.35;
    color: #1a1a2e;
    margin: 0 0 12px;
    font-weight: 700;
}

.mx-insight-card__body p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.mx-insight-card__link {
    color: #FF6B35;
    font-weight: 600;
    font-size: 14px;
}

.mx-insight-card__link i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.mx-insight-card:hover .mx-insight-card__link i {
    transform: translateX(4px);
}

.mx-insights-section {
    padding: 64px 0 80px;
    background: #FAFBFD;
}

.mx-insights-section .witr_section_title {
    margin-bottom: 36px;
    text-align: center;
}

.mx-insights-section .witr_section_title_inner {
    text-align: center !important;
}

.mx-insights-section .witr_section_title_inner h3 {
    text-align: center !important;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 auto 12px;
}

.mx-insights-section .witr_section_title_inner p {
    text-align: center !important;
    max-width: 680px;
    margin: 0 auto !important;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .mx-insight-card__image {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .mx-insight-card__image {
        height: 200px;
    }
    .mx-insights-section {
        padding: 48px 0 64px;
    }
}

/* ── Enterprise footer (all pages) ── */
.mx-footer-enterprise,
.witrfm_area.mx-footer-enterprise {
    background: #0B1120 !important;
}

.mx-footer-enterprise .footer-middle {
    background: #0B1120 !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 48px;
}

.mx-footer-enterprise .footer-middle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cpath fill='%23ffffff' fill-opacity='0.06' d='M0 300c120-40 240-60 360-50s240 80 360 70 240-90 360-80 120 50 120 50v210H0z'/%3E%3C/svg%3E") center/cover no-repeat;
    opacity: 1;
    pointer-events: none;
}

.mx-footer-enterprise .footer-middle .container {
    position: relative;
    z-index: 1;
}

.mx-footer-enterprise .footer-bottom {
    background: #080D18 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.mx-footer-col {
    margin-bottom: 32px;
}

.mx-footer-col .metalogix-logo {
    margin-bottom: 20px;
}

.mx-footer-col > p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.mx-footer-contact {
    margin-bottom: 8px !important;
}

.mx-footer-contact a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    text-decoration: none;
}

.mx-footer-contact a:hover {
    color: #F59E0B !important;
}

.mx-footer-contact i {
    color: #F59E0B;
    margin-right: 8px;
    width: 16px;
}

.mx-footer-col .widget-title {
    color: #fff !important;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.mx-footer-col .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mx-footer-col .menu li {
    margin-bottom: 10px;
}

.mx-footer-col .menu li a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mx-footer-col .menu li a:hover {
    color: #F59E0B !important;
}

.mx-footer-enterprise .copy-right-text p {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px;
    margin: 0;
}

.mx-footer-tagline {
    color: rgba(255, 255, 255, 0.38) !important;
    font-size: 12px;
    margin-top: 8px !important;
    letter-spacing: 0.04em;
}

.cont_witr_inner .mx-contact-gst {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.mx-footer-enterprise .metalogix-logo-dot {
    color: #F5B301 !important;
}

@media (max-width: 991px) {
    .mx-page-hero,
    .mx-about-hero {
        min-height: auto;
        padding: 40px 0 48px;
    }
    .mx-page-hero__visual,
    .mx-about-hero__visual {
        margin-top: 36px;
    }
}
