.contact {
background: linear-gradient(180deg, #e6f0f8 0%, #ffffff 100%);
  padding: 60px 20px;
  text-align: center;
}


.contact-info {
  margin-bottom: 30px;
  font-size: 18px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info a {
  color: #333;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #333;
  font-size: 28px;
  margin: 0 12px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0077cc;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
}
#kontakt {
   scroll-margin-top: 250px; /* Adjust to your navbar height */
}

.contact-form h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.contact-form label {
  display: block;
  margin: 15px 0 5px;
  text-align: left;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

/* CAPTCHA box */
.capbox {
display: none;
  margin-top: 25px;
  padding: 15px;
  background: #f5f5f5;
  border: 1px dashed #bbb;
  border-radius: 4px;
  text-align: center;
}

.capbox strong {
  display: block;
  font-size: 16px;
}

#captchaImage {
  display: block;
  margin: 0 auto 6px;
  max-width: 100%;
  height: auto;
}

/* CAPTCHA input + reload button inline */
.captcha-input-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.captcha-input-group input[type="text"] {
  width: 200px;
  padding: 12px;
  height: 44px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.captcha-input-group button {
  height: 44px;
  padding: 0 16px;
  font-size: 16px;
  background: #888;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-input-group button:hover {
  background: #555;
}

.consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-top: 1rem;
  }

  .consent input[type="checkbox"] {
    margin: 0;
width: 20px;
cursor: pointer;
  }

  .consent a {
    margin-left: 0.25rem;
    color: #007BFF;
    text-decoration: underline;
  }

/* Submit button */
.contact-form button[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 14px;
  font-size: 18px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background: #555;
}

/* Response messages */
#formResponse {
  max-width: 500px;
  margin: 20px auto 0;
  font-size: 16px;
  padding: 12px;
  border-radius: 5px;
  text-align: center;
}

#formResponse p {
  margin: 0;
}

#formResponse .success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#formResponse .error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


@media (max-width: 480px) {
 .contact-form {
    margin: 30px 10px;
    padding: 20px 15px;
  }

  .contact-form h2 {
    font-size: 24px;
  } 
}