/* image_text.css */

/* Container pentru imagine și text */
.image_text {
  display: flex;               /* Aliniere pe orizontală (imagine + text) */
  align-items: center;         /* Aliniere verticală la mijloc */
  justify-content: space-between; /* Spațiere între imagine și text */
  width: 80%;                  /* Lățimea containerului */
  margin: 40px auto;           /* Centrarea containerului pe pagină */
  padding: 20px;               /* Padding pentru a adăuga spațiu la margine */
  background-color: rgba(41, 43, 43, 0.8); /* Culoare #292b2b cu opacitate 0.8 */
  flex-direction: row;
  border: 1px solid rgba(223, 83, 8, 0.15);
  border-radius: 12px;
}

.image_text img {
  width: 400px;               /* Lățimea imaginii fixă de 720p (1280px) */
  height: auto;               /* Înălțimea imaginii fixă (720px) */
  object-fit: cover;           /* Asigură că imaginea se va potrivi perfect în dimensiuni */
  border-radius: 8px;          /* Colțuri rotunjite pentru imagine */
  margin-left: 30px;
  margin-right: 30px;
  flex-wrap: wrap;
  flex-direction: row;
}

.image_text .text {
  width: auto;                  /* Lățimea textului să fie 50% din container */
  background-color: rgba(47, 49, 50, 0.8); /* Culoare fundal transparentă */
  color: white;                /* Culoare text albă */
  padding: 20px;               /* Padding pentru text */
  border-radius: 8px;          /* Colțuri rotunjite pentru chenarul de text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Umbra pentru un efect de adâncire */
}

.image_text .text h2 {
  font-size: 24px;             /* Dimensiune mai mare pentru titlu */
  margin-bottom: 10px;         /* Spațiu între titlu și paragraf */
  text-align: center;
}

.image_text .text p {
  font-size: 16px;             /* Dimensiune text pentru paragraf */
  line-height: 1.5;            /* Îmbunătățirea lizibilității textului */
}

.hydraulic-gallery,
.pneumatic-gallery,
.automotive-gallery,
.electrical-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 80%;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(41, 43, 43, 0.8);
  border: 1px solid rgba(223, 83, 8, 0.15);
  border-radius: 12px;
}

.hydraulic-gallery img,
.pneumatic-gallery img,
.automotive-gallery img,
.electrical-gallery img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hydraulic-gallery img:hover,
.pneumatic-gallery img:hover,
.automotive-gallery img:hover,
.electrical-gallery img:hover {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.pneumatic-gallery,
.automotive-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Centrează ultima imagine când galeria Automotive are un număr impar de elemente. */
.automotive-gallery img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 18px) / 2);
  justify-self: center;
}

