/* Metalogix.ai — Homepage visual refinement only (.page-home) */

.page-home {
    --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%);
    --mx-gradient-framework: linear-gradient(135deg, #FF6B35 0%, #F59E0B 55%, #E8870B 100%);
    --space-xs: 16px;
    --space-sm: 32px;
    --space-md: 64px;
    --space-lg: 96px;
    --space-xl: 120px;
    scroll-padding-top: 88px;
}

.page-home .container {
    max-width: 1320px;
    padding-left: 32px;
    padding-right: 32px;
}

/* Header styles → metalogix-site.css (global) */

/* ── CTA buttons ── */
.page-home .witr_btn,
.page-home .dtbtn,
.page-home .metalogix_button a,
.page-home .contact_page_button .btn {
    background: var(--mx-gradient-cta) !important;
    background-image: var(--mx-gradient-cta) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(255, 110, 50, 0.25) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    font-weight: 600 !important;
}

.page-home .witr_btn:hover,
.page-home .dtbtn:hover,
.page-home .metalogix_button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 110, 50, 0.35) !important;
    color: #fff !important;
}

.page-home .witr_btn_outline {
    background: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
    border-radius: 14px !important;
}

.page-home .witr_btn_outline:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ── Hero ── */
.page-home .video_page_area .witr_ds_content:before {
    background: linear-gradient(90deg, rgba(5, 7, 13, 0.78), rgba(5, 7, 13, 0.38), rgba(5, 7, 13, 0.15)) !important;
}

.page-home .video_page_area .witr_ds_content_inner {
    max-width: 780px;
    padding-top: 48px;
}

.page-home .em40_header_area_main {
    position: relative;
    z-index: 10000;
}

.page-home .witr_ds_content_area {
    margin-top: 0;
}

.page-home .video_page_area .witr_containers {
    width: 100%;
    max-width: 780px;
}

.page-home .hero-promise {
    display: none;
}

.page-home .hero-metrics {
    display: none !important;
}

/* ── Section rhythm & spacing ── */
.page-home .mx-bg-white { background: #FFFFFF !important; }
.page-home .mx-bg-light { background: #FAFBFD !important; }
.page-home .mx-bg-solutions { background: #F8F9FC !important; }
.page-home .mx-bg-dark { background: #0B1120 !important; }

.page-home #features,
.page-home #capabilities {
    padding: var(--space-xl) 0 !important;
}

.page-home #outcomes,
.page-home #why-metalogix {
    padding: var(--space-xl) 0 !important;
    background: #FAFBFD !important;
}

.page-home #methodology.br_v_bg {
    padding: var(--space-lg) 0 var(--space-sm) !important;
    background: var(--mx-gradient-framework) !important;
}

.page-home #methodology.br_v_bg .witr_section_title_inner h3,
.page-home #methodology.br_v_bg .witr_section_title_inner p,
.page-home #methodology.br_v_bg .witr_icon_title i {
    color: #fff !important;
}

.page-home .mx-framework-steps {
    padding: var(--space-sm) 0 var(--space-xl) !important;
    background: #FFFFFF;
}

.page-home #solutions {
    padding: var(--space-xl) 0 !important;
    background: #F8F9FC !important;
}

.page-home #industries {
    padding: var(--space-xl) 0 !important;
    background: #0B1120 !important;
}

.page-home #industries .witr_section_title_inner h3,
.page-home #industries .witr_section_title_inner p,
.page-home #industries .witr_section_title_inner a {
    color: #fff !important;
}

.page-home #industries .witr_section_title_inner a {
    color: var(--mx-gold-text) !important;
    text-decoration: underline;
}

.page-home #industries .witr_icon_title i {
    color: var(--mx-gold-text) !important;
}

.page-home .br_test_area {
    padding: 80px 0 48px !important;
    background: #FFFFFF !important;
}

