/* Global reset / base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #05060a;
  color: #f5f5f7;
  line-height: 1.6;
}

/* Layout */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7vw;
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-name {
  font-weight: 500;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: #d7d7dc;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  padding: 6rem 7vw 5rem;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.value-bar {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 7vw;
  text-align: center;
}

.value-bar p {
  font-size: 0.95rem;
  color: #c4c6d2;
}

.hero-image {
  flex: 1;
  max-width: 420px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}


.hero-content {
  max-width: 720px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #9ea2b8;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.3rem);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #d0d3df;
  margin-bottom: 0.9rem;
}

.hero-highlight {
  font-size: 0.95rem;
  color: #9bd5ff;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: #05060a;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(36, 99, 235, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(36, 99, 235, 0.45);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #f5f5f7;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */

.section {
  padding: 3.5rem 7vw;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  font-size: 0.95rem;
  color: #a1a4b5;
}

/* Cards & grids */

.card {
  background: radial-gradient(circle at top left, #1a1b24, #10111a);
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
  border-color: rgba(59, 130, 246, 0.4);
}

.about-grid,
.skills-grid,
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #d3d4de;
}

/* Timeline */

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-item .timeline-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.7rem;
}

.timeline-meta {
  font-size: 0.8rem;
  color: #a1a4b5;
}

/* Lists */

.bullet-list {
  list-style: disc;
  margin-left: 1.2rem;
  margin-top: 0.4rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.pill-list li {
  list-style: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

/* Case studies */

.card-tag {
  font-size: 0.8rem;
  color: #9ea2b8;
  margin-bottom: 0.4rem;
}

/* Contact */

.contact-card p {
  margin-bottom: 0.6rem;
}

.contact-detail a {
  color: #93c5fd;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.closing-line {
  padding: 2.5rem 7vw;
  text-align: center;
  font-size: 1rem;
  color: #bfc2ce;
  opacity: 0.9;
}


/* Footer */

.footer {
  padding: 1.5rem 7vw 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #9ea2b8;
  text-align: center;
}

/* Responsive tweaks */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 5rem;
  }

  .hero-image {
    max-width: 260px;
    margin-top: 1.5rem;
  }
}