@media (max-width: 768px) {
  .hydraulic-gallery,
  .pneumatic-gallery,
  .automotive-gallery,
  .electrical-gallery {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .hydraulic-gallery img,
  .pneumatic-gallery img,
  .automotive-gallery img,
  .electrical-gallery img {
    height: auto;
  }

  .automotive-gallery img:last-child:nth-child(odd) {
    width: 100%;
  }
}

.image_text .text1 {
  width: 100%;                  /* Lățimea textului să fie 50% din container */
  background-color: rgba(47, 49, 50, 0.8); /* Culoare fundal transparentă */
  color: white;                /* Culoare text albă */
  padding: 20px;               /* Padding pentru text */
  border-radius: 8px;          /* Colțuri rotunjite pentru chenarul de text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Umbra pentru un efect de adâncire */
}
.image_text .text1 h2 {
  font-size: 24px;             /* Dimensiune mai mare pentru titlu */
  margin-bottom: 10px;         /* Spațiu între titlu și paragraf */
  text-align: center;
}

.image_text .text1 p {
  font-size: 16px;             /* Dimensiune text pentru paragraf */
  line-height: 1.5;            /* Îmbunătățirea lizibilității textului */
}

























/* TEXT TEXT CONTAINER*/

.text_text {
  display: flex;               /* Folosim flexbox pentru alinierea verticală */
  flex-direction: row;      /* Așezăm info-boxurile pe verticală */
  align-items: center;         /* Centrarea pe orizontală a elementelor */
  justify-content: flex-start; /* Aliniem conținutul în partea de sus a containerului */
  width: 80%;                  /* Lățimea containerului */
  margin: 0 auto;              /* Centrarea containerului pe pagină */
  padding: 20px;               /* Padding pentru a adăuga spațiu la marginea containerului */
  background-color: rgba(41, 43, 43, 0.8); /* Culoare #292b2b cu opacitate 0.8 */
  margin-top: 20px;
}

.info-box-tt {
  width: 70%;                  /* Lățimea de 70% din pagină */
  background-color: rgba(47, 49, 50, 0.8); /* Culoare #2f3132 cu transparență */
  color: white;                /* Culoarea textului */
  padding: 20px;               /* Padding pentru a adăuga spațiu în jurul conținutului */
  border-radius: 8px;          /* Colțuri rotunjite */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Umbra pentru un efect de adâncire */
  margin: 20px 20px;              /* Marginile pentru a separa info-boxurile */
  display: block;
  text-align: center;          /* Aliniere text pe centru */
}

.info-box-tt h2 {
  font-size: 24px;             /* Dimensiune mai mare pentru titlu */
  margin-bottom: 10px;         /* Spațiu între titlu și paragraf */
  text-align: center;
}

.info-box-tt p {
  font-size: 16px;             /* Dimensiune text pentru paragraf */
  margin: 0;                   /* Eliminăm marginile pentru a evita spațierea suplimentară */
  line-height: 1.5;            /* Îmbunătățim lizibilitatea textului */
}







/* IMAGE IMAGE CONTAINER*/

/* Container principal pentru imaginea mare și miniaturi */
.image_image {
  display: flex;                       /* Aliniere pe orizontală */
  justify-content: space-between;      /* Spațiere între imaginea principală și miniaturi */
  align-items: center;                 /* Aliniere verticală la mijloc */
  margin: 40px auto;                   /* Centrarea containerului pe pagină */
  width: 80%;                           /* Lățimea containerului */
  padding: 20px;                        /* Padding pentru a adăuga spațiu */
  background-color: rgba(41, 43, 43, 0.8); /* Culoare de fundal cu opacitate */
}

.image_image img.main-image {
  width: 400px;                        /* Dimensiune fixă pentru imaginea principală */
  height: 250px;                       /* Înălțimea fixă a imaginii */
  object-fit: cover;                   /* Imaginea se va potrivi perfect în container */
  border-radius: 8px;                  /* Colțuri rotunjite pentru imagine */
}

.thumbnail-container {
  width: 50%;
  overflow: hidden;
  position: relative;
}

.image_image_carousel {
  width: 85%;
  max-width: 1200px;
  margin: 30px auto;
  overflow: hidden;
  position: relative;
}












.thumbnail-container_carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.thumbnails {
  display: flex;
  animation: scroll-carousel 60s linear infinite;
  width: max-content;
  gap: 12px;
  padding: 20px 0;
}

.thumbnails:hover {
  animation-play-state: paused;
}

.thumbnails img {
  width: 220px;
  height: 165px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.thumbnails img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(223, 83, 8, 0.4);
  cursor: pointer;
  z-index: 2;
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}











/* container imagini portofoliu */

.image_banner {
  display: flex;                 /* Aliniere pe orizontală a imaginilor */
  flex-wrap: wrap;               /* Permite împachetarea imaginilor pe mai multe linii */
  justify-content: center;       /* Centrează imaginile pe linie */
  gap: 20px;                     /* Spațiere între imagini */
  margin: 40px auto;             /* Centrarea containerului pe pagină */
  width: 80%;                    /* Lățimea containerului */
  padding: 10px;                 /* Padding pentru a adăuga spațiu în jurul containerului */
}

.image_banner img {
  width: 23%;                    /* Dimensiunea imaginii, astfel încât să fie 4 imagini pe o linie */
  height: 250px;                 /* Înălțimea imaginii */
  object-fit: cover;             /* Asigură că imaginea se va potrivi perfect în dimensiuni */
  border-radius: 8px;            /* Colțuri rotunjite pentru imagini */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animație la hover */
}

.image_banner img:hover {
  transform: scale(1.1);         /* Zoom în imagine când faci hover */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Umbra mai mare pe hover */
  cursor: pointer;              /* Schimbă cursorul când este hover */
}








.image-container {
  width: 80%;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centrează imaginile */
  padding: 10px;
  border-radius: 8px;
}

.image-container a {
  flex: 1 1 calc(50% - 10px); /* Two images per row */
  margin: 5px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  display: block;
}

.image-container-single a {
  flex: 0 1 calc(50% - 10px);
}

.image-container img {
  width: 100%;
  height: 200px; /* Fixează înălțimea imaginilor */
  object-fit: cover; /* Asigură păstrarea proporțiilor */
  transition: transform 0.3s ease;
  filter: brightness(calc(1 - var(--image-darkness)));
}

.image-container a:hover img {
  transform: scale(1.1);
}

.image-container a .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}







