
.contact-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  max-width: 1400px;
  margin: 50px auto;
  padding: 20px;
}

.contact-info-box, .contact-form-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info-box h2, .contact-form-box h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 37px;
}

.contact-info-box .info-item {
  margin-bottom: 15px;
}

.contact-info-box .info-item h4 {
  margin: 0 0 5px 0;
  font-weight: bold;
}

.contact-info-box .info-item p {
  margin: 0;
  color: #555;
  line-height: 2;
}

/* -------------------------------
 Form Labels & Inputs
---------------------------------*/
.contact-form-box label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.contact-form-box label span {
  color: red;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* -------------------------------
 Intl-tel-input adjustments
---------------------------------*/
.iti {
  width: 100%;
}
.iti__flag-container {
  top: 12px;
}
.iti__selected-flag {
  padding-left: 10px;
}
.iti__country-list {
  max-height: 200px;
}

/* -------------------------------
 Buttons
---------------------------------*/
.contact-form-box button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form-box button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* -------------------------------
 Form Status
---------------------------------*/
#formStatus {
  margin-top: 15px;
  text-align: center;
  min-height: 20px; /* ensures space for messages */
}

#formStatus.error { color: #dc3545;font-size: 14px }
#formStatus.success {
  color: green;
  background: #d3ffd4;
  font-size: 15px;
  padding: 10px;
}
/* -------------------------------
 Honeypot hidden
---------------------------------*/
.honeypot { display: none; }

/* -------------------------------
 Scroll & slide animations
---------------------------------*/
.scroll-slide-right { animation: slideRight 0.7s ease forwards; }
.scroll-slide-left { animation: slideLeft 0.7s ease forwards; }

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* -------------------------------
 Error Messages & Borders
---------------------------------*/
.field-error {
  border: 1px solid #dc3545 !important;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 4px;
  min-height: 1px; /* prevents layout jump */
  opacity: 0;
  font-weight: 600;
  transform: translateY(-5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: block;
}

.error-message.show {
  opacity: 1;
  transform: translateY(0);
  background: #ffe8e8;
  width: fit-content;
  padding: 5px 15px;
  border-radius: 10px;
}

/* -------------------------------
 HCaptcha spacing
---------------------------------*/
.h-captcha { margin-top: 15px; }

/* -------------------------------
 Responsive
---------------------------------*/
@media (max-width: 900px) {
  .contact-page-container { grid-template-columns: 1fr; }
  .contact-info-box, .contact-form-box { margin-bottom: 30px; }
  .contact-form-box input,
  .contact-form-box textarea,
  .contact-form-box button { font-size: 15px; padding: 10px; }
  .iti { font-size: 14px; }
}
