* {
  box-sizing: border-box;
  overflow-wrap: break-word;
}



#h2-contact {
  text-align: center;
  font-size: 2.5rem;
  color: #0D0D0D;
  margin-bottom: 10px;
}

#contacteer-ons .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ========== Linkerkolom: Info ========== */

.contact-info {
  padding-right: 20px;
}

.section-title,
.form-title {
  font-size: 28px;
  font-weight: 600;
  color: #0D0D0D;
  margin-bottom: 24px;
}

.address-block,
.phone-section,
.social-section {
  margin-bottom: 32px;
  
}

.address-text,
.phone-number {
  font-size: 16px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 16px;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-title,
.social-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 32px;
  border-radius: 12px;
  background-color: #e5f3ff;
  overflow: hidden;
  min-height: 300px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #8bc3a9;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 18px;
}

/* ========== Rechterkolom: Formulier ========== */

.form-section {
  padding-left: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
  display: block;         /* Make sure it behaves like a block element */
  margin-left: 0;         /* Reset any existing left margin */
  text-align: left;       /* Align text if needed */
}

.required {
  color: #dc2626;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  background-color: white;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8bc3a9;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.checkbox-input {
  margin-top: 3px;
}

.checkbox-label {
  font-size: 14px;
  color: #374151;
}

.checkbox-link {
  color: #f97316;
  text-decoration: none;
}

.checkbox-link:hover {
  text-decoration: underline;
}

.recaptcha-section {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.recaptcha-text {
  font-size: 14px;
  color: #374151;
}

.recaptcha-links {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

.recaptcha-links a {
  color: #8bc3a9;
  text-decoration: none;
}

.submit-button {
  background-color: #0D0D0D;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: #333;
  color: white;
}

/* ========== Responsive Design ========== */

@media (max-width: 1104px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 900px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .form-section {
    padding: 0;
  }

  .section-title,
  .form-title {
    font-size: 18 !important;
    text-align: center;
  }

  .address-block,
  .phone-section,
  .social-section {
    text-align: center;
  }

  .phone-number {
    justify-content: center;
  }

  .social-section {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .map-container {
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 32px;
    max-width: 600px;
  }

  .contact-info {
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-radius: 12px;
  }

  .form-section {
    display: flex;
    justify-content: center;
  }

  .form-section form {
    width: 100%;
    max-width: 600px;
  }

}

@media (max-width: 1104px) {
  .form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }



  .social-title {
    margin-bottom: 16px;
  }

  .form-section form {
    width: 100%;
    max-width: 600px;
  }
}


@media (max-width: 768px) {
  section {
    padding: 40px 15px;
  }

  .section-title,
  .form-title {
    margin-bottom: 20px !important;
  }

  .phone-title,
  .social-title {
    font-size: 20px !important;
  }

  .form-input,
  .form-textarea {
    font-size: 15px;
    padding: 12px;
  }

  .submit-button {
    width: 100%;
    font-size: 15px;
    padding: 14px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 30px 10px;
  }

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

  .form-label,
  .checkbox-label,
  .recaptcha-text {
    font-size: 13px;
  }

  .submit-button {
    font-size: 14px;
    padding: 12px;
  }
}

@media (max-width: 320px) {

  .section-title,
  .form-title,
  #h2-contact {
    font-size: 20px;
  }
}







/* Make contact info clickable */
.phone-number a, .email-link {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.phone-number a:hover, .email-link:hover {
  color: #8bc3a9;
}

/* Add subtle separators */
.address-block, .phone-section {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 24px;
}

/* Improve social icon animations */
.social-icon {
  transition: transform 0.2s, background-color 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
  background-color: #7ab89f;
}