/* contact_container.css */

/* Container principal pentru secțiunea de contact */
.contact_container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 85%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  gap: 30px;
}

/* Formularul de contact */
.contact_container .form-container {
  width: 55%;
  border-radius: 12px;
  background-color: rgba(35, 37, 38, 0.95);
  padding: 40px;
  border: 1px solid rgba(223, 83, 8, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact_container .form-container h1,
.contact_container .form-container h2 {
  font-size: 24px;
  margin-bottom: 15px;
  text-align: left;
  color: white;
}

.contact_container .form-container input,
.contact_container .form-container textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid rgba(223, 83, 8, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact_container .form-container input:focus,
.contact_container .form-container textarea:focus {
  outline: none;
  border-bottom-color: #df5308;
  background-color: rgba(255, 255, 255, 0.08);
}

.contact_container .form-container button {
  padding: 14px 40px;
  background-color: #df5308;
  color: white;
  border: none;
  border-radius: 4px;
  width: auto;
  min-width: 200px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin-top: 25px;
}

.contact_container .form-container button:hover {
  background-color: #ff6b1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 83, 8, 0.4);
}

/* Container pentru hartă */
.contact_container .map-container {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: rgba(35, 37, 38, 0.95);
  border: 1px solid rgba(223, 83, 8, 0.15);
  display: flex;
  flex-direction: column;
}

.contact_container .map-container h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #df5308;
  text-align: center;
  padding: 20px;
  margin: 0;
  letter-spacing: 0.5px;
}

.contact_container .map-container iframe {
  width: 100%;
  flex: 1;
  min-height: 350px;
  border: none;
}

.contact_container form {
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

.contact_container .form-container input,
.contact_container .form-container textarea,
.contact_container .form-container select {
  width: 100%;
  margin-bottom: 0;
  border-radius: 0;
  box-sizing: border-box;
  font-size: 15px;
}



/* Setări pentru dispozitive mobile */
@media (max-width: 768px) {
  .contact_container {
    flex-direction: column;
    width: 92%;
    gap: 20px;
  }
  .contact_container .map-container {
    width: 100%;
  }
  .contact_container .form-container,
  .contact_container .text-container {
    width: 100%;
    margin-bottom: 20px;
  }
  .form-container {
    width: 100%;
    padding: 25px 20px;
  }
}


/* ===== HOMEPAGE SECTIONS ===== */

/* Section titles */
.section-title {
  width: 80%;
  max-width: 1200px;
  margin: 60px auto 30px;
  text-align: center;
}

.section-title h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Services Grid - 4 cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(223, 83, 8, 0.15);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(223, 83, 8, 0.2);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 18px;
  background-color: rgba(35, 37, 38, 0.95);
  flex: 1;
}

.service-card-content h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #df5308;
  margin-bottom: 8px;
}

.service-card-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

/* Industry-led homepage sector grid */
.industry-sectors {
  position: relative;
  margin-top: 72px;
  padding: 76px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(rgba(24, 27, 28, 0.93), rgba(24, 27, 28, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='.7'%3E%3Cpath d='M-20 35c29-24 57-24 85 0s56 24 85 0 57-24 85 0M-20 62c29-24 57-24 85 0s56 24 85 0 57-24 85 0M-20 89c29-24 57-24 85 0s56 24 85 0 57-24 85 0M-20 116c29-24 57-24 85 0s56 24 85 0 57-24 85 0M-20 143c29-24 57-24 85 0s56 24 85 0 57-24 85 0%22/%3E%3C/g%3E%3C/svg%3E");
  border-top: 1px solid rgba(223, 83, 8, 0.32);
  border-bottom: 1px solid rgba(223, 83, 8, 0.22);
}

.industry-sectors::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, #df5308, transparent);
  transform: translateX(-50%);
}

.industry-sectors .industry-title {
  position: relative;
  width: min(900px, 90%);
  margin: 0 auto 44px;
}

.industry-kicker {
  display: block;
  margin-bottom: 10px;
  color: #df5308;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.industry-sectors .industry-title h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.02em;
}

.industry-sectors .industry-title p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.6vw, 19px);
}

