:root {
  --accent: #38d996;
  --accent-soft: rgba(56, 217, 150, 0.15);
  --gradient-start: rgba(56, 217, 150, 0.4);
  --gradient-end: rgba(56, 138, 217, 0.25);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.25);
  --border-dashed-color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0d1017;
  color: rgba(255, 255, 255, 0.9);
}

.bg-body-secondary-subtle {
  background: linear-gradient(120deg, rgba(13, 16, 23, 0.95), rgba(16, 19, 30, 0.85));
}

.bg-body {
  background-color: #111521 !important;
}

.text-body-secondary {
  color: rgba(255, 255, 255, 0.65) !important;
}

.text-accent {
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: #0d1017;
  border-color: transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 217, 150, 0.35);
}

.btn-outline-accent {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #0d1017;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.65);
  color: #0d1017;
  background-color: rgba(255, 255, 255, 0.85);
}

.navbar-brand {
  letter-spacing: 0.08em;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65) !important;
}

.nav-link:hover,
.nav-link:focus {
  color: rgba(255, 255, 255, 1) !important;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0d1017ee;
  backdrop-filter: blur(12px);
}

.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  background: linear-gradient(135deg, rgba(6, 9, 15, 0.95), rgba(6, 9, 15, 0.75)),
    url('../img/hero-background.jpg') center/cover no-repeat;
}

.hero-card {
  background: rgba(17, 21, 33, 0.85);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background: radial-gradient(circle at top right, var(--gradient-start), transparent 55%),
    radial-gradient(circle at bottom left, var(--gradient-end), transparent 50%);
  pointer-events: none;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.info-card,
.skill-card,
.project-card,
.timeline-card,
.contact-card {
  background: rgba(17, 21, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.badge.bg-accent-soft {
  background-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.border-dashed {
  border: 2px dashed var(--border-dashed-color) !important;
  background: rgba(17, 21, 33, 0.6);
  border-radius: 18px;
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(255, 255, 255, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-badge {
  position: absolute;
  left: -1.5rem;
  top: 0.6rem;
  background: #0d1017;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.timeline-card {
  margin-left: 2.5rem;
}

.timeline-list {
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.timeline-list li + li {
  margin-top: 0.5rem;
}

.icon {
  font-size: 1.1rem;
}

footer {
  background: rgba(17, 21, 33, 0.85);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-card {
    margin-left: 2rem;
  }

  .timeline-badge {
    left: -0.6rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .timeline-card {
    margin-left: 1.5rem;
  }
}

