
/* ===============================
   LEFT CONTENT
================================ */
.contact-desc {
  font-size: 14px;
  color: #ccc;
  max-width: 420px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 38px;
  height: 38px;
  background: #d11212;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 15px;
}

.info-item strong {
  font-size: 13px;
  display: block;
}

.contact-text {
  font-size: 13px;
  color: #ccc;
  margin-top: 4px;
  display: block;
}

/* ===============================
   FORM CARD
================================ */

.contact-form-card h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 26px;
  font-weight: 700;
}

/* ===============================
   FORM
================================ */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-control {
  padding: 11px 10px !important;
}

form small {
  color: black;
  font-size: 16px;
  margin-bottom: 6px;
  display: inline-block;
}

.textfield,
.textarea-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  background: #fff;
  border: none;
  font-size: 13px;
}

.textarea-field {
  resize: none;
}

.textfield:focus,
.textarea-field:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(209,18,18,0.4);
}

/* BUTTON */
.contact-form-submit-btn {
  width: 30%;
  background: #FFB000;
  border: none;
  color: #fff;
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s ease;
}

.contact-form-submit-btn:hover {
  background: #FFB000;
}

/* ===============================
   STATUS MESSAGE
================================ */
.contact-form-card p {
  color: #d11212;
}

.info-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1019px) {
  .contact-container {
    grid-template-columns: 1fr;
    padding: 80px 20px;
  }

    .contact-container {
    grid-template-columns: 1fr;
    padding: 80px 20px;
  }

  /* FORM FIRST */
  .contact-form-card {
    order: 1;
  }

  .contact-form-submit-btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 40%; 
  }

  .contact-form-card h3{
    margin-top: 26px;
  }
}

/* ===============================
   BRANCH MAP SECTION
================================ */
.contact-branches {
  background: #fff;
  padding: 80px 5%;
}

.branches-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* CARD */
.branch-card {
  background: #fff;
}

.branch-card iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 8px;
  margin-bottom: 18px;
}

.branch-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.branch-card p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
}

/* INFO ROWS */
.branch-info div {
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 14px;
}

.branch-info img {
  width: 20px;
  height: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .branches-container {
    grid-template-columns: 1fr;
  }

  .branch-card iframe {
    height: 220px;
  }
}

.contact-form-section {
  background: #f5f5f5;
  padding: 80px 20px;
}

.contact-form-card {
  max-width: 700px;
  margin: auto;
  border-radius: 6px;
}

.icon-box {
  width: 32px;
  height: 32px;
  background: #d11212;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.icon-box img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.branch-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Phone + Fax row */
.branch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Single item */
.branch-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

.branch-item strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

/* Email full width */
.email-row {
  grid-column: span 2;
}

/* MOBILE STACK */
@media (max-width: 768px) {
  .branch-row {
    grid-template-columns: 1fr;
  }
}

.phone-input-wrapper {
  position: relative;   /* 🔑 anchor for icons */
}

.phone-input-wrapper input {
  padding-right: 40px;  /* space for ✔ ✖ */
}

.phone-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.phone-status.valid {
  color: green;
  font-size: 16px;
}

.phone-status.invalid {
  color: red;
  font-size: 16px;
}
