/* hero section start */
.pwp-cnt-hero-sec {
  font-family: "Plus Jakarta Sans", sans-serif;
  position: relative;
  width: 100%;
  min-height: 480px;
  background-image:
    linear-gradient(rgba(11, 15, 25, 0.86), rgba(11, 15, 25, 0.88)),
    url("/assets/images/banner/contact-banner.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 20px;
  box-sizing: border-box;
}

.pwp-chero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.pwp-chero-content {
  max-width: 720px;
}

/* Breadcrumb Styling */
.pwp-chero-breadcrumb {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwp-chero-bc-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pwp-chero-bc-link:hover {
  color: #ffffff;
}

.pwp-chero-bc-sep {
  color: #64748b;
  font-weight: 400;
}

.pwp-chero-bc-active {
  color: #f7730e;
}

/* Main Hero Heading */
.pwp-chero-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 24px 0;
  letter-spacing: -1.2px;
}

/* Subtext Description */
.pwp-chero-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
  font-weight: 400;
  max-width: 620px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .pwp-cnt-hero-sec {
    min-height: 380px;
    padding: 70px 16px;
  }

  .pwp-chero-breadcrumb {
    margin-bottom: 16px;
  }

  .pwp-chero-title {
    letter-spacing: -0.8px;
    margin-bottom: 18px;
  }
}

/* hero section end */

/* contact details section start */

.pwp-cntcards-sec {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #f8fafc;
  padding: 80px 20px;
  box-sizing: border-box;
  width: 100%;
}

.pwp-ccd-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 3-Column Card Layout */
.pwp-ccd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Individual Card Styling */
.pwp-ccd-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.pwp-ccd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.09);
  border-color: rgba(224, 114, 40, 0.2);
}

/* Circular Blue Icon Badge */
.pwp-ccd-icon-wrap {
  width: 52px;
  height: 52px;
  background-color: #06b6d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 28px;
  transition: transform 0.3s ease;
}

.pwp-ccd-card:hover .pwp-ccd-icon-wrap {
  transform: scale(1.08);
}

/* Card Title */
.pwp-ccd-title {
  font-size: 20px;
  font-weight: 800;
  color: #06b6d4;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

/* Primary Detail Text */
.pwp-ccd-main-info {
  font-size: 14.5px;
  font-weight: 500;
  color: #64748b;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

/* Secondary Subtext */
.pwp-ccd-sub-info {
  font-size: 14px;
  font-weight: 400;
  color: #94a3b8;
  margin: 0 0 28px 0;
  line-height: 1.5;
}

/* Orange Action Link */
.pwp-ccd-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #06b6d4;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.3s ease;
}

.pwp-ccd-arrow {
  transition: transform 0.3s ease;
}

.pwp-ccd-link:hover .pwp-ccd-arrow {
  transform: translateX(5px);
}

.pwp-ccd-link:hover {
  color: #c85a12;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .pwp-ccd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pwp-cntcards-sec {
    padding: 50px 16px;
  }

  .pwp-ccd-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pwp-ccd-card {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .pwp-ccd-icon-wrap {
    margin-bottom: 20px;
  }

  .pwp-ccd-sub-info {
    margin-bottom: 20px;
  }
}

/* contact details section end */

/* =========================================================
   POWER WELD PRODUCTS - CONTACT FORM SECTION
   FULLY RESPONSIVE / NO HORIZONTAL OVERFLOW
   ========================================================= */

.pwp-mapform-sec {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #f5f7fb;
  padding: 60px 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.pwp-mf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Main Grid */
.pwp-mf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pwp-mf-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Card */
.pwp-mf-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.04),
    0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-sizing: border-box;
  overflow: hidden;
}

/* Title */
.pwp-mf-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.pwp-mf-subtitle {
  font-size: 14.5px;
  color: #64748b;
  margin: 0 0 32px 0;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Form Row */
.pwp-mf-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pwp-mf-row > * {
  min-width: 0;
  max-width: 100%;
}

/* Form Field */
.pwp-mf-field {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 20px;
}

.pwp-mf-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

/* Input / Select / Textarea */
.pwp-mf-input,
.pwp-mf-select,
.pwp-mf-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pwp-mf-input::placeholder,
.pwp-mf-textarea::placeholder {
  color: #94a3b8;
}

.pwp-mf-input:focus,
.pwp-mf-select:focus,
.pwp-mf-textarea:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

/* Select */
.pwp-mf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  cursor: pointer;
  padding-right: 45px;
}

/* Textarea */
.pwp-mf-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Submit Button */
.pwp-mf-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  background-color: #06b6d4;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;

  font-size: 15px;
  font-weight: 700;
  font-family: inherit;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;

  margin-top: 10px;
  box-sizing: border-box;
}

.pwp-mf-btn-submit:hover {
  background-color: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(6, 182, 212, 0.35);
}

