/* Hero video responsive desktop sizing */
.hero-video-box {
  flex: 0 0 430px !important;
  width: 430px !important;
  min-width: 430px !important;
  max-width: 430px !important;
  transform: translateX(4vw) !important;
}

/* Make video fill the container */
.hero-video-box .elementor-widget-video,
.hero-video-box .elementor-widget-container,
.hero-video-box .elementor-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Actual video/iframe sizing */
.hero-video-box iframe,
.hero-video-box video {
  width: 100% !important;
  max-width: 100% !important;
  height: 550px !important;
  object-fit: cover !important;
}

/* Medium desktops */
@media (max-width: 1600px) {
  .hero-video-box {
    flex: 0 0 390px !important;
    width: 390px !important;
    min-width: 390px !important;
    max-width: 390px !important;
    transform: translateX(2.5vw) !important;
  }
}

/* Common laptops */
@media (max-width: 1440px) {
  .hero-video-box {
    flex: 0 0 340px !important;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    transform: translateX(0.5vw) !important;
  }
}

/* Smaller 1366px laptops */
@media (max-width: 1366px) {
  .hero-video-box {
    flex: 0 0 310px !important;
    width: 310px !important;
    min-width: 310px !important;
    max-width: 310px !important;
    transform: translateX(0) !important;
  }
}

/* Hero machine background responsive positioning */
.hero-machine-bg,
#hero-machine-bg {
  background-repeat: no-repeat !important;
  background-size: 1220px auto !important;
  background-position: left 48px top 146px !important;
  overflow: visible !important;
}

/* Smaller desktop / scaled laptop screens */
@media (max-width: 1600px) {
  .hero-machine-bg,
  #hero-machine-bg {
    background-size: 1015px auto !important;
    background-position: left -10px top 215px !important;
    overflow: visible !important;
  }
}

/* Common laptop / smaller desktop width */
@media (max-width: 1440px) {
  .hero-machine-bg,
  #hero-machine-bg {
    background-size: 955px auto !important;
    background-position: left -10px top 235px !important;
    overflow: visible !important;
  }
}

/* 1366px laptops */
@media (max-width: 1366px) {
  .hero-machine-bg,
  #hero-machine-bg {
    background-size: 905px auto !important;
    background-position: left -10px top 250px !important;
    overflow: visible !important;
  }
}

/* Very tight desktop widths */
@media (max-width: 1280px) {
  .hero-machine-bg,
  #hero-machine-bg {
    background-size: 850px auto !important;
    background-position: left -10px top 265px !important;
    overflow: visible !important;
  }
}

/* ================================
   FOUNDER PHOTO - SMALLER DESKTOP ONLY
   Large desktop untouched
   ================================ */

/* Smaller wide desktops only */
@media (min-width: 1025px) and (max-width: 1800px) {
  .founder-image-box {
    width: clamp(330px, 24vw, 420px) !important;
    max-width: 420px !important;
    flex: 0 1 clamp(330px, 24vw, 420px) !important;
    align-self: center !important;
  }

  .founder-image,
  .founder-image.elementor-widget,
  .founder-image .elementor-widget-container,
  .founder-image img,
  .founder-image-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
}

/* Common laptop / scaled desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
  .founder-image-box {
    width: clamp(300px, 23vw, 385px) !important;
    max-width: 385px !important;
    flex-basis: clamp(300px, 23vw, 385px) !important;
    transform: translateY(20px) !important;
  }
}

/* Founder text alignment - large desktop only */
@media (min-width: 1801px) {
  .founder-text,
  .founder-text .elementor-heading-title,
  .founder-text p {
    text-align: right !important;
  }
}

