.section-head {
  margin-bottom: 2.3vw;
  font-size: 3vw;
}

.underline {
  width: 4vw;
  border: 0.2vw solid red;
}

b {
  font-weight: 600;
}

/* ===========HERO=========== */
.slider {
  position: relative;
  height: 30vw;
  width: 100%;
  overflow: hidden;
  margin-bottom: 6.7vw;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color: white;
}

.caption h1 {
  font-size: 4.4vw;
}

/* --- OVERVIEW SECTION STYLES --- */

.overview-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5vw;
  width: 100%;
  box-sizing: border-box;
  gap: 5vw;
}

.overview-text {
  flex: 1;
}

.overview-text h1 {
  font-size: 3.2vw;
  color: black;
}

.overview_underline {
  width: 3vw;
  margin-bottom: 1vw;
}

.overview-text p {
  font-size: 1vw;
  margin-bottom: 2vw;
  line-height: 1.8vw;
}


.btn-learn {
  color: black;
  border: 3px solid black;
  padding: 1vw 1.6vw;
  cursor: pointer;
  border-radius: 1.6vw;
  text-decoration: none;
  font-size: 1.2vw;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-learn:hover {
  background-color: black;
  color: white;
}

.overview-images {
  flex: 1;
}

.overview-images img {
  width: 100%;
  height: auto;
}

/* ===========Qualities======= ==== */
.qualities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10vw;
  margin-bottom: 4vw;
}

.quality-box {
  display: flex;
  align-items: center;
}

.quality-box img {
  height: 11vh;
  width: 25%;
  margin-left: -1.4vw;
}


.quality-box-text {
  margin-left: 20px;
}

.quality-box-text h3 {
  font-variant: small-caps;
  font-size: 1.4vw;
  margin-bottom: 20px;
  width: 105%;
}

.quality-box-text p {
  min-width: max-content;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9vw;
  margin-right: -22px;
  line-height: 1.4vw;
  letter-spacing: 0.05em;
  width: 120%;
}

/* ===========Metal Welding About Us=========== */
.metalWelding {
  background-color: #D9D9D9;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 5vw;
  padding: 7% 10vw;
}

.metalWelding-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.metalWelding-header {
  text-align: center;
  font-size: 2vw;
  margin: 0 auto 3%;
}

.metalWelding-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.metalWelding-text h1 {
  font-size: 3.2vw;
  text-decoration: underline;
  text-decoration-thickness: 0.1vw;
  text-underline-offset: 0.2vw;
  margin-bottom: 1vw;
}

.metalWelding-text p {
  min-width: max-content;
  font-size: 1vw;
  line-height: 152.63%;
}

.metalWelding-img img {
  width: 90%;
}

/* ===========TRUSTED BY=========== */
.trustedBy {
  text-align: center;
  margin-bottom: 5vw;
}

.trustedBy h1 {
  margin-bottom: 0;
}

.trustedBy-underline {
  margin: 0 auto 4vw;
}

.trustedlogos img {
  width: 100%;
  border: 0.2vw solid black;
  border-radius: 1.6vw;
}

/* ===========LOCATION=========== */
.contact-section {
  display: flex;
  justify-content: space-between;
  height: 39vh;
  background-color: #D9D9D9;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.contact-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  width: 100%;
}

.contact-map {
  flex: 1;
}

.contact-info {
  font-family: Poppins, sans-serif;
  flex: 1;
  padding-left: 3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #dcdcdc;
}

.contact-info h2 {
  font-size: 2.8vw;
}

.contact-info p {
  font-size: 1vw;
  letter-spacing: 0.14em;
  margin: 0.5vw 0;
  display: flex;
  align-items: center;
  gap: 0.5vw;
}

.contact-info img {
  width: 2vw;
}

