/*************************************
 * MOBILE ALIGNMENT FIX
 * Based on alignment_issues.docx screenshots
 * Fixes all alignment issues for mobile view
 *************************************/

/* ============================================
   1. HEADER - Logo centered, icons on sides
   ============================================ */
@media (max-width: 767px) {
  #header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    position: absolute; /* ensures absolute children behave correctly */
  }

  /* Contact icon on left */
  #contactIconDiv {
    order: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto; /* prevents stretching */
    width: 32px; /* fixed size */
    height: 32px;
  }

  /* Ensure icon itself doesn't scale */
  #contactIconDiv img,
  #contactIconDiv svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  /* Logo in center */
  #logoLinkContainer {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  #logo {
    height: 28px;
    width: auto;
    display: block;
  }

  /* Header right container */
  .headerRightContainer {
    order: 3;
    display: flex;
    align-items: center;

    flex: 0 0 auto; /* prevent stretching */
  }

  /* Hide desktop buttons */
  .headerBtnContainer {
    display: none !important;
  }

  /* Hamburger on right */
  #hamburgerIconDiv {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto; /* prevent stretching */
  }

  /* Ensure hamburger icon is consistent */
  #hamburgerIconDiv img,
  #hamburgerIconDiv svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   2. HERO SECTION - Centered with colored lines
   ============================================ */
@media (max-width: 767px) {
  #homePageSection1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 1.5rem 40px;
    min-height: 100vh;
    height: auto;
    width: 100%;
  }
  #homePageCopySection {
    display: flex;
    justify-content: center; /* centers the section horizontally */
  }

  #homePageCopy {
    position: relative;
    top: auto;
    left: auto;
    font-size: clamp(2.25rem, 8vw, 2.75rem) !important;
    line-height: 1.15;
    text-align: left;
    margin-bottom: 2rem;
  }

  /* Show colored lines after specific words */
  #homePageCopy .heroLineBlue,
  #homePageCopy .heroLineGreen {
    position: relative;
    display: inline;
  }

  #homePageCopy .heroLineBlue::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 8px !important;
    background-color: #345cad;
    margin-left: 0.5em;
    vertical-align: middle;
  }

  #homePageCopy .heroLineGreen::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 4px;
    background-color: #61c17e;
    margin-left: 0.5em;
    vertical-align: middle;
  }

  /* CTA Row - Centered */
  .heroCtaRow {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  .heroBadgeCard {
    display: flex;
    justify-content: center;
  }

  .heroCtaRow #microsoftPartnerBadge {
    height: 55px;
    width: auto;
  }

  .heroCtaRow .heroCtaBtn {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    background: linear-gradient(
        60deg,
        #3d3393 0%,
        #2b76b9 37%,
        #2cacd1 65%,
        #35eb93 100%
      )
      border-box;
    color: white !important;
    border-radius: 1.5vw;
  }

  .scrollText {
    display: none;
  }

  #seor {
    display: none;
  }
}

/* ============================================
   EXTRA SMALL SCREENS (480px and below)
   ============================================ */
@media (max-width: 480px) {
  #homePageSection1 {
    justify-content: center !important;
  }
  #homePageCopySection {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* centers the section horizontally */
  }

  #homePageCopy {
    font-size: clamp(2.5rem, 7vw, 2.25rem);
    padding-left: 10vw;
    padding-top: 8vw;
    padding-right: 2vw;
    text-align: left !important;
  }

  #homePageCopy .heroLineBlue::after {
    width: 40px;
    height: 3px;
  }

  #homePageCopy .heroLineGreen::after {
    width: 50px;
    height: 3px;
  }

  .heroCtaRow #microsoftPartnerBadge {
    height: 55px !important;
  }
  .heroCtaRow .heroCtaBtn {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    background: linear-gradient(
        60deg,
        #3d3393 0%,
        #2b76b9 37%,
        #2cacd1 65%,
        #35eb93 100%
      )
      border-box;
    border-radius: 1.5vw;
  }
}

/* ============================================
   3. PARTNER STATEMENT - All centered
   ============================================ */
