/* -------------------------
   Global / Reset
-------------------------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section { padding: 32px 0; }

.page-title { margin: 0 0 10px; font-size: 32px; }
.page-lead { margin: 0 0 18px; max-width: 75ch; }

.muted { opacity: 0.8; }
.small-note { font-size: 14px; opacity: 0.8; margin-top: 12px; }

/* -------------------------
   Header + Navigation
-------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0f172a; /* dark navy */
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-title {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.brand-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.nav-link:hover { background: rgba(226,232,240,0.12); }
.nav-link.active { background: rgba(226,232,240,0.18); }

/* -------------------------
   Hero (Home page)
-------------------------- */
.hero {
  padding: 48px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 18px;
  max-width: 70ch;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0.95;
}

/* Profile card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 16px;
}

.profile {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
}

.profile-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25);
}

.profile-name { margin: 0; font-size: 18px; }
.profile-role { margin: 4px 0 10px; font-size: 14px; opacity: 0.85; }

.profile-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.95;
}

/* -------------------------
   Cards + Layout
-------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(2,6,23,0.06);
}

.card h2, .card h3 { margin-top: 0; }

.section-title {
  margin: 0 0 16px;
  font-size: 22px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

/* Timeline */
.timeline {
  margin-top: 10px;
  border-left: 2px solid #e5e7eb;
  padding-left: 18px;
}

.timeline-item {
  position: relative;
  padding: 12px 0;
}

.timeline-dot {
  position: absolute;
  left: -25px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0f172a;
}

.timeline-content h3 { margin: 0 0 4px; }

/* -------------------------
   Buttons
-------------------------- */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 800;
}

.btn.primary {
  background: #22c55e;
  border-color: rgba(34,197,94,0.7);
  color: #052e12;
}

.btn:hover { opacity: 0.92; }

/* Buttons inside white cards (contact page) */
.form .btn {
  border: none;
  color: #052e12;
}
.form .btn.primary { cursor: pointer; }

/* -------------------------
   Form
-------------------------- */
.form {
  display: grid;
  gap: 14px;
  max-width: 650px;
}

.form-row label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid #cbd5e1;
  border-color: #cbd5e1;
}

/* -------------------------
   Footer
-------------------------- */
.site-footer {
  margin-top: 26px;
  background: #0b1224;
  color: #e2e8f0;
  border-top: 1px solid rgba(226,232,240,0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.footer-text { margin: 0; opacity: 0.9; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  color: #e2e8f0;
  text-decoration: none;
  opacity: 0.9;
  font-weight: 700;
}

.social-link:hover { opacity: 1; text-decoration: underline; }

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