.page-home #insights.metalogix_blog_area {
    padding: 64px 0 80px !important;
    background: #FAFBFD !important;
}

.page-home #insights .witr_section_title {
    margin-bottom: 36px;
    text-align: center;
}

.page-home #insights .witr_section_title_inner {
    text-align: center !important;
}

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

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

.page-home #cta.br_call_area {
    padding: var(--space-lg) 0 !important;
    background: transparent !important;
}

.page-home #cta .all_cal_color {
    background: var(--mx-gradient-framework) !important;
    border-radius: 20px;
    padding: var(--space-md) var(--space-sm);
}

.page-home .witr_section_title {
    margin-bottom: 52px;
}

.page-home .witr_section_title_inner h1 {
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.35;
    font-weight: 600;
    color: #333;
}

/* ── Features intro typography ── */
.page-home #features .witr_section_title {
    margin-bottom: 48px;
}

.page-home #features .witr_section_title_inner h3 {
    font-size: clamp(30px, 3.2vw, 44px) !important;
    line-height: 1.35 !important;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
    color: #1a1a2e;
}

.page-home #features .witr_section_title_inner h1 {
    font-size: clamp(18px, 2vw, 28px) !important;
    line-height: 1.35 !important;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400 !important;
    color: #5a6270;
}

.page-home #features {
    padding: 64px 0 96px !important;
}

/* ── Testimonials ── */
.page-home .mx-testimonial-grid {
    row-gap: 32px;
}

.page-home .mx-testimonial-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-home .mx-testimonial-stars {
    color: #F59E0B;
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.page-home .mx-testimonial-quote {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
    flex-grow: 1;
}

.page-home .mx-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-home .mx-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #F59E0B);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-home .mx-testimonial-author strong {
    display: block;
    color: #1a1a2e;
    font-size: 15px;
}

.page-home .mx-testimonial-author span {
    display: block;
    color: #7c8494;
    font-size: 13px;
    margin-top: 2px;
}

.page-home .em_test_thumb,
.page-home .br_test_area .test_act {
    display: none !important;
}

/* ── Insight cards ── */
.page-home .mx-insight-card {
    display: flex;
    flex-direction: column;
    height: 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: 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-home .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);
}

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

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

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

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

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

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

.page-home #insights .row > [class*="col-"] {
    display: flex;
}

/* ── Enterprise footer ── */
.page-home .mx-footer-enterprise .footer-middle {
    padding: 80px 0 48px;
}

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

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

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

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

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

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

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

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

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

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

.page-home .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;
}

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

.page-home .mx-footer-enterprise .footer-bottom {
    padding: 24px 0;
}

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

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

/* ── Icons ── */
.page-home .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;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .mx-icon-wrap i {
    font-size: 30px;
    color: var(--mx-orange);
    -webkit-text-stroke: 0;
}

.page-home .medi_singleService:hover .mx-icon-wrap,
.page-home .singleSS:hover .mx-icon-wrap {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.12);
}

.page-home .medi_singleService img,
.page-home .singleSS .serIcon img,
.page-home .witr_image_title img {
    display: none !important;
}

.page-home .singleSS .serIcon {
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
}

.page-home .service_top_text .em-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 107, 53, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-home .service_top_text .em-service-icon i {
    color: var(--mx-orange) !important;
    font-size: 16px;
}

