/* ============================================
   COREMETAL — Welcome Section (White Background)
   Matches metal-india.com "Our Story / Best Solutions"
   ============================================ */

.welcome-section {
  background-color: var(--clr-white);
  padding: var(--space-4xl) 0;
  color: var(--clr-black);
  position: relative;
  overflow: hidden;
}

/* Diagonal Background Pattern for Counters */
.welcome-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.02) 2px,
    transparent 2px,
    transparent 8px
  );
  z-index: 0;
  pointer-events: none;
}

.welcome__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Left Content ---------- */
.welcome__content {
  padding-right: var(--space-xl);
}

.welcome__subtitle-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.welcome__subtitle-line {
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--clr-copper-light);
}

.welcome__subtitle {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-copper-light);
}

.welcome__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--clr-black);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.welcome__text {
  font-size: var(--fs-base);
  color: var(--clr-gray-500);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 90%;
}

/* Black Button w/ Border Offset */
.btn--welcome {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: var(--clr-dark);
  color: var(--clr-white);
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  z-index: 1;
  transition: all var(--transition-base);
}

.btn--welcome::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--clr-copper-light);
  z-index: -1;
  transition: all var(--transition-base);
}

.btn--welcome:hover {
  background-color: var(--clr-copper);
}

.btn--welcome:hover::after {
  top: 0;
  left: 0;
  border-color: var(--clr-copper);
}

/* ---------- Right Images ---------- */
.welcome__images {
  position: relative;
  height: 550px;
}

.welcome__img-main {
  width: 85%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome__img-overlap {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 85%;
  height: 300px;
  object-fit: cover;
  border: 10px solid var(--clr-white);
  box-shadow: var(--shadow-sm);
  display: block;
  z-index: 5;
}

/* ---------- Counters Section ---------- */
.counters-wrap {
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.counters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.counter-item {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: var(--space-xl);
}

.counter-bg {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 100px;
  font-weight: var(--fw-light);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15); /* Light grey outline */
  z-index: -1;
}

.counter-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.counter-num {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--clr-black);
  line-height: 1;
}

.counter-text {
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-black);
  line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .welcome__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
  }

  .welcome__images {
    height: 500px;
  }

  .welcome__img-main {
    width: 90%;
  }

  .counters__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
  }
}

@media (max-width: 768px) {
  .counters__grid {
    grid-template-columns: 1fr;
  }

  .welcome__images {
    height: 400px;
  }

  .welcome__img-overlap {
    width: 80%;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: var(--space-3xl) 0;
  }

  .welcome__images {
    height: 300px;
  }

  .welcome__title {
    font-size: var(--fs-3xl);
  }

  .counter-bg {
    font-size: 90px;
  }
}

/* ============================================
   BEST SOLUTIONS SECTION (Video & Text)
   ============================================ */
.best-solutions {
  background-color: var(--clr-white);
  padding: var(--space-4xl) 0 140px 0; /* More bottom height */
  position: relative;
  z-index: 2;
}

.best-solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; /* Increased space between video and text */
  align-items: center;
}

/* Video Side */
.best-solutions__video {
  position: relative;
  padding: 0 var(--space-xl) var(--space-xl) 0; /* Space for shadow */
}

.video-thumbnail {
  position: relative;
  width: 100%;
  background-color: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  padding: var(--space-4xl) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: var(--clr-copper); /* Solid copper block offset */
  z-index: -1;
  opacity: 0.8;
}

.video-thumbnail img {
  width: 90%;
  max-width: 450px;
  height: auto;
  position: relative;
  z-index: 2;
}

.video-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
  z-index: 3;
}

/* Play Button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-base);
}

.play-btn svg {
  width: 40px;
  height: 40px;
  stroke: var(--clr-black);
  fill: transparent;
  margin-left: 6px; /* offset triangle for visual center */
  opacity: 0.6;
  transition: all var(--transition-base);
}

.play-btn:hover {
  border-color: var(--clr-copper);
}
.play-btn:hover svg {
  stroke: var(--clr-copper);
  opacity: 1;
}

/* Content Side */
.best-solutions__title {
  font-size: var(--fs-3xl); /* Decreased slightly */
  font-weight: var(--fw-bold);
  color: var(--clr-black);
  margin-bottom: var(--space-xl);
}

.best-solutions__text {
  font-size: var(--fs-sm); /* Decreased slightly */
  color: var(--clr-gray-500);
  line-height: 1.8;
  max-width: 95%;
}

@media (max-width: 768px) {
  .best-solutions__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
  }
}
