/* SERVICES PAGE - XtraCorporate Style */

/* Services Wrapper */
.services-wrapper {
    background: #FFFFFF;
}

/* Hero Section — XtraCorporate dark navy page banner */
.services-hero {
    position: relative;
    background: #01131c;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.services-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 1.5rem;
}

.services-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.services-hero .hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Remove hacker scroll indicator */
.scroll-indicator,
.packet-line,
.packet {
    display: none;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background: #f5f7fa;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Timeline vertical line */
.timeline-line-bg {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eaeaea;
    transform: translateX(-50%);
}

.timeline-line-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: #002699;
    transform: translateX(-50%);
    transition: height 0.1s linear;
    z-index: 1;
}

/* Service Items */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-item.active {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(even) .service-content {
    order: 2;
}

.service-item:nth-child(even) .service-image {
    order: 1;
}

/* Timeline Node */
.timeline-node {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border: 3px solid #eaeaea;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.service-item.active .timeline-node {
    border-color: #002699;
    background: #002699;
    box-shadow: 0 0 0 4px rgba(0, 38, 153, 0.2);
}

/* Service Card — XtraCorporate 3px cards */
.service-card {
    background: #FFFFFF;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.13);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    color: #002699;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #002699;
    margin-bottom: 1rem;
}

.service-desc {
    color: #636363;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #1A1A2E;
    font-size: 0.95rem;
}

.feature-item i {
    color: #002699;
    font-size: 0.85rem;
}

/* Service Image */
.service-image {
    display: flex;
    align-items: center;
}

/* Remove holographic frame effects */
.holo-frame {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.13);
}

.holo-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

.holo-overlay,
.scan-line {
    display: none;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 5rem 0;
    background: #FFFFFF;
    text-align: center;
}

.ecosystem-section .hero-title {
    color: #002699;
}

.ecosystem-section .hero-subtitle {
    color: #636363;
}

.ecosystem-diagram {
    position: relative;
    max-width: 500px;
    height: 350px;
    margin: 3rem auto;
}

.eco-circle {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #f5f7fa;
    border: 2px solid #eaeaea;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A1A2E;
    transition: all 0.3s ease;
    z-index: 2;
}

.eco-circle:hover {
    border-color: #002699;
    background: rgba(0, 38, 153, 0.05);
    transform: scale(1.1);
}

.eco-circle i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #002699;
}

.eco-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: #01131c;
    border-color: #01131c;
    font-size: 0.75rem;
}

.eco-center:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.ecosystem-diagram svg line {
    stroke: #eaeaea !important;
    stroke-width: 1.5 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item:nth-child(even) .service-content,
    .service-item:nth-child(even) .service-image {
        order: unset;
    }

    .timeline-line-bg,
    .timeline-line-progress,
    .timeline-node {
        display: none;
    }

    .services-hero {
        min-height: auto;
        padding-top: 120px;
    }

    .ecosystem-diagram {
        display: none;
    }
}

@media (max-width: 600px) {
    .service-card {
        padding: 1.5rem;
    }

    .service-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-desc {
        font-size: 0.9rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-item {
        margin-bottom: 2.5rem;
    }

    .services-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}