/* ================= MOBILE ================= */
@media screen and (max-width: 768px) {

  .underline {
    width: 6vw;
    border: 0.2vw solid red;
  }

  /* ===== HERO ===== */
  .slider {
    height: 50vw;
    margin-bottom: 12vw;
  }

  .caption h1 {
    font-size: 8vw;
    text-align: center;
  }

  /* ===== OVERVIEW ===== */
  .overview-section {
    flex-direction: column;
    gap: 8vh;
    margin-bottom: 20vw;
    text-align: center;
  }

  .overview-text h1 {
    font-size: 7vw;
  }

  .overview_underline {
    margin: 0 auto 5vw;
  }


  .overview-text br {
    display: none;
  }

  .overview-text p {
    text-align: justify;
    font-size: 3.2vw;
    line-height: 5vw;
    margin-bottom: 5vw;
  }

  .btn-learn {
    font-size: 2.8vw;
    padding: 2vw 4vw;
    border-radius: 4vw;
  }

  /* ===== QUALITIES ===== */
  .qualities {
    grid-template-columns: 1fr;
    gap: 8vw;
    margin-bottom: 12vw;
  }

  .quality-box {
    flex-direction: column;
    text-align: center;
  }

  .quality-box img {
    width: 30%;
    height: auto;
    margin: 0 auto;
  }

  .quality-box-text {
    margin: 0 auto;
    width: 100%;
  }

  .quality-box-text h3 {
    font-size: 4.5vw;
  }

  .quality-box-text p {
    font-size: 3.2vw;
    line-height: 5.5vw;
    width: 100%;
  }

  /* ===== METAL WELDING ===== */
  .metalWelding {
    margin-bottom: 18vw;
  }

  .metalWelding-content {
    grid-template-columns: 1fr;
    gap: 6vw;
    text-align: center;
  }

  .metalWelding-header {
    font-size: 4vw;
  }

  .metalWelding-text br {
    display: none;
  }

  .metalWelding-text p {
    min-width: unset;
    text-align: justify;
    font-size: 3vw;
    line-height: 5vw;
  }

  .metalWelding-text h1 {
    font-size: 6vw;
    text-decoration-thickness: 0.3vw;
    text-underline-offset: 0.4vw;
  }

  .metalWelding-img img {
    width: 100%;
  }

  /* ===== TRUSTED BY ===== */
  .trustedBy {
    margin-bottom: 10vw;
  }

  .trustedBy h1 {
    font-size: 6vw;
  }


  /* ===== CONTACT ===== */
  .contact-section {
    flex-direction: column;
  }

  .contact-map {
    height: 40vh;
  }

  .contact-info h2 {
    font-size: 6vw;
  }

  .contact-info p {
    font-size: 3.8vw;
    letter-spacing: 0.08em;
  }

  .contact-info img {
    width: 5vw;
  }
}

/* ================= DESKTOP ================= */
@media screen and (min-width: 1920px) {

  .main {
    margin: 0 auto;
  }

  .underline {
    width: 2vw;
    border-width: 0.1vw;
  }

  /* ---------- SECTION HEAD ---------- */
  .section-head {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }

  /* ---------- HERO ---------- */
  .slider {
    height: 32rem;
    margin-bottom: 6rem;
  }

  .caption h1 {
    font-size: 4rem;
  }

  /* ---------- OVERVIEW ---------- */
  .overview-section {
    margin-bottom: 10rem;
    gap: 6rem;
  }

  .overview-text h1 {
    font-size: 2.25rem;
  }

  .overview-text p {
    font-size: 1.1rem;
    line-height: 1.9rem;
    max-width: 42rem;
  }

  .btn-learn {
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 2rem;
    border-width: 2px;
  }

  /* ---------- QUALITIES ---------- */
  .qualities {
    gap: 6rem;
    margin-bottom: 6rem;
  }

  .quality-box img {
    height: 6rem;
    width: auto;
    margin-left: 0;
  }

  .quality-box-text h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .quality-box-text p {
    font-size: 0.95rem;
    line-height: 1.6rem;
    width: auto;
    margin-right: 0;
  }

  /* ---------- METAL WELDING ---------- */
  .metalWelding-header {
    font-size: 1.75rem;
    padding-bottom: 3rem;
  }

  .metalWelding-text {
    margin-left: 0;
    width: 100%;
  }

  .metalWelding-text h1 {
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
  }

  .metalWelding-text p {
    font-size: 1.2rem;
    line-height: 1.8rem;
  }

  .metalWelding-img {
    width: 80%;
  }

  /* ---------- TRUSTED BY ---------- */
  .trustedBy {
    margin-bottom: 7rem;
  }


  /* ---------- CONTACT ---------- */
  .contact-section {
    height: 28rem;
  }

  .contact-info {
    padding-left: 5rem;
  }

  .contact-info h2 {
    font-size: 2.25rem;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .contact-info img {
    width: 1.5rem;
  }
}