/* Note */
.pwp-mf-note {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin: 18px 0 0 0;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* =========================================================
   RIGHT COLUMN
   ========================================================= */

.pwp-mf-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;

  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Location Card */
.pwp-mf-loc-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 36px;
  box-sizing: border-box;
}

.pwp-mf-loc-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 24px 0;
  letter-spacing: -0.3px;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Info Item */
.pwp-mf-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin-bottom: 20px;
}

.pwp-mf-info-icon {
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;

  color: #06b6d4;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pwp-mf-info-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;

  min-width: 0;
  max-width: 100%;

  overflow-wrap: anywhere;
  word-break: break-word;
}

.pwp-mf-info-text strong {
  color: #334155;
}

/* Direction Button */
.pwp-mf-btn-dir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background-color: #06b6d4;
  color: #ffffff;

  padding: 12px 24px;
  border-radius: 50px;

  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;

  margin-top: 8px;

  max-width: 100%;
  box-sizing: border-box;

  box-shadow: 0 6px 16px rgba(17, 68, 166, 0.25);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.pwp-mf-btn-dir:hover {
  background-color: #0c3483;
  transform: translateY(-2px);
}

/* =========================================================
   MAP
   ========================================================= */

.pwp-mf-map-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);

  border: 1px solid rgba(226, 232, 240, 0.8);

  height: 250px;

  position: relative;
  background-color: #e2e8f0;

  box-sizing: border-box;
}

.pwp-mf-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   TABLET - 992px
   ========================================================= */

@media (max-width: 992px) {
  .pwp-mapform-sec {
    padding: 50px 20px;
  }

  .pwp-mf-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .pwp-mf-card {
    width: 100%;
  }

  .pwp-mf-right-col {
    width: 100%;
  }
}

/* =========================================================
   MOBILE - 640px
   ========================================================= */

@media (max-width: 640px) {
  .pwp-mapform-sec {
    width: 100%;
    max-width: 100%;
    padding: 35px 12px;
    overflow-x: hidden;
  }

  .pwp-mf-container {
    width: 100%;
    max-width: 100%;
  }

  .pwp-mf-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  /* Card */
  .pwp-mf-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
    border-radius: 18px;
  }

  /* Heading */
  .pwp-mf-title {
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -0.3px;
  }

  .pwp-mf-subtitle {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  /* Form Row -> Single Column */
  .pwp-mf-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 0;
  }

  .pwp-mf-field {
    width: 100%;
    max-width: 100%;
    margin-bottom: 17px;
  }

  /* Inputs */
  .pwp-mf-input,
  .pwp-mf-select,
  .pwp-mf-textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 13px 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .pwp-mf-select {
    padding-right: 42px;
    background-position: right 14px center;
  }

  .pwp-mf-textarea {
    min-height: 120px;
  }

  /* Submit */
  .pwp-mf-btn-submit {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    margin-top: 5px;
  }

  /* Location Card */
  .pwp-mf-loc-card {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .pwp-mf-loc-title {
    font-size: 19px;
    margin-bottom: 20px;
  }

  /* Location Info */
  .pwp-mf-info-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .pwp-mf-info-icon {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    height: 22px;
    font-size: 17px;
  }

  .pwp-mf-info-text {
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Direction Button */
  .pwp-mf-btn-dir {
    width: 100%;
    max-width: 100%;
    padding: 12px 18px;
    font-size: 13px;
  }

  /* Map */
  .pwp-mf-map-wrap {
    width: 100%;
    max-width: 100%;
    height: 230px;
    border-radius: 18px;
  }

  .pwp-mf-iframe {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   SMALL MOBILE - 380px
   ========================================================= */

@media (max-width: 380px) {
  .pwp-mapform-sec {
    padding-left: 8px;
    padding-right: 8px;
  }

  .pwp-mf-card {
    padding: 20px 13px;
    border-radius: 16px;
  }

  .pwp-mf-title {
    font-size: 21px;
  }

  .pwp-mf-subtitle {
    font-size: 13px;
  }

  .pwp-mf-input,
  .pwp-mf-select,
  .pwp-mf-textarea {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pwp-mf-select {
    padding-right: 38px;
  }

  .pwp-mf-map-wrap {
    height: 210px;
  }
}

/* =========================================================
   EXTRA SAFETY - PREVENT HORIZONTAL OVERFLOW
   ========================================================= */

.pwp-mapform-sec,
.pwp-mapform-sec * {
  box-sizing: border-box;
}

.pwp-mapform-sec img,
.pwp-mapform-sec iframe,
.pwp-mapform-sec video {
  max-width: 100%;
}

.pwp-mapform-sec input,
.pwp-mapform-sec select,
.pwp-mapform-sec textarea,
.pwp-mapform-sec button {
  max-width: 100%;
}
