/* ============ Hero Section ============ */
/* ============ Hero Section ============ */
/* ============ Hero Section ============ */
/* Hero */
.about-hero{
  position: relative;
  min-height: clamp(42svh, 50svh, 58svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0px auto 28px;
}
.about-hero__bg{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)),
    url("../images/contact/hero.webp") center/cover no-repeat;
}
.about-hero__inner{
  position:relative; z-index:1; color:#fff; width:100%;
  max-width: clamp(1120px, 92vw, 1400px); padding: 72px 24px;
}
.about-hero h1{
  margin: 0 0 8px; color:#fff;
  font-size: clamp(2.2rem, 4.8vw, 3.2rem); line-height:1.08;
}
.about-hero__sub{
  color: rgba(255,255,255,.95);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 62ch; margin: 6px 0 0;
}

@media (max-width: 768px) {
  .about-hero{
    margin-top: 70px;
  }
}
/* ============ Hero Section END ============ */
/* ============ Hero Section END ============ */
/* ============ Hero Section END ============ */



.contact-section {
  padding: 5rem 1rem;
  background: #f8fafc;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left column */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info h2 {
  font-size: 2rem;
  color: #0f2d3f;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #4a5a66;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  margin-bottom: 0.8rem;
  color: #334155;
}

.contact-details a {
  color: #0f2d3f;
  text-decoration: none;
}

/* Photo under info */
.contact-photo img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Right column (form) */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

input,
textarea {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0f2d3f;
  box-shadow: 0 0 0 2px rgba(15, 45, 63, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-photo img {
    max-height: 300px;
  }
}

/* Custom checkbox zonder conflict met Bootstrap */
.checkcontainer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  cursor: pointer;
  font-size: 0.95rem;
  color: #334155;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* verberg default checkbox */
.checkcontainer input {
  display: none;
}

/* het vakje */
.checkcontainer .checkmark {
  position: relative;
  height: 1.3em;
  width: 1.3em;
  background-color: transparent;
  border-radius: 0.25em;
  transition: all 0.25s;
}

/* rand van het vakje */
.checkcontainer .checkmark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2em;
  height: 1.05em;
  border: 0.1em solid #000;
  border-radius: 0.25em;
  transition: all 0.25s, border-width 0.1s;
}

/* aangevinkt */
.checkcontainer input:checked + .checkmark {
  background-color: #0f2d3f;
}

.checkcontainer input:checked + .checkmark::after {
  left: 0.52em;
  top: 0.3em;
  width: 0.25em;
  height: 0.6em;
  border-color: transparent #fff #fff transparent;
  border-width: 0 0.15em 0.15em 0;
  border-radius: 0;
  transform: rotate(45deg);
}

/* tekst naast het vakje */
.checkcontainer .checktext {
  line-height: 1.4;
}

.checkcontainer a {
  color: #0f2d3f;
  text-decoration: underline;
}

.checkcontainer a:hover {
  color: #174661;
  text-decoration: none;
}


/*checkiesssssss*/
/* rode rand bij fouten */
input.is-invalid, textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, .15);
}
small.error-msg {
  display: block;
  color: #dc3545;
  margin-top: 0.35rem;
  min-height: 1em;
  font-size: 0.875rem;
}

/* loader in knop */
.spinner {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* honeypot verbergen voor mensen, toegankelijk voor bots */
.hp-wrap {
  position: absolute !important;
  left: -5000px !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* invalid styling */
input.is-invalid, textarea.is-invalid { border-color: #dc3545 !important; }
.invalid-feedback { display: block; color: #dc3545; min-height: 1em; }

/* alert helper */
.alert.d-none { display: none !important; }

/* honeypot verbergen */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
