/* SERVICES INNER PAGE STYLES  */

/* =========================================================
   Engineering Process & Journey Sections
   ========================================================= */

/* ========== Engineering Process Section ========== */

.engineering-process-section {
    padding: 60px 20px;
    background: #fff;
    font-family: "Bai Jamjuree", sans-serif;
}

.engineering-container {
    max-width: 1150px;
    margin: 0 auto;
}

.engineering-title {
    font-size: 40px;
    font-weight: 600;
    color: #4c2882 !important;
    margin-bottom: 15px;
}

.engineering-description {
    font-size: 16px;
    line-height: 1.5;
    color: #555 !important;
    margin-bottom: 10px;
}

.engineering-step-wrapper {
    display: flex;
    flex-direction: column;
}

.engineering-step-row {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.engineering-step-row:first-child { border-top: none; }
.engineering-step-row:last-child { border-bottom: none; }

.engineering-step-title {
    flex: 1;
    max-width: 45%;
    padding-right: 25px;
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    color: #333 !important;
    position: relative;
}

.engineering-step-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #ddd;
}

.engineering-step-description {
    flex: 2;
    font-size: 16px;
    line-height: 1.5;
    color: #555 !important;
}

/* Responsive - stack rows on small screens */
@media (max-width: 768px) {
    .engineering-step-row {
        flex-direction: column;
        gap: 10px;
    }
    .engineering-step-title {
        max-width: 100%;
    }
    .engineering-step-title::after {
        display: none;
    }
}

/* ========== Journey / Dashboard Section ========== */

.journey-section {
    background: #f9fafb;
    padding: 60px 20px;
    margin: 30px auto;
    text-align: center;
    box-shadow: none;
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
}

.journey-title {
    font-size: 32px;
    font-weight: 600;
    color: #123458 !important;
    font-family: "Bai Jamjuree", sans-serif;
    margin-bottom: 24px;
}

.journey-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    margin-bottom: 30px;
}

.journey-item {
    min-width: 200px;
}

.journey-item .number {
    font-size: 64px;
    font-weight: 700;
    color: #123458;
    font-family: "Bai Jamjuree", sans-serif;
}

.journey-item .line {
    width: 275px;
    height: 5px;
    margin: 35px auto 20px;
    background: #123458;
}

.journey-item .label {
    font-size: 18px;
    color: #222;
    font-family: "Bai Jamjuree", sans-serif;
}

.journey-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Bai Jamjuree", sans-serif;
    color: #fff !important;
    background: #2563eb;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.journey-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .journey-stats {
        flex-direction: column;
        align-items: center;
    }

    .journey-item {
        margin-bottom: 32px;
    }

    .journey-item .line {
        width: 56vw;
    }

    .journey-title {
        font-size: 28px;
    }
}


/* ===== Staff Augmentation Section (Services Inner) ===== */

/* Section wrapper */
.staff-augmentation {
    padding: 50px 0;
    background: #f9fafb;
}

/* Layout */
.staff-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    align-items: flex-start;
}

.staff-left {
    flex: 1 1 50%;
    max-width: 600px;
}

.staff-right {
    flex: 1 1 45%;
    text-align: right;
}

/* ===== Image Card with Overlay ===== */

.staff-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1d36;
    box-shadow: 0 10px 28px rgba(9, 22, 43, 0.16);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.staff-image-card:hover {
    box-shadow: 0 18px 44px rgba(9, 22, 43, 0.24);
    transform: translateY(-2px);
}

.staff-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
}

/* Gradient overlay behind overlay text */
.staff-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(8, 20, 40, 0) 55%,
            rgba(8, 20, 40, 0.55) 85%,
            rgba(8, 20, 40, 0.75) 100%
    );
    pointer-events: none;
}

/* Overlay text container (inside image card) */
.staff-overlay {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    color: #fff;
    z-index: 1;
}

/* Eyebrow / kicker */
.staff-eyebrow {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

/* Caption/title in overlay */
.staff-caption {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

/* ===== Text & List Styles ===== */

.staff-title {
    font-size: 40px;
    font-weight: 100;
    color: #4c2882;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.staff-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    line-height: 1.5;
    margin-bottom: 10px;
}

.staff-description {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
}

.staff-pointers {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    font-weight: 100;
}

.staff-pointers li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 25px;
    font-weight: 100;
    color: #1f2937;
    transition: color 0.3s ease, transform 0.3s ease;
}

.staff-pointers li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
    color: #2563eb;
}

.staff-pointers li:hover {
    color: #2563eb;
    transform: translateX(6px);
}

/* Title underline animation on hover */
.staff-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #00b4ff);
    transition: width 0.4s ease;
}

.staff-augmentation .staff-left:hover .staff-title::after {
    width: 100%;
}

/* ===== CTA Button ===== */

.staff-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.2s ease;
}

.staff-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* CTA arrow micro-interaction */
.staff-btn::after {
    content: "→";
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.staff-btn:hover::after {
    transform: translateX(3px);
}

/* ===== Responsive Layout ===== */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .staff-augmentation {
        padding: 40px 20px;
    }
    .staff-container {
        gap: 32px;
    }
    .staff-title {
        font-size: 36px;
    }
    .staff-image {
        border-radius: 14px;
    }
}

/* Tablets: stack columns, override inline row/row-reverse */
@media (max-width: 1024px) {
    .staff-container {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .staff-left,
    .staff-right {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .staff-right {
        text-align: center;
    }
    .staff-title {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .staff-augmentation {
        padding: 30px 20px;
    }
    .staff-title {
        font-size: 28px;
        text-align: center;
    }
    .staff-subtitle {
        font-size: 16px;
        text-align: center;
    }
    .staff-description {
        font-size: 15px;
        text-align: center;
    }
    .staff-container {
        padding: 0 8px;
    }
    .staff-left,
    .staff-right {
        text-align: center;
    }
    .staff-left .staff-pointers {
        display: inline-block;
        text-align: left;
    }
    .staff-image {
        width: 100%;
        border-radius: 14px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .staff-augmentation {
        padding: 40px 12px;
    }
    .staff-title {
        font-size: 24px;
    }
    .staff-subtitle,
    .staff-description {
        font-size: 14px;
    }
    .staff-pointers li {
        font-size: 14px;
        padding-left: 0;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        justify-content: flex-start;
    }
    .staff-pointers li::before {
        position: static;
        font-size: 0.9rem;
        margin-top: 2px;
    }
    .staff-btn {
        padding: 12px 20px;
    }
    .staff-image {
        border-radius: 12px;
    }
}
