:root {
  --primary: #002f5f;
  --primary-dark: #001c3a;
  --primary-light: #0b4e8f;
  --accent: #d7a900;
  --accent-dark: #b58e00;
  --bg-soft: #f9f6f7;
  --text-dark: #212121;
  --text-muted: #6b7280;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 47, 95, 0.08);
  --shadow-strong: 0 20px 45px rgba(0, 47, 95, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; scrollbar-gutter: stable; }

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }
.responsive-picture { display: contents; }
.responsive-picture > source { display: none; }
iframe { max-width: 100%; }
main { min-width: 0; overflow: clip; }
.row > * { min-width: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  color: var(--primary);
}

a { text-decoration: none; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.btn-brand {
  background: var(--accent);
  border: none;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-brand:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline-brand:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.site-header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  z-index: 1030;
}
.navbar { padding: 0.6rem 0; }
.navbar-brand img { height: 52px; }
.navbar-nav { gap: 0.5rem; }
.navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: calc(0.95rem + 1px);
  color: rgb(30, 35, 76);
  padding: 0.55rem 0.75rem !important;
  border-radius: 8px;
  transition: text-shadow 0.2s ease, transform 0.2s ease;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show { color: rgb(30, 35, 76); background: transparent; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: rgb(30, 35, 76);
  background: transparent;
  text-shadow: 0 0 8px rgba(73, 106, 222, 0.4), 0 0 2px rgba(73, 106, 222, 0.25);
  transform: translateY(-1px);
}
.nav-contact-item { display: flex; align-items: center; gap: 0.55rem; }
.language-switch { display: inline-flex; align-items: center; gap: 0.15rem; flex: 0 0 auto; }
.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 27px;
  border: 2px solid transparent;
  border-radius: 5px;
}
.language-link.is-current { border-color: var(--accent); }
.language-link:hover, .language-link:focus-visible { border-color: var(--primary); }
.language-link img { display: block; width: 26px; height: 18px; max-width: none; border-radius: 2px; }
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-strong);
  border-radius: 12px;
  padding: 0.5rem;
}
.dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.dropdown-item:hover, .dropdown-item:focus { background: var(--bg-soft); color: var(--primary); }
@media (min-width: 1400px) {
  .navbar { padding: 0.75rem 0; }

  .site-header .navbar > .container-fluid {
    padding-inline: 1.5rem !important;
  }

  .navbar-brand {
    margin-left: 1rem;
    margin-right: 0.5rem;
  }

  .navbar-brand img { height: 56px; }

  .navbar-collapse {
    flex: 1 1 auto;
    justify-content: center;
    padding-top: 1.5rem;
  }

  .navbar-nav {
    justify-content: flex-end;
    gap: 4ch;
  }

  .nav-contact-item { gap: 4ch; }

  .navbar-nav .nav-item {
    flex: 0 0 auto;
  }

  .navbar-nav .nav-link {
    white-space: nowrap;
    padding: 0.65rem 0 !important;
  }
}

.hero-banner {
  height: clamp(220px, 34vw, 620px);
  max-height: calc(100svh - 17rem);
  background: #edf1f5;
  overflow: hidden;
}
.hero-banner .carousel-inner, .hero-banner .carousel-item { height: 100%; }
.hero-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stats-band {
  background: var(--primary);
  background-image: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 1.5rem 0;
  margin-top: -1px;
}
.stat-card { text-align: center; color: #fff; }
.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  line-height: 1.15;
  white-space: nowrap;
}
.stat-card .stat-value {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  font-weight: 600;
}
.stat-card .stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #cfe0f3;
  line-height: 1.4;
  margin-top: 0.65rem;
}

.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(0,23,46,0.85), transparent);
  color: #fff; font-weight: 600;
}