@media (max-width: 767px) {
  #homePartnerStatement {
    padding: 3.5rem 0;
  }

  #homePartnerStatement .homeClientHeader {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  /* Title section first */
  #homePartnerStatement .homeClientHeaderRight {
    order: 1;
    width: 100%;
    text-align: center;
  }

  /* Description second */
  #homePartnerStatement .homeClientHeaderLeft {
    order: 2;
    width: 100%;
    text-align: center;
  }

  #homePartnerStatement .homeClientTitle.homePartnerTitle {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.15;
    text-align: left;
  }

  #homePartnerStatement .homeClientLabelLine.homePartnerLine {
    margin: 1rem 0 !important;
    width: 40px !important;
  }

  #homePartnerStatement .homeClientSubtitle.homePartnerSubtitle {
    font-size: 3.2vw;
    line-height: 1.6;
    text-align: left;
  }
}

/* ============================================
   3. PARTNER STATEMENT - Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  #homePartnerStatement {
    padding: 2.5rem 0;
  }

  #homePartnerStatement .homeClientHeader {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  #homePartnerStatement .homeClientHeaderRight,
  #homePartnerStatement .homeClientHeaderLeft {
    width: 100%;
    text-align: center;
  }

  #homePartnerStatement .homeClientTitle.homePartnerTitle {
    font-size: clamp(1.4rem, 7vw, 1.7rem);
    line-height: 1.2;
    text-align: left !important;
  }

  #homePartnerStatement .homeClientLabelLine.homePartnerLine {
    margin: 0.75rem auto;
    width: 32px;
    text-align: left !important;
  }

  #homePartnerStatement .homeClientSubtitle.homePartnerSubtitle {
        font-family: "markProRegular";
        top: 19.333em;
        width: 53.3333vw;
        left: 14.1333vw;
        font-size: 3.2vw;
        line-height: 4.16vw;
        letter-spacing: 0.064vw;
  }
}

/* ============================================
   4. CLIENT LOGOS - Title left, rest centered
   ============================================ */
@media (max-width: 767px) {
 
  #homePageClientLogos .homeClientHeader {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  /* Title on left */
  #homePageClientLogos .homeClientHeaderLeft {
    order: 1;
    width: 100%;
  }

  #homePageClientLogos .homeClientTitle {
    font-size: clamp(1.6rem, 6vw, 2rem);
    text-align: left;
  }

  /* Label, line, description centered */
  #homePageClientLogos .homeClientHeaderRight {
    order: 2;
    width: 100%;
    text-align: center;
  }

  #homePageClientLogos .homeClientLabel {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-align: center;
  }


  #homePageClientLogos .homeClientSubtitle {
    font-size: 0.9rem;
    text-align: left;
  }
}

/* ============================================
   4. CLIENT LOGOS - Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  

  #homePageClientLogos .homeClientHeader {
    gap: 1.25rem;
    padding: 0 1rem;
  }

  /* Title */
  #homePageClientLogos .homeClientHeaderLeft {
    width: 110% !important;
  }

  #homePageClientLogos .homeClientTitle {
    font-size: clamp(1.4rem, 7vw, 1.7rem);
    text-align: left !important;
  }

  /* Label, line, description */
  #homePageClientLogos .homeClientHeaderRight {
    width: 110%;
    text-align: center;
  }

  #homePageClientLogos .homeClientLabel {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-align: left !important;
  }

  #homePageClientLogos .homeClientLabelLine {
    width: 32px;
    text-align: left;
  }

  #homePageClientLogos .homeClientSubtitle {
        font-family: "markProRegular";
        top: 19.333em;
        width: 68.3333vw;
        left: 14.1333vw;
        font-size: 3.2vw;
        line-height: 4.16vw;
        letter-spacing: 0.064vw;
  }
}

/* ============================================
   5. TECH PARTNERS - Title left, rest centered
   ============================================ */
@media (max-width: 767px) {
  #homePageClientLogosSecondary {
    padding: 3rem 0;
  }

  #homePageClientLogosSecondary .homeClientHeader {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  #homePageClientLogosSecondary .homeClientHeaderLeft {
    order: 1;
    width: 100%;
  }

  #homePageClientLogosSecondary .homeClientTitle {
    font-size: clamp(1.6rem, 6vw, 2rem);
    text-align: left;
  }

  #homePageClientLogosSecondary .homeClientHeaderRight {
    order: 2;
    width: 100%;
    text-align: center;
  }

  #homePageClientLogosSecondary .homeClientLabel {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-align: left;
  }


  #homePageClientLogosSecondary .homeClientSubtitle {
    font-size: 0.9rem;
    text-align: center;
  }
}