.industry-sectors .industry-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1380px, 92%);
  max-width: none;
  margin-bottom: 0;
}

.industry-sectors .industry-card {
  min-width: 0;
  min-height: 500px;
  background: linear-gradient(145deg, rgba(35, 38, 39, 0.98), rgba(24, 27, 28, 0.98));
  border: 1px solid rgba(223, 83, 8, 0.52);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.industry-sectors .industry-card:hover {
  border-color: #df5308;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(223, 83, 8, 0.18);
  transform: translateY(-6px);
}

.industry-sectors .industry-card > img {
  height: 270px;
  filter: saturate(0.82) contrast(1.05);
}

.industry-sectors .industry-card:hover > img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.035);
}

.industry-sectors .industry-card .service-card-content {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  min-height: 230px;
  padding: 22px 24px 24px;
  background: linear-gradient(145deg, rgba(35, 38, 39, 0.99), rgba(24, 27, 28, 0.99));
}

.sector-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  align-self: start;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(223, 83, 8, 0.78);
  border-radius: 10px;
  color: #df5308;
}

.sector-icon svg {
  width: 38px;
  height: 38px;
}

.industry-sectors .industry-card .service-card-content h3 {
  align-self: center;
  margin: 0;
  color: #f06419;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.16;
}

.industry-sectors .industry-card .service-card-content p {
  grid-column: 1 / -1;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.62;
}

.sector-link {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sector-link b {
  color: #df5308;
  font-size: 18px;
  transition: transform 0.25s ease;
}

.industry-card:hover .sector-link b {
  transform: translate(3px, -3px);
}

/* Hydraulic portfolio gallery */
.portfolio-showcase {
  position: relative;
  margin-top: 72px;
  padding: 78px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(223, 83, 8, 0.11), transparent 38%),
    rgba(27, 30, 31, 0.94);
  border-top: 1px solid rgba(223, 83, 8, 0.28);
  border-bottom: 1px solid rgba(223, 83, 8, 0.18);
}

.portfolio-showcase-heading {
  width: min(760px, 90%);
  margin: 0 auto 42px;
  text-align: center;
}

.portfolio-showcase-heading > span {
  display: block;
  margin-bottom: 10px;
  color: #df5308;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-showcase-heading h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.portfolio-showcase-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 16px;
}

.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1240px, 90%);
  margin: 0 auto;
}

.portfolio-shot {
  position: relative;
  display: block;
  overflow: hidden;
  background: #181b1c;
  border: 1px solid rgba(223, 83, 8, 0.42);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.portfolio-shot:hover {
  border-color: #df5308;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  transform: translateY(-5px);
}

.portfolio-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.35s ease, transform 0.5s ease;
}

.portfolio-shot:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.portfolio-shot > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(15, 18, 19, 0.98), rgba(15, 18, 19, 0.72));
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-shot > span b {
  color: #df5308;
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
}

