

/* =========================================
   HERO BANNER & VIDEO (Add to existing CSS)
   ========================================= */

/* 1. Remove background image to reveal video */
.tj-hero-section {
    background: none !important; 
    padding-top: 280px;
   padding-bottom: 180px;
}
@media (min-width: 1710px) {
    .tj-hero-section {
        padding-bottom: 290px;
    }
}

/* 2. Position the Video */
.hero-bg-video {
    position: absolute !important;
    top: 0 !important; 
    left: 0 !important;
    width: 100vw !important; 
    height: 100% !important;
    object-fit: cover !important; 
    object-position: center center !important; 
    z-index: -2 !important;
}

/* 3. Dark Overlay */
.hero-video-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.4) !important; 
    z-index: -1; 
}

/* 4. Force Header & Hero to stretch Edge-to-Edge */
@media (min-width: 992px) {
     
    .tj-hero-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
    body, html, .smooth-wrapper, .site-main {
        width: 100% !important; 
        max-width: 100% !important; 
        overflow-x: hidden !important;
    }
}

/* 5. Constrain Text Width & Set to 45px */
.tj-hero-section .hero-content-ara { 
    max-width: 65% !important; 
    padding-top: 80px;
}
.tj-hero-section .tj-sec-heading .sec-title,
.tj-hero-section .tj-sec-heading .sec-title span {
    font-size: 45px !important;
    line-height: 1.3 !important;
}
.tj-hero-section .tj-sec-heading .sec-title span {
    display: block !important;
    padding-left: 0 !important;
    margin-top: 15px; 
}