/* ============================================
   5. TECH PARTNERS - Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  #homePageClientLogosSecondary {
    padding: 2.25rem 0;
  }

  #homePageClientLogosSecondary .homeClientHeader {
    gap: 1.25rem;
    padding: 0 1rem;
  }

  #homePageClientLogosSecondary .homeClientHeaderLeft {
    width: 100%;
  }

  #homePageClientLogosSecondary .homeClientTitle {
    font-size: clamp(1.4rem, 7vw, 1.7rem);
    text-align: center;
  }

  #homePageClientLogosSecondary .homeClientHeaderRight {
    width: 110%;
    text-align: center;
  }

  #homePageClientLogosSecondary .homeClientLabel {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-align: left !important;
  }

  #homePageClientLogosSecondary .homeClientLabelLine {
    width: 32px;
  }

  #homePageClientLogosSecondary .homeClientSubtitle {
    font-family: "markProRegular";
        top: 19.333em;
        width: 59.3333vw;
        left: 14.1333vw;
        font-size: 3.2vw;
        line-height: 4.16vw;
        letter-spacing: 0.064vw;
        text-align: left;
  }
}

/* ============================================
   6. SOFTWARE WE SUPPORT - Title centered
   ============================================ */
@media (max-width: 767px) {
  #softwareWeSupport {
    padding: 3rem 0;
  }

  .swsContainer {
    padding: 0 1.5rem;
  }

  .swsHeader {
    flex-direction: column;
    gap: 1.5rem;
  }


  .swsHeaderRight {
    width: 100%;
    text-align: center;
  }

  .swsLabel {
    font-size: 0.75rem;
    text-align: left !important;
  }

  

  .swsSubtitle {
    font-size: 0.9rem;
    text-align: center;
  }

  /* Cards - full width stacked */
  .swsGrid,
  .swsGridFour {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .swsCard {
    text-align: left;
  }
}

/* ============================================
   6. SOFTWARE WE SUPPORT - Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  #softwareWeSupport {
    padding: 2.25rem 0;
  }

  .swsContainer {
    padding: 0 1rem;
  }

  .swsHeader {
    gap: 1.25rem;
  }


  .swsHeaderRight {
    width: 110%;
    text-align: center;
  }

  .swsLabel {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-align: left !important;
  }

  .swsSubtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left !important;
    max-width: 100%;
    padding-left: 0vw;
  }

  /* Cards - full width stacked */
  .swsGrid,
  .swsGridFour {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .swsCard {
    padding: 1rem;
    text-align: left;
  }
}



/* swsGrid graduated breakpoints removed — desktop auto-fit layout applies from 481px up */


/* ============================================
   7. BENEFITS - Title centered, cards stacked
   ============================================ */
/* Benefits 767px layout-shift block removed — desktop grid keeps from 481px up */

@media (max-width: 480px) {
  #homeBenefits {
    padding: 3rem 0;
  }

  .benefitsContainer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .benefitsLeft {
    text-align: center;
    width: 120% !important;
    padding-left: 5vw;
  }

  .benefitsHeading {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
    padding-top: 0vw !important;
    text-align: left;
    width: 120% !important;
  }

  .benefitsSliderTrack {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefitCard {
    width: 80% !important;
    max-width: 100%;
    text-align: left;
  }
}
/* ============================================
   8. INDUSTRIES - Title left, rest centered
   ============================================ */
@media (max-width: 767px) {
  #homeIndustries {
    padding: 3rem 0;
  }

  .industriesContainer {
    padding: 0 1.5rem;
  }

  .industriesHeader {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .industriesTitle {
    font-size: clamp(2.5rem, 5.5vw, 1.85rem);
    text-align: left;
    width: 100%;
  }

  .industriesHeaderRight {
    width: 90%;
    text-align: center;
  }

  .industriesLabel {
    font-size: 0.75rem;
    text-align: left;
    
  }

  /* Cards stacked */
  .industryCardInner {
    flex-direction: column;
  }

  .industryCardImage {
    order: 1;
    height: 200px;
  }

  .industryCardContent {
    order: 2;
  }
}

/* ============================================
   9. COLLABORATION MODELS - All centered
   ============================================ */
@media (max-width: 767px) {
  #homePageSection8 {
    padding: 3rem 0;
    width: 100%;
  }