/* ── Feature & service cards ── */
.page-home .medi_singleService,
.page-home .singleSS {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

.page-home .medi_singleService:hover,
.page-home .singleSS:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.page-home .mx-framework-step {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-home .mx-framework-step .step-num {
    background: var(--mx-gradient-cta);
}

/* ── Outcomes dashboard visual ── */
.page-home .mx-dashboard-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(5, 7, 13, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.page-home .mx-dashboard-visual:hover {
    transform: scale(1.02);
}

.page-home .mx-dashboard-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.page-home .cir_witr_con {
    padding: 0;
}

/* ── Premium industry cards ── */
.page-home .mx-industry-card-v2 {
    position: relative;
    display: block;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 36px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .mx-industry-card-v2__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.page-home .mx-industry-card-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.page-home .mx-industry-card-v2__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    z-index: 2;
}

.page-home .mx-industry-card-v2__content h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}

.page-home .mx-industry-card-v2__content p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-size: 15px;
}

.page-home .mx-industry-card-v2:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 179, 1, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.page-home .mx-industry-card-v2:hover .mx-industry-card-v2__bg {
    transform: scale(1.04);
}

/* ── Why section image ── */
.page-home .ser2_img_inner img {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(5, 7, 13, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── Blog cards ── */
.page-home .single_blog_adn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.page-home .single_blog_adn:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.page-home .witr_ablog_thumb img {
    transition: transform 0.5s ease;
}

.page-home .single_blog_adn:hover .witr_ablog_thumb img {
    transform: scale(1.04);
}

/* ── Footer ── */
.page-home .witrfm_area {
    background: #0B1120 !important;
}

.page-home .footer-middle {
    background: #0B1120 !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-md);
}

.page-home .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;
}

.page-home .footer-middle .container {
    position: relative;
    z-index: 1;
}

.page-home .footer-bottom {
    background: #080D18 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .witrfm_area .widget-title,
.page-home .witrfm_area p,
.page-home .witrfm_area .menu li a,
.page-home .copy-right-text p,
.page-home .footer-menu ul li a {
    color: rgba(255, 255, 255, 0.72) !important;
}

.page-home .witrfm_area .widget-title {
    color: #fff !important;
}

.page-home .witrfm_area .menu li a:hover,
.page-home .footer-menu ul li a:hover,
.page-home .metalogix-description-area .phone a:hover {
    color: var(--mx-gold-text) !important;
}

.page-home .footer-sociala-icon i,
.page-home .witrfm_area .metalogix-logo-dot {
    color: var(--mx-gold-text) !important;
}

.page-home .mx-footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-home .mx-footer-services li {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
}

.page-home .mx-footer-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mx-gradient-cta);
}

/* ── Scroll reveal ── */
.page-home .mx-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-home .mx-reveal.mx-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Sound button ── */
.page-home .video_page_area .banner-video-sound {
    z-index: 10;
}

@media (max-width: 991px) {
    .page-home .mx-industry-card-v2 {
        height: 340px;
    }
    .page-home #features,
    .page-home #capabilities,
    .page-home #outcomes,
    .page-home #why-metalogix,
    .page-home .br_test_area,
    .page-home #insights.metalogix_blog_area {
        padding: var(--space-md) 0 !important;
    }
}

@media (max-width: 991px) {
    .page-home .mx-insight-card__image {
        height: 220px;
    }
    .page-home .video_page_area .witr_ds_content_inner h2 {
        font-size: 40px !important;
    }
}

@media (max-width: 767px) {
    .page-home {
        scroll-padding-top: 72px;
        overflow-x: hidden;
    }
    .page-home .metalogix_menu > ul.sub-menu > li > a {
        line-height: normal;
    }
    .page-home .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-home .mx-industry-card-v2 {
        height: 300px;
    }
    .page-home #features {
        padding: 64px 0 !important;
    }
    .page-home #features .witr_section_title_inner h3 {
        font-size: 30px !important;
    }
    .page-home #features .witr_section_title_inner h1 {
        font-size: 22px !important;
    }
    .page-home .witr_section_title_inner h3 {
        font-size: 28px !important;
    }
    .page-home .video_page_area .witr_ds_content_inner h2 {
        font-size: clamp(32px, 8vw, 44px) !important;
    }
    .page-home .mx-insight-card__image {
        height: 200px;
    }
    .page-home .mx-testimonial-card {
        padding: 24px;
    }
    .page-home .mx-footer-enterprise .footer-middle {
        padding: 56px 0 32px;
    }
}
