:root {
  --brand-blue: #007bff;
  --brand-orange: #ff6600;
  /* --bg: */
  --text: #222;
}
body {
  background-color: #dfe5fc54;
}

/* HEADER STYLE */
header:not(.scrolled) .logo,
header:not(.scrolled) nav a {
  color: #ffffff;
}
nav a {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #021931 ! important;
  text-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.45) 0%,
    rgba(255, 102, 0, 0.3) 100%
  );

  z-index: 1200;
  transition: all 220ms ease;
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.02);
}
.nav-link {
  color: rgb(34, 34, 34);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}

.tutorial-layout {
  display: flex;
  margin-top:90px;
  min-height: 100vh;
  background: var(--bg);
}

/* Sidebar */
.tutorial-sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid var(--brand-blue);
  padding: 20px;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.tutorial-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 14px;
}

.tutorial-sidebar a {
  display: block;
  padding: 10px 8px;
  text-decoration: none;
  color: var(--text);
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: 0.2s;
}

/* Orange Active + Hover */
.tutorial-sidebar a:hover,
.tutorial-sidebar a.active {
  background: rgba(255, 102, 0, 0.15);
  color: var(--brand-orange);
  font-weight: 600;
}

/* Content Area */
.tutorial-content {
  flex: 1;
  padding: 40px 50px;
  background: var(--bg);
}

/* Step Cards */
.step-box {
  background: #fff;
  padding: 28px;
  border-radius: 10px;
  margin-bottom: 30px;
  border-left: 5px solid var(--brand-blue);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* Step Titles Orange */
.step-box h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.step-box p {
  margin: 8px 0;
  color: var(--text);
  line-height: 1.6;
}

.step-box p strong {
  color: var(--brand-orange);
}

/* Mobile */
@media (max-width: 768px) {
  .tutorial-layout {
    flex-direction: column;
  }

  .tutorial-sidebar {
    width: 100%;
    position: relative;
    height: auto;
  }
}

