
    h2.subheading {
      position: relative;
      z-index: 10;
    }
    /* small additional style to ensure headings remain readable on mobile */
    @media (max-width: 767px) {
      .banner .data h1 { font-size: 28px !important; line-height: 36px !important; width: 100% !important; }
      .banner .data h4 { width: 100% !important; font-size: 15px !important; }
    }

    

/* SECTION BACKGROUND */
.ff-workflow-dark {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #2665D9 0%, #0A2A6A 100%);
    overflow: hidden;
    color: #fff;
}

.ff-bg-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.15;
}

/* CONTAINER */
.ff-container-dark {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.ff-title-dark {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.ff-subtitle-dark {
    max-width: 750px;
    margin: 0 auto 70px;
    font-size: 18px;
    color: #e0e9ff;
}

/* ROW (3 columns) */
.ff-row {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
}

/* CARD STYLE */
.ff-step-dark {
    width: 32%;
    min-width: 300px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #d9e4ff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
    transition: 0.35s ease;
    text-align: center;
}

.ff-step-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.22);
}

/* NUMBER CIRCLE WITH GRADIENT */
.ff-number-dark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2665D9 0%, #0A2A6A 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* TEXT INSIDE CARD */
.ff-step-dark h3 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #2665D9 0%, #0A2A6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.ff-step-dark p {
    font-size: 15px;
    color: #000;
    line-height: 24px;
}

/* DOWN ARROW (Between rows) */
.big-arrow {
    font-size: 40px;
    margin-bottom: 50px;
    opacity: 0.9;
}

/* MOBILE LAYOUT */
@media (max-width: 900px) {

    /* Remove container padding so cards can truly center */
    .ff-container-dark {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .ff-row {
        flex-direction: column;
        align-items: center; /* Centers all cards perfectly */
        gap: 25px;
        width: 100%;
    }

    .ff-step-dark {
        width: 100% !important;      /* Full width inside container */
        max-width: 100% !important;  /* Prevent shrinking */
        min-width: unset !important; /* Remove the 300px constraint */
        box-sizing: border-box;
    }

    .big-arrow {
        display: none;
    }
}




/* CTA WRAPPER */
.why-cta-wrap {
    margin-top: 60px;
    text-align: center;
}

/* CTA BUTTON */
.why-cta-btn {
    display: inline-block;
    padding: 16px 42px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2665D9, #0A2A6A);
    border-radius: 40px;
    text-decoration: none;
    transition: 0.35s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.why-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #0A2A6A, #2665D9);
}

/* Mobile CTA */
@media(max-width: 768px) {
    .why-cta-btn {
        width: 100%;
        padding: 16px;
        font-size: 17px;
    }
}

    
/* SECTION BASE */
.why-outsource {
    position: relative;
    padding: 120px 0;
    background: url('/img/1.png') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.why-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 80, 0.80); /* dark blue transparency */
    backdrop-filter: blur(4px);
}

/* CONTAINER */
.why-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* TITLES */
.why-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.why-subtitle {
    max-width: 780px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #dbe6ff;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* CARD */
.why-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #d6e4ff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.20);
    transition: 0.35s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.30);
}

/* ICON AREA */
.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2665D9, #0A2A6A);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* TEXT */
.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #2665D9, #0A2A6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 15px;
    line-height: 24px;
    color: #000;
}

/* MOBILE */
@media(max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-container {
        padding: 0 18px;
    }
}


/* Grid fix for advantage section */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 60px;
  margin-top: 50px;
  align-items: start;
}

/* Consistent typography & visual hierarchy */
.adv-item h5 {
  font-size: 18px;
  font-weight: 600;
  color: #0b163f;
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.adv-item h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 3px;
  height: 14px;
  background: #0A46C8;
  border-radius: 2px;
}

.adv-item p {
  font-size: 15px;
  line-height: 25px;
  color: #0b163f;
  opacity: 0.9;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .advantage-grid {
    gap: 30px;
  }
  .adv-item h5 {
    font-size: 17px;
  }
}
/* === FINAL TYPOGRAPHY FIX — US Advantage Section === */
.home-features[style*="#f7faff"],
.home-features[style*="#f7faff"] * {
  font-family: inherit !important; /* inherits the same font as rest of site */
  letter-spacing: normal !important;
  color: #0b163f !important;
}

