/* Contact Page Styles */

/* Page Background - Similar to login page */
.contact-page-bg {
  background: linear-gradient(135deg, #69D0FF 0%, #007BC2 100%);
}

/* Contact Container */
.contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Contact Cards - Similar to login-card */
.contact-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Contact Title */
.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

/* HubSpot Form Container */
#hubspot-form-container {
  flex: 1;
}

/* HubSpot Form Styles */
#hubspot-form-container .hs-form-field {
  margin-bottom: 1.5rem;
}

#hubspot-form-container label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9rem;
}

#hubspot-form-container input[type="text"],
#hubspot-form-container input[type="email"],
#hubspot-form-container input[type="tel"],
#hubspot-form-container select,
#hubspot-form-container textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#hubspot-form-container input[type="text"]:focus,
#hubspot-form-container input[type="email"]:focus,
#hubspot-form-container input[type="tel"]:focus,
#hubspot-form-container select:focus,
#hubspot-form-container textarea:focus {
  border-color: #007BC2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 194, 0.25);
}

#hubspot-form-container textarea {
  resize: vertical;
}

#hubspot-form-container input[type="submit"] {
  background-color: #007BC2;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  width: 100%;
}

#hubspot-form-container input[type="submit"]:hover {
  background-color: #005a92;
}

/* Contact Emails */
.contact-emails {
  border-top: 1px solid #dee2e6;
  padding-top: 2rem;
  margin-top: 2rem;
}

.email-region {
  font-size: 0.875rem;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-emails a {
  color: #007BC2;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-emails a:hover {
  text-decoration: underline;
}

/* Office Locations */
.locations-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

.office-location {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}

.office-location:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.office-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #007BC2;
  margin-bottom: 0.75rem;
}

.office-address {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.office-address strong {
  color: #495057;
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Equal Height for Cards */
@media (min-width: 992px) {
  .contact-container .row {
    display: flex;
    align-items: stretch;
  }
  
  .contact-container .col-lg-6 {
    display: flex;
  }
  
  .contact-card {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .contact-container {
    padding: 0 1rem;
  }
  
  .contact-card {
    margin-bottom: 1.5rem;
    height: auto;
  }
  
  .contact-title,
  .locations-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767px) {
  
  .contact-card {
    padding: 2rem;
    border-radius: 12px;
  }
  
  .contact-title,
  .locations-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 575px) {
  .contact-card {
    padding: 1.5rem;
  }
  
  #hubspot-form-container input[type="submit"] {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
}