:root {
  --ink: #111f29;
  --ink-soft: #243945;
  --paper: #f5f7f6;
  --white: #fff;
  --muted: #667781;
  --line: #dfe6e3;
  --green: #09b850;
  --green-dark: #07883d;
  --lime: #d7e100;
  --orange: #ef7d24;
  --navy: #142631;
  --shadow: 0 24px 60px rgba(17, 31, 41, 0.12);
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

section[id], [id="kayit"], [id="afis-talep"] { scroll-margin-top: 32px; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 21, 29, 0.22);
  backdrop-filter: blur(8px);
}

.navbar { min-height: 96px; padding: 0; }
.navbar-brand { width: 285px; margin: 0; padding: 0; }
.navbar-brand img { width: 100%; height: auto; }
.navbar .nav-link {
  padding: 1rem 0.85rem !important;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--lime); }
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}
.nav-login:hover { color: var(--white); background: var(--green-dark); transform: translateY(-1px); }
.navbar-toggler { display: grid; width: 46px; height: 42px; padding: 9px; border: 1px solid rgba(255, 255, 255, 0.28); place-content: center; gap: 5px; box-shadow: none !important; }
.navbar-toggler span { display: block; width: 24px; height: 2px; background: var(--white); }

.hero {
  position: relative;
  display: flex;
  min-height: 810px;
  overflow: hidden;
  align-items: center;
  color: var(--white);
  background: #14232d;
}
.hero-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 20, 28, 0.94) 0%, rgba(8, 20, 28, 0.78) 48%, rgba(8, 20, 28, 0.36) 76%, rgba(8, 20, 28, 0.58) 100%),
    url("../images/brand/competition-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}
.hero-background::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 28, 0.16), rgba(8, 20, 28, 0.3));
  content: "";
}
.hero-content { position: relative; z-index: 1; padding-top: 115px; padding-bottom: 100px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero-kicker::before { width: 34px; height: 2px; background: var(--green); content: ""; }
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.2rem, 5.25vw, 5.55rem);
  font-weight: 820;
  line-height: 1.01;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.hero-subtitle {
  max-width: 710px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.btn-tales {
  display: inline-flex;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}
.btn-tales:hover { transform: translateY(-2px); }
.btn-tales-primary { color: var(--ink); background: var(--white); }
.btn-tales-primary:hover { color: var(--white); background: var(--green); }
.btn-tales-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.46); background: rgba(255, 255, 255, 0.06); }
.btn-tales-outline:hover { color: var(--white); background: rgba(255, 255, 255, 0.15); }
.hero-note { display: flex; align-items: center; gap: 0.55rem; margin: 1.1rem 0 0; color: rgba(255, 255, 255, 0.56); font-size: 0.78rem; }
.hero-note span { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }

