/* Education City - standalone maintenance page
   No external dependencies: fonts, images and styles are all local. */

@font-face {
  font-family: "qffont";
  src: url("../fonts/qf-regular-webfont.woff2") format("woff2"),
       url("../fonts/qf-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "qffont";
  src: url("../fonts/qf-bold-webfont.woff2") format("woff2"),
       url("../fonts/qf-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #111F48;
  --secondary: #007473;
  --accent: #FAA21B;
  --muted: #677092;
  --border: #E6E8EF;
  --bg: #FFFFFF;
  --font: "qffont", "Segoe UI", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
}
.header img {
  height: 56px;
  width: auto;
  display: block;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 56px;
}

.content {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.illustration {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

.lang-block + .lang-block {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.lang-block p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.rtl {
  direction: rtl;
  font-family: var(--font);
}

.footer {
  text-align: center;
  padding: 20px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .header img { height: 44px; }
  .main { padding-top: 24px; }
  .illustration { margin-bottom: 24px; }
}
