/* Natra Tech visual refresh — additive, zero-dependency styling. */
:root {
  /* Layout override retained; color tokens now live in style.css. */
  --container: 1220px;
}
body {
  background: radial-gradient(ellipse 70% 35% at 90% 3%, rgba(224,184,77,.075), transparent 75%), var(--bg);
}
h1,h2,h3 { letter-spacing: -.045em; }
h1 { line-height: 1.025; }
h2 { line-height: 1.12; }
.lead { line-height: 1.75; }
.label { letter-spacing: .18em; text-transform: uppercase; font-size: .7rem; }
.accent { background: linear-gradient(110deg,#f6d778 5%,#c99528 52%,#ffeab1 100%); background-clip:text; -webkit-background-clip:text; color:transparent; }
.site-header.is-solid {
  background: rgba(8,9,13,.82);
  border-color: rgba(224,184,77,.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.logo { letter-spacing: .11em; font-size: 1.06rem; }
.nav-link { font-weight: 600; letter-spacing: .035em; }
.btn {
  border-radius: 999px;
  padding-inline: 1.85rem;
  letter-spacing: .04em;
  font-size: .84rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(224,184,77,.17); }
.btn:active { transform: translateY(-1px); }
.hero {
  isolation: isolate;
  background: radial-gradient(circle at 76% 46%,rgba(224,184,77,.13),transparent 32%),
              radial-gradient(circle at 20% 95%,rgba(85,75,135,.12),transparent 45%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, transparent,black 32%,transparent);
}
.hero-copy { position: relative; z-index: 2; animation: nt-arrive .9s both; }
.hero-copy .label {
  padding: .5rem .9rem; border: 1px solid rgba(224,184,77,.24);
  border-radius: 999px; background: rgba(224,184,77,.065);
}
.hero-copy h1 { max-width: 10ch; margin: .2em 0 .28em; text-wrap: balance; }
.hero-copy .lead { max-width: 35rem; }
.orb { filter: drop-shadow(0 0 70px rgba(224,184,77,.1)); animation: nt-arrive 1s .15s both; }
.orb::after {
  content: ""; position: absolute; inset: 29%; border-radius: 50%;
  background: radial-gradient(circle at 32% 25%,rgba(255,233,171,.5),rgba(224,184,77,.10) 37%,rgba(14,14,20,.7) 70%);
  box-shadow: 0 0 70px rgba(224,184,77,.18), inset 0 0 36px rgba(224,184,77,.13);
  animation: nt-breathe 6s ease-in-out infinite;
}
.orb i:nth-child(2) { border-radius: 50%; opacity: .5; }
.strip { background: linear-gradient(90deg,rgba(224,184,77,.045),rgba(255,255,255,.012),rgba(224,184,77,.045)); }
.strip-inner > div { padding: .5rem 1.2rem; border-left: 1px solid rgba(224,184,77,.2); }
.strip-inner b { font-weight: 800; letter-spacing: -.05em; }
.section { position: relative; }
.card,.stat,.empty {
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(255,255,255,.035),transparent 65%),var(--card);
  box-shadow: 0 12px 38px rgba(0,0,0,.12);
}
.card,.stat { transition: transform .35s var(--ease),border-color .35s var(--ease),box-shadow .35s var(--ease); }
.card:hover,.stat:hover { transform: translateY(-5px); border-color: rgba(224,184,77,.45); box-shadow: 0 24px 50px rgba(0,0,0,.23); }
.service { border-radius: 12px; padding-inline: 1rem; }
.service:hover { background: linear-gradient(90deg,rgba(224,184,77,.055),transparent 70%); padding-left: 1.5rem; }
.project { border-radius: 18px; }
.project-img { border-radius: 18px; overflow:hidden; }
.project:hover .project-img { transform: scale(1.012); }
.project-meta { padding: 1.25rem .35rem .3rem; }
.video-frame { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.video-play { backdrop-filter: blur(12px); }
input,select,textarea { border-radius: 10px; }
input:focus,select:focus,textarea:focus { box-shadow: 0 0 0 3px rgba(224,184,77,.11); }
.table-wrap { border-radius: 14px; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(224,184,77,.045); }
.job { border-radius: 12px; padding-inline: 1rem; }
.job:hover { background: rgba(224,184,77,.04); padding-left: 1.5rem; }
.job-state,.badge,.status { border-radius: 999px; }
.reveal { transform: translateY(34px); transition-duration: .85s; }
.reveal.is-visible { transform: translateY(0); }
@keyframes nt-arrive { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes nt-breathe { 50% { transform: scale(1.07); box-shadow: 0 0 100px rgba(224,184,77,.25),inset 0 0 48px rgba(224,184,77,.15); } }
@media (max-width:860px) {
  .hero-copy h1 { max-width: 14ch; }
  .orb { max-width: 220px; margin-bottom: .7rem; }
  .nav-links { background: rgba(12,13,18,.98); box-shadow: 0 22px 48px rgba(0,0,0,.35); }
  .strip-inner > div { padding-inline: .75rem; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-copy,.orb,.orb::after { animation:none !important; }
  .reveal { opacity:1; transform:none; }
}

/* Official Natra Technology brand mark */
.site-header .logo { display:inline-flex; align-items:center; gap:.65rem; white-space:nowrap; }
.site-header .brand-logo { width:38px; height:38px; object-fit:cover; border-radius:11px; flex-shrink:0; }
@media(max-width:480px) { .site-header .logo { font-size:.88rem; gap:.45rem; letter-spacing:.025em; } .site-header .brand-logo { width:32px; height:32px; border-radius:9px; } }

/* Astra typeface is used exclusively by the NATRA wordmark. */
@font-face { font-family: "Natra Astra"; src: url("../fonts/natra-astra-verified.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
.site-header .brand-wordmark { display: inline-flex; align-items: baseline; gap: .34em; }
.site-header .brand-natra { font-family: "Natra Astra", var(--font); font-weight: 400; font-size: 1.14em; letter-spacing: .02em; text-transform: uppercase; }
.site-header .brand-technology { font-family: var(--font); font-weight: 800; letter-spacing: .025em; }
@media(max-width:480px) { .site-header .brand-wordmark { gap: .25em; } .site-header .brand-natra { font-size: 1.06em; } }

/* Prevent the old diamond-logo span styling from affecting wordmark text. */
.site-header .logo .brand-wordmark, .site-header .logo .brand-natra, .site-header .logo .brand-technology { color: var(--text); margin-right: 0; }

/* Admin website content editor */
.content-editor-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); gap:1.25rem; margin-bottom:1.5rem; }
.content-editor-grid .card { min-width:0; }
.content-editor-grid h2, .content-list-section h2 { font-size:clamp(1.4rem,3vw,2rem); }
.content-list-section { margin-bottom:1.5rem; }
.content-rows { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr)); gap:1rem; }
.content-entry { min-width:0; padding:1.25rem; border:1px solid var(--border); border-radius:12px; background:rgba(255,255,255,.018); }
.content-entry-header { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.content-entry-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr)); gap:.3rem .75rem; }
.content-entry-fields label { margin:.7rem 0 .35rem; }
.content-entry-fields textarea { min-height:72px; }
.content-save-bar { position:sticky; z-index:15; bottom:0; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; background:rgba(13,14,19,.97); border:1px solid var(--border); border-radius:14px; backdrop-filter:blur(10px); }
@media(max-width:520px) { .content-save-bar { flex-direction:column; align-items:stretch; } .content-save-bar .btn { justify-content:center; } }

.hero-uploaded-image img {max-width:100%;width:100%;max-height:420px;object-fit:cover;border-radius:20px;} .about-uploaded-image {max-width:100%;width:100%;max-height:450px;object-fit:cover;border-radius:16px;margin-top:2rem;} .content-entry img {display:block;max-height:140px;max-width:100%;object-fit:cover;border-radius:10px;margin:.5rem 0;}

.project-media-admin {margin-top:1rem;} .project-media-admin img {max-height:140px;max-width:100%;object-fit:cover;border-radius:10px;} .project-media-admin input[type=file] {display:block;max-width:100%;margin:.5rem 0 1rem;} .project-media-admin label {display:block;margin-top:.5rem;} .content-editor-grid input[type=file] {max-width:100%;}


/* EthioSMS portal navigation CTA */
.sms-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: #111 !important;
  background: linear-gradient(115deg, #ffe39a 0%, #e0b84d 55%, #c99528 100%);
  border: 1px solid rgba(255, 227, 154, .55);
  box-shadow: 0 5px 20px rgba(224,184,77,.12);
  white-space: nowrap;
}
.sms-portal-btn:hover {
  color: #08090d !important;
  background: linear-gradient(115deg, #fff0bf 0%, #edc85f 55%, #d9a63b 100%);
  box-shadow: 0 10px 28px rgba(224,184,77,.25);
}
.sms-portal-icon, .sms-portal-external {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.sms-portal-external { width: 13px; height: 13px; opacity: .72; }
@media (max-width: 860px) {
  .nav-links .sms-portal-btn { align-self: flex-start; margin: .25rem 0; }
}
