:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2a37;
  --muted: #6b7280;
  --blue: #2f80ed;
  --blue-dark: #2568c7;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

*{ box-sizing: border-box; }

body{
  font-family: Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* --- NAV (sticky, clean like your screenshots) --- */
nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
}

nav h2{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

nav a{
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

nav a:hover{
  color: var(--blue);
  text-decoration: underline;
}

/* Keep your existing nav layout working */
nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- HERO (bigger, cleaner) --- */
.hero{
  padding: 70px 20px 40px;
  text-align: center;
  background: radial-gradient(ellipse at top, #ffffff 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}

.hero h1{
  margin: 0 0 10px;
  font-size: 42px;
  letter-spacing: -0.5px;
}

.hero p{
  margin: 0 auto;
  max-width: 850px;
  color: var(--muted);
  font-weight: 600;
}

/* Optional profile photo styling if you add it */
.hero-photo{
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-photo img{
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

/* --- SECTIONS --- */
section{
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

section > h2{
  text-align: center;
  font-size: 38px;
  margin: 0 0 26px;
  letter-spacing: -0.5px;
}

/* --- CARDS (white, shadow, rounded like screenshots) --- */
.card{
  background: var(--card);
  padding: 26px;
  margin-bottom: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.03);
}

.card h3{
  margin-top: 0;
}

/* --- BUTTONS (blue primary + outline) --- */
.btn-row{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn{
  display: inline-block;
  padding: 12px 18px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid var(--blue);
  font-size: 14px;
}

.btn:hover{
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-outline{
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-outline:hover{
  background: rgba(47,128,237,0.08);
}

/* Muted text */
.muted{
  color: var(--muted);
}

/* Code block */
code{
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Screenshot grid stays supported */
.screenshot-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.screenshot-grid img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Footer */
.footer{
  text-align: center;
  padding: 30px 15px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .hero h1{ font-size: 34px; }
  nav{ padding: 12px 14px; }
}
.nav-links-icons {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 800;
  color: #1f2a37;
}

.nav-links-icons i {
  font-size: 18px;
  color: #2f80ed;
}

.nav-links-icons a:hover i {
  color: #2568c7;
}

.nav-links-icons a:hover {
  text-decoration: underline;
}

/* ===== Fix + polish for current build ===== */

/* Hero sub text */
.hero-sub{
  margin: 10px auto 0;
  max-width: 900px;
  color: var(--muted);
  font-weight: 600;
}

/* Make simple sections look like the card style (About, Leadership, Contact) */
.section-card{
  max-width: 920px;
  margin: 0 auto;
}

/* Ensure nav icon layout is Option A (icon above text) */
.nav-links-icons{
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-icons li{
  text-align: center;
}

.nav-links-icons a{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}

.nav-links-icons i{
  font-size: 18px;
  color: var(--blue);
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-links-icons a:hover i{
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.nav-links-icons a:hover{
  text-decoration: underline;
}

/* Skills pills */
.pills{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pills li{
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  font-weight: 800;
  font-size: 13px;
}

/* Two-column grids (for expansion later) */
.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}