#footerCTA h3{
    font size
}

  #homePageSection8 .hpSectionHeadDiv {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem;
    width: 100%;
    text-align: center;
  }

  #hpSection8HeadChildID {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    text-align: left;
    width: 100%;
  }

  /* Hide pseudo-element content */
  #hpSection8HeadChildID::after,
  #hpSection8HeadChildID::before,
  #homePageSection8 .hpSectionHeadDiv::after,
  #homePageSection8 .hpSectionHeadDiv::before {
    display: none !important;
  }

  #homePageSection8 .hpSectionRightCol {
    width: 120% !important;
    text-align: center;
  }

  #homePageSection8 .hpSectionLabel {
    font-size: 0.75rem;
    text-align: left !important;
  }

  #homePageSection8 .hpSectionLabelLine {
    display: none !important;
  }

  #homePageSection8 .hpSectionDesc {
    font-size: 0.9rem;
    text-align: left !important;
    width: 100% !important;
    line-height: 1.1;
  }

  /* Cards stacked and centered */
  #CollabModelsWrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1.5rem;
    max-width: 100%;
  }

  .collabModelCard {
    text-align: center;
    padding: 1.5rem;
  }

  .collabModelNumber {
    text-align: center;
  }

  .collabModelContent {
    text-align: center;
  }

  .collabModelTitle {
    text-align: center;
  }

  .collabModelDesc {
    text-align: center;
  }

  .collabModelLines {
    justify-content: center;
  }
}

/* ============================================
   10. CASE STUDIES - Title centered, cards with images
   ============================================ */
/* Case studies 767px layout-shift block removed — desktop grid keeps from 481px up */
@media (max-width: 767px) {
  #homePageSection10 {
    padding: 3rem 1.5rem;
    height: auto;
  }

  /* Card Header with logo and flag */
  #threeCardsDivIChildID10 .caseStudyCardHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }

  #threeCardsDivIChildID10 .storyLogoParent {
    width: auto;
    max-width: 100px;
    height: 30px;
    object-fit: contain;
  }

  #threeCardsDivIChildID10 .flag {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
  }

  /* Case Study Title */
  #threeCardsDivIChildID10 .caseStudyTitle {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    text-align: left;
  }

  /* Case Study Image - SHOW IT */
  #threeCardsDivIChildID10 .caseStudyImageWrapper {
    display: block !important;
    width: 100%;
    height: 180px;
    margin-top: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
  }

  #threeCardsDivIChildID10 .caseStudyImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Learn More Button */
  #threeCardsDivIChildID10 .caseStudyLearnMore {
    position: relative !important;
    opacity: 1 !important;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
  }

  /* View All button */
  #threeCardsDivIChildID10 > a {
    margin-top: 1.5rem;
  }
}

/* ============================================
   11. BLOG SECTION - REMOVE EXTRA LINE
   ============================================ */
@media (max-width: 767px) {
  #homePageSectionBlog {
    padding: 3rem 0;
  }

  #homePageSectionBlog .hpSectionHeadDiv {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem;
    text-align: center;
  }

  #hpSectionBlogHeadChildID {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    text-align: left !important;
    width: 100%;
  }

  #homePageSectionBlog .hpSectionRightCol {
    width: 100%;
    text-align: center;
  }

  #homePageSectionBlog .hpSectionLabel {
    font-size: 0.75rem;
    text-align: center;
  }

  #homePageSectionBlog .hpSectionLabelLine {
    margin: 0.5rem auto 1rem;
    width: 40px;
  }

  #homePageSectionBlog .hpSectionDesc {
    font-size: 0.9rem;
    padding-left: 0vw !important;
    text-align: left !important;
  }

  /* REMOVE EXTRA ANIMATION LINE - as shown in red circle */
  #homePageSectionBlog .hpSectionHeadDiv::after,
  #homePageSectionBlog .hpSectionHeadDiv::before,
  #homePageSectionBlog #hpSectionBlogHeadChildID::after,
  #homePageSectionBlog #hpSectionBlogHeadChildID::before {
    display: none !important;
    content: none !important;
  }

  /* Only keep the single line under the label */
  .hpSectionLabelLine {
    display: block;
  }

  /* Blog slider */
  .homeBlogSlider {
    padding: 0 1rem;
  }

  .homeBlogArrowPrev,
  .homeBlogArrowNext {
    display: none;
  }

  .homeBlogSliderTrack {
    gap: 1rem;
  }

  .homeBlogCard {
    flex: 0 0 280px;
    width: 280px;
  }

  /* View all blogs button - centered */
  .homeBlogViewAllBtn {
    display: block;
    margin: 2.5rem auto;
    text-align: center !important;
    padding-left: 10vw !important;
  }
}
@media (max-width: 480px) {
  .benefitCard {
    position: relative;
    background: #ffffff;
    border-radius: 0;
    padding: 1.4rem 1.5rem 2.35rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    min-height: 185px;
    height: 200px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.35s ease-in-out;
  }
}
/* ============================================
   12. FAQ SECTION - Centered
   ============================================ */
