/*
Theme Name: Formexa Studio
Theme URI: https://formexastudio.com/
Description: Formexa Studio
Author: Formexa Studio
Version: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: boyc
Text Domain: formexa-studio
*/
/* Custom styles */
/* Child Theme Custom CSS */
.custom-service-layout .pxl-grid .pxl-grid-item {
    padding: 0 0 10px 0;
}
.pxl-text-storke.accent-color .pxl-heading .pxl-item--title {
    -webkit-text-stroke-color: #4B29C9;
}
.gutter-15 .pxl-grid .pxl-grid-item{
    padding: 0 0 15px 0;
}
.pxl-logo-mobile .pxl-logo--light {
  display: none;
}
.formexa-industry-services__right .formexa-industry-preview__title {
    font-size: 22px;
    line-height: 30px;
}
/* =========================================
   INDUSTRY SERVICES
========================================= */
.formexa-industry-services {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 80px;
    align-items: start;
}
/* =========================================
   LEFT COLUMN
========================================= */
.formexa-industry-services__left {
    width: 100%;
}
.formexa-industry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #777;
    cursor: pointer;
}
.formexa-industry-item:first-child {
    padding-top: 0;
}
.formexa-industry-item__content {
    flex: 1;
}
.formexa-industry-item__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.1;
}
.formexa-industry-item__excerpt {
    font-size: 15px;
    line-height: 1.6;
}
.formexa-industry-item__excerpt p {
    margin: 0;
}
.formexa-industry-item__button {
    flex-shrink: 0;
}
.formexa-industry-item__link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(90deg, #3a6cff 0%, #8a3ffc 100%);
    color: #fff;
    text-decoration: none;
    transition:
        opacity .25s ease,
        transform .25s ease;
}
.formexa-industry-item__link:hover {
    background: linear-gradient(90deg, #3a6cff 0%, #8a3ffc 100%);
    color: #fff;
    opacity: 0.9;
    transform: translateY(-2px);
}
/* =========================================
   RIGHT COLUMN - STICKY
========================================= */
.formexa-industry-services__right {
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}
/* =========================================
   IMAGE
========================================= */
.formexa-industry-preview {
    width: 100%;
    overflow: hidden;
}
.formexa-industry-preview__link {
    display: block;
}
.formexa-industry-preview__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition:
        opacity .25s ease,
        transform .5s ease;
}
.hide-lg{
        display: none !important;
    }
.btn-industry a .elementor-button-text {
    position: relative;
}
.btn-industry a .elementor-button-text:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 1px;
    background-color: #444;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}
.btn-industry a:hover .elementor-button-text:before{
     background-color: #000;
}
.pxl-service-grid-layout1 a.btn.btn-default {
    z-index: 2;
}
/* =========================================
   PRICING
========================================= */
.fmax-pricing-container {
    display: flex;
    flex-wrap: wrap;
}
.fmax-pricing-container>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.formexa-industry-preview__content{
    margin-top: 20px;
    margin-bottom: 20px;
}
.elementor-element.grid-display {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 3px;
    padding: 3px;
    height: 75vh;
}
/* Ensure inner images crop properly without stretching or distorting */
.elementor-element.grid-display .elementor-widget-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.elementor-element.grid-display .elementor-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.elementor-element.grid-display .elementor-widget-image:nth-child(1) {
    grid-area: 1 / 1 / 3;
    background: rgb(26, 26, 24);
    opacity: 1;
    transform: none;
}
.elementor-element.grid-display .elementor-widget-image:nth-child(2) {
    grid-area: 1 / 2;
    background: rgb(26, 26, 24);
    opacity: 1;
    transform: none;
}
.elementor-element.grid-display .elementor-widget-image:nth-child(3) {
   grid-area: 2 / 2;
    background: rgb(26, 26, 24);
    opacity: 1;
    transform: none;
}
.elementor-element.grid-display .elementor-widget-image:nth-child(4) {
   grid-area: 3 / 1;
    background: rgb(26, 26, 24);
    opacity: 1;
    transform: none;
}
.elementor-element.grid-display .elementor-widget-image:nth-child(5) {
    grid-area: 3 / 2;
    background: rgb(26, 26, 24);
    opacity: 1;
    transform: none;
}
/* .split-main {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    gap: 0;
}
.split-left {
    width: calc(50% + 0px);
    padding-left: max(0px, calc((100vw - 1306px) / 2));
    box-sizing: border-box;
}
.split-right {
    width: 50%;
    box-sizing: border-box;
} */
/* =========================================
   MOBILE
========================================= */
@media (min-width: 1024px) {
    .fmax-pricing {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}
@media (max-width: 1023px) {
   .fmax-pricing {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 20px;
    }
    .fmax-pricing-container>* {
    padding-right: 10px;
    padding-left: 10px;
}
}
@media (max-width: 767px) {
    .formexa-industry-services {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .formexa-industry-services__right {
        position: relative;
        top: auto;
        order: -1;
    }
    .formexa-industry-item {
        gap: 20px;
        align-items: flex-start;
    }
    .formexa-industry-item__title {
        font-size: 19px;
    }
    .formexa-industry-item__excerpt {
        font-size: 14px;
    }
    .formexa-industry-item__link {
        padding: 10px 16px;
        font-size: 14px;
    }
    .hide-lg{
        display: block !important;
    }
    .hide-sm{
        display: none !important;
    }
    .pxl-item--center .pxl-button{
        margin-top: 15px;
    }
    .fmax-pricing {
               width: 100%;
    }
}