/* Founder photo - middle desktop correction only */
@media (min-width: 1441px) and (max-width: 1700px) {
  .founder-image-box {
    width: clamp(320px, 22vw, 385px) !important;
    max-width: 385px !important;
    flex-basis: clamp(320px, 22vw, 385px) !important;
  }

  .founder-image,
  .founder-image.elementor-widget,
  .founder-image .elementor-widget-container,
  .founder-image img,
  .founder-image-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ================================
   WHAT WE DELIVER - SIDE CARD LENGTH ONLY
   Large desktop untouched
   Tablet/mobile untouched
   ================================ */

/* Smaller wide desktops */
@media (min-width: 1025px) and (max-width: 1800px) {
  .deliver-side {
    height: 525px !important;
    max-height: 525px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .deliver-side > .e-con-inner {
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
}

/* Smaller desktop / scaled laptop screens */
@media (min-width: 1025px) and (max-width: 1600px) {
  .deliver-side {
    height: 510px !important;
    max-height: 510px !important;
  }
}

/* Common laptop widths */
@media (min-width: 1025px) and (max-width: 1440px) {
  .deliver-side {
    height: 495px !important;
    max-height: 495px !important;
  }
}

/* Smaller 1366px laptop screens */
@media (min-width: 1025px) and (max-width: 1366px) {
  .deliver-side {
    height: 480px !important;
    max-height: 480px !important;
  }
}

/* ================================
   1280PX / 150% SCALE REFINED FIX
   Only affects 1025px–1320px
   Founder + What We Deliver only
   ================================ */

@media (min-width: 1025px) and (max-width: 1320px) {

  /* Founder: correct size, moved left using transform so it does not overflow */
  .founder-image-box {
    width: 315px !important;
    max-width: 315px !important;
    min-width: 0 !important;
    flex: 0 0 315px !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    transform: translate(-170px, 10px) !important;
    overflow: visible !important;
  }

  .founder-image,
  .founder-image.elementor-widget,
  .founder-image .elementor-widget-container,
  .founder-image img,
  .founder-image-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .founder-text .elementor-widget-heading:first-of-type .elementor-heading-title {
    font-size: 58px !important;
    line-height: 1.05 !important;
  }

  .founder-text .elementor-widget-heading:not(:first-of-type) .elementor-heading-title,
  .founder-text p,
  .founder-text .elementor-widget-text-editor {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  /* What We Deliver: reduce side-card height closer to middle card */
  .deliver-side {
    --min-height: 420px !important;
    height: 420px !important;
    max-height: 420px !important;
    min-height: 420px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .deliver-side > .e-con-inner {
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  /* Main title Icon Boxes only: Precision Fabrication + Industry Support */
  .deliver-card-title {
    margin-bottom: 2px !important;
  }

  .deliver-card-title .elementor-icon-box-title,
  .deliver-card-title .elementor-icon-box-title a,
  .deliver-card-title .elementor-icon-box-title span {
    font-size: 23px !important;
    line-height: 1.08 !important;
    letter-spacing: 0.1px !important;
  }

  .deliver-card-title .elementor-icon,
  .deliver-card-title .elementor-icon i,
  .deliver-card-title .elementor-icon svg {
    font-size: 39px !important;
    width: 39px !important;
    height: 39px !important;
  }

  /* Left card paragraph */
  .deliver-side p,
  .deliver-side .elementor-widget-text-editor {
    font-size: 12.8px !important;
    line-height: 1.36 !important;
  }

  /* Right card list text */
  .deliver-side .elementor-icon-list-text {
    font-size: 13px !important;
    line-height: 1.32 !important;
  }

  .deliver-side .elementor-icon-list-item {
    margin-bottom: 3px !important;
  }

  .deliver-side .elementor-icon-list-icon i,
  .deliver-side .elementor-icon-list-icon svg {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
  }

  /* Bottom mini icons/text on left card only */
  .deliver-side .elementor-widget-icon-box:not(.deliver-card-title) .elementor-icon-box-title,
  .deliver-side .elementor-widget-icon-box:not(.deliver-card-title) .elementor-icon-box-description,
  .deliver-side .elementor-widget-icon-box:not(.deliver-card-title) p {
    font-size: 8.8px !important;
    line-height: 1.18 !important;
  }

  .deliver-side .elementor-widget-icon-box:not(.deliver-card-title) .elementor-icon {
    font-size: 12px !important;
  }
}
/* ================================
   ABOUT THE FOUNDER SECTION
   Background + paragraph positioning
   Desktop only
   ================================ */

@media (min-width: 1025px) {
  .founder-about-section {
    position: relative !important;
    overflow: hidden !important;
    background-repeat: no-repeat !important;
  }

  .founder-about-copy {
    position: absolute !important;
    margin: 0 !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .founder-about-copy,
  .founder-about-copy p,
  .founder-about-copy span {
    color: #ffffff !important;
  }
}

/* Large screens - preserve the original large-screen look */
@media (min-width: 1601px) {
  .founder-about-section {
    min-height: 930px !important;
    background-size: 72% auto !important;
    background-position: left 215px top 0 !important;
  }

  .founder-about-copy {
    top: 155px !important;
    left: 400px !important;
    width: 1000px !important;
    max-width: 1000px !important;
    height: auto !important;
  }

  .founder-about-copy,
  .founder-about-copy p,
  .founder-about-copy span {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
}

/* Medium desktops / 1440-1600 style screens */
@media (min-width: 1321px) and (max-width: 1600px) {
  .founder-about-section {
    min-height: 830px !important;
    background-size: 86% auto !important;
    background-position: left 120px top 0 !important;
  }

  .founder-about-copy {
    top: 185px !important;
    left: 285px !important;
    width: 940px !important;
    max-width: 940px !important;
    height: auto !important;
  }

  .founder-about-copy,
  .founder-about-copy p,
  .founder-about-copy span {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }
}

/* 1280px / 150% scaled laptop screens */
@media (min-width: 1025px) and (max-width: 1320px) {
  .founder-about-section {
    min-height: 760px !important;
    background-size: 98% auto !important;
    background-position: left 40px top 0 !important;
  }

  .founder-about-copy {
    top: 157px !important;
    left: 180px !important;
    width: 860px !important;
    max-width: 860px !important;
    height: auto !important;
  }

  .founder-about-copy,
  .founder-about-copy p,
  .founder-about-copy span {
    font-size: 16.5px !important;
    line-height: 1.23 !important;
  }
}
/* =================================
   PROCESS FLOW - Cards Resize and Arrows
   ================================= */
/* Medium desktops */
@media (max-width: 1600px) {

  .process-flow{
    justify-content:center !important;
    align-items:stretch !important;
    gap:48px !important;
    flex-wrap:nowrap !important;
}

  .process-flow h3,
  .process-flow h3 a{
    font-size: 22px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.5px !important;
  }

}

/* Common laptops */
@media (max-width: 1440px) {

  .process-flow{
    gap: 38px !important;
  }

  .process-flow h3,
  .process-flow h3 a{
    font-size: 21px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.5px !important;
  }

}

/* Smaller 1366px laptops */
@media (max-width: 1366px) {

  .process-flow{
    gap: 30px !important;
  }

  .process-flow h3,
  .process-flow h3 a{
    font-size: 20px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.5px !important;
  }

}
.process-card{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    
    background:#fff;
     border-radius:8px;
    box-shadow:0 0 18px rgba(243,140,62,.28);

    padding:45px 28px 65px;

    min-height:430px;

    overflow:visible;
}
.process-card .elementor-widget-icon-box{
    width:100%;
}

.process-card .elementor-icon-box-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.process-card .elementor-icon-box-icon{
    margin-bottom:22px;
}

.process-card .elementor-icon-box-title{
    margin-bottom:18px;
}

.process-card .elementor-icon-box-description{
    line-height:1.6;
    margin-bottom:30px;
}
/* =================================
   PROCESS CARD DIVIDER
   ================================= */

.process-card > hr.e-divider-base{

    position:absolute;
    left:50%;
    bottom:28px;

    transform:translateX(-50%);

    width:72px !important;
    height:2px !important;

    background:#FBB338 !important;
    border:0 !important;

    margin:0 !important;
}
.process-card:not(:last-child)::after{
    content:"⟶";
    position:absolute;

    right:-34px;
    left:auto;

    top:50%;
    transform:translateY(-50%);

    font-size:42px;
    font-weight:900;
    line-height:1;
    color:#F38C3E;
    z-index:10;
    pointer-events:none;
}
/* Large desktops */
@media (min-width:1601px){

    .process-flow{
        justify-content:center !important;
        align-items:stretch !important;
        gap:60px !important;
        flex-wrap:nowrap !important;
    }

}
@media (min-width:1601px){

    .process-card:not(:last-child)::after{
    right:-36px !important;
    left:auto !important;
    font-size:30px !important;
}

}
/* Medium desktops */
@media (max-width: 1600px){

    .process-card:not(:last-child)::after{
    right:-36px !important;
    left:auto !important;
    font-size:30px !important;
}

}

/* Common laptops */
@media (max-width: 1440px){

    .process-card:not(:last-child)::after{
    right:-24px !important;
    left:auto !important;
    font-size:24px !important;
}

}

/* Smaller 1366px laptops */
@media (max-width: 1366px){

    .process-card:not(:last-child)::after{
    right:-20px !important;
    left:auto !important;
    font-size:18px !important;
}
}
@media (max-width:1600px){

.process-card{
    min-height:410px;
    padding:40px 24px 58px;
}

}

@media (max-width:1440px){

.process-card{
    min-height:390px;
    padding:36px 22px 54px;
}

}

@media (max-width:1366px){

.process-card{
    min-height:365px;
    padding:32px 18px 50px;
}

}
/* =================================
   PROCESS FLOW - TABLET/MOBILE
   ================================= */

@media (max-width: 1024px) {

  .process-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }


.process-flow {
    flex-direction: column !important;
    align-items: center !important;
    gap: 55px !important;
    height: auto !important;
    min-height: 0 !important;
}


  .process-card{
    width:340px !important;
    max-width:92vw !important;
    min-height:auto !important;
    flex-shrink:0 !important;
    padding:38px 26px 32px !important;
}


  .process-card:not(:last-child)::after {

    content: "↓" !important;

    left: 50% !important;
    right: auto !important;

    top: calc(100% + 18px) !important;

    transform: translateX(-50%) !important;

    font-size: 30px !important;

  }

}


@media (max-width: 767px) {

  .process-section {
    padding-bottom: 30px !important;
  }


  .process-flow {
    gap: 45px !important;
  }


  .process-card:not(:last-child)::after {

    top: calc(100% + 12px) !important;

    font-size: 26px !important;

  }

}