@media (max-width: 767px) {
  #homeFaq {
    padding: 3rem 0;
  }

  .faqHeader {
    text-align: center;
  }

  .faqTitle {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    text-align: center;
  }

  .faqSubtitle {
    font-size: 0.9rem;
    text-align: center;
  }
}

/* ============================================
   13. FOOTER/CONTACT - Centered aligned content
   ============================================ */
@media (max-width: 767px) {
  #contactDiv {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
  }

  .contactLeft {
    text-align: center;
    align-items: center;
  }

  .contactHeading {
    text-align: center;
    width: 100%;
  }

  .contactInfo {
    text-align: center;
    align-items: center;
  }

  .contactInfoItem {
    display: flex !important;
    justify-content: start !important;
    text-align: center !important;
    width: 100%;
  }

  .contactInfoItem span {
    text-align: center !important;
  }

  .contactSocials {
    justify-content: center;
    width: 100%;
  }

  .socialHandle {
    text-align: center;
    width: 100%;
    margin-left: 0;
  }
}

/* ============================================
   14. METHODOLOGY - Centered content
   ============================================ */
@media (max-width: 767px) {
  .methodologyLeft {
    max-width: 100% !important;
    margin-bottom: 2rem;
  }

  .methodologyTitle {
    text-align: center !important;
  }

  .methodologySubtitle {
    text-align: center !important;
  }

  .methodologySteps {
    max-width: 400px;
    margin: 0 auto !important;
  }
}

/* ============================================
   GLOBAL MOBILE FIXES
   ============================================ */