/* 6. Shift the Circle right for wide screens (Leaves height alone!) */
@media (min-width: 1400px) {
    .tj-hero-section .hero-wrapper .circle-box { 
        right: 8% !important; 
        z-index: 4 !important;
    }
}
@media (min-width: 992px) and (max-width: 1399px) {
    .tj-hero-section .hero-wrapper .circle-box { 
        right: 4% !important; 
        z-index: 4 !important;
    }
}
.tj-hero-section .hero-wrapper .hero-feature-image {
  position: absolute;
  border-radius: 360px 0px 0px 360px;
  border: 17px solid #26333e;
  -webkit-box-shadow: 0px 0px 25px 0px rgba(50, 60, 69, 0.3);
          box-shadow: 0px 0px 25px 0px rgba(50, 60, 69, 0.3);
  z-index: 2;
  top: -10%;
  right: -55%;
  width: 100%;
  height: 460px;
  overflow: hidden;
  -webkit-transform: rotate(-42.189deg);
      -ms-transform: rotate(-42.189deg);
          transform: rotate(-42.189deg);
}
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .tj-hero-section .hero-wrapper .hero-feature-image {
    top: 0;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px) {
  .tj-hero-section .hero-wrapper .hero-feature-image {
    top: -5%;
    right: -60%;
    height: 370px;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px) {
  .tj-hero-section .hero-wrapper .hero-feature-image {
    top: 0;
    right: -58%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tj-hero-section .hero-wrapper .hero-feature-image {
    top: 4%;
    right: -57%;
    height: 330px;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-hero-section .hero-wrapper .hero-feature-image {
    display: none;
  }
}
.tj-hero-section .hero-wrapper .hero-feature-image::before {
  position: absolute;
  content: "";
  top: -25%;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 300px;
  background: rgba(255, 255, 255, 0.28);
  -webkit-filter: blur(100px);
          filter: blur(100px);
}
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .tj-hero-section .hero-wrapper .hero-feature-image::before {
    top: -50%;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .tj-hero-section .hero-wrapper .hero-feature-image::before {
    top: -65%;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tj-hero-section .hero-wrapper .hero-feature-image::before {
    top: 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tj-hero-section .hero-wrapper .hero-feature-image::before {
    top: -60%;
  }
}
.tj-hero-section .hero-wrapper .hero-feature-image img {
  height: 200%;
  -webkit-transform-origin: right center;
      -ms-transform-origin: right center;
          transform-origin: right center;
  max-width: initial;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  -webkit-transform: rotate(42deg) translateY(15%);
      -ms-transform: rotate(42deg) translateY(15%);
          transform: rotate(42deg) translateY(39%);
}




@media (max-width: 767px) {
    /* 1. Hides the long paragraph on mobile to drastically reduce height */
    .tj-hero-section .desc {
        display: none !important;
    }

    /* 2. Shrinks the main heading text */
    .tj-hero-section .sec-title {
        font-size: 30px !important; 
        line-height: 1.2 !important;
    }

    /* 3. Keeps padding tight */
    .tj-hero-section {
        min-height: auto; 
        padding-top: 100px !important; 
        padding-bottom: 50px !important; 
    }
    
    /* 4. Keeps the ship centered */
    .hero-bg-video {
        object-position: 50% center; 
    }
}


/* Adjusts the spacing for mobile screens so it doesn't get pushed down too far */
@media (max-width: 767px) {
    .tj-hero-section {
        padding-top: 130px !important; 
    }
}

.tj-hero-section .tj-sec-heading .sec-title{
    font-size: 40px;
}
.tj-hero-section .tj-sec-heading .sec-title span {
    display: block !important;
    padding-left: 0 !important;
    margin-top: 15px; /* Adds a bit of breathing room between the two lines */
    font-size: 45px;
}

/*Forces the card to stack the icon and text vertically */
.tj-service-item-two {
    flex-direction: column !important;
    align-items: flex-start !important;
}

/* 2. Allows the text container to drop below the icon and take full width */
.tj-service-item-two .service-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important; /* Removes the default template padding */
    margin-top: 10px !important;
}

/* 3. Breaks the horizontal flexbox on the description wrapper */
.tj-service-item-two .service-content .desc {
    display: block !important;
    width: 100% !important;
}

/* 4. Forces the bullet list to display vertically with circles */
.tj-service-item-two .service-content .desc ul.service-bullet-list {
    display: block !important;
    padding-left: 20px !important;
    margin-bottom: 15px !important;
    list-style-type: disc !important;
}

/* 5. Styles the individual bullet points to match your paragraph text */
.tj-service-item-two .service-content .desc ul.service-bullet-list li {
    display: list-item !important;
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 8px !important;
    font-size: 17.24px !important;
    line-height: 1.8 !important;
}


/* 6. Mobile adjustment for the bullet text size */
@media (max-width: 1199px) {
    .tj-service-item-two .service-content .desc ul.service-bullet-list li {
        font-size: 16px !important;
    }
}

/* Hides the horizontal dash next to active and hovered menu links */
.tj-menu-area ul li a::before {
    display: none !important;
}
.footer-menu ul li a::before {
    display: none !important;
}
.footer-info .footer-logo {
  max-width: 300px;
  width: 100%;
  margin-bottom: 30px;
}

.tj-service-item-three .service-icon .custom-card-icon {
    width: 85px; 
    height: 85px;
    border-radius: 50%; /* Keeps the image perfectly round */
    border: 5px solid #ffffff; /* Adds the thick white border */
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow to lift it off the background */
    object-fit: cover;
    background-color: #ffffff;
    
    /* Ensures it sits correctly above the main card image */
    position: relative;
    z-index: 2;
    display: inline-block;
}

.tj-service-section-two .tj-sec-heading-two {
    margin-bottom: 40px !important;
}
/* Forces the counter icon and text to stay side-by-side on all screens */
.tj-counter-section-two .counter-item-three {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Prevents the text itself from breaking into awkward lines */
.tj-counter-section-two .counter-item-three .counter-number {
    white-space: nowrap !important;
}
/* Paragraph and Title text inside the slider */
.custom-portfolio-text .portfolio-desc {
    color: #666 !important;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.custom-portfolio-text .portfolio-title {
    color: #26333e !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 1. Standard Grey Dot Bullet List */
.custom-portfolio-text .custom-dot-list {
    list-style-type: disc !important;
    padding-left: 20px;
    margin: 0;
}
.custom-portfolio-text .custom-dot-list li {
    color: #666 !important;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    display: list-item;
}

/* 2. Green Solid Checkmark List (Matches your Digitalization section) */
.custom-portfolio-text .custom-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-portfolio-text .custom-check-list li {
    color: #666 !important;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start; /* Aligns the icon to the top of multi-line paragraphs */
    gap: 12px; /* Exact spacing between icon and text */
}
.custom-portfolio-text .custom-check-list li i {
    color: #38c868 !important; /* The vibrant green from your screenshot */
    font-size: 20px;
    margin-top: 4px; /* Nudges the icon down to center it with the first line of text */
   
}
p {
        text-align: justify;
}
.justify{
    text-align: justify;
    
}
/* Targets BOTH the original <i> icon and your custom <img> icons */
.tj-service-item-three .service-image .service-icon i,
.tj-service-item-three .service-image .service-icon img.custom-card-icon {
    width: 82px !important;
    height: 82px !important;
    display: inline-block !important;
    border-radius: 50% !important;
    border: 4px solid var(--tj-color-common-white) !important;
    box-sizing: border-box !important;
    background: var(--tj-color-theme-primary) !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Forces the hero description and any JS-injected elements to justify */
.tj-hero-section .tj-sec-heading .desc,
.tj-hero-section .tj-sec-heading .desc p.justify,
.tj-hero-section .tj-sec-heading .desc p.justify * {
    text-align: justify !important;
    text-justify: inter-word !important;
    white-space: normal !important;
}

.infographic{
    width: 100px !important;
    height: 100x !important;
    display: inline-block !important;
    
    box-sizing: border-box !important;
   
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Centers the icon and text, and fixes alignment */
    .counter-item-three .counter-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end; /* Aligns items to the bottom */
        text-align: center;
        gap: 20px; /* Spacing between image and text */
        height: 160px; /* Gives the whole block a uniform height */
    }
    
    .counter-item-three .counter-icon .infographic {
        max-width: auto; 
        height: 100; /* Forces every image to be exactly 110px tall */
        object-fit: contain; /* Prevents the images from stretching or squishing */
    }
    
    .counter-item-three .counter-icon .sub-title {
        font-size: 22px; 
        font-weight: 600;
        color: #ffffff; 
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0;
        line-height: 1;
    }
    /* =========================================
   ISO BADGES: LAPTOP & DESKTOP VIEW
   ========================================= */

/* Centers the badge block inside each Bootstrap column */
.tj-counter-section-two .counter-item-three1 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

/* Stacks image and text vertically with uniform alignment */
.counter-item-three1 .counter-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 20px;
    height: auto !important; /* Prevents badges from overflowing and overlapping */
}

/* Keeps all 3 ISO badges the exact same visual height on laptop/desktop */
.counter-item-three1 .counter-icon .infographic1 {
    width: auto;
    max-width: 100px;
    height: 100px; /* Fixed missing 'px' unit */
    object-fit: contain;
}

.counter-item-three1 .counter-icon .sub-title1 {
    font-size: 18;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* =========================================
   ISO BADGES: MOBILE VIEW
   ========================================= */
@media (max-width: 767px) {
    /* Reduces the inline 100px gap below the heading on small screens */
    .tj-counter-section-two .tj-sec-heading-two {
        padding-bottom: 35px !important;
    }

    /* Adds breathing room between stacked badges */
    .tj-counter-section-two .counter-item-three1 {
        margin-bottom: 30px;
    }

    .counter-item-three1 .counter-icon {
        gap: 12px;
    }

    /* Scales badges down slightly for phone screens */
    .counter-item-three1 .counter-icon .infographic1 {
        width:100%;
        height: 100px;
    }

    .counter-item-three1 .counter-icon .sub-title1 {
        font-size: 16px;
    }
}

/* =========================================
   OPTICAL SIZE FIX FOR ISO BADGES
   ========================================= */

/* Keep all 3 containers uniform */
.counter-item-three .counter-icon .infographic1 {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
}

/* Shrink ISO 14001 slightly so it matches the visual height of the other two */

/* Slight boost to ISO 9001 & 45001 if needed to match optical weight */
.counter-item-three .counter-icon img[src*="ISO9001"] {
    transform: scale(1.0);
}

.counter-item-three .counter-icon img[src*="ISO14001" i] {
    transform: scale(0.80) !important;
}

.counter-item-three .counter-icon img[src*="ISO45001" i] {
    transform: scale(0.98) !important;
}

    /* Forcefully remove the vertical divider line in the top header */
.header-info ul li {
    border: none !important;
}

.header-info ul li::after,
.header-info ul li::before {
    display: none !important;
}
/* Offsets the anchor scroll so the sticky header doesn't cover the title */
#about, 
#service, 
#contact {
    scroll-margin-top: 110px; /* Adjust this number to match the exact height of your header */
}
/* 1. Forces the Bootstrap row to treat all columns as equal height */
    .tj-blog-section-two .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* 2. Stretches the card container */
    .tj-blog-item-two {
        margin-bottom: 30px;
        height: 100%; 
        display: flex;
        flex-direction: column;
    }
    
    /* 3. Keeps images perfectly uniform */
    .tj-blog-item-two .blog-image img {
        width: 100%;
        height: 280px !important; 
        object-fit: cover; 
    }
    
    /* 4. Restores the overlapping white name tag and aligns them all */
    .tj-blog-item-two .blog-content {
        position: relative !important;
        z-index: 2;
        margin: -40px 15px 0 15px !important; /* Pulls the box up over the image to create the tag */
        padding: 20px 15px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Adds a soft drop shadow to the white tag */
        text-align: center;
        flex-grow: 1; /* Forces all tags to stretch to the exact same height */
        display: flex;
        align-items: center; 
        justify-content: center; 
    }
    
    .tj-blog-item-two .blog-content .title {
        margin-bottom: 0 !important;
        font-size: 18px;
    }
    
/* Styles the service lists to look clean and professional */
.service-check-list ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 20px;
}

.service-check-list ul li {
    font-size: 16px;
    color: #666; 
    margin-bottom: 12px; /* Slightly increased for better spacing between multi-line items */
    display: flex;
    align-items: flex-start; /* Forces the icon to the top of the text */
    line-height: 1.6; /* Improves readability for wrapped text */
}

.service-check-list ul li i {
    color: #2bc168; 
    margin-right: 12px;
    font-size: 18px;
    margin-top: 4px; /* Nudges the icon down just enough to perfectly center it with the first line of text */
}


/* Fix for all laptop and desktop displays (992px and up) */
@media (min-width: 992px) {
    /* Forces the main website wrappers to stretch to the edges */
    body, html, .smooth-wrapper, .site-main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        overflow-x: hidden !important;
    }

    /* Ensures the hero background image scales up to cover the space */
    .tj-hero-section {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    /* Forces the header and hero content to break out of the boxed layout */
    .tj-hero-section .container, 
    .tj-header-area .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

/* Fix for 1920px Desktop Monitors */
@media (min-width: 1400px) {
    .tj-hero-section .hero-wrapper .circle-box {
        right: 19% !important; 
        top: 240px !important; /* Uses fixed pixels so height changes don't move it */
    }
}
@media (min-width: 1710px) and (max-width: 1920px) {
    .tj-hero-section .hero-wrapper .circle-box {
        right: 17% !important; /* Keeps it tight to the right side */
        top: 180px !important; /* Uses fixed pixels so height changes don't move it */
    }
}

/* Fix for Laptops (like 1140x932 and 1366x768) */
@media (min-width: 992px) and (max-width: 1399px) {
    .tj-hero-section .hero-wrapper .circle-box {
        right: 10% !important; /* Keeps it tight to the right side */
        top: 165px !important; /* Uses fixed pixels so height changes don't move it */
    }
}
.tj-about-section-two {
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 1440px) {
  .tj-about-section-two {
    padding-bottom: 120px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-about-section-two {
    padding-bottom: 40px;
  }
}
.tj-about-section-two.tj-about-page {
  padding-top: 120px !important;
  padding-bottom: 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-about-section-two.tj-about-page {
    padding-top: 80px;
  }
}
/* Reduce white space between all major sections to 40px */

.tj-about-section,
.tj-about-section-three,
.tj-counter-section,
.tj-counter-section-two,
.tj-service-section,
.tj-service-section-two,
.tj-service-section-three,
.tj-process-section,
.tj-process-section-two,
.tj-team-section,
.tj-team-section-two,
.tj-testimonial-section,
.tj-testimonial-section-two,
.tj-testimonial-section-three,
.tj-project-section,
.tj-project-section-two,
.tj-contact-section,
.tj-contact-section-two,
.tj-blog-section,
.tj-choose-us-section,
.tj-work-section,
.tj-price-section,
.tj-value-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.about-content-two .tj-progress-bar {
  margin-top: 20px;
  width: 550px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 576px) and (max-width: 767px) {
  .about-content-two .tj-progress-bar {
    width: 550px;
  }
}
@media (max-width: 575px) {
  .about-content-two .tj-progress-bar {
    width: 250px;
  }
}

.preloader .animation-preloader .spinner {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  
  text-align: center;
  line-height: 94px;
}
.preloader .animation-preloader .spinner::before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  
  
}

.tj-work-section1 {
  background: var(--tj-color-theme-bg);
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (min-width: 1440px) {
  .tj-work-section1 {
    
    padding-top: 140px;
    padding-bottom: 100px;
  }
}
@media screen and (min-width: 1710px) and (max-width: 1900px) {
  .tj-work-section1 {
    
    padding-top: 80px;
    padding-bottom: 50px;
  }
}
@media screen and (min-width: 1920px) {
  .tj-work-section1 {
    
    
    padding-bottom: 80px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-work-section1 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.tj-work-section1 .tj-sec-heading-two {
  max-width: 720px;
  margin-bottom: 60px;
  margin-top:60px;
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-work-section1 .tj-sec-heading-two {
    margin-bottom: 40px;
  }
}

.header-share ul li {
  border-right: none !important;
  border-left: none !important;
  padding: 15px 50px;
}

.logo-area {
  max-width: 350px;
  width: 100%;
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .logo-area {
    max-width: 220px;
  }
}
.logo-area a {
  display: inline-block;
}
.logo-area a img {
  width: 100%;
}
.tj-bottom-content-area {
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 15px;
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-bottom-content-area {
    padding-bottom: 15px;
  }
}
@media (max-width: 575px) {
  .tj-bottom-content-area {
    padding-top: 15px;
  }
}
.tj-header-topbar-area {
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
  color: var(--tj-color-common-white);
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px) {
  .tj-header-topbar-area {
    margin-bottom: 15px;
  }
}
@media (max-width: 575px) {
  .tj-header-topbar-area {
    margin-bottom: 0;
    display:none;
  }
}
@media screen and (min-width: 992px) {
  .info-right-item .info-navbar ul {
    display:none;
  }
}
/* Push the title down so it sits below the worker's face */
.breadcrumb-content-area {
    padding-top: 140px !important; /* Adjust this number to move the text lower or higher */
}

/* Ensure it doesn't push down too far on mobile screens */
@media (max-width: 767px) {
    .breadcrumb-content-area {
        padding-top: 70px !important;
    }
}
@media (min-width: 1710px) {
    .breadcrumb-content-area {
        padding-top: 230px !important;
    }
}