/* Page-specific rules only. Section classes are prefixed eo-im-. */

/* ---------- Hero background ---------- */
.it-support-itmanagement{
    background-color:#0b3a78;
    background-image:url('../images/newimg/solutionbanner/itmanage.webp');
    background-size:cover;
    background-position:left;
    background-repeat:no-repeat;
}

/* ---------- Section 1: Intro + pillars ---------- */
.eo-im-intro{
    display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
    gap:50px; align-items:center; margin-bottom:46px;
}
.eo-im-intro h2{ color:#1b304d; font-size:32px; line-height:1.3; font-weight:600; margin:0 0 14px; }
.eo-im-intro p{ color:#3c4553; font-size:15px; line-height:24px; margin:0; max-width:620px; }
.eo-im-intro-img{ text-align:center; }
.eo-im-intro-img img{ max-width:100%; max-height:240px; object-fit:contain; }

.eo-im-pillars{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.eo-im-pillar{
    background:#fff; border:1px solid #dbe5f5; border-radius:12px;
    padding:24px 26px 26px;
}
.eo-im-pillar-top{ display:flex; align-items:center; gap:16px; margin-bottom:12px; }
.eo-im-pillar h4{ color:#111827; font-size:22px; font-weight:500; margin:0; }
.eo-im-pillar p{ color:#7b8290; font-size:14px; line-height:22px; margin:0; }

/* ---------- Section 2: Tabs ---------- */
.eo-im-head{ text-align:center; margin-bottom:30px; }
.eo-im-head h2{ color:#1b304d; font-size:32px; line-height:1.3; font-weight:600; margin:0 0 12px; }
.eo-im-head p{ color:#3c4553; font-size:15px; line-height:24px; margin:0 auto; max-width:760px; }

.eo-im-tabs{
    display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
    margin:0 0 30px; padding:0; list-style:none;
}
.eo-im-tab{
    border:1.5px solid #1f6fe5; background:#fff; color:#1b304d;
    border-radius:999px; padding:10px 24px; font-size:15px; font-weight:500;
    cursor:pointer; transition:background .25s ease, color .25s ease;
}
.eo-im-tab:hover{ background:#eef4fd; }
.eo-im-tab.is-active{ background:#1f6fe5; color:#fff; }
.eo-im-tab:focus-visible{ outline:3px solid #9cc2ff; outline-offset:2px; }

.eo-im-panel{ display:none; grid-template-columns:minmax(0,1fr) minmax(0,2.1fr); gap:22px; align-items:stretch; }
.eo-im-panel.is-active{ display:grid; }
.eo-im-panel-img{ border-radius:14px; overflow:hidden; min-height:320px; }
.eo-im-panel-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.eo-im-svc-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; align-content:start; }
.eo-im-svc{
    background:#fff; border:1px solid #dbe5f5; border-radius:12px;
    padding:24px 24px 22px; display:flex; flex-direction:column;
    transition:box-shadow .3s ease;
}
.eo-im-svc:hover{ box-shadow:0 12px 28px rgba(10,40,90,.08); }
.eo-im-svc:last-child:nth-child(odd){ grid-column:1 / -1; }
.eo-im-svc .eo-ic{ margin-bottom:16px; }
.eo-im-svc h4{ color:#111827; font-size:20px; line-height:1.35; font-weight:500; margin:0 0 8px; }
.eo-im-svc p{ color:#7b8290; font-size:14px; line-height:22px; margin:0 0 14px; flex:1 1 auto; }
.eo-im-svc a{ color:#0b63e0; font-size:13px; font-weight:500; text-decoration:none; }
.eo-im-svc a:hover{ text-decoration:underline; }

/* ---------- Section 3: Bigger picture ---------- */
.eo-im-bigger{ background:#f1f6fd; }
.eo-im-bigger .eo-im-head p{ color:#7f858b; max-width:900px; }
.eo-im-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:22px; }
.eo-im-pcard{
    background:#fff; border:1px solid #d5e4fb; border-radius:12px;
    padding:26px 22px 28px;
    transition:box-shadow .3s ease;
}
.eo-im-pcard:hover{ box-shadow:0 12px 30px rgba(10,40,90,.08); }
.eo-im-pcard .eo-ic{ margin-bottom:18px; }
.eo-im-pcard h4{ color:#111827; font-size:21px; line-height:1.35; font-weight:500; margin:0 0 10px; }
.eo-im-pcard p{ color:#7b8290; font-size:14px; line-height:22px; margin:0; }

/* ---------- CTA ---------- */
.eo-im-cta{
    display:grid; grid-template-columns:minmax(0,0.8fr) minmax(0,2fr);
    gap:36px; align-items:center;
    background:linear-gradient(180deg,#dce9fc 0%,#eef4fd 100%);
    border-radius:20px; padding:36px 48px;
}
.eo-im-cta-img img{ max-width:100%; display:block; }
.eo-im-cta h2{ color:#1b304d; font-size:30px; line-height:1.3; font-weight:600; margin:0 0 10px; }
.eo-im-cta p{ color:#3c4553; font-size:15px; line-height:24px; margin:0 0 22px; max-width:620px; }

/* ---------- Responsive ---------- */
@media(max-width:1199px){
    .eo-im-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media(max-width:991px){
    .eo-im-intro{ grid-template-columns:1fr; gap:24px; }
    .eo-im-pillars{ grid-template-columns:1fr; }
    .eo-im-panel.is-active{ grid-template-columns:1fr; }
    .eo-im-panel-img{ min-height:220px; max-height:300px; }
    .eo-im-cta{ grid-template-columns:1fr; padding:30px 28px; }
    .eo-im-cta-img{ max-width:300px; }
}
@media(max-width:767px){
    .eo-im-intro h2, .eo-im-head h2{ font-size:26px; }
    .eo-im-svc-grid{ grid-template-columns:1fr; }
    .eo-im-tab{ padding:9px 18px; font-size:14px; }
}
@media(max-width:575px){
    .eo-im-grid{ grid-template-columns:1fr; gap:16px; }
    .eo-im-cta h2{ font-size:22px; }
}
/* ---------- Staffing & Engagement Models ---------- */
.eo-st-section {
    padding: 70px 0 80px;
    background: #ffffff;
}
.eo-st-top {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 46px;
}
.eo-st-top h2 {
    color: #0b1a30;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 14px;
}
.eo-st-top p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 820px;
}

/* Image slots & placeholders */
.eo-st-img {
    position: relative;
    width: 100%;
}
.eo-st-img-in {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #f0f6fd;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eo-st-img-in img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
    transition: opacity 0.3s ease;
}
.eo-st-placeholder-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    gap: 6px;
    color: #3b82f6;
    pointer-events: none;
}
.eo-st-placeholder-box span {
    font-size: 14px;
    font-weight: 600;
    color: #1d4ed8;
}
.eo-st-placeholder-box small {
    font-size: 11px;
    color: #64748b;
}

/* Angled Hero Image */
.eo-st-img--hero {
    aspect-ratio: 16 / 10;
    max-width: 480px;
    justify-self: end;
}
.eo-st-img--hero::before {
    content: "";
    position: absolute;
    inset: -6px;
    background: #dbeafe;
    border-radius: 24px;
    clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}
.eo-st-img--hero .eo-st-img-in {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
    border: 1.5px dashed #bfdbfe;
}

/* Rounded Work Images */
.eo-st-img--work {
    aspect-ratio: 4 / 3;
    max-width: 460px;
    margin: 0 auto;
}
.eo-st-img--work::before {
    content: "";
    position: absolute;
    inset: -8px;
    background: #e2effe;
    border-radius: 26px;
    z-index: 0;
}
.eo-st-img--work .eo-st-img-in {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 1.5px dashed #bfdbfe;
}

/* Centered Pills */
.eo-st-pill-wrap {
    text-align: center;
    margin: 44px 0 34px;
}
.eo-st-pill {
    display: inline-block;
    background: #eaf4ff;
    color: #0b63e0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 34px;
    border-radius: 999px;
    border: 1px solid #d4e7fe;
    box-shadow: 0 2px 8px rgba(11, 99, 224, 0.06);
}

/* Work mode rows */
.eo-st-work {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 30px;
}
.eo-st-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.eo-st-card {
    background: #ffffff;
    border: 1.5px solid #bddbff;
    border-radius: 22px;
    padding: 36px 40px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(15, 60, 130, 0.03);
}
.eo-st-card h4 {
    color: #0b1a30;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 14px;
}
.eo-st-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Engagement cards */
.eo-st-eng {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.eo-st-eng-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #bddbff;
    border-radius: 22px;
    padding: 34px 36px;
    min-height: 240px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(15, 60, 130, 0.03);
}
.eo-st-eng-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.eo-st-eng-ico {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eo-st-eng-head h4 {
    color: #0b1a30;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.eo-st-eng-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 76%;
    position: relative;
    z-index: 1;
}
.eo-st-watermark-wrap {
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 105px;
    height: 105px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eo-st-watermark-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.eo-st-watermark {
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.95;
}

@media (max-width: 991px) {
    .eo-st-top { grid-template-columns: 1fr; }
    .eo-st-img--hero { max-width: 440px; justify-self: start; }
    .eo-st-row { grid-template-columns: 1fr; gap: 24px; }
    .eo-st-row--rev .eo-st-card { order: 2; }
    .eo-st-row--rev .eo-st-img { order: 1; }
    .eo-st-eng { grid-template-columns: 1fr; }
    .eo-st-eng-card p { max-width: 80%; }
}
@media (max-width: 767px) {
    .eo-st-top h2 { font-size: 26px; }
    .eo-st-pill { font-size: 14px; padding: 8px 26px; }
    .eo-st-card { padding: 24px 20px; }
    .eo-st-eng-card { padding: 24px 20px; }
    .eo-st-eng-card p { max-width: 100%; }
    .eo-st-watermark-wrap { width: 75px; height: 75px; opacity: 0.25; }
}
