:root {
  --dark: #00252f;      /* top bar / headings */
  --green: #2ecc71;     /* email + phone icons */
  --badge: #f2643a;     /* bell counter */
  --text: #6b6b6b;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--white);
  color: var(--text);
}

a { text-decoration: none; }

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--dark);
  height: 80px;
  padding-left: 71px;
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-contact {
  display: flex;
  align-items: center;
}
.topbar-contact a {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}
.topbar-contact i {
  color: var(--green);
  margin-right: 8px;
  font-size: 16px;
  width: 18px;
  text-align: center;
}
.divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, .25);
  margin: 0 18px;
}
.topbar-admin {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin-left: auto;
  margin-right: 24px;
}
.topbar-notice {
  background: var(--white);
  height: 100%;
  width: 430px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.topbar-notice a {
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- MAIN HEADER ---------- */
.site-header {
  position: sticky;      /* stays fixed at the top while scrolling */
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 171px;
  padding: 0 14px 0 85px;
}
.logo img {
  height: 76px;
  width: auto;
  display: block;
}
.header-tools {
  display: flex;
  align-items: center;
  margin-left: 28px;
  gap: 22px;
}
.bell {
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 26px;
  color: #000;
}
.badge {
  position: absolute;
  top: -14px;
  right: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--badge);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plus {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-left: -14px;
  margin-top: 22px;
}
.search-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  color: #000;
  margin-left: 20px;
}

/* hamburger + mobile menu hidden on desktop */
.hamburger,
.mobile-menu { display: none; }

/* ---------- PAGE CONTENT ---------- */
.page {
  max-width: 1500px;
  margin: 60px auto;
  padding: 0 20px;
}
.page-title { display: none; }
.card {
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, .12);
  padding: 30px;
}
.card h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.1;
  color: var(--dark);
  margin: 0 0 30px;
}
.card hr { border: 0; border-top: 1px solid #ddd; margin: 0 0 30px; }
.card p { font-size: 20px; margin: 0 0 20px; }
.card b { color: #555; font-weight: 700; }

/* ---------- LAPTOP + TABLET (up to 1199px) ---------- */
@media (max-width: 1199px) {
  .topbar,
  .header-tools { display: none; }

  .header-inner {
    justify-content: space-between;
    height: 80px;
    padding: 0 38px;
  }
  .logo img { height: 74px; }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 46px;
    height: 30px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 5px;
    width: 100%;
    background: #000;
    border-radius: 2px;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--dark);
    padding: 10px 38px 20px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .page { max-width: 960px; margin: 30px auto; }
  .page-title {
    display: block;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 56px;
    text-align: center;
    color: var(--dark);
    margin: 0 0 60px;
  }
  .card h2 { font-size: 72px; }
}

/* ---------- MOBILE (up to 575px) ---------- */
@media (max-width: 575px) {
  .header-inner { padding: 0 18px; }
  .logo img { height: 64px; }
  .hamburger { width: 40px; height: 26px; }
  .hamburger span { height: 4px; }
  .mobile-menu { padding: 10px 18px 20px; }

  .page { padding: 0 12px; }
  .page-title { font-size: clamp(30px, 10vw, 44px); line-height: 1.25; margin-bottom: 40px; }
  .card { padding: 30px 20px; }
  .card h2 { font-size: clamp(32px, 10.5vw, 60px); overflow-wrap: anywhere; }
  .card p { font-size: clamp(16px, 5vw, 20px); line-height: 1.6; margin-bottom: 14px; overflow-wrap: anywhere; }
}

/* ---------- SMALL MOBILE (up to 360px) ---------- */
@media (max-width: 360px) {
  .logo img { height: 52px; }
  .card { padding: 24px 16px; }
}

/* =====================  FOOTER  ===================== */
.site-footer {
  background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='none'%3E%3Cpath d='M300 0 C500 250 700 420 1200 330' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  color: rgba(255, 255, 255, .85);
  padding: 50px 71px 0;
  margin-top: 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 405fr 300fr 502fr 503fr;
  gap: 45px;
  padding-bottom: 60px;
}
.f-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 40px;
}
.f-title-sm { margin: 40px 0 0; }

/* about */
.f-logo { width: 100%; max-width: 405px; display: block; margin-bottom: 50px; }
.f-about .f-title { margin-bottom: 40px; }
.f-about p {
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
  margin: 0 0 20px;
}
.f-sha { width: 100%; display: block; margin-top: 10px; }
.read-more {
  display: block;
  text-align: right;
  padding-right: 80px;
  margin-top: 40px;
  color: #ffa500;
  font-size: 24px;
  font-weight: 500;
}

/* link lists */
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { padding: 0 0 22px; }
.f-links a { color: var(--white); font-size: 13px; }
.f-links a:hover, .f-help a:hover { color: #ffa500; }

/* quick help */
.f-help { list-style: none; margin: 0; padding: 0; }
.f-help li { padding: 0 0 17px; }
.f-help h4 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  margin: 0 0 18px;
}
.f-help a, .f-help span {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  line-height: 1.9;
}
.f-help i { margin-right: 4px; }
.f-help .f-phone {
  color: var(--white);
  font-size: 32px;
  font-weight: 500;
}

