/*==========================================
        OFFICES SECTION
===========================================*/

.contact-offices-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.contact-offices-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.contact-offices-title {
  font-size: 42px;
  font-weight: 800;
  color: #14181b;
  margin: 12px 0 12px;
  line-height: 1.15;
}


.highlight {
  display: inline-block;
  background: #ffca2c;
  color: #1b1b1b !important;
  padding: 10px 14px;
  border-radius: 4px;
}

.contact-offices-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

.contact-offices-grid {
  display: flex;
  gap: 28px;
}

.contact-office-card {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transition: .35s;
  border: 1px solid #eee;
}

.contact-office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
  border-color: #f58211;
}

.contact-office-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 130, 17, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #f58211;
}

.contact-office-icon i {
  width: 24px;
  height: 24px;
}

.contact-office-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #f58211;
  background: rgba(245, 130, 17, .1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: .3px;
}

.contact-office-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #14181b;
  margin: 0 0 4px;
}

.contact-office-subtitle {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.contact-office-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

.contact-office-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-office-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #555;
}

.contact-office-details li i {
  width: 18px;
  height: 18px;
  color: #f58211;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-office-details li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-office-details li div span {
  line-height: 1.5;
}

/*==========================================
        RFQ SECTION
===========================================*/

.contact-rfq-section {
  background: #fff;
  padding: 80px 0;
}

.contact-rfq-flex {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-rfq-info {
  flex: 1 1 0;
  min-width: 0;
}

.contact-rfq-form-wrapper {
  flex: 1 1 0;
  min-width: 0;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #eee;
}

.contact-rfq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 130, 17, .1);
  color: #f58211;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 20px;
}

.contact-rfq-badge i {
  width: 16px;
  height: 16px;
}

.contact-rfq-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: #14181b;
  line-height: 1.2;
  margin: 0 0 16px;
}

.contact-rfq-info>p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-rfq-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-rfq-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-rfq-feature>i {
  width: 24px;
  height: 24px;
  color: #f58211;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-rfq-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: #14181b;
  margin: 0 0 6px;
}

.contact-rfq-feature p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/*==========================================
        RFQ FORM
===========================================*/

.contact-rfq-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: flex;
  gap: 20px;
}

.contact-form-row .contact-form-group {
  flex: 1 1 0;
  min-width: 0;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #14181b;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: .3s;
  outline: none;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: #f58211;
  box-shadow: 0 0 0 3px rgba(245, 130, 17, .12);
}

.contact-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: #f58211;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: .35s;
  align-self: flex-start;
}

.contact-form-submit:hover {
  background: #df7206;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 130, 17, .35);
}

.contact-form-submit i {
  width: 18px;
  height: 18px;
}

.contact-form-msg {
  font-size: 14px;
  margin-top: 4px;
}

.contact-form-msg.success {
  color: #4caf50;
}

.contact-form-msg.error {
  color: #f44336;
}

.contact-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/*==========================================
        FORM POPUP MODAL
===========================================*/

.form-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 14, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.form-modal {
  background: #fff;
  border-radius: 12px;
  padding: 40px 36px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-modal-overlay.show .form-modal {
  transform: scale(1) translateY(0);
}

.form-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
}

.form-modal-icon.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-modal-icon.error {
  background: #ffebee;
  color: #c62828;
}

.form-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #0b0d0e;
  margin-bottom: 8px;
}

.form-modal-msg {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-modal-btn {
  background: #f5b700;
  color: #0b0d0e;
  border: none;
  padding: 12px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}

.form-modal-btn:hover {
  background: #d9a200;
  transform: scale(1.03);
}

/*==========================================
        SOCIAL MEDIA SECTION
===========================================*/

.contact-social-section {
  background: #f8f9fa;
  padding: 80px 0;
  text-align: center;
}

.contact-social-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.contact-social-icons a {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: .3s;
}

.contact-social-icons a[aria-label="Facebook"] {
  background: #1877F2;
}
.contact-social-icons a[aria-label="X (Twitter)"] {
  background: #000;
}
.contact-social-icons a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}
.contact-social-icons a[aria-label="LinkedIn"] {
  background: #0A66C2;
}

.contact-social-icons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
  filter: brightness(1.15);
}

.contact-social-icons svg {
  width: 26px !important;
  height: 26px !important;
}

/*==========================================
        RESPONSIVE
===========================================*/


@media (max-width: 768px) {

  .contact-offices-section,
  .contact-rfq-section {
    padding: 60px 0;
  }

  .contact-offices-title,
  .contact-rfq-info h2 {
    font-size: 30px;
  }

  .contact-form-row {
    flex-direction: column;
  }

  .contact-rfq-form-wrapper {
    padding: 28px 16px;
  }

  .contact-form-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-rfq-info h2 {
    font-size: 26px;
  }

  .contact-offices-title {
    font-size: 26px;
  }

  .contact-office-card {
    padding: 28px 20px;
  }

  .contact-social-icons {
    gap: 12px;
  }

  .contact-social-icons a {
    width: 52px;
    height: 52px;
  }

  .contact-social-icons svg {
    width: 22px !important;
    height: 22px !important;
  }
}

@media (max-width: 480px) {
  .contact-rfq-form-wrapper {
    padding: 20px 12px;
  }

  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .contact-office-card {
    padding: 24px 16px;
  }

  .contact-form-submit {
    padding: 12px 20px;
    font-size: 14px;
  }
}


@media screen and (min-width: 200px) and (max-width: 600px) {
 
  .contact-offices-grid {
    flex-direction: column;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  #contact-rfq-flex {
    flex-direction: column!important;
    flex-wrap: wrap;
    gap: 40px;
  } 

}