/* =========================================================
   Aminu Gambo Abubakar — Portfolio Styles
   Tech-focused, navy + light-blue accent theme
   Mobile-first, accessible, subtle hover animations
   ========================================================= */

:root{
  --bg: #070b18;            /* deep navy */
  --bg-2: #0b1226;          /* slightly lighter navy */
  --card: rgba(255,255,255,.06);
  --card-2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.12);
  --text: #eaf0ff;
  --muted: rgba(234,240,255,.72);
  --accent: #4aa3ff;        /* light blue */
  --accent-2: #7cc4ff;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(74,163,255,.22), transparent 60%),
    radial-gradient(900px 600px at 85% 25%, rgba(124,196,255,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
}

/* Improve default link focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid rgba(124,196,255,.8);
  outline-offset: 3px;
}

/* Accessibility: skip link */
.skip-link{
  position: absolute;
  top: -48px;
  left: 12px;
  padding: 10px 12px;
  background: #0f1a38;
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 12px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus{ top: 12px; }

/* Section spacing */
.section{ padding: 84px 0; }
.section-alt{ background: rgba(255,255,255,.02); }

.section-head{ max-width: 780px; }
.section-kicker{
  color: var(--accent-2);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}
.section-title{ margin: 0 0 10px; }
.section-subtitle{ color: var(--muted); margin: 0; }

/* Navbar (glass) */
.nav-glass{
  background: rgba(7,11,24,.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar .nav-link{
  color: rgba(234,240,255,.78);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: var(--text);
}
.navbar .nav-link.active{
  color: var(--accent-2);
}

.brand-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 6px rgba(74,163,255,.12);
}

/* Buttons */
.btn-accent{
  --bs-btn-color: #071022;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #74bcff;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 74,163,255;
  font-weight: 600;
}
.btn-outline-accent{
  --bs-btn-color: var(--text);
  --bs-btn-border-color: rgba(124,196,255,.45);
  --bs-btn-hover-bg: rgba(74,163,255,.14);
  --bs-btn-hover-border-color: rgba(124,196,255,.65);
  --bs-btn-focus-shadow-rgb: 74,163,255;
  font-weight: 600;
}

/* Hero */
.hero{ padding-top: 96px; }

.badge-soft{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(74,163,255,.12);
  border: 1px solid rgba(124,196,255,.18);
}

.hero .lead{ max-width: 52ch; }

.meta-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(234,240,255,.86);
}

/* Profile image placeholder */
.profile-wrap{
  position: relative;
  width: min(340px, 92%);
  aspect-ratio: 1 / 1;
}
.profile-ring{
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background:
    conic-gradient(from 220deg,
      rgba(74,163,255,.0),
      rgba(74,163,255,.75),
      rgba(124,196,255,.0));
  opacity: .9;
}
.profile-img{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

/* Profile image (actual <img>) */
.profile-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ensures the image fills the circle */
  object-position: center;
  display: block;
}

/* Reusable cards */
.info-card,
.panel,
.project-card,
.certificate-card,
.form-card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* About cards */
.info-card{
  padding: 18px;
  height: 100%;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.info-card:hover{
  transform: translateY(-4px);
  border-color: rgba(124,196,255,.35);
  background: var(--card-2);
}

.info-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(74,163,255,.14);
  border: 1px solid rgba(124,196,255,.20);
  margin-bottom: 12px;
}

/* Skills panels */
.panel{ overflow: hidden; }
.panel-head{
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.panel-body{ padding: 16px 18px; }

.skill-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.92);
  font-size: .92rem;
}

/* Timeline */
.timeline{
  position: relative;
  margin-top: 18px;
  padding-left: 18px;
}
.timeline::before{
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(124,196,255,.20);
}
.timeline-item{
  position: relative;
  padding: 0 0 18px 0;
}
.timeline-dot{
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(74,163,255,.18);
}
.timeline-card{
  margin-left: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.timeline-card ul{ color: rgba(234,240,255,.82); }

/* Project cards */
.project-card{
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.project-card:hover{
  transform: translateY(-4px);
  border-color: rgba(124,196,255,.35);
  background: rgba(255,255,255,.07);
}
.project-media{
  height: 140px;
  background:
    linear-gradient(135deg, rgba(74,163,255,.25), rgba(255,255,255,.03)),
    radial-gradient(500px 200px at 30% 30%, rgba(124,196,255,.18), transparent 60%),
    rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.project-body{ padding: 16px; }

.tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  background: rgba(74,163,255,.12);
  border: 1px solid rgba(124,196,255,.18);
  color: rgba(234,240,255,.88);
}

/* Certificates */
.certificate-card{
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.cert-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(74,163,255,.14);
  border: 1px solid rgba(124,196,255,.20);
  margin-bottom: 12px;
}

.cert-title{
  font-size: 1.1rem;
  margin: 0;
  color: rgba(234,240,255,.92);
}
.cert-meta{
  font-size: .84rem;
  color: rgba(234,240,255,.72);
}

/* Footer */
footer{
  padding: 48px 0;
  background: rgba(7,11,24,.62);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-logo{
  max-width: 220px;
  margin-bottom: 24px;
}
.footer-link{
  color: rgba(234,240,255,.78);
  transition: color .2s ease;
}
.footer-link:hover,
.footer-link:focus{
  color: var(--text);
}
.footer-social{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.footer-social-icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.footer-social-icon:hover{
  background: rgba(255,255,255,.12);
}

/* Misc */
hr{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 32px 0;
}

blockquote{
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.02);
  color: rgba(234,240,255,.92);
  border-radius: var(--radius);
}

mark{
  background: rgba(74,163,255,.2);
  padding: 2px 4px;
  border-radius: 4px;
}

code{
  font-family: "Fira Code", monospace;
  font-size: .92rem;
  background: rgba(255,255,255,.02);
  padding: 2px 4px;
  border-radius: 4px;
}

pre{
  font-family: "Fira Code", monospace;
  font-size: .92rem;
  background: rgba(255,255,255,.02);
  padding: 12px 16px;
  border-radius: 4px;
  overflow-x: auto;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark){
  :root{
    --bg: #0a0e1f;
    --bg-2: #0e162b;
    --card: rgba(255,255,255,.04);
    --card-2: rgba(255,255,255,.06);
    --stroke: rgba(255,255,255,.18);
    --text: #eaf0ff;
    --muted: rgba(234,240,255,.54);
    --accent: #4aa3ff;
    --accent-2: #7cc4ff;
    --shadow: 0 18px 50px rgba(0,0,0,.45);
  }

  hr{
    background: rgba(255,255,255,.12);
  }

  blockquote{
    background: rgba(255,255,255,.04);
  }

  pre{
    background: rgba(255,255,255,.04);
  }
}