/* Headings (restore visual weight + spacing like global sections) */
.home-features[style*="#f7faff"] h5 {
  font-size: 17px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
  color: #0b163f !important;
}

/* Paragraphs (consistent line height and size) */
.home-features[style*="#f7faff"] p {
  font-size: 15px !important;
  line-height: 25px !important;
  font-weight: 400 !important;
  color: #0b163f !important;
  opacity: 0.95 !important;
}


/* ------------------------------------
   ERROR MESSAGE STYLE
-------------------------------------*/
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}


/* ------------------------------------
   HERO CTA BUTTON — CLEAN VERSION
-------------------------------------*/
.hero-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0A46C8;
    color: #fff !important;
    border-radius: 35px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 260px;
    white-space: nowrap;
    transition: all 0.35s ease-in-out;
}

/* Phone Icon */
.hero-btn::before {
    content: "\260E";
    font-size: 20px;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

/* Smooth widen on hover */
.hero-btn:hover {
    padding-left: 55px !important;
    padding-right: 65px !important;
    background: #0039a6;
}


/* ------------------------------------
   BUTTON TEXT SWITCH (CLEAN VERSION)
-------------------------------------*/

/* Hide phone number until hover */
.hero-btn .hover-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    white-space: nowrap;
    font-weight: 700;
}

/* Hide default text on hover */
.hero-btn:hover .default-text {
    opacity: 0;
    visibility: hidden;
}

/* Show phone number on hover */
.hero-btn:hover .hover-number {
    opacity: 1;
    visibility: visible;
}


/* ------------------------------------
   HERO SECTION BACKGROUND
-------------------------------------*/
.hero-section {
    position: relative;
    background-image: url('/img/SCM-BPO1.webp');
    background-size: cover;
    background-position: center;
    will-change: transform;
    height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}
/* === CLS FIX: Reserve hero space immediately === */
.hero-section {
    min-height: calc(100vh - 90px); /* header height */
}
.hero-section {
    background-color: #0a1e3c; /* dark fallback */
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1;
}

.hero-flex {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}


/* LEFT SECTION TEXT */
.hero-left {
    width: 55%;
    color: white;
}

