/* n8r3p.css */
.certificate-dialog-head h3{
  margin:0;
  font-size:17px;
  letter-spacing:-.02em;
}
.certificate-close{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #d8e2ea;
  border-radius:10px;
  background:white;
  color:#172033;
  font-size:22px;
  line-height:1;
}
.certificate-preview-wrap{
  padding:18px;
  overflow:auto;
  background:#e8eef3;
  flex:1 1 auto;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
#certificate-preview-image{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:calc(94vh - 155px);
  object-fit:contain;
  flex:0 0 auto;
  margin:auto;
  background:#fff;
  border:1px solid rgba(16,42,73,.12);
  box-shadow:0 14px 42px rgba(16,42,73,.18);
}
.certificate-dialog-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 20px 18px;
  border-top:1px solid #d8e2ea;
}
.modal-secondary,
.modal-primary{
  border-radius:10px;
  padding:10px 15px;
  font-size:13px;
  font-weight:700;
}
.modal-secondary{
  border:1px solid #cbd7e0;
  background:white;
  color:#172033;
}
.modal-primary{
  border:0;
  background:#2f67ff;
  color:white;
}
@media(max-width:680px){
  .certificate-modal{padding:10px}
  #certificate-preview-image{max-height:calc(94vh - 210px)}
  .certificate-dialog-actions{flex-direction:column}
  .modal-secondary,.modal-primary{width:100%}
}



/* Premium site footer */
.site-footer{
  position:relative;
  overflow:hidden;
  /* Keep the footer below the first screen so it is discovered by scrolling. */
  margin:max(360px,55vh) 0 0;
  width:100%;
  background:linear-gradient(135deg,#08162f 0%,#0d2347 52%,#12376f 100%);
  color:#f8fbff;
  border-top:1px solid rgba(95,140,255,.34);
  border-radius:0;
  box-shadow:0 -14px 42px rgba(20,54,100,.08),0 0 0 1px rgba(255,255,255,.025) inset;
}
.site-footer::before{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  right:-130px;
  top:-210px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(47,103,255,.34) 0%,rgba(47,103,255,0) 68%);
  pointer-events:none;
}
.site-footer::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  left:-110px;
  bottom:-190px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(69,140,255,.20) 0%,rgba(69,140,255,0) 70%);
  pointer-events:none;
}
.footer-shell{
  position:relative;
  z-index:1;
  width:100%;
  margin:0;
  padding:34px 32px 30px;
}
.footer-main{
  display:grid;
  grid-template-columns:minmax(260px,1.45fr) minmax(130px,.55fr) minmax(150px,.65fr) auto;
  align-items:start;
  gap:44px;
  padding-bottom:28px;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:0;
}
.footer-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:0;
  border-radius:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.footer-logo{
  display:block;
  width:210px;
  height:auto;
}
.footer-tagline{
  margin:0;
  color:#aebed7;
  font-size:13px;
  line-height:1.55;
  text-align:left;
}
.footer-links-group{
  min-width:0;
}
.footer-links-title{
  margin:2px 0 12px;
  color:#f5f8ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.footer-links{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.footer-link{
  color:#aebed7;
  font-size:12px;
  line-height:1.35;
  text-decoration:none;
  transition:color .15s ease,transform .15s ease;
}
a.footer-link:hover{
  color:#ffffff;
  transform:translateX(2px);
}
.footer-social-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
}
.footer-social-label{
  margin:2px 0 0;
  color:#f5f8ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.footer-socials{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:11px;
  flex-wrap:wrap;
}
.social-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:#eef5ff;
  box-shadow:0 8px 22px rgba(0,0,0,.10);
  transition:transform .16s ease,background .16s ease,border-color .16s ease;
}
.social-icon:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.11);
  border-color:rgba(113,154,255,.55);
}
.social-icon svg{
  width:20px;
  height:20px;
  display:block;
  fill:currentColor;
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.10);
  color:#8fa3c1;
  font-size:11px;
  letter-spacing:.02em;
}
@media(max-width:720px){
  .site-footer{margin:max(240px,42vh) 0 0;width:100%;border-radius:0}
  .footer-shell{width:100%;padding:28px 18px 30px}
  .footer-main{grid-template-columns:1fr 1fr;gap:26px 28px}
  .footer-brand{grid-column:1 / -1}
  .footer-social-wrap{grid-column:1 / -1;align-items:flex-start}
  .footer-socials{justify-content:flex-start}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}
}
@media(max-width:480px){
  .footer-main{grid-template-columns:1fr;gap:24px}
  .footer-brand,.footer-social-wrap{grid-column:auto}
}


/* About / FAQ: normal page sections (not popups) */
html{scroll-behavior:smooth}
.info-sections{
  width:min(1120px,calc(100% - 48px));
  margin:max(320px,50vh) auto 0;
  display:grid;
  gap:26px;
  scroll-margin-top:30px;
}
.info-page-section{
  scroll-margin-top:28px;
  padding:30px 32px;
  border:1px solid rgba(202,216,228,.9);
  border-radius:18px;
  background:rgba(255,255,255,.42);
  box-shadow:0 18px 46px rgba(16,42,73,.06);
}
.info-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding-bottom:15px;
  border-bottom:1px solid rgba(202,216,228,.85);
}


/* Official social profile links — v30 */
.footer-socials a.social-icon{text-decoration:none}
.footer-socials a.social-icon:focus-visible{outline:2px solid #8eabff;outline-offset:3px}
