/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f7fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(2,6,23,0.06);
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: #fff7f0;
  color: var(--text);
  line-height: 1.55;
}

/* Container & utility */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

/* Header / nav */
.site-header {
  background: #07122a;
  color: #fff;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}
.brand {
  font-weight: 700;
  letter-spacing: -0.4px;
}
.nav a {
  color: #e6eef8;
  margin-left: 14px;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav a:hover {
  background: rgba(255,255,255,0.04);
}
.nav a.active {
  background: rgba(255,255,255,0.08);
}

/* Hero */
.hero {
  padding: 44px 12px;
  background: linear-gradient(180deg, rgba(37,99,235,0.06), transparent 40%);
}
.hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
}
.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%; /* Makes it circular */
  border: 3px solid #ccc; /* Optional: adds a subtle border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds depth */
}
.hero-right h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.accent {
  color: var(--accent);
}
.lead {
  color: #0b1220;
  margin-bottom: 6px;
}
.muted {
  color: var(--muted);
  margin-bottom: 12px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #005fa3;
}

.secondary {
  background-color: #555;
}

.secondary:hover {
  background-color: #333;
}
.skills {
  display: flex;
  gap: 10px;
  list-style: none;
  margin-top: 8px;
  flex-wrap: wrap;
}
.skills li {
  background: rgba(37,99,235,0.06);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 28px 0;
}
.section h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Cards */
.card {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

/* Grid for projects and achievements */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project, #achievements .grid .card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover, #achievements .grid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2,6,23,0.08);
}
.project-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.project-content {
  padding: 14px;
}
.project-tags {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.project-tags span {
  background: rgba(0,0,0,0.04);
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 18px 0;
  color: var(--muted);
  background: transparent;
  text-align: center;
}

/* Reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-img {
    width: 120px;
    height: 120px;
  }
}