.date-strip { position: relative; z-index: 3; margin-top: -72px; }
.date-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
.date-card {
  position: relative;
  display: flex;
  min-height: 145px;
  padding: 1.7rem 1.5rem;
  overflow: hidden;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid var(--line);
}
.date-card:first-child { border-radius: 12px 0 0 12px; }
.date-card:last-child { border-right: 0; border-radius: 0 12px 12px 0; }
.date-card::after { position: absolute; right: -34px; bottom: -45px; width: 110px; height: 110px; border: 18px solid currentColor; border-radius: 50%; opacity: 0.05; content: ""; }
.date-index { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 0.75rem; font-weight: 850; }
.date-label { display: block; margin-bottom: 0.4rem; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.date-card strong { display: block; max-width: 170px; font-size: 0.98rem; line-height: 1.45; }
.date-math .date-index { background: #243d4e; }
.date-science .date-index { background: var(--green); }
.date-reading .date-index { background: var(--orange); }

.section { padding: 7rem 0; }
.section-heading { margin-bottom: 3rem; }
.centered-heading { max-width: 820px; margin-right: auto; margin-left: auto; text-align: center; }
.section-eyebrow { display: inline-block; color: var(--green-dark); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.18em; text-transform: uppercase; }
.section-eyebrow-light { color: var(--lime); }
.section-heading h2, .participation-copy h2, .application-card h2, .faq-heading h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  font-weight: 810;
  line-height: 1.05;
  letter-spacing: -0.047em;
}
.section-heading p { max-width: 720px; margin: 1.2rem auto 0; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }

.programs { padding-top: 8rem; background: var(--paper); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.program-card {
  position: relative;
  display: flex;
  min-height: 525px;
  padding: 2.25rem;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(17, 31, 41, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.program-topline { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--ink); }
.program-card-science .program-topline { background: var(--green); }
.program-card-reading .program-topline { background: var(--orange); }
.program-tag { align-self: flex-start; padding: 0.42rem 0.6rem; color: var(--green-dark); background: rgba(9, 184, 80, 0.09); border-radius: 4px; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.12em; }
.program-card-reading .program-tag { color: #b54f0c; background: rgba(239, 125, 36, 0.11); }
.program-mark { display: grid; width: 62px; height: 62px; margin-top: 2.1rem; place-items: center; color: var(--white); background: var(--ink); border-radius: 8px; font-size: 1.55rem; font-weight: 850; }
.program-card-science .program-mark { background: var(--green); }
.program-card-reading .program-mark { background: var(--orange); }
.program-card h3 { max-width: 340px; margin: 1.5rem 0 1rem; font-size: 1.65rem; font-weight: 800; line-height: 1.16; letter-spacing: -0.035em; }
.program-card > p { margin: 0; color: var(--muted); line-height: 1.7; }
.program-facts { display: grid; grid-template-columns: 0.75fr 1.25fr; margin: auto 0 1.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.program-facts div { display: flex; flex-direction: column; }
.program-facts dt { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.program-facts dd { margin: 0.3rem 0 0; font-size: 0.86rem; font-weight: 750; }
.program-card > a { display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: 0.83rem; font-weight: 800; }
.program-card > a:hover { color: var(--green-dark); }

.calendar-section { overflow: hidden; color: var(--white); background: var(--navy); }
.calendar-layout { display: grid; grid-template-columns: 1fr minmax(320px, 0.62fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.calendar-copy h2 { max-width: 760px; font-size: clamp(2.6rem, 4.6vw, 4.9rem); }
.calendar-copy > p { max-width: 660px; margin: 1.4rem 0 0; color: rgba(255, 255, 255, 0.68); font-size: 1rem; line-height: 1.8; }
.calendar-highlights { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.calendar-highlights div { display: flex; padding: 1.25rem 1rem 1.25rem 0; flex-direction: column; }
.calendar-highlights div + div { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.calendar-highlights span { color: var(--lime); font-size: 0.9rem; font-weight: 850; }
.calendar-highlights strong { margin-top: 0.35rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.calendar-actions { display: flex; margin-top: 2rem; align-items: center; gap: 1.4rem; }
.calendar-download { color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; font-weight: 800; }
.calendar-download:hover { color: var(--lime); }
.calendar-visual { position: relative; display: block; max-width: 410px; margin-left: auto; padding: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 20px; background: rgba(255, 255, 255, 0.07); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28); transform: rotate(1.5deg); transition: transform 180ms ease; }
.calendar-visual:hover { transform: rotate(0) translateY(-5px); }
.calendar-visual img { width: 100%; max-height: 650px; object-fit: cover; object-position: top; border-radius: 12px; }
.calendar-visual > span { position: absolute; right: 24px; bottom: 24px; left: 24px; display: flex; padding: 0.85rem 1rem; align-items: center; justify-content: space-between; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; background: rgba(8, 21, 29, 0.88); font-size: 0.72rem; font-weight: 800; backdrop-filter: blur(8px); }

.museum-section { background: var(--white); }
.museum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.museum-media { position: relative; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); }
.museum-media::after { position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(5, 18, 27, 0.75)); content: ""; pointer-events: none; }
.museum-media > img { width: 100%; min-height: 600px; object-fit: cover; }
.museum-caption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; display: grid; grid-template-columns: auto 1fr auto; padding: 1.15rem 1.25rem; align-items: center; gap: 1rem; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; background: rgba(7, 24, 34, 0.78); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2); backdrop-filter: blur(12px); }
.museum-caption-icon { position: relative; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: var(--lime); }
.museum-caption-icon::before, .museum-caption-icon::after, .museum-caption-icon span { position: absolute; width: 7px; height: 7px; background: var(--navy); border-radius: 50%; content: ""; }
.museum-caption-icon::before { top: 11px; left: 12px; }
.museum-caption-icon::after { right: 10px; bottom: 10px; }
.museum-caption-icon span { top: 22px; left: 22px; }
.museum-caption-copy { display: flex; min-width: 0; flex-direction: column; }
.museum-caption-copy > span { color: var(--lime); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.12em; }
.museum-caption-copy strong { margin-top: 0.25rem; font-size: 1rem; line-height: 1.25; }
.museum-location { color: rgba(255, 255, 255, 0.68); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap; }
.participation-copy h2 { max-width: 650px; font-size: clamp(2.4rem, 4vw, 4.35rem); }
.section-lead { max-width: 610px; margin: 1.3rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.steps-list { margin: 2.4rem 0 0; padding: 0; list-style: none; }
.steps-list li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding-bottom: 1.8rem; }
.steps-list li:not(:last-child)::after { position: absolute; top: 48px; bottom: 4px; left: 28px; width: 2px; background: #dce5df; content: ""; }
.steps-list > li > span { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); background: var(--green); border: 6px solid #e6f8ed; border-radius: 50%; font-size: 0.78rem; font-weight: 850; }
.steps-list h3 { margin: 0.2rem 0 0.45rem; font-size: 1.12rem; font-weight: 800; }
.steps-list p { margin: 0; color: var(--muted); line-height: 1.65; }
.registration-action { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; margin-top: 0.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.registration-action .btn-tales-primary { color: var(--white); background: var(--green); }
.registration-action .btn-tales-primary:hover { background: var(--green-dark); }
.registration-action p { max-width: 310px; margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.55; }

.poster-section { padding: 0 0 7rem; background: var(--white); }
.poster-grid { display: grid; grid-template-columns: 0.9fr 0.9fr 1.2fr; gap: 1rem; }
.poster-card { position: relative; display: flex; min-height: 190px; padding: 1.75rem; overflow: hidden; flex-direction: column; justify-content: space-between; color: var(--white); border-radius: 10px; box-shadow: 0 15px 35px rgba(17, 31, 41, 0.12); transition: transform 180ms ease; }
.poster-card:hover { color: var(--white); transform: translateY(-5px); }
.poster-card::after { position: absolute; right: -46px; bottom: -65px; width: 170px; height: 170px; border: 27px solid rgba(255, 255, 255, 0.08); border-radius: 50%; content: ""; }
.poster-math { background: linear-gradient(135deg, #142631, #284656); }
.poster-science { background: linear-gradient(135deg, #09b850, #057836); }
.poster-reading { background: linear-gradient(135deg, #ef8a2f, #db5d12); }
.poster-label { position: relative; z-index: 1; font-size: 0.64rem; font-weight: 850; letter-spacing: 0.15em; opacity: 0.7; }
.poster-card strong { position: relative; z-index: 1; max-width: 280px; font-size: 1.55rem; line-height: 1.15; }
.poster-action { position: relative; z-index: 1; font-size: 0.78rem; font-weight: 800; }
.poster-request { display: grid; grid-template-columns: auto 1fr auto; margin-top: 1rem; padding: 1.6rem; align-items: center; gap: 1.35rem; border: 1px solid var(--line); border-radius: 12px; background: #f5f8f6; }
.poster-request-icon { display: grid; width: 58px; height: 58px; place-items: center; color: var(--green-dark); border-radius: 12px; background: #e1f5e9; }
.poster-request-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.poster-request-copy > span { color: var(--green-dark); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.13em; }
.poster-request-copy h3 { margin: 0.28rem 0 0.3rem; font-size: 1.28rem; }
.poster-request-copy p { max-width: 720px; margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.poster-request-button { display: inline-flex; min-height: 48px; padding: 0 1.1rem; align-items: center; gap: 1rem; color: var(--white); border-radius: 7px; background: var(--green); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.03em; white-space: nowrap; }
.poster-request-button:hover { color: var(--white); background: var(--green-dark); }

.faq-section { background: #eef2ef; }
.faq-heading { display: flex; margin-bottom: 3rem; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.faq-heading h2 { font-size: clamp(2.7rem, 4.5vw, 4.8rem); }
.faq-heading p { max-width: 650px; margin: 1rem 0 0; color: var(--muted); line-height: 1.75; }
.faq-contact-link { display: inline-flex; padding: 0.9rem 1rem; flex-shrink: 0; flex-direction: column; color: var(--muted); border: 1px solid #cad6d0; border-radius: 9px; font-size: 0.72rem; line-height: 1.5; }
.faq-contact-link strong { color: var(--green-dark); font-size: 0.8rem; }
.faq-contact-link:hover { color: var(--muted); border-color: var(--green); }
.faq-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.faq-program { position: relative; overflow: hidden; border: 1px solid #d6e0db; border-radius: 14px; background: var(--white); box-shadow: 0 18px 45px rgba(17, 31, 41, 0.07); }
.faq-program::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--navy); content: ""; }
.faq-program-science::before { background: var(--green); }
.faq-program-reading::before { background: var(--orange); }
.faq-program-header { display: grid; grid-template-columns: auto 1fr; min-height: 142px; padding: 1.6rem; align-items: start; gap: 1rem; border-bottom: 1px solid var(--line); }
.faq-program-number { display: grid; width: 42px; height: 42px; place-items: center; color: var(--white); border-radius: 11px; background: var(--navy); font-size: 0.7rem; font-weight: 850; }
.faq-program-science .faq-program-number { background: var(--green); }
.faq-program-reading .faq-program-number { background: var(--orange); }
.faq-program-header div > span { color: var(--muted); font-size: 0.58rem; font-weight: 850; letter-spacing: 0.1em; }
.faq-program-header h3 { margin: 0.45rem 0 0; font-size: 1.25rem; line-height: 1.25; }
.faq-program-header h3 small { font-size: 0.72rem; white-space: nowrap; }
.faq-items { padding: 0 1.6rem; }
.faq-item { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h4 { margin: 0 0 0.48rem; font-size: 0.82rem; font-weight: 820; line-height: 1.45; }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.65; }
.faq-item p strong { color: var(--ink-soft); font-weight: 780; }

.site-footer { padding: 4.5rem 0 1.6rem; color: rgba(255, 255, 255, 0.68); background: #08151d; }
.footer-main { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { width: 250px; }
.footer-brand-block > p { max-width: 430px; margin: 1.65rem 0 1.35rem; font-size: 0.9rem; line-height: 1.75; }
.footer-website { display: inline-flex; padding: 0.62rem 0.85rem; align-items: center; gap: 0.5rem; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; font-size: 0.72rem; font-weight: 800; }
.footer-website:hover { color: var(--lime); border-color: rgba(214, 227, 0, 0.48); }
.footer-contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.footer-contact-item { display: grid; grid-template-columns: 42px 1fr; min-height: 92px; padding: 1rem; align-items: center; gap: 0.85rem; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(255, 255, 255, 0.035); transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
a.footer-contact-item:hover { color: var(--white); border-color: rgba(214, 227, 0, 0.38); background: rgba(255, 255, 255, 0.065); transform: translateY(-2px); }
.footer-contact-item:last-child { grid-column: 1 / -1; }
.footer-contact-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--lime); border-radius: 10px; background: rgba(214, 227, 0, 0.1); }
.footer-contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-item > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.footer-contact-item small { margin-bottom: 0.3rem; color: var(--lime); font-size: 0.6rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-contact-item strong { overflow-wrap: anywhere; color: var(--white); font-size: 0.82rem; font-weight: 650; line-height: 1.55; }
.footer-bottom { display: flex; margin-top: 3rem; padding-top: 1.35rem; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.68rem; }

/* Poster request form */
.poster-form-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.poster-form-hero::after { position: absolute; right: -140px; bottom: -300px; width: 650px; height: 650px; border: 95px solid rgba(214, 227, 0, 0.055); border-radius: 50%; content: ""; }
.poster-form-hero-pattern { position: absolute; inset: 0; opacity: 0.48; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.4px, transparent 1.5px); background-position: calc(100% - 80px) 100px; background-size: 25px 25px; mask-image: linear-gradient(90deg, transparent 40%, #000); }
.poster-form-hero-content { position: relative; z-index: 1; padding-top: 155px; padding-bottom: 115px; }
.poster-form-back { display: inline-flex; margin-bottom: 2.3rem; align-items: center; gap: 0.7rem; color: rgba(255, 255, 255, 0.62); font-size: 0.75rem; font-weight: 750; }
.poster-form-back:hover { color: var(--lime); }
.poster-form-eyebrow { color: var(--lime); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.17em; }
.poster-form-hero h1 { max-width: 760px; margin: 0.85rem 0 0; font-size: clamp(3rem, 5vw, 5rem); font-weight: 830; line-height: 0.98; letter-spacing: -0.045em; }
.poster-form-hero p { max-width: 680px; margin: 1.45rem 0 0; color: rgba(255, 255, 255, 0.7); font-size: 1rem; line-height: 1.75; }

.poster-form-section { padding: 0 0 7rem; background: #eef2ef; }
.poster-form-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr); gap: 2rem; margin-top: -58px; align-items: start; }
.poster-form-aside { position: sticky; top: 24px; padding: 2.1rem; color: var(--white); border-radius: 14px; background: #0d202b; box-shadow: 0 22px 55px rgba(17, 31, 41, 0.16); }
.poster-form-aside-label { color: var(--lime); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.17em; }
.poster-form-aside h2 { margin: 0.75rem 0 0; font-size: 1.65rem; line-height: 1.25; }
.poster-form-steps { margin: 2.1rem 0 0; padding: 0; list-style: none; }
.poster-form-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; padding-bottom: 1.45rem; }
.poster-form-steps li:not(:last-child)::after { position: absolute; top: 39px; bottom: 3px; left: 19px; width: 1px; background: rgba(255, 255, 255, 0.15); content: ""; }
.poster-form-steps li > span { position: relative; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 0.62rem; font-weight: 900; }
.poster-form-steps div { display: flex; padding-top: 0.1rem; flex-direction: column; }
.poster-form-steps strong { font-size: 0.86rem; }
.poster-form-steps small { margin-top: 0.35rem; color: rgba(255, 255, 255, 0.56); font-size: 0.7rem; line-height: 1.55; }
.poster-form-help { display: flex; margin-top: 0.5rem; padding-top: 1.3rem; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.poster-form-help span { margin-bottom: 0.55rem; color: rgba(255, 255, 255, 0.5); font-size: 0.62rem; }
.poster-form-help a { color: var(--white); font-size: 0.72rem; font-weight: 720; line-height: 1.8; overflow-wrap: anywhere; }
.poster-form-help a:hover { color: var(--lime); }

.poster-form-card { padding: clamp(2rem, 4vw, 4.4rem); border: 1px solid #dce4e0; border-radius: 14px; background: var(--white); box-shadow: 0 24px 70px rgba(17, 31, 41, 0.1); }
.poster-form-card-heading { max-width: 720px; padding-bottom: 2.5rem; }
.poster-form-card-heading > span { color: var(--green-dark); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.17em; }
.poster-form-card-heading h2 { margin: 0.55rem 0 0; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.035em; }
.poster-form-card-heading p { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.7; }
.poster-form-fieldset { margin: 0; padding: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
.poster-form-fieldset legend { display: flex; width: auto; margin: 0 0 1.5rem; align-items: center; gap: 0.8rem; color: var(--ink); font-size: 1.12rem; font-weight: 820; }
.poster-form-fieldset legend span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--white); border-radius: 9px; background: var(--green); font-size: 0.62rem; }
.poster-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.poster-field { display: flex; min-width: 0; flex-direction: column; }
.poster-field-wide { grid-column: 1 / -1; }
.poster-field label { margin-bottom: 0.48rem; color: var(--ink-soft); font-size: 0.72rem; font-weight: 790; }
.poster-field input, .poster-field select, .poster-field textarea {
  width: 100%;
  min-height: 53px;
  padding: 0.82rem 0.95rem;
  color: var(--ink);
  border: 1px solid #cfd9d4;
  border-radius: 7px;
  outline: 0;
  background: #fbfcfb;
  font: inherit;
  font-size: 0.88rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.poster-field textarea { min-height: 116px; resize: vertical; }
.poster-field input:focus, .poster-field select:focus, .poster-field textarea:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(9, 184, 80, 0.1); }
.poster-field select:disabled { color: #8d9a93; cursor: not-allowed; background: #f0f3f1; }
.poster-field small { margin-top: 0.45rem; color: var(--muted); font-size: 0.66rem; }
.poster-form-validated .poster-field input:invalid, .poster-form-validated .poster-field select:invalid, .poster-form-validated .poster-field textarea:invalid { border-color: #c84435; box-shadow: 0 0 0 3px rgba(200, 68, 53, 0.08); }

.poster-count-note { margin: -0.5rem 0 1.4rem; color: var(--muted); font-size: 0.75rem; }
.poster-count-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.poster-count-card { position: relative; display: flex; min-height: 230px; padding: 1.3rem; overflow: hidden; flex-direction: column; color: var(--white); border-radius: 10px; cursor: pointer; }
.poster-count-card::after { position: absolute; right: -52px; bottom: -60px; width: 150px; height: 150px; border: 24px solid rgba(255, 255, 255, 0.08); border-radius: 50%; content: ""; }
.poster-count-math { background: linear-gradient(145deg, #142631, #294858); }
.poster-count-science { background: linear-gradient(145deg, #08af4b, #087f3c); }
.poster-count-reading { background: linear-gradient(145deg, #ef8a2f, #d95a13); }
.poster-count-program { position: relative; z-index: 1; font-size: 0.55rem; font-weight: 850; letter-spacing: 0.13em; opacity: 0.7; }
.poster-count-card strong { position: relative; z-index: 1; margin-top: 0.65rem; font-size: 1.05rem; line-height: 1.25; }
.poster-count-select { position: relative; z-index: 1; display: block; margin-top: auto; padding-top: 1rem; }
.poster-count-select select { width: 100%; min-height: 44px; padding: 0.65rem 0.7rem; color: var(--ink); border: 0; border-radius: 6px; outline: 0; background: rgba(255, 255, 255, 0.94); font-size: 0.76rem; font-weight: 750; }
.poster-count-select select:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.poster-form-status { margin: 0.5rem 0 1.2rem; padding: 0.9rem 1rem; border-radius: 7px; font-size: 0.78rem; line-height: 1.55; }
.poster-form-status-error { color: #8f2419; border: 1px solid #f1c7c1; background: #fff3f1; }
.poster-form-status-success { color: #086c33; border: 1px solid #bfe6cd; background: #eefaf2; }
.poster-form-submit-row { display: grid; grid-template-columns: 1fr auto; padding-top: 1.7rem; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.poster-form-submit-row p { max-width: 610px; margin: 0; color: var(--muted); font-size: 0.66rem; line-height: 1.65; }
.poster-form-submit { display: inline-flex; min-width: 190px; min-height: 54px; padding: 0.85rem 1.15rem; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--white); border: 0; border-radius: 7px; background: var(--green); font-size: 0.78rem; font-weight: 850; transition: background 160ms ease, transform 160ms ease; }
.poster-form-submit:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-2px); }
.poster-form-submit:disabled { cursor: wait; opacity: 0.68; }

.poster-result-modal { position: fixed; z-index: 2000; inset: 0; display: grid; padding: 1.5rem; place-items: center; background: rgba(5, 16, 23, 0.72); backdrop-filter: blur(5px); }
.poster-result-modal[hidden] { display: none; }
.poster-result-dialog { width: min(100%, 470px); padding: 2.5rem; text-align: center; border-radius: 14px; background: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.poster-result-icon { display: grid; width: 60px; height: 60px; margin: 0 auto 1.3rem; place-items: center; color: var(--white); border-radius: 50%; background: var(--green); font-size: 1.5rem; font-weight: 900; }
.poster-result-icon-error { background: var(--orange); }
.poster-result-dialog h2 { margin: 0; font-size: 1.65rem; }
.poster-result-dialog p { margin: 0.9rem 0 1.5rem; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }
.poster-result-dialog button { min-width: 130px; min-height: 46px; color: var(--white); border: 0; border-radius: 7px; background: var(--navy); font-weight: 800; }
body.modal-open { overflow: hidden; }

@media (max-width: 1199.98px) {
  .navbar-brand { width: 240px; }
  .hero { min-height: 760px; }
  .date-card { padding: 1.5rem 1rem; }
  .date-card strong { font-size: 0.9rem; }
  .program-card { padding: 1.8rem; }
  .museum-grid { gap: 4rem; }
  .calendar-layout { gap: 4rem; }
  .faq-program-grid { grid-template-columns: 1fr; }
  .faq-program-header { min-height: auto; }
}

@media (max-width: 991.98px) {
  .site-header { background: rgba(8, 20, 28, 0.92); }
  .navbar { min-height: 82px; }
  .navbar-brand { width: 218px; }
  .navbar-collapse { margin: 0 -0.75rem; padding: 1rem 0.75rem 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .navbar .nav-link { padding: 0.7rem 0 !important; }
  .nav-login { margin-top: 0.5rem; }
  .hero { min-height: 720px; }
  .hero-background { background-image: linear-gradient(90deg, rgba(8, 20, 28, 0.93), rgba(8, 20, 28, 0.62)), url("../images/brand/competition-hero.jpg"); }
  .date-grid { grid-template-columns: repeat(2, 1fr); }
  .date-card:nth-child(2) { border-right: 0; }
  .date-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .date-card:first-child { border-radius: 12px 0 0; }
  .date-card:nth-child(2) { border-radius: 0 12px 0 0; }
  .date-card:nth-child(3) { border-radius: 0 0 0 12px; }
  .date-card:last-child { border-radius: 0 0 12px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 430px; }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-visual { max-width: 460px; margin: 0; }
  .museum-grid { grid-template-columns: 1fr; }
  .museum-media { max-width: 720px; }
  .museum-media img { min-height: 480px; }
  .poster-grid { grid-template-columns: 1fr 1fr; }
  .poster-reading { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr; gap: 3rem; }
  .footer-brand-block > p { max-width: 620px; }
  .poster-form-layout { grid-template-columns: 1fr; }
  .poster-form-aside { position: static; display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 2rem; }
  .poster-form-aside h2 { align-self: start; }
  .poster-form-aside-label, .poster-form-help { grid-column: 1; }
  .poster-form-steps { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

@media (max-width: 767.98px) {
  .hero { min-height: 700px; }
  .hero-content { padding-top: 125px; padding-bottom: 105px; }
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 4rem); }
  .hero-subtitle { font-size: 0.98rem; }
  .date-strip { margin-top: -58px; }
  .date-grid { grid-template-columns: 1fr; }
  .date-card { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
  .date-card:first-child { border-radius: 12px 12px 0 0 !important; }
  .date-card:last-child { border-bottom: 0; border-radius: 0 0 12px 12px !important; }
  .section { padding: 5rem 0; }
  .programs { padding-top: 6rem; }
  .program-card { min-height: 470px; }
  .museum-media img { min-height: 390px; }
  .museum-caption { right: 14px; bottom: 14px; left: 14px; }
  .poster-grid { grid-template-columns: 1fr; }
  .poster-reading { grid-column: auto; }
  .calendar-highlights { grid-template-columns: 1fr; }
  .calendar-highlights div + div { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-left: 0; }
  .calendar-actions { align-items: flex-start; flex-direction: column; }
  .poster-request { grid-template-columns: auto 1fr; }
  .poster-request-button { grid-column: 1 / -1; justify-content: space-between; }
  .faq-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .faq-contact-link { width: 100%; }
  .registration-action { grid-template-columns: 1fr; }
  .registration-action p { max-width: 520px; }
  .footer-contact-list { grid-template-columns: 1fr; }
  .footer-contact-item:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .poster-form-hero { min-height: 490px; }
  .poster-form-hero-content { padding-top: 130px; padding-bottom: 100px; }
  .poster-form-layout { margin-top: -42px; }
  .poster-form-aside { display: block; }
  .poster-form-steps { margin-top: 1.8rem; }
  .poster-form-help { margin-top: 0.5rem; }
  .poster-count-grid { grid-template-columns: 1fr; }
  .poster-count-card { min-height: 190px; }
  .poster-form-submit-row { grid-template-columns: 1fr; gap: 1rem; }
  .poster-form-submit { width: 100%; }
}

@media (max-width: 479.98px) {
  .navbar-brand { width: 190px; }
  .hero { min-height: 720px; }
  .hero-actions { flex-direction: column; }
  .btn-tales { width: 100%; }
  .program-card { min-height: 500px; padding: 1.6rem; }
  .museum-media img { min-height: 340px; }
  .museum-caption { grid-template-columns: auto 1fr; padding: 0.85rem; }
  .museum-caption-icon { width: 42px; height: 42px; }
  .museum-location { display: none; }
  .museum-caption-copy strong { font-size: 0.88rem; }
  .museum-caption-copy > span { font-size: 0.55rem; }
  .poster-request { grid-template-columns: 1fr; }
  .poster-request-icon { width: 50px; height: 50px; }
  .poster-form-fields { grid-template-columns: 1fr; }
  .poster-field-wide { grid-column: auto; }
  .poster-form-card { padding: 1.5rem; }
  .poster-form-hero h1 { font-size: 2.65rem; }
  .poster-form-hero p { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Original poster emblems in the home program cards. */
.program-emblem { display: block; width: 220px; max-width: 100%; aspect-ratio: 1.85; margin-top: 2.1rem; border-radius: 12px; background-size: 174% auto; background-position: 50% 58.5%; background-repeat: no-repeat; }
.program-emblem-math { background-image: url('/documents/posters/matematik.jpg'); }
.program-emblem-science { background-image: url('/documents/posters/fen-bilimleri.jpg'); background-position: 51% 55%; }
.program-emblem-reading { background-image: url('/documents/posters/okuma-dusunme.jpg'); }


/* All three competitions share the main heading. */
.hero h1.hero-all-programs { max-width: 980px; font-size: clamp(2.6rem, 4.3vw, 4.5rem); line-height: 1.12; letter-spacing: -0.04em; }
@media (max-width: 600px) { .hero h1.hero-all-programs { font-size: clamp(2rem, 7.8vw, 2.8rem); line-height: 1.16; } }