/* Process Steps */
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.process-steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 54px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, rgba(223, 83, 8, 0.25), #df5308, rgba(223, 83, 8, 0.25));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.25s ease-out;
}

.process-steps.is-visible::before {
  transform: scaleX(1);
}

.process-step {
  position: relative;
  z-index: 1;
  background-color: rgba(35, 37, 38, 0.95);
  border: 1px solid rgba(223, 83, 8, 0.15);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.process-step:hover {
  border-color: rgba(223, 83, 8, 0.5);
}

.step-number {
  font-family: 'Barlow', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #df5308;
  margin-bottom: 12px;
}

.process-step h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

/* Why Us Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.why-us-item {
  background-color: rgba(35, 37, 38, 0.95);
  border: 1px solid rgba(223, 83, 8, 0.15);
  border-radius: 12px;
  padding: 35px 24px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.why-us-item:hover {
  border-color: rgba(223, 83, 8, 0.5);
}

.why-us-number {
  font-family: 'Barlow', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #df5308;
  margin-bottom: 12px;
}

.why-us-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Scroll reveal, parallax and gallery interactions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.industry-overview-media > img {
  will-change: transform;
  transition: transform 0.18s linear;
}

.gallery-lightbox-trigger {
  cursor: zoom-in;
}

@media (max-width: 768px) {
  .process-steps::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .industry-overview-media > img,
  .hydraulic-gallery img,
  .pneumatic-gallery img,
  .automotive-gallery img,
  .electrical-gallery img,
  .process-steps::before {
    transition: none;
  }
}


/* SETARI TELEFON*/


@media (max-width: 768px) {

  .image_banner {
    width: 90%;
  }
  .text_text {
    margin-top: 20px;
    flex-direction: column;   /* Schimbăm alinierea pe verticală */
    align-items: stretch;     /* Aliniere pe întreaga lățime a containerului */
    width: 90%;
  }

  .info-box-tt {
    width: 100%;              /* Fiecare info-box va lua întreaga lățime pe mobil */
    margin: 10px 0;           /* Adăugăm margini pentru a separa info-boxurile */
  }

  .image_text img {
    width: 100%;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .image_text {
    flex-direction: column;   /* Schimbăm alinierea pe verticală */
    align-items: center;     /* Aliniere pe întreaga lățime a containerului */
    width: 90%;
  }
  .image_text .text {
    width: 100%;
    margin-top: 20px;
  }
  .image_image {
    flex-direction: column;
  }
  .image_image img.main-image {
    width: 100%;
    margin-top: 20px;
  }
  .thumbnail-container {
    width: 100%;
    margin-top: 20px;
  }
  .image_image_carousel {
    width:100%;
  }
  .image_portfolio {
    flex-direction: column; /* Așează imaginile pe verticală pe ecrane mici */
    align-items: center; /* Centrează imaginile */
  }

  .image_portfolio img {
    width: 100%; /* Imaginile ocupă întreaga lățime */
    margin-bottom: 20px; /* Spațiu între imagini */
  }
  .image_text_container{
    flex-direction: column;
    width: 90%;
  }
  .image_text_container .text{
    width: 100%;
  }
  .image-container{
    width: 95%;
  }
  .image_text .slideshow {
    width: 100%;                  /* Lățimea slideshow-ului să fie 40% din container */
    height: 100%;                /* Înălțimea slideshow-ului să fie 100% din container */
    overflow: hidden;            /* Evită ieșirea imaginilor din container */
    border-radius: 8px;          /* Colțuri rotunjite pentru slideshow */
  }
  
  .image_text .slideshow img {
    width: 100%;                 /* Lățimea imaginii să ocupe 100% din container */
    height: auto;                /* Înălțimea imaginii va fi ajustată pentru a păstra raportul de aspect */
    display: block;              /* Evită spațiile suplimentare sub imagine */
    max-width: 400px;            /* Setează lățimea maximă a imaginii */
    max-height: 250px;           /* Setează înălțimea maximă a imaginii */
  }
  .image_banner img {
    width: 45%;                 /* Două imagini pe rând pe dispozitive mici */
    height: 45%;                /* Înălțimea se ajustează pentru a fi pătrată */
  }
  .image_banner img:hover {
    transform: scale(1.8);       /* Mărire la hover */
  }

  /* Homepage sections mobile */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 92%;
    gap: 12px;
  }
  .industry-sectors {
    margin-top: 56px;
    padding: 60px 0 70px;
  }
  .industry-sectors .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 92%;
    gap: 14px;
  }
  .industry-sectors .industry-card {
    min-height: 470px;
  }
  .industry-sectors .industry-card > img {
    height: 220px;
  }
  .industry-sectors .industry-card .service-card-content {
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    min-height: 250px;
    padding: 18px;
  }
  .sector-icon {
    width: 54px;
    height: 54px;
  }
  .sector-icon svg {
    width: 31px;
    height: 31px;
  }
  .industry-sectors .industry-card .service-card-content h3 {
    font-size: 18px;
  }
  .industry-sectors .industry-card .service-card-content p {
    margin-top: 16px;
    font-size: 14px;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    width: 92%;
    gap: 12px;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    width: 92%;
    gap: 12px;
  }
  .section-title {
    width: 92%;
  }
  .section-title h2 {
    font-size: 24px;
  }
}