.hero-left h1 {
    font-size: 42px;
    line-height: 52px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-left h4 {
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 0.4px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Force readability */
.hero-left h1,
.hero-left h4 {
    color: #fff !important;
    text-shadow: 0px 2px 6px rgba(0,0,0,0.45);
}



/* RIGHT SECTION FORM */
/* ------------------------------------
   RIGHT SECTION FORM — PERFECT EVEN SPACING
-------------------------------------*/
.hero-right {
    width: 40%;
    padding: 0 !important; /* Remove unwanted outer padding */
}

/* Clean, even padding INSIDE the form card */
.hero-form-card {
    background: #ffffff;
    padding: 32px;                /* Equal padding on all sides */
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Title */
.hero-form-card h3 {
    margin-bottom: 25px;
    font-weight: 700;
    color: #0A2A5E;
}

/* Spacing between form groups */
.hero-form-card .form-group {
    margin-bottom: 20px;
}

/* Inputs */
.hero-form-card input,
.hero-form-card textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #d4d4d4;
    background: #fafafa;
    font-size: 15px;
    transition: 0.25s;
    box-sizing: border-box;
}

/* Focus */
.hero-form-card input:focus,
.hero-form-card textarea:focus {
    outline: none;
    border-color: #0A46C8;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(10, 70, 200, 0.25);
}

/* Hide labels */
.hero-form-card label {
    display: none !important;
}

/* Submit Button — Centered */
.form-submit-btn {
    display: block;
    margin: 25px auto 0 auto;
    padding: 14px 50px;
    background: #0A46C8;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease-in-out;
}

.form-submit-btn:hover {
    background: #0039A6;
}


/* MOBILE LAYOUT */
@media(max-width: 992px) {
    .hero-flex {
        flex-direction: column;
    }

    .hero-left, .hero-right {
        width: 100%;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 30px;
        line-height: 40px;
    }
    .hero-right {
        width: 100%;
        margin-top: 25px;
        padding: 0 !important;
    }
}

/* Hide labels but keep them accessible for screen readers */
.hero-form-card label {
    display: none !important;
}

/* ===== Fix mobile hero spacing & form clipping =====
   Place after your existing hero CSS
   This uses a CSS variable --site-header-height (default 70px).
   If your header is 90px, set --site-header-height: 90px on :root or body.
==================================================== */

/* Optional: set this in your global css if your header is fixed and has a known height:
   :root { --site-header-height: 90px; }
   If you don't set it, the fallback value 70px is used.
*/

:root {
  --site-header-height: 70px; /* fallback — override if your header height differs */
}

/* Make hero softer on small screens and avoid fixed clipping */
@media (max-width: 992px) {
  /* remove the rigid full-screen height on mobile; use min-height so content can expand */
  .hero-section {
    height: auto !important;
    min-height: calc(100vh - var(--site-header-height, 70px));
    padding-top: calc(var(--site-header-height, 70px) + 18px); /* push content below header */
    padding-bottom: 34px;
    box-sizing: border-box;
    display: block; /* allow flow layout */
    align-items: initial;
  }

  /* make the hero-flex stack but keep larger top spacing */
  .hero-flex {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 0;
  }
  

  /* ensure left text gets breathing room from header */
  .hero-left {
    width: 100% !important;
    text-align: center;
    padding-top: 6px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-left h1 {
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .hero-left h4 {
    margin: 0 auto 18px;
    max-width: 720px;
  }

  /* Make the form behave as a normal block (no inner scroll) */
  .hero-right {
    width: 100% !important;
    padding-left: 18px;
    padding-right: 18px;
    margin-top: 6px;
  }

  .hero-form-card {
    max-height: none !important;       /* remove inner scroll */
    overflow: visible !important;
    padding: 20px;
  }

  /* Inputs and button spacing for mobile */
  .hero-form-card .form-group {
    margin-bottom: 14px;
  }

  .form-submit-btn {
    width: 100%;
    padding: 14px 18px;
  }

  /* If header is fixed and overlapping, ensure page scroll starts below it (helpful for anchor links) */
  html, body {
    scroll-padding-top: calc(var(--site-header-height, 70px) + 10px);
  }
  
  
}

/* Extra safety: if header is taller than fallback, you can override with:
   body { --site-header-height: 90px; }
   Place that in your header template or global CSS.
*/
/* Fix hero-left alignment inside Bootstrap container */
@media (max-width: 992px) {

    .hero-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-left {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-btn {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
    }
}
.hero-btn:hover::before,
.hero-btn:hover::after {
    display: none !important;
    content: none !important;
}

/* REMOVE ALL ARROWS FROM HERO CTA BUTTON */
.hero-btn::after {
    content: none !important;
    display: none !important;
}

/* Also remove on hover (backup) */
.hero-btn:hover::after {
    content: none !important;
    display: none !important;
}


/* ===============================
   POPUP OVERLAY
=============================== */

/* Ensures EVEN padding left & right inside popup */
.popup-form-inner {
    padding: 0 18px;            /* adjust this for tighter or wider look */
    box-sizing: border-box;
}

/* Ensure form fills wrapper—not entire popup */
.popup-form-inner form {
    width: 100%;
}

/* Inputs inside wrapper behave as expected */
.popup-form-inner input,
.popup-form-inner textarea {
    width: 100%;
    box-sizing: border-box;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

/* POPUP CARD */
.popup-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;                  /* 🔥 Perfect balanced width */
    padding: 32px 36px;                /* 🔥 Proper inside spacing */
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    position: relative;
    animation: popupFade 0.25s ease-out;
}

/* Fade animation */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* CLOSE BUTTON */
.popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
    font-weight: 700;
    color: #333;
}

/* TITLE */
.popup-card h3 {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 800;
    color: #0A2A5E;
}

/* FORM INPUTS */
.popup-card input,
.popup-card textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    background: #f9f9f9;
    margin-bottom: 16px;
    font-size: 15px;
    transition: 0.25s;
}

.popup-card input:focus,
.popup-card textarea:focus {
    outline: none;
    border-color: #0A46C8;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(10,70,200,0.22);
}

/* SUBMIT BUTTON */
.popup-card .form-submit-btn {
    width: 100%;
    padding: 14px 18px;
    background: #0A46C8;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition: 0.25s ease;
}

.popup-card .form-submit-btn:hover {
    background: #0039A6;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 480px) {
    .popup-card {
        padding: 24px 20px;  /* reduce padding on smaller screens */
        max-width: 95%;
    }
    .popup-card h3 {
        font-size: 20px;
    }
}


