/**
 * SWARCS ENGINEERING - SERVICE ARCHITECTURE
 * (c) 2006-2026 Software Architectures and Solutions d.o.o. Novi Sad.
 * All Rights Reserved.
 *
 * MODULE: MULTI-FACETED SERVICE INTERFACE
 * Implements complex layout patterns including:
 * - Alternating (Zig-Zag) content rows for narrative flow.
 * - Dynamic Engagement Models grid with featured focus.
 * - Canvas-based Data Visualization wrappers.
 */

/* * GLOBAL PAGE CONFIGURATION
 * Enforces strict black-mode baseline for high-tech aesthetics.
 */
.services-page {
    background-color: var(--bg-black);
    color: var(--text-primary);
    overflow-x: hidden;
}

.services-page .main-content-bg {
    background-color: var(--bg-black);
}

/* * HERO SECTION & NAVIGATION
 * Tactical entry point utilizing parallax depth and breadcrumb hierarchy.
 */
.services-page .page-hero-parallax {
    padding: 180px 0;
    background-image: url('../images/services_bck_big.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-page .hero-content-inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.services-page .page-hero-parallax .emphasis-text {
    font-family: 'Neuropolitical', sans-serif !important;
    font-size: 40px !important;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: var(--ts-hero-outline)
}

.services-page .hero-subtitle {
    display: block;
    font-family: 'Lato', sans-serif !important;
    font-size: 20px;
    font-style: italic;
    color: var(--text-primary);
    margin-top: 15px;
    font-weight: 300;
    text-shadow: var(--ts-hero-outline)
}

.services-page .breadcrumb-nav {
    font-family: 'Lato', sans-serif !important;
    font-size: 13px;
    text-transform: capitalize;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.services-page .breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.services-page .breadcrumb-nav a:hover {
    color: var(--accent-blue);
}

.services-page .breadcrumb-nav .separator {
    margin: 0 8px;
}

/* * SECTION HEADINGS (CENTRALIZED)
 * Standardized typography blocks for architectural consistency.
 */
.services-page .center-heading {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.services-page .center-heading .emphasis-text {
    font-family: 'Neuropolitical', sans-serif !important;
    font-size: 32px !important;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.services-page .center-heading .desc-text {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: block;
    text-shadow: none !important;
}

.services-page .heading-underline.center {
    width: 35px;
    height: 2px;
    background-color: var(--accent-blue);
    display: block !important;
    margin: 0 auto !important;
}

/* * ALTERNATING CONTENT ROWS (ZIG-ZAG)
 * Narrative layout for detailed service descriptions.
 */
.services-page .service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
}

.services-page .service-row.inverted {
    flex-direction: row-reverse;
}

.services-page .service-image-container {
    flex: 0 0 48%;
    height: 330px;
    border: 1px solid #111;
    background: #050505;
    overflow: hidden;
}

.services-page .service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.services-page .section-heading {
    font-family: 'Neuropolitical', sans-serif !important;
    color: var(--text-primary);
    font-size: 26px;
    margin-bottom: 5px;
}

.services-page .section-sub {
    font-family: 'Lato', sans-serif !important;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 300;
}

.services-page .heading-underline {
    width: 35px;
    height: 2px;
    background-color: var(--accent-blue);
    margin: 18px 0 28px 0;
}

.services-page .service-text .heading-underline {
    margin: 25px 0 35px 0 !important;
}

.services-page .service-text .btn-swarcs-outline {
    display: inline-block !important;
    margin-top: 50px !important;
}

.services-page .service-text p {
    font-family: 'Lato', sans-serif !important;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 15px;
}

.services-page .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #1a1a1a, transparent);
    width: 100%;
}

/* * ENGAGEMENT MODELS GRID
 * Logical cards for commercial and operational partnerships.
 */
.services-page .models-section {
    padding: 70px 0;
    background-color: #050505;
    border-top: 1px solid #111;
}

.services-page .models-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-page .model-card {
    flex: 1;
    border: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: transparent;
    transition: all 0.4s ease;
}

.services-page .model-card.featured {
    background: var(--bg-black);
    transform: scale(1.05);
    z-index: 5;
    border: 1px solid #333;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.services-page .model-card .card-header {
    padding: 40px 20px;
    border-bottom: 1px solid #1a1a1a;
}

.services-page .model-card h3 {
    font-family: 'Neuropolitical', sans-serif !important;
    font-size: 16px !important;
    color: var(--text-primary);
    margin: 0;
}

.services-page .model-card .card-body {
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.services-page .model-card .card-body .model-tag {
    font-family: 'Lato', sans-serif !important;
    font-size: 12px;
    color: var(--accent-blue);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.services-page .model-card .card-body p {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.services-page .model-card .heading-underline {
    margin: 15px auto 30px auto !important;
}

.services-page .btn-swarcs-outline {
    margin-top: 40px !important;
    padding: 13px 28px;
    border: 1px solid #222;
    color: #888;
    text-decoration: none;
    font-family: 'Lato', sans-serif !important;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s;
}

.services-page .btn-swarcs-outline:hover {
    border-color: var(--accent-blue);
    color: #fff;
}

/* * CHARTS & DATA VISUALIZATION
 * Optimized containers for Chart.js performance monitoring displays.
 */
.services-page .charts-section {
    padding: 60px 0;
    background: var(--bg-black);
}

.services-page .chart-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1150px;
    margin: 0 auto;
}

.services-page .chart-box {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-page .canvas-wrapper {
    width: 450px !important;
    height: 450px !important;
    position: relative;
    margin-bottom: 20px;
}

.services-page .chart-text h4 {
    font-family: 'Neuropolitical', sans-serif !important;
    font-size: 18px !important;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.services-page .chart-text p {
    font-family: 'Lato', sans-serif !important;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.services-page .tech-list {
    list-style: none;
    padding: 0;
}

.services-page .tech-list li {
    font-family: 'Lato', sans-serif !important;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.services-page .tech-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 10px;
    top: 3px;
}

.services-page .chart-label-center {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #555;
    font-family: 'Lato', sans-serif !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-row .service-image-container.cta-visual {
    height: auto !important;
    min-height: 400px;
    padding: 30px;
    background: var(--bg-black);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-standard);
    display: flex;
    align-items: center;
}

.service-row .service-image-container.cta-visual img {
    object-fit: contain !important;
    opacity: 1 !important;
    width: 100%;
}

/* * PARTNERSHIP FEATURES GRID
 * Functional highlights for strategic connectivity.
 * REVISED: Optimized for Pixel 7 Pro Rendering.
 */
.partnership-features-container {
    padding: 80px 0;
    background: var(--bg-black);
}

.partnership-features-grid {
    display: flex;
    justify-content: space-between;
    gap: 0;
}

.p-feature-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0 30px;
    border-right: 1px solid var(--border);
}

.p-feature-item:last-child {
    border-right: none;
    padding-left: 0;
}

/* Container for the icon icon to ensure centered GPU paint */
.p-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
}

.p-feature-icon i {
    font-family: 'font-icons' !important;
    font-style: normal !important;
    font-size: 48px;
    display: block;
    line-height: 1 !important;
    position: relative;
    color: transparent;
    width: 48px;
    height: 48px;
    text-indent: 0;
    overflow: visible;
}

.p-feature-icon i:before {
    color: var(--text-muted);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    text-indent: 0;
}

.p-feature-text h3 {
    font-family: 'Neuropolitical', sans-serif !important;
    font-size: 16px !important;
    letter-spacing: 1px;
    color: var(--text-dark);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.p-heading-underline {
    width: 25px;
    height: 1px;
    background-color: var(--accent-blue);
    margin: 15px 0 20px 0 !important;
}

.p-feature-text p {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.9;
    color: var(--text-secondary) !important;
    font-weight: normal;
    font-style: normal;
    margin: 0;
}

/* * RESPONSIVE ADAPTATIONS
 * Media thresholds for multi-device layout integrity.
 */
@media (max-width: 991px) {
    .services-page .service-row,
    .services-page .chart-row,
    .services-page .models-grid {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }

    .services-page .service-image-container {
        width: 100%;
        height: 280px;
    }

    .services-page .model-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }

    .services-page .canvas-wrapper {
        width: 320px !important;
        height: 320px !important;
    }

    .services-page .chart-box {
        flex: 0 0 auto;
        width: 100%;
    }

    .partnership-features-grid {
        flex-direction: column;
        gap: 50px;
    }

    .p-feature-item {
        border-left: none;
        border-bottom: 1px solid var(--border-mobile);
        padding-left: 0;
        padding-bottom: 40px;
        border-right: none;
        align-items: center;
        text-align: center;
    }

    .p-feature-item .p-heading-underline {
        margin: 15px auto 20px auto !important;
    }
}