@media (max-width: 540px) {
  .industry-sectors .industry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-sectors .industry-card {
    min-height: 0;
  }

  .industry-sectors .industry-card > img {
    height: 250px;
  }

  .industry-sectors .industry-card .service-card-content {
    min-height: 230px;
  }

  .portfolio-showcase {
    margin-top: 50px;
    padding: 58px 0 66px;
  }

  .portfolio-showcase-grid {
    grid-template-columns: 1fr;
    width: 92%;
    gap: 16px;
  }

  .portfolio-shot > span {
    padding: 15px 16px;
  }
}

/* Industry overview used on the upgraded homepages */
.industry-overview {
  width: min(1240px, 90%);
  margin: 68px auto 58px;
}

.industry-overview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(35, 38, 39, 0.98), rgba(24, 27, 28, 0.98));
  border: 1px solid rgba(223, 83, 8, 0.38);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.industry-overview-media {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #181b1c;
}

.industry-overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(24, 27, 28, 0.5)), linear-gradient(0deg, rgba(15, 18, 19, 0.56), transparent 42%);
}

.industry-overview-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.industry-overview-brand {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  width: min(220px, 48%);
  padding: 14px 16px;
  background: rgba(17, 20, 21, 0.78);
  border: 1px solid rgba(223, 83, 8, 0.52);
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.industry-overview-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.industry-overview-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 66px);
}

.industry-overview-kicker {
  margin: 0 0 12px;
  color: #df5308;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.industry-overview h2 {
  margin: 0 0 15px;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.08;
}

.industry-overview-intro {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.industry-sector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.industry-sector-list li {
  position: relative;
  padding: 10px 0 10px 19px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.35;
}

.industry-sector-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #df5308;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(223, 83, 8, 0.12);
}

.industry-portfolio-button {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  padding: 13px 19px;
  background: #df5308;
  border: 1px solid #df5308;
  border-radius: 7px;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.industry-portfolio-button:hover {
  background: #f06419;
  transform: translateY(-2px);
}

.industry-portfolio-button span {
  font-size: 20px;
  line-height: 0;
  transition: transform 0.25s ease;
}

.industry-portfolio-button:hover span {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .industry-overview {
    width: 92%;
    margin: 56px auto 48px;
  }

  .industry-overview-inner {
    grid-template-columns: 1fr;
  }

  .industry-overview-media {
    min-height: 390px;
  }

  .industry-overview-content {
    padding: 38px 28px 32px;
  }
}

@media (max-width: 540px) {
  .industry-overview-media {
    min-height: 310px;
  }

  .industry-overview-brand {
    right: 18px;
    bottom: 18px;
    width: 168px;
  }

  .industry-sector-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 24px 0;
  }

  .industry-overview-content {
    padding: 32px 21px 28px;
  }
}