.map-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-card iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-open-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #d9e1e9;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  font-size: 0.85rem;
  font-weight: 600;
}
.map-open-link:hover, .map-open-link:focus-visible { color: var(--primary-light); background: #f4f7fa; }
.home-map-card { display: flex; width: 100%; }
.home-map-card iframe { height: auto; min-height: 380px; }
.home-map-card .map-open-link { bottom: 44px; }
.info-box {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.info-box i { color: var(--accent-dark); }

.page-header {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 4.5rem 0 3.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(215,169,0,0.25), transparent 55%);
}
.page-header h1 { color: #fff; margin: 0; position: relative; z-index: 1; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.page-header .breadcrumb { position: relative; z-index: 1; margin: 0.5rem 0 0; }
.page-header .breadcrumb a { color: #cfe0f3; }
.page-header .breadcrumb .active { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #7f9ec5; }

.content-block { padding: 4rem 0; }
.content-block p { color: #3c4551; line-height: 1.85; font-size: 1.03rem; }
.content-block ul li { color: #3c4551; line-height: 1.8; }

.card-soft {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.card-soft .icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.icon-badge-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 2rem;
}

.error-page .container {
  max-width: 760px;
}
.error-code {
  color: rgba(0, 47, 95, 0.14);
  font-family: "Poppins", sans-serif;
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: -0.35rem;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.spec-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #eef1f5;
  box-shadow: var(--shadow-soft);
  padding: 1.6rem;
  height: 100%;
}
.spec-code {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
}
.spec-card h5 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.spec-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.9rem; }
.spec-gsm {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  word-break: break-word;
}
.spec-gsm span { color: var(--text-muted); font-weight: 500; display: block; margin-bottom: 0.15rem; }

.cert-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.cert-group {
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.cert-group-heading {
  align-items: center;
  background: #fbfcfe;
  border-bottom: 1px solid #eaf0f6;
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
}
.cert-group-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.2rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.cert-group h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
}
.cert-group-count {
  color: var(--text-muted);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.18rem;
}
.cert-list {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem;
}
.cert-document {
  align-items: center;
  background: #fff;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  color: var(--text-dark);
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  min-height: 52px;
  padding: 0.65rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cert-document:hover,
.cert-document:focus-visible {
  border-color: rgba(0, 47, 95, 0.28);
  box-shadow: 0 8px 20px rgba(0, 47, 95, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}
.cert-document-icon {
  align-items: center;
  background: #fff2f2;
  border-radius: 8px;
  color: #bd2d2d;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.2rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.cert-document-title {
  font-weight: 600;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cert-document-type {
  background: var(--bg-soft);
  border: 1px solid #e3e9f0;
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.45rem;
}
.cert-document-open {
  color: var(--accent-dark);
  font-size: 0.95rem;
}
.policy-library {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
}
.policy-document {
  min-height: 72px;
  padding: 0.85rem 0.95rem;
}
.policy-document-icon {
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 1.25rem;
  height: 44px;
  width: 44px;
}

@media (max-width: 991.98px) {
  .cert-library { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .policy-library { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .cert-group-heading { padding: 0.9rem; }
  .cert-list { padding: 0.7rem; }
  .cert-document {
    gap: 0.55rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.6rem;
  }
  .cert-document-type { display: none; }
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #dde3ea;
}
.contact-form .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(0,47,95,0.12);
}
.form-honeypot {
  height: 1px;
  left: -10000px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: auto;
  width: 1px;
}
.subject-pills .btn-check:checked + .btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.contact-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.contact-submit-message {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  line-height: 1.4;
}
.contact-submit-message.is-success { color: #198754; }
.contact-submit-message.is-failure { color: #dc3545; }
.kvkk-consent {
  color: #536273;
  line-height: 1.55;
}
.kvkk-consent .form-check-input {
  border-color: #b8c4d1;
  margin-top: 0.3rem;
}
.kvkk-consent a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.kvkk-consent a:hover { color: var(--accent-dark); }
.captcha-row {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.captcha-image {
  background: #fafbf8;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 47, 95, 0.03);
  height: 68px;
  object-fit: contain;
  width: 190px;
}
.captcha-refresh {
  align-items: center;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  color: var(--primary);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  transition: all 0.2s;
  width: 46px;
}
.captcha-refresh:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.captcha-refresh:disabled { cursor: wait; opacity: 0.65; }
.captcha-input {
  letter-spacing: 0.12em;
  max-width: 236px;
  text-align: center;
}
.location-card { border-left: 4px solid var(--accent); }

.history-page {
  --history-blue: #003087;
  --history-gold: #c8a977;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.history-heading { margin: 0 auto 3.5rem; text-align: center; }
.history-heading h1 {
  color: var(--history-blue);
  font-size: clamp(1.85rem, 3.3vw, 2.625rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}
.history-divider {
  align-items: center;
  display: flex;
  margin: 2rem auto;
  max-width: 440px;
  width: 80%;
}
.history-divider::before,
.history-divider::after {
  background: var(--history-gold);
  content: "";
  flex: 1;
  height: 4px;
}
.history-chevron {
  align-items: center;
  background: var(--history-gold);
  border-radius: 50%;
  display: flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
}
.history-chevron::after {
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: "";
  height: 8px;
  margin-top: -4px;
  transform: rotate(45deg);
  width: 8px;
}
.history-heading p {
  color: var(--history-gold);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}
.history-timeline { list-style: none; margin: 0 auto; max-width: 1040px; padding: 0; }
.history-milestone {
  align-items: center;
  column-gap: clamp(2rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem 0 3rem;
}
.history-event { min-width: 0; width: 100%; }
.history-event h2 { color: var(--history-blue); margin: 0; }
.history-year {
  display: block;
  font-size: clamp(3rem, 5.3vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
}
.history-event-title {
  display: block;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 1rem;
}
.history-description {
  color: #3c4551;
  font-size: 1.03rem;
  line-height: 1.8;
  margin: 1rem 0 0;
}
.history-milestone:last-child { padding-bottom: 0; }
.history-image {
  aspect-ratio: 3 / 2;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 768px) {
  .history-milestone:nth-child(even) .history-event { grid-column: 2; grid-row: 1; }
  .history-milestone:nth-child(even) .history-image { grid-column: 1; grid-row: 1; }
}

@media (max-width: 767.98px) {
  .history-heading { margin-bottom: 2rem; }
  .history-milestone {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 2.5rem;
    row-gap: 1.5rem;
  }
}

.board-page { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.board-heading { margin-bottom: 2rem; text-align: center; }
.board-heading h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
}
.board-heading::after {
  background: var(--accent);
  content: "";
  display: block;
  height: 3px;
  margin: 1.25rem auto 0;
  width: min(320px, 75%);
}
.board-members {
  list-style: none;
  margin: 0 auto;
  max-width: 960px;
  padding: 0;
}
.board-member {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 1.25rem 0;
}
.board-member-portrait {
  aspect-ratio: 1;
  background: #f8f9fb;
  border: 4px solid #f1f3f6;
  border-radius: 50%;
  justify-self: center;
  overflow: hidden;
  width: 208px;
}
.board-member-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1.085);
  width: 100%;
}
.board-member-photo--portrait {
  transform: scale(1.65);
  transform-origin: 50% 35%;
}
.board-member-details {
  min-width: 0;
  text-align: center;
}
.board-member h2 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}
.board-member p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}
.board-biography-trigger { margin-top: 1.25rem; }
.board-biography .modal-dialog { --bs-modal-width: 900px; }
.board-biography .modal-header { background: #f8f9fb; padding: 1.25rem 1.5rem; }
.board-biography .modal-title { font-size: 1.4rem; font-weight: 500; }
.board-biography .modal-body { padding: clamp(1.25rem, 4vw, 2.5rem); }
.board-biography-profile { border-bottom: 1px solid #e6ecf3; padding-bottom: 1.5rem; }
.board-biography .board-member-portrait { justify-self: start; margin: 0 0 1.25rem; width: 160px; }
.board-biography-profile h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.board-biography-role { color: var(--text-muted); margin: 0; }
.board-biography-copy { color: #3c4551; line-height: 1.85; padding-top: 1.5rem; }
.board-biography-copy p { margin: 0 0 1rem; }
.board-biography-copy p:last-child { margin-bottom: 0; }

@media (max-width: 767.98px) {
  .board-heading { margin-bottom: 1.5rem; }
  .board-member {
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    padding: 1.75rem 0;
  }
  .board-member-portrait { width: 200px; }
}

.chairman-page { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.chairman-message-layout {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 407px);
}
.chairman-message-copy { max-width: 690px; }
.chairman-message-copy h1 {
  color: #0d1730;
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  margin: 0 0 1.6rem;
  max-width: 680px;
  text-transform: uppercase;
}
.chairman-message-copy h2 {
  color: #111827;
  font-size: 1.45rem;
  margin: 1.5rem 0 0.65rem;
  text-transform: uppercase;
}
.chairman-message-copy p {
  color: #667085;
  font-size: 1.04rem;
  line-height: 1.75;
  margin: 0;
}
.chairman-signature {
  display: flex;
  flex-direction: column;
  margin-top: 1.75rem;
}
.chairman-signature strong { color: #111827; font-size: 1rem; }
.chairman-signature span { color: var(--text-muted); font-size: 0.9rem; }
.chairman-message-photo-wrap { justify-self: end; width: min(100%, 407px); }
.chairman-message-photo {
  aspect-ratio: 407 / 508;
  border-radius: 5px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.site-footer { background: var(--primary-dark); color: #cfd9e6; padding-top: 4rem; }
.footer-top { padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { height: 46px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-about { font-size: 0.9rem; color: #a9b8ca; margin-bottom: 1.25rem; }
.footer-heading { color: #fff; font-family: "Poppins", sans-serif; margin-bottom: 1.1rem; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: #a9b8ca; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 0.6rem; margin-bottom: 0.9rem; font-size: 0.9rem; color: #a9b8ca; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 0.2rem; }
.footer-contact a { color: #a9b8ca; }
.footer-contact a:hover { color: #fff; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff; margin-right: 0.5rem;
  transition: all 0.2s;
}
.section-sm .social-icons a { background: var(--primary); }
.social-icons a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }
.footer-bottom { padding: 1.25rem 0; margin-top: 1rem; background: rgba(0,0,0,0.18); font-size: 0.85rem; }
.footer-bottom-link { color: #cfd9e6; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-bottom-link:hover, .footer-bottom-link:focus-visible { color: #fff; }

.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-strong);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }

.text-accent { color: var(--accent-dark); }
.bg-soft { background: var(--bg-soft); }

@media (max-width: 1399.98px) {
  .navbar-collapse { padding-top: 1rem; }
  .navbar-nav .nav-link { padding: 0.7rem 0.5rem !important; }
  .navbar-nav { align-items: stretch !important; }
  .nav-contact-item { justify-content: space-between; }
}

@media (max-width: 991.98px) {
  .stat-card .stat-value { font-size: 1.6rem; }
  .stat-suffix { font-size: 0.95rem; }
  .stat-card .stat-label { font-size: 0.95rem; }
  .chairman-message-layout { grid-template-columns: 1fr; }
  .chairman-message-copy { max-width: none; }
  .chairman-message-photo-wrap { justify-self: center; }
}

@media (max-width: 767.98px) {
  .section { padding: 3.2rem 0; }
  .hero-banner {
    height: clamp(220px, 62vw, 400px);
    max-height: calc(100svh - 22rem);
  }
  .stats-band { padding: 1.25rem 0; }
  .stat-number { display: block; }
  .stat-card .stat-value { display: block; font-size: clamp(1.35rem, 6.6vw, 1.95rem); }
  .stat-suffix { display: block; font-size: 0.95rem; margin-top: 0.2rem; }
  .stat-card .stat-label { font-size: 0.95rem; margin-top: 0.4rem; }
  .navbar-brand img { height: 40px; }
  .footer-logo { height: 36px; }
  .error-code { font-size: 4.5rem; }
  .error-actions a {
    justify-content: center;
    width: 100%;
  }
  .captcha-row { align-items: flex-start; }
  .captcha-input { max-width: none; }
  .chairman-page { padding: 3rem 0; }
  .chairman-message-copy h1 { font-size: 2rem; }
  .chairman-message-copy h2 { font-size: 1.2rem; }
}

@media (max-width: 380px) {
  .navbar-brand img { height: 34px; }
}