@media (max-width: 767px) {
  /* Remove any extra pseudo-element lines globally */
  .hpSectionHeadParent::after,
  .hpSectionHeadParent::before {
    display: none !important;
  }

  /* Ensure no horizontal overflow */
  html,
  body {
    overflow-x: clip;
    max-width: 100vw;
  }

  /* Fix section widths */
  #homePageSection8,
  #homePageSection10,
  #homePageSectionBlog {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   EXTRA SMALL SCREENS (480px and below)
   ============================================ */
@media (max-width: 480px) {
  #homePageSection1 {
    padding: 80px 1rem 40px;
  }

  #homePageCopy {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  #homePageCopy .heroLineBlue::after {
    width: 40px;
    height: 3px;
  }

  #homePageCopy .heroLineGreen::after {
    width: 50px;
    height: 3px;
  }

  .heroCtaRow #microsoftPartnerBadge {
    height: 35px;
  }

  /* Reduce section padding */
  #homePartnerStatement,
  #homePageClientLogos,
  #homePageClientLogosSecondary,
  #softwareWeSupport,
  #homeBenefits,
  #homeIndustries,
  #homePageSection8,
  #homePageSection10,
  #homePageSectionBlog,
  #homeFaq {
    padding: 2.5rem 0;
  }

  /* Reduce container padding */
  #homePartnerStatement .homeClientHeader,
  #homePageClientLogos .homeClientHeader,
  #homePageClientLogosSecondary .homeClientHeader,
  .swsContainer,
  .benefitsContainer,
  .industriesContainer,
  #homePageSection8 .hpSectionHeadDiv,
  #CollabModelsWrapper,
  #homePageSection10,
  #homePageSectionBlog .hpSectionHeadDiv {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Smaller titles */
  #homePartnerStatement .homeClientTitle.homePartnerTitle,
  #homePageClientLogos .homeClientTitle,
  #homePageClientLogosSecondary .homeClientTitle,
  .swsTitle,
  .benefitsHeading,
  .industriesTitle,
  #hpSection8HeadChildID,
  #homePageSection10 #hpSection10HeadChildID,
  #hpSectionBlogHeadChildID,
  .swsTitle,
  .faqTitle {
    font-size: clamp(2.35rem, 5vw, 1.6rem);
  }

  /* Case study cards smaller */
  #threeCardsDivIChildID10 .cardParent {
    max-width: 300px;
  }

  #threeCardsDivIChildID10 .caseStudyImageWrapper {
    height: 150px;
  }

  /* --- INDUSTRIES SECTION FIXES --- */
  #homeIndustries {
    padding: 40px 0 !important;
  }

  .industriesContainer {
    max-width: 95vw !important;
    width: 100% !important;
    padding: 0 1rem !important;
  }

  .industriesHeader {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .industriesTitle {
    text-align: left !important;
    font-size: clamp(2.5rem, 6vw, 2rem) !important;
    max-width: 100% !important;
  }

  .industriesHeaderRight {
    text-align: left !important;
  }

  .industriesSubtitle {
    text-align: left !important;
    max-width: 100% !important;
  }
    
    /* Conflicting industries scroll-snap slider removed in favor of global-layout-refactor.css */

  /* --- CASE STUDIES & BLOG REALIGNMENT --- */
  .caseStudiesHeader,
  .blogHeader {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 2rem !important;
  }

  .caseStudiesTitle,
  .blogTitle {
    text-align: left !important;
    flex: none !important;
  }

  .caseStudiesSubtitle,
  .blogSubtitle {
    text-align: left !important;
    max-width: 100% !important;
  }

  .caseStudiesLabelLine,
  .blogLabelLine {
    display: none !important;
  }

  /* --- HERO REALIGNMENT FORCE --- */
  #homePageSection1 {
    align-items: flex-start !important;
    text-align: left !important;
  }

  #homePageCopy {
    text-align: left !important;
    width: 100% !important;
  }

  /* --- PARTNER & BENEFITS REALIGNMENT --- */
  #homePartner,
  #homeBenefits {
    text-align: left !important;
  }

  .partnerTitle,
  .benefitsTitle {
    text-align: left !important;
  }

  .partnerSubtitle,
  .benefitsSubtitle {
    text-align: left !important;
    margin: 0 !important;
  }

  /* --- ULTIMATE GLOBAL LEFT ALIGNMENT OVERRIDE --- */
  #homePageSection1,
  #homePageSection2,
  #homePageSection3,
  #homePageSection4,
  #homePageSection5,
  #homePageSection6,
  #homePageSection7,
  #homePageSection8,
  #homePageSection9,
  #homePageSection10,
  #homePageSection11,
  #homePageSection12,
  .hpSectionHeadDiv,
  .hpSectionHeadParent,
  .section-header,
  .section-title-wrapper {
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  h1,
  h2,
  h3,
  .hpSectionHeadChild,
  .hpSectionHeadParent,
  #hpSection1HeadChildID,
  #hpSection2HeadChildID,
  #hpSection3HeadChildID,
  #hpSection4HeadChildID,
  #hpSection5HeadChildID,
  #hpSection6HeadChildID,
  #hpSection7HeadChildID,
  #hpSection8HeadChildID,
  #hpSection9HeadChildID,
  #hpSection10HeadChildID,
  #hpSection11HeadChildID,
  #hpSection12HeadChildID,
  .caseStudiesTitle,
  .blogTitle,
  .faqTitle,
  .partnerTitle,
  .solutionsTitle,
  .benefitsTitle,
  .caseStudiesSubtitle,
  .blogSubtitle,
  .faqSubtitle,
  .partnerSubtitle,
  .solutionsSubtitle,
  .benefitsSubtitle,
  #homePageCopy,
  .hpSectionLabel,
  .industriesLabel,
  .caseStudiesLabel,
  .blogLabel,
  .faqLabel {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
  }

  /* Hide redundant lines and fix pseudo-elements that might cause centering issues */
  .hpSectionLabelLine,
  .caseStudiesLabelLine,
  .blogLabelLine,
  .faqLabelLine,
  .partnerLabelLine,
  .benefitsLabelLine,
  .hpSectionHeadDiv::before,
  .hpSectionHeadDiv::after,
  .hpSectionHeadParent::before,
  .hpSectionHeadParent::after {
    display: none !important;
  }

  /* Fix specific section containers that might have max-width centering */
  .industriesContainer,
  .solutionsContainer,
  .caseStudiesContainer,
  .blogContainer,
  .faqContainer,
  .partnerContainer,
  .benefitsContainer {
    max-width: 95vw !important;
    width: 100% !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    padding: 0 !important;
  }

  /* Hero button alignment */
  #homePageSection1 .wrap {
    align-items: flex-start !important;
  }

  .primary-btn,
  .secondary-btn,
  .contact-btn {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}


