/* ============================================================
   SWISS TECHNOLOGY CORP – Contact Page-Specific Styles
   (Navbar & footer are handled by main-style.css)
   ============================================================ */

/* ── Contact section ── */
.contact-section {
  padding: 70px 0 80px;
}

/* Info card */
.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 26px;
  box-shadow: 0 2px 12px rgba(10, 31, 114, .08);
  height: 100%;
  border: 1px solid #dde3f0;
  transition: all .3s ease;
}

.info-card:hover {
  box-shadow: 0 8px 32px rgba(10, 31, 114, .15);
  transform: translateY(-3px);
}

.info-card .icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0a1f72, #1a3a9e);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(10, 31, 114, .3);
}

.info-card .icon-wrap i {
  color: #fff;
  font-size: 1.2rem;
}

.info-card h5 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #5a6072;
  margin-bottom: 6px;
}

.info-card p {
  font-size: .93rem;
  color: #1a1a2e;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

/* Map */
.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 31, 114, .08);
  border: 1px solid #dde3f0;
  height: 260px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form card */
.form-card {
  background: #fff;
  border-radius: 14px;
  padding: 42px 38px;
  box-shadow: 0 8px 32px rgba(10, 31, 114, .15);
  border: 1px solid #dde3f0;
}

.form-card .card-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a1f72;
  margin-bottom: 4px;
}

.form-card .card-sub {
  color: #5a6072;
  font-size: .9rem;
  margin-bottom: 26px;
}

.section-divider {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #d90000, #0a1f72);
  border-radius: 4px;
  margin-bottom: 26px;
}

/* Floating labels */
.form-floating>label {
  color: #5a6072;
  font-size: .9rem;
}

.form-floating>.form-control,
.form-floating>.form-select {
  border: 1.5px solid #dde3f0;
  border-radius: 10px;
  font-size: .95rem;
  color: #1a1a2e;
  transition: all .3s ease;
}

.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
  border-color: #0a1f72;
  box-shadow: 0 0 0 3px rgba(10, 31, 114, .12);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Submit button */
.btn-submit {
  background: linear-gradient(135deg, #061450, #0a1f72);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .4px;
  width: 100%;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  transition: .5s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #d90000, #8b0000);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 0, 0, .35);
  color: #fff;
}

.btn-submit:hover::before {
  left: 100%;
}

/* Flash messages */
.alert-success-custom {
  background: #e8f8f0;
  border: 1px solid #2ecc71;
  color: #1a7a4a;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .93rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.alert-error-custom {
  background: #fff0f0;
  border: 1px solid #d90000;
  color: #d90000;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .93rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .form-card {
    padding: 28px 22px;
  }
}

@media (max-width: 575.98px) {
  .form-card {
    padding: 22px 16px;
  }

  .info-card {
    padding: 24px 18px;
  }
}