/* search e-certificate */
.f-search-title { font-size: 30px; margin: 100px 0 20px; }
.f-search-text { font-size: 20px; line-height: 1.9; margin: 0 0 30px; }
.f-search { background: var(--white); }
.f-search input {
  width: 100%;
  height: 70px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 24px;
  font: 400 20px 'Roboto', Arial, sans-serif;
  color: #444;
  outline: none;
}
.f-search button {
  width: 100%;
  height: 78px;
  border: 0;
  background: var(--white);
  color: var(--dark);
  font: 700 20px 'Roboto', Arial, sans-serif;
  cursor: pointer;
}
.f-search button i { margin-left: 8px; }

/* bottom bar */
.f-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 46px 0 50px;
  font-size: 20px;
  color: rgba(255, 255, 255, .85);
}
.f-bottom b { color: var(--white); font-weight: 700; }
.f-bottom img { height: 46px; width: auto; }

/* ---------- LAPTOP (up to 1199px): 4 columns, smaller type ---------- */
@media (max-width: 1199px) {
  .site-footer { padding: 40px 20px 0; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1.15fr 1fr 1.25fr 1.5fr; gap: 24px; }
  .f-title { font-size: 20px; margin-bottom: 26px; }
  .f-title-sm { margin-top: 26px; }
  .f-logo { margin-bottom: 30px; }
  .f-about p { font-size: 13px; line-height: 1.9; }
  .f-links li { padding-bottom: 18px; }
  .f-links a, .f-help a, .f-help span, .f-search-text { font-size: 16px; }
  .f-help h4 { font-size: 16px; margin-bottom: 14px; }
  .f-help .f-phone { font-size: 26px; }
  .read-more { font-size: 20px; padding-right: 40px; }
  .f-search-title { font-size: 24px; margin-top: 40px; }
  .f-bottom { font-size: 16px; }
}

/* ---------- TABLET (up to 991px): 2 columns ---------- */
@media (max-width: 991px) {
  .site-footer { padding: 40px 30px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 50px; }
  .f-title { font-size: 28px; }
  .f-about p { font-size: 15px; }
  .f-links a, .f-help a, .f-help span, .f-search-text { font-size: 13px; }
  .f-help h4 { font-size: 18px; }
  .f-help .f-phone { font-size: 28px; }
  .f-logo { max-width: 500px; }
  .f-bottom { font-size: 18px; }
}

/* ---------- MOBILE (up to 575px): 1 column ---------- */
@media (max-width: 575px) {
  .site-footer { padding: 30px 23px 0; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .f-title { font-size: 28px; margin-bottom: 15px; }
  .f-title-sm { margin-top: 30px; }
  .f-col .f-title:first-child { margin-top: 0; }
  .f-logo { margin-bottom: 40px; }
  .f-about p { font-size: 14px; }
  .f-links a, .f-help a, .f-help span, .f-search-text { font-size: 13px; }
  .f-links li { padding-bottom: 14px; }
  .read-more { padding-right: 0; text-align: right; }
  .f-search-title { margin-top: 30px; }
  .f-bottom { font-size: 13px; padding: 30px 0; }
}

/* =====================  SEARCH E-CERTIFICATE (footer widget)  ===================== */
.verify-box {
  margin-top: 60px;
}
.verify-box h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--white);
  margin: 0 0 20px;
}
.verify-box p {
  font-size: 20px;
  line-height: 1.9;
  margin: 0 0 30px;
}
.verify-field { background: var(--white); }
.verify-field input {
  width: 100%;
  height: 70px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 24px;
  font: 400 20px 'Roboto', Arial, sans-serif;
  color: #444;
  outline: none;
}
.verify-field button {
  width: 100%;
  height: 78px;
  border: 0;
  background: var(--white);
  color: var(--dark);
  font: 700 20px 'Roboto', Arial, sans-serif;
  cursor: pointer;
}
.verify-field button:hover { background: #f0f0f0; }
.verify-field button i { margin-left: 8px; }

/* =====================  INCORRECT ID POPUP  ===================== */
.id-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.id-modal-overlay.open { display: flex; }
.id-modal {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  padding: 40px 30px 34px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.id-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.id-modal-close:hover { color: #333; }
.id-modal-icon {
  font-size: 52px;
  color: var(--badge);
  margin-bottom: 16px;
}
.id-modal h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
  margin: 0 0 12px;
}
.id-modal p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 26px;
}
.id-modal-ok {
  background: var(--dark);
  color: var(--white);
  border: 0;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.id-modal-ok:hover { background: #003b4a; }

/* keep the widget readable on smaller footers */
@media (max-width: 1199px) {
  .verify-box { margin-top: 40px; }
  .verify-box h3 { font-size: 24px; }
  .verify-box p { font-size: 16px; }
}