/* ===================================================================================

Theme Name: Tekmino Child
Theme URI: https://tekmino.themejunction.net/
Author: Theme Junction
Author URI: https://themeforest.net/user/theme-junction/portfolio
Description: Tekmino is an IT Solutions & Services WordPress Theme.
Version: 1.0.0
Template: tekmino
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

We encourage you to create Child theme for any modifications you will want to do.

====================================================================================== */

/* ===================================================================================
   GROSIO SERVICE PAGE STYLES (SCOPED - SAFE FOR OTHER PAGES)
   These styles ONLY apply to the "Service Details" post type.
   ====================================================================================== */

/* 1. Page Layout (Scoped to .single-services) */

/* Hide default Breadcrumb/Title Bar ONLY on Service Pages to show custom Hero */
body.single-services .breadcrumb-area,
body.single-services .tj-breadcrumb-area,
body.single-services .page-title-area,
body.single-services section.breadcrumb-wrapper {
    display: none !important;
}

/* Hide Sidebar ONLY on Service Pages */
body.single-services .widget-area,
body.single-services .sidebar,
body.single-services #secondary,
body.single-services .tj-service-sidebar,
body.single-services .col-lg-4 {
    display: none !important;
}

/* Force Content to Full Width ONLY on Service Pages */
body.single-services .col-lg-8,
body.single-services .tj-main-content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Dark Background ONLY for Service Content Area */
body.single-services .grosio-service-content-area,
body.single-services .site-content {
    background-color: #050505;
    /* Gamma Dark */
    color: #ffffff;
}

/* Widen the Container ONLY for Service Pages */
body.single-services .grosio-service-content-area .container,
body.single-services .site-content .container {
    max-width: 1400px !important;
    width: 96% !important;
}

/* 2. Hero Section */
.grosio-service-hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: #000;
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grosio-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, #050505 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grosio-hero-title {
    font-size: 64px !important;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    /* User Font Preference: Inherit from Theme */
    font-family: inherit !important;
}

/* 3. Grosio Layout Engine (Applies to content pasted in Elementor) */

/* Structural Wrapper */
.grosio-layout-section {
    margin-bottom: 100px;
    position: relative;
    z-index: 5;
}

/* Headers */
.grosio-layout-header h2 {
    font-size: 42px !important;
    text-align: center;
    margin-bottom: 60px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-weight: 700 !important;
}

/* Grid System */
.grosio-grid-wrapper {
    display: grid;
    gap: 24px;
    width: 100%;
}

/* Grid Columns */
.grosio-layout-grid-3 .grosio-grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
}

.grosio-layout-grid-2 .grosio-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
}

/* Card Styling (Glass Effect) */
.grosio-grid-wrapper>div,
.grosio-glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.grosio-grid-wrapper>div:hover,
.grosio-glass-card:hover {
    transform: translateY(-5px);
    border-color: #7141b1;
    /* Theme Accent Color assumption */
    background: rgba(255, 255, 255, 0.05);
}

.grosio-grid-wrapper h3,
.grosio-card-title {
    font-size: 20px !important;
    margin-bottom: 12px !important;
    color: #fff !important;
    font-family: inherit !important;
}

.grosio-grid-wrapper p,
.grosio-card-excerpt {
    color: #9CA3AF !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    font-family: inherit !important;
}

/* Split Layout (Intro) */
.grosio-layout-split .grosio-layout-body {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.grosio-layout-split .grosio-layout-body>* {
    flex: 1 1 400px;
}

.grosio-layout-body img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    height: auto;
}

/* 4. Fix for Existing Lists (Fallback) */
/* Only applies inside single services to avoid messing up other pages */
body.single-services .tj_list,
body.single-services .service-details-content ul:not(.grosio-grid-wrapper) {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
}

body.single-services .tj_list li,
body.single-services .service-details-content ul li {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-bottom: 0 !important;
}

/* ===================================================================================
   TEAM PAGE STYLES
   Styling for team page sections added via functions.php
   ====================================================================================== */

/* Base Team Section Styling */
.grosio-team-section {
    padding: 80px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Section Titles */
.grosio-section-title {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
}

.grosio-section-desc {
    font-size: 18px !important;
    color: #9CA3AF !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    font-family: inherit !important;
}

.grosio-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #7141b1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Capability Cards Grid */
.grosio-capability-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.grosio-capability-card:hover {
    transform: translateY(-8px);
    border-color: #7141b1;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(113, 65, 177, 0.15);
}

.grosio-capability-icon {
    font-size: 48px;
    color: #7141b1;
    margin-bottom: 24px;
    line-height: 1;
}

.grosio-capability-icon i {
    display: block;
}

.grosio-capability-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
    font-family: inherit !important;
}

.grosio-capability-desc {
    font-size: 16px !important;
    color: #9CA3AF !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    font-family: inherit !important;
}

/* Feature Lists */
.grosio-feature-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 32px 0 0 0 !important;
    text-align: left !important;
    display: inline-block;
    width: auto;
}

.grosio-feature-list li {
    font-size: 18px !important;
    color: #E5E7EB !important;
    margin-bottom: 20px !important;
    padding-left: 40px !important;
    position: relative;
    line-height: 1.6 !important;
    font-family: inherit !important;
}

.grosio-feature-list li:last-child {
    margin-bottom: 0 !important;
}

/* Check Icon Styling */
.grosio-check-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: rgba(113, 65, 177, 0.2);
    border: 2px solid #7141b1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #7141b1;
    font-weight: bold;
}

/* Star Icon Styling */
.grosio-star-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    color: #FFD700;
}

/* Specific Section Adjustments */
.grosio-team-expert {
    padding-bottom: 60px;
}

.grosio-team-capabilities {
    padding: 100px 0;
}

.grosio-team-works {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grosio-team-trust {
    padding: 80px 0 100px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .grosio-hero-title {
        font-size: 42px !important;
    }

    .grosio-grid-wrapper,
    body.single-services .tj_list,
    body.single-services .service-details-content ul {
        grid-template-columns: 1fr !important;
    }

    /* Team Page Mobile Adjustments */
    .grosio-section-title {
        font-size: 32px !important;
    }

    .grosio-section-desc {
        font-size: 16px !important;
    }

    .grosio-team-section {
        padding: 60px 0;
    }

    .grosio-capability-card {
        padding: 32px 24px;
    }

    .grosio-capability-title {
        font-size: 20px !important;
    }

    .grosio-feature-list li {
        font-size: 16px !important;
        padding-left: 35px !important;
    }
}