/* Main Wrapper */
.pft-section-wrapper {
    box-sizing: border-box;
    display: block !important;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    width: 100% !important;
}

/* Force our own layout - don't inherit from Elementor containers */
.pft-section-wrapper {
    display: block !important;
    flex-direction: initial !important;
    flex-wrap: initial !important;
}

/* Fix for specific Elementor container with ID fix-mobile-pft */
#fix-mobile-pft .pft-section-wrapper {
    display: block !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

#fix-mobile-pft .pft-top-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    #fix-mobile-pft .pft-top-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    #fix-mobile-pft .pft-content-column,
    #fix-mobile-pft .pft-devices-wrapper {
        max-width: 100% !important;
        width: 100% !important;
    }
}

.pft-section-wrapper * {
    box-sizing: border-box;
}

/* Top Row: 1 column content + 3 columns devices */
.pft-top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
}

/* Content Column (25%) */
.pft-content-column {
    display: flex;
    flex: 0 0 25%;
    flex-direction: column;
    max-width: 25%;
    min-width: 0;
}

/* Heading Styles */
.pft-content-column .prelements-heading .title-inner {
    margin-bottom: 15px;
}

.pft-content-column .sub-text {
    color: #666;
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pft-content-column .title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.pft-content-column .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

/* Arrows in Content Column */
.pft-section-wrapper .slider-arrows {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.pft-section-wrapper .arrow-btn {
    align-items: center;
    background: #007cba;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 0;
    height: 60px;
    justify-content: center;
    transition: all 0.3s ease;
    width: 60px;
}

.pft-section-wrapper .arrow-btn span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.pft-section-wrapper .arrow-btn:hover:not(:disabled) {
    background: #005a87;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
    transform: translateY(-2px);
}

.pft-section-wrapper .arrow-btn:active:not(:disabled) {
    transform: translateY(0);
}

.pft-section-wrapper .arrow-btn:disabled,
.pft-section-wrapper .arrow-btn.disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Devices Wrapper (75%) */
.pft-devices-wrapper {
    flex: 0 0 75%;
    max-width: 75%;
    min-width: 0;
    overflow: hidden;
}

.pft-section-wrapper .rsaddon-unique-slider {
    width: 100%;
}

.pft-section-wrapper .rs-addon-slider {
    display: flex;
    gap: 20px;
    width: 100%;
}

.pft-section-wrapper .rs-addon-slider .grid-item {
    display: none;
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    min-width: 0;
}

.pft-section-wrapper .rs-addon-slider .grid-item:nth-child(-n+3) {
    display: block;
}

/* Service Card */
.pft-section-wrapper .rs-service-slider {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pft-section-wrapper .rs-service-slider:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Image */
.pft-section-wrapper .service-img {
    background: #f5f5f5;
    overflow: hidden;
    padding-top: 75%;
    position: relative;
    width: 100%;
}

.pft-section-wrapper .service-img img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Content */
.pft-section-wrapper .service-title-holder {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.pft-section-wrapper .service-content-area {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pft-section-wrapper .service-title {
    margin-bottom: 10px;
}

.pft-section-wrapper .service-title h3.title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin: 0;
}

.pft-section-wrapper .service-title h3.title a {
    color: var(--e-global-color-b3dbd4f);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pft-section-wrapper .service-title h3.title a:hover {
    color: var(--e-global-color-b3dbd4f);
}

.pft-section-wrapper .service-desc {
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
    color: #535a5e;
    flex-grow: 1;
    margin-bottom: 15px;
}

.pft-section-wrapper .numbering.number-line {
/*     color: #e0e0e0; */
/*     font-size: 36px; */
/*     font-weight: 700; */
    margin-bottom: 10px;
	position: relative;
    z-index: 2;
    font-size: 52px;
    font-weight: 700;
    line-height: 60px;
    color: #f5f5f6;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: block;
}

.pft-section-wrapper .numbering.number-line:after {
    content: "";
    position: absolute;
    width: 185px;
    height: 1px;
    background-color: #f5f5f6;
    right: 0px;
    bottom: 80%;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.pft-section-wrapper .read__more {
    margin-top: auto;
}

.pft-section-wrapper .btn-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #616161;
    font-weight: 500;
    gap: 8px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.pft-section-wrapper .btn-area:hover {
    gap: 12px;
}

.pft-section-wrapper .btn-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.pft-section-wrapper .btn-icon {
    background-color: #e6e6e9;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    display: inline-block;
    text-align: center;
    line-height: 28px;
}

/* Grid Row (Expanded State) */
.pft-grid-row {
    margin-top: 30px;
    max-width: 100%;
    width: 100%;
}

.pft-devices-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    width: 100%;
}

.grid-card {
    display: block;
    min-width: 0;
}

/* Button Row */
.pft-section-wrapper .pft-button-row {
    display: block !important;
    margin-top: 30px;
    text-align: center;
    visibility: visible !important;
}

.pft-section-wrapper .rs-button.style1 {
    text-align: center;
}

.pft-section-wrapper .rs-button.style1 .rs-btn {
    background: #007cba;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pft-section-wrapper .rs-button.style1 .rs-btn:hover {
    background: #005a87;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    transform: translateY(-2px);
}

.pft-section-wrapper .rs-button .rs-btn:before {
    background: #005a87!important;
}

/* Responsive */
@media (max-width: 1024px) {
    .pft-top-row {
        flex-direction: column;
    }
    
    .pft-content-column,
    .pft-devices-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .pft-devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pft-section-wrapper {
        overflow-x: hidden;
    }

    .pft-top-row {
        gap: 20px;
        margin-bottom: 20px;
    }

    .pft-content-column {
        max-width: 100%;
    }

    .pft-devices-wrapper {
        max-width: 100%;
    }

.pft-section-wrapper .rs-addon-slider {
        gap: 0;
        max-width: 100%;
    }
    
    .pft-section-wrapper .rs-addon-slider .grid-item:nth-child(-n+3) {
        display: none;
    }
    
    .pft-section-wrapper .rs-addon-slider .grid-item:first-child {
        display: block;
    }
    
    .pft-section-wrapper .rs-addon-slider .grid-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .pft-devices-grid {
        gap: 15px;
        grid-template-columns: 1fr;
    }
    
    .pft-grid-row {
        margin-top: 20px;
    }

    .pft-button-row {
        margin-top: 20px;
    }
    
    .pft-content-column .title {
        font-size: 24px;
    }
    
    .pft-section-wrapper .arrow-btn {
        height: 50px;
        width: 50px;
    }
    
    .pft-section-wrapper .arrow-btn span {
        font-size: 20px;
    }
    
    .service-title h3.title {
        font-size: 18px;
    }

    .service-desc {
        font-size: 13px;
    }

    .service-title-holder {
        padding: 15px;
    }
}
