/* Studiepoort — main stylesheet */
* { box-sizing: border-box; overflow-wrap: break-word; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6fcf9; color: #173a2e; font-family: 'Nunito', sans-serif; }
a { color: #1f8a68; text-decoration: none; }
a:hover { color: #0f3d2e; }
::selection { background: #ffce4f; color: #5a3d00; }
img { max-width: 100%; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px,5vw,40px); padding-right: clamp(16px,5vw,40px); }
.wrap-1160 { max-width: 1160px; }
.wrap-1000 { max-width: 1000px; }
.wrap-900 { max-width: 900px; }
.wrap-820 { max-width: 820px; }

/* ===== NAV ===== */
.nav-sticky { position: sticky; top: 0; z-index: 50; padding: 14px clamp(16px,5vw,40px); background: rgba(246,252,249,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-pill { max-width: 1200px; margin: 0 auto; background: #fff; border: 2px solid #e4f1ea; border-radius: 999px; padding: 10px 16px 10px 20px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 10px 30px rgba(31,138,104,.08); }
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 32px; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; color: #3f5a4f; white-space: nowrap; }
.nav-links > a { color: #3f5a4f; }
.nav-links > a:hover { color: #0f3d2e; }
.nav-links .nav-contact { background: #53c29d; color: #0f3d2e; padding: 11px 22px; border-radius: 999px; font-weight: 800; }
.nav-links .nav-contact:hover { background: #3fae88; color: #0f3d2e; }
.nav-dd { position: relative; }
.nav-dd > span { cursor: pointer; }
.nav-dd .caret { color: #9ec7b6; font-size: 11px; }
.nav-dd-menu { display: none; position: absolute; top: 100%; left: -16px; background: #fff; border: 2px solid #e4f1ea; border-radius: 18px; padding: 8px; border-top: 14px solid transparent; background-clip: padding-box; min-width: 210px; box-shadow: 0 18px 40px rgba(31,138,104,.14); flex-direction: column; gap: 2px; }
.nav-dd-menu.wide { min-width: 250px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: flex; }
.nav-dd-menu a { color: #173a2e; padding: 10px 14px; border-radius: 12px; font-weight: 700; white-space: nowrap; }
.nav-dd-menu a:hover { background: #eef9f4; }
.nav-burger { display: none; cursor: pointer; padding: 8px; align-items: center; justify-content: center; background: none; border: none; }
.nav-mobile { display: none; max-width: 1200px; margin: 8px auto 0; background: #fff; border: 2px solid #e4f1ea; border-radius: 24px; padding: 12px; flex-direction: column; gap: 2px; box-shadow: 0 18px 40px rgba(31,138,104,.14); font-weight: 700; font-size: 15px; color: #173a2e; }
.nav-mobile a { color: #173a2e; padding: 12px 14px; border-radius: 12px; }
.nav-mobile a:hover { background: #eef9f4; }
.nav-mobile a.nav-contact { background: #53c29d; color: #0f3d2e; margin-top: 4px; }
.nav-mobile.open { display: flex; }
.nav-mobile-group { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; margin-top: 6px; border-top: 1px solid #eef3f0; }
.nav-mobile-group:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.nav-mobile-label { color: #6f8478; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 6px 14px 2px; }
.nav-mobile-group a { padding-left: 24px; font-weight: 600; }
@media (max-width: 1023.98px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ===== BUTTONS & PILLS ===== */
.btn { display: inline-block; font-weight: 800; padding: 15px 28px; border-radius: 999px; font-size: 16px; border: none; cursor: pointer; font-family: inherit; }
.btn-dark { background: #0f3d2e; color: #fff; }
.btn-dark:hover { background: #145239; color: #fff; }
.btn-yellow { background: #ffce4f; color: #0f3d2e; }
.btn-yellow:hover { background: #f5bf35; color: #0f3d2e; }
.btn-green { background: #53c29d; color: #0f3d2e; }
.btn-green:hover { background: #3fae88; color: #0f3d2e; }
.pill { display: inline-block; font-weight: 800; border-radius: 999px; }

/* ===== CARDS ===== */
.card { background: #fff; border: 2px solid #dcefe6; border-radius: 24px; }
a.card { color: inherit; }
a.card:hover { border-color: #b9e2d0; box-shadow: 0 12px 30px rgba(31,138,104,.10); color: inherit; }

/* ===== FORMS ===== */
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 2px solid #dcefe6; border-radius: 14px; font-size: 15px; font-family: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #53c29d; outline-offset: 0; border-color: #53c29d; }
.field-sm label { font-size: 13px; margin-bottom: 5px; }
.field-sm input, .field-sm select { padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.day-check { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid #dcefe6; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.day-check input { accent-color: #53c29d; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-error { display: none; background: #ffe6e0; color: #b3402c; border-radius: 14px; padding: 14px 18px; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.form-error.show { display: block; }
.success-box { text-align: center; padding: 32px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #e4f6ee; color: #1f8a68; display: flex; align-items: center; justify-content: center; font-size: clamp(22px,4vw,30px); margin: 0 auto 18px; }

/* ===== FOOTER ===== */
.footer { background: #0f3d2e; color: #c1e0d3; }
.footer a { color: #c1e0d3; }
.footer a:hover { color: #fff; }
.footer-head { color: #7fd0b4; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
