/* =========================================================
   TAGRAIN TRAINING
   MODULE 01
   MODERN TRAINING WEBSITE DESIGN
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

  --blue: #0878d1;
  --blue-dark: #075da4;
  --blue-light: #36adff;

  --navy: #071426;
  --navy-2: #0b1c32;
  --navy-3: #102742;

  --white: #ffffff;

  --background: #f4f8fc;
  --background-2: #edf5fb;

  --text: #142033;
  --text-light: #64748b;
  --text-soft: #8a99ac;

  --border: #e3eaf2;

  --green: #20b486;

  --shadow:
    0 20px 50px rgba(20, 43, 72, 0.08);

  --radius: 18px;

}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    "Inter",
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  color: var(--text);

  background:
    linear-gradient(
      135deg,
      #f7fbff 0%,
      #eef5fa 100%
    );

  min-height: 100vh;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}


/* =========================================================
   BACKGROUND DESIGN
   ========================================================= */

.background-decoration {
  position: fixed;

  inset: 0;

  overflow: hidden;

  pointer-events: none;

  z-index: -1;
}


/* large blue circle */

.shape {
  position: absolute;

  border-radius: 50%;

  filter: blur(1px);
}

.shape-1 {
  width: 500px;
  height: 500px;

  top: -250px;
  right: -150px;

  background:
    radial-gradient(
      circle,
      rgba(43, 161, 240, 0.13),
      rgba(43, 161, 240, 0)
    );
}

.shape-2 {
  width: 400px;
  height: 400px;

  bottom: -200px;
  left: 15%;

  background:
    radial-gradient(
      circle,
      rgba(10, 121, 210, 0.08),
      transparent 70%
    );
}

.shape-3 {
  width: 300px;
  height: 300px;

  top: 40%;
  right: 10%;

  background:
    radial-gradient(
      circle,
      rgba(54, 173, 255, 0.06),
      transparent 70%
    );
}


/* dotted grid */

.grid-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.3;

  background-image:
    radial-gradient(
      rgba(8, 120, 209, 0.15) 1px,
      transparent 1px
    );

  background-size: 28px 28px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 70%
    );
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

  position: fixed;

  top: 0;
  left: 0;
  bottom: 0;

  width: 285px;

  display: flex;
  flex-direction: column;

  padding: 22px 16px;

  color: white;

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(31, 145, 230, 0.20),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(35, 103, 172, 0.18),
      transparent 35%
    ),
    linear-gradient(
      160deg,
      #061221,
      #0b1b30 55%,
      #09182a
    );

  border-right:
    1px solid rgba(255, 255, 255, 0.07);

  box-shadow:
    15px 0 50px rgba(4, 20, 38, 0.12);

  z-index: 100;

  overflow-y: auto;
}


/* =========================================================
   SIDEBAR TOP
   ========================================================= */

.sidebar-top {
  min-height: 0;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 13px;

  text-decoration: none;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 17px;

  background:
    rgba(255, 255, 255, 0.045);

  transition:
    0.25s ease;
}

.brand:hover {
  transform: translateY(-2px);

  background:
    rgba(255, 255, 255, 0.08);
}


.brand-logo {

  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background: white;

  border-radius: 12px;

  overflow: hidden;
}

.brand-logo img {

  width: 42px;
  height: 42px;

  object-fit: contain;
}


.brand-details {

  min-width: 0;

  display: flex;
  flex-direction: column;

  line-height: 1.15;
}

.brand-details strong {

  color: #fff;

  font-size: 12px;

  font-weight: 750;
}

.brand-details span {

  margin-top: 6px;

  color: #6e8aa8;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 0.3px;
}


/* =========================================================
   CURRENT LEVEL
   ========================================================= */

.learning-level {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 18px;

  padding: 13px;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(8, 120, 209, 0.24),
      rgba(8, 120, 209, 0.06)
    );

  border:
    1px solid rgba(54, 173, 255, 0.16);
}


.level-icon {

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-light)
    );

  box-shadow:
    0 8px 20px rgba(8, 120, 209, 0.25);
}

.level-icon span {

  font-size: 11px;

  font-weight: 800;
}


.level-text {

  display: flex;
  flex-direction: column;
}

.level-text small {

  color: #6f8aa5;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 1.2px;
}

.level-text strong {

  margin-top: 3px;

  color: white;

  font-size: 12px;
}

.level-text span {

  margin-top: 3px;

  color: #74c5f8;

  font-size: 10px;
}


/* =========================================================
   SIDEBAR TITLE
   ========================================================= */

.sidebar-title {

  margin:

    24px
    8px
    10px;

  color: #536d89;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.6px;
}


/* =========================================================
   MODULE NAVIGATION
   ========================================================= */

.module-navigation {

  display: flex;

  flex-direction: column;

  gap: 5px;
}


/* =========================================================
   MODULE ITEM
   ========================================================= */

.module-item {

  position: relative;

  display: flex;

  align-items: center;

  min-height: 59px;

  padding: 8px 10px;

  gap: 10px;

  color: white;

  text-decoration: none;

  border-radius: 13px;

  border:
    1px solid transparent;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.module-item:hover {

  transform: translateX(3px);

  background:
    rgba(255, 255, 255, 0.05);

  border-color:
    rgba(255, 255, 255, 0.07);
}


/* ACTIVE */

.module-item.active {

  background:
    linear-gradient(
      90deg,
      rgba(8, 120, 209, 0.28),
      rgba(8, 120, 209, 0.08)
    );

  border-color:
    rgba(54, 173, 255, 0.18);
}

.module-item.active::before {

  content: "";

  position: absolute;

  left: -16px;

  top: 50%;

  width: 3px;

  height: 32px;

  transform:
    translateY(-50%);

  border-radius:
    0 5px 5px 0;

  background:
    var(--blue-light);
}


/* =========================================================
   MODULE NUMBER
   ========================================================= */

.module-number {

  width: 35px;
  height: 35px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  color: #7891aa;

  background:
    rgba(255, 255, 255, 0.055);

  font-size: 10px;

  font-weight: 800;

  transition: 0.2s ease;
}

.module-item:hover .module-number,
.module-item.active .module-number {

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-light)
    );
}


/* =========================================================
   MODULE DETAILS
   ========================================================= */

.module-details {

  min-width: 0;

  display: flex;

  flex-direction: column;

  flex: 1;
}

.module-details strong {

  overflow: hidden;

  color: #eaf2f9;

  font-size: 12px;

  font-weight: 650;

  white-space: nowrap;

  text-overflow: ellipsis;
}

.module-details small {

  margin-top: 3px;

  color: #627a94;

  font-size: 9px;

  white-space: nowrap;
}


/* =========================================================
   MODULE STATUS
   ========================================================= */

.module-status,
.module-arrow {

  margin-left: auto;

  color: #536c86;

  font-size: 15px;
}

.module-status {

  color: #43c99d;

  font-weight: 800;
}


/* =========================================================
   SIDEBAR BOTTOM
   ========================================================= */

.sidebar-bottom {

  margin-top: auto;

  padding-top: 18px;
}


/* =========================================================
   PROGRESS CARD
   ========================================================= */

.progress-card {

  padding: 14px;

  border-radius: 15px;

  background:
    rgba(255, 255, 255, 0.045);

  border:
    1px solid rgba(255, 255, 255, 0.07);
}


.progress-top {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 10px;
}

.progress-top > div:first-child {

  display: flex;

  flex-direction: column;
}

.progress-top span {

  color: #71869d;

  font-size: 9px;
}

.progress-top strong {

  margin-top: 4px;

  color: #eaf4fc;

  font-size: 10px;
}


.progress-percent {

  color: #5fc0ff;

  font-size: 13px;

  font-weight: 800;
}


.progress-line {

  height: 5px;

  margin-top: 12px;

  overflow: hidden;

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.08);
}

.progress-line span {

  display: block;

  width: 12.5%;

  height: 100%;

  border-radius: 20px;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--blue-light)
    );
}


.progress-card p {

  margin: 10px 0 0;

  color: #5d748d;

  font-size: 9px;

  line-height: 1.5;
}


/* =========================================================
   BACK HOME
   ========================================================= */

.back-home {

  display: flex;

  align-items: center;

  gap: 8px;

  margin-top: 9px;

  padding: 10px;

  color: #7188a0;

  text-decoration: none;

  border-radius: 10px;

  font-size: 10px;

  transition: 0.2s ease;
}

.back-home:hover {

  color: white;

  background:
    rgba(255, 255, 255, 0.04);
}


/* =========================================================
   PAGE
   ========================================================= */

.page {

  position: relative;

  min-height: 100vh;

  margin-left: 285px;

  display: flex;

  flex-direction: column;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f2f8fd 100%
    );

  border-bottom:
    1px solid var(--border);
}


/* decorative header glow */

.site-header::before {

  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -180px;
  top: -250px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(29, 147, 226, 0.14),
      transparent 70%
    );
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.header-inner {

  position: relative;

  max-width: 1180px;

  margin: 0 auto;

  padding:
    25px
    45px
    55px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.breadcrumb {

  display: flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 40px;

  color: #8291a3;

  font-size: 10px;

  font-weight: 600;
}

.breadcrumb a {

  color: var(--blue);

  text-decoration: none;
}

.breadcrumb span:nth-child(2) {

  color: #bdc7d2;
}


/* =========================================================
   HEADER CONTENT
   ========================================================= */

.header-content {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;
}


.header-text {

  max-width: 720px;
}


/* =========================================================
   MODULE BADGE
   ========================================================= */

.module-badge {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding:
    7px
    11px;

  color: var(--blue);

  background:
    rgba(8, 120, 209, 0.08);

  border:
    1px solid rgba(8, 120, 209, 0.12);

  border-radius: 30px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1px;
}

.badge-dot {

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--blue-light);

  box-shadow:
    0 0 0 4px rgba(54, 173, 255, 0.10);
}


/* =========================================================
   HEADER TITLE
   ========================================================= */

.site-header h1 {

  margin: 16px 0 0;

  color: #0d1b2d;

  font-size:
    clamp(
      2.5rem,
      5vw,
      4.3rem
    );

  line-height: 0.98;

  letter-spacing: -2.5px;
}

.site-header h1 span {

  display: block;

  color: var(--blue);
}


/* =========================================================
   HEADER DESCRIPTION
   ========================================================= */

.header-text > p {

  max-width: 680px;

  margin: 20px 0 0;

  color: #66778c;

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================================
   HEADER TAGS
   ========================================================= */

.header-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-top: 24px;
}

.header-tags span {

  display: flex;

  align-items: center;

  gap: 6px;

  padding:
    7px
    10px;

  color: #607187;

  background: white;

  border:
    1px solid var(--border);

  border-radius: 9px;

  font-size: 10px;
}

.header-tags b {

  color: var(--blue);

  font-weight: 800;
}


/* =========================================================
   HEADER VISUAL
   ========================================================= */

.header-visual {

  position: relative;

  width: 245px;
  height: 245px;

  flex-shrink: 0;
}


.visual-circle {

  position: absolute;

  border-radius: 50%;
}

.circle-one {

  width: 210px;
  height: 210px;

  right: 0;
  top: 0;

  background:
    rgba(8, 120, 209, 0.08);

  border:
    1px solid rgba(8, 120, 209, 0.10);
}

.circle-two {

  width: 150px;
  height: 150px;

  left: 5px;
  bottom: 10px;

  background:
    rgba(54, 173, 255, 0.07);

  border:
    1px solid rgba(54, 173, 255, 0.10);
}


.visual-card {

  position: absolute;

  width: 175px;

  padding: 18px;

  left: 35px;
  top: 35px;

  border-radius: 17px;

  background:
    rgba(255, 255, 255, 0.95);

  border:
    1px solid #e1eaf2;

  box-shadow:
    0 20px 50px rgba(19, 69, 105, 0.14);
}

.visual-card-top {

  display: flex;

  gap: 4px;

  margin-bottom: 18px;
}

.mini-dot {

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #d2dce5;
}


.visual-icon {

  width: 45px;
  height: 45px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 12px;

  color: white;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-light)
    );

  font-size: 18px;

  font-weight: 800;
}

.visual-card strong {

  display: block;

  color: #142338;

  font-size: 14px;
}

.visual-card small {

  display: block;

  margin-top: 4px;

  color: #8291a3;

  font-size: 9px;

  line-height: 1.5;
}

.visual-progress {

  height: 5px;

  margin-top: 15px;

  border-radius: 20px;

  background: #edf1f5;

  overflow: hidden;
}

.visual-progress span {

  display: block;

  width: 35%;

  height: 100%;

  border-radius: 20px;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--blue-light)
    );
}


/* =========================================================
   CONTENT
   ========================================================= */

.content {

  width: 100%;

  max-width: 1180px;

  margin: 0 auto;

  padding:
    40px
    45px
    70px;
}


/* =========================================================
   MODULE CONTENT
   ========================================================= */

.module-content {

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.94);

  border:
    1px solid var(--border);

  border-radius: 22px;

  box-shadow:
    var(--shadow);
}

.legacy-content {
  display: none;
}


/* =========================================================
   INTRO CARD
   ========================================================= */

.intro-card {

  display: flex;

  align-items: flex-start;

  gap: 18px;

  margin: 28px;

  padding: 24px;

  background:
    linear-gradient(
      135deg,
      #f2f9ff,
      #f8fbfe
    );

  border:
    1px solid #dcecf8;

  border-radius: 17px;
}


.intro-icon {

  width: 45px;
  height: 45px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: white;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-light)
    );

  font-size: 16px;

  box-shadow:
    0 8px 20px rgba(8, 120, 209, 0.18);
}


.eyebrow {

  display: inline-block;

  color: var(--blue);

  font-size: 9px;

  font-weight: 850;

  letter-spacing: 1.3px;
}


.intro-card h2 {

  margin:
    5px
    0
    7px;

  color: #142238;

  font-size: 21px;
}

.intro-card p {

  max-width: 750px;

  margin: 0;

  color: #687a8f;

  font-size: 13px;

  line-height: 1.75;
}


/* =========================================================
   CONTENT SECTION
   ========================================================= */

.content-section {

  display: grid;

  grid-template-columns: 54px 1fr;

  gap: 22px;

  padding:
    35px 32px;

  border-top:
    1px solid var(--border);
}


/* =========================================================
   SECTION MARKER
   ========================================================= */

.section-marker {

  width: 43px;
  height: 43px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--blue);

  background:
    #eef7ff;

  border:
    1px solid #d9edfb;

  border-radius: 12px;

  font-size: 10px;

  font-weight: 850;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-label {

  color: var(--blue);

  font-size: 8px;

  font-weight: 850;

  letter-spacing: 1.4px;
}


.section-heading h2 {

  margin:
    6px
    0
    8px;

  color: #17263a;

  font-size: 24px;

  letter-spacing: -0.5px;
}


.section-heading p {

  max-width: 720px;

  margin: 0;

  color: #66778c;

  font-size: 13px;

  line-height: 1.8;
}


/* =========================================================
   TRAINING IMAGE
   ========================================================= */

.training-image {

  margin-top: 24px;

  padding: 13px;

  background:
    #f6f9fc;

  border:
    1px solid #e3eaf1;

  border-radius: 15px;

  text-align: center;
}

.training-image img {

  display: block;

  max-width: 100%;

  height: auto;

  margin: 0 auto;

  border-radius: 9px;

  cursor: zoom-in;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.training-image img:hover {

  transform: scale(1.01);

  box-shadow:
    0 10px 30px rgba(20, 55, 90, 0.10);
}


.image-caption {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  margin-top: 10px;

  color: #8997a8;

  font-size: 10px;
}

.image-caption span {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  color: var(--blue);

  background: #eaf6ff;

  border-radius: 6px;

  font-size: 8px;

  font-weight: 800;
}


/* =========================================================
   TOPIC GRID
   ========================================================= */

.topic-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;

  margin-top: 24px;
}


.topic-grid-large {

  grid-template-columns:
    repeat(2, 1fr);
}


/* =========================================================
   TOPIC CARD
   ========================================================= */

.topic-card {

  position: relative;

  min-height: 76px;

  display: flex;

  align-items: center;

  gap: 11px;

  padding: 13px;

  text-align: left;

  cursor: pointer;

  color: var(--text);

  background: white;

  border:
    1px solid var(--border);

  border-radius: 13px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.topic-card:hover {

  transform:
    translateY(-2px);

  border-color:
    #acd9f5;

  box-shadow:
    0 10px 25px rgba(21, 72, 109, 0.08);
}


.topic-card.active {

  background:
    #f0f8ff;

  border-color:
    #79c5f4;

  box-shadow:
    0 8px 20px rgba(8, 120, 209, 0.07);
}


/* =========================================================
   TOPIC NUMBER
   ========================================================= */

.topic-number {

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--blue);

  background:
    #eaf6ff;

  border-radius: 9px;

  font-size: 9px;

  font-weight: 850;
}


/* =========================================================
   TOPIC CONTENT
   ========================================================= */

.topic-content {

  min-width: 0;

  display: flex;

  flex-direction: column;

  flex: 1;
}

.topic-content strong {

  color: #25354a;

  font-size: 13px;

  font-weight: 750;
}

.topic-content small {

  margin-top: 4px;

  color: #8492a3;

  font-size: 9px;

  line-height: 1.4;
}


/* =========================================================
   TOPIC ARROW
   ========================================================= */

.topic-arrow {

  color: #a1adba;

  font-size: 16px;

  transition:
    0.2s ease;
}

.topic-card:hover .topic-arrow,
.topic-card.active .topic-arrow {

  color: var(--blue);

  transform:
    translateX(3px);
}


/* =========================================================
   TOPIC PANEL
   ========================================================= */

.topic-panel {

  display: none;

  margin-top: 20px;

  padding: 20px;

  background:
    #f9fbfd;

  border:
    1px solid var(--border);

  border-radius: 15px;

  animation:
    panelIn 0.25s ease;
}

.topic-panel.show {

  display: block;
}

/* =========================================================
   STEPS 
   ========================================================= */

   .steps {
  margin: 20px 0 0;
  padding-left: 22px;
}

.steps li {
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: justify;
  color: #333;
  font-size: 15px;
}

.steps li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   PANEL HEADING
   ========================================================= */

.panel-heading {

  display: flex;

  align-items: flex-start;

  gap: 12px;
}


.panel-number {

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-light)
    );

  border-radius: 9px;

  font-size: 9px;

  font-weight: 850;
}


.panel-heading h3 {

  margin: 1px 0 5px;

  color: #1a2a40;

  font-size: 16px;
}

.panel-heading p {

  margin: 0;

  color: #738296;

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   PANEL ANIMATION
   ========================================================= */

@keyframes panelIn {

  from {

    opacity: 0;

    transform:
      translateY(7px);
  }

  to {

    opacity: 1;

    transform:
      translateY(0);
  }
}


/* =========================================================
   COMPLETION CARD
   ========================================================= */

.completion-card {

  display: flex;

  align-items: center;

  gap: 18px;

  margin: 30px;

  padding: 23px;

  background:
    linear-gradient(
      135deg,
      #071a2c,
      #0c2c4a
    );

  border-radius: 17px;

  color: white;

  overflow: hidden;

  position: relative;
}


.completion-card::after {

  content: "";

  position: absolute;

  width: 200px;
  height: 200px;

  right: -80px;
  top: -100px;

  border-radius: 50%;

  background:
    rgba(54, 173, 255, 0.12);
}


.completion-icon {

  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: white;

  background:
    linear-gradient(
      135deg,
      #18aa7c,
      #35d09e
    );

  border-radius: 14px;

  font-size: 19px;

  font-weight: 800;
}


.completion-content {

  flex: 1;

  position: relative;

  z-index: 2;
}

.completion-content .eyebrow {

  color: #5ccfa8;
}

.completion-content h2 {

  margin:
    5px
    0
    5px;

  font-size: 18px;
}

.completion-content p {

  margin: 0;

  color: #9bb1c5;

  font-size: 11px;

  line-height: 1.6;
}


/* =========================================================
   COMPLETION BUTTON
   ========================================================= */

.completion-button {

  position: relative;

  z-index: 2;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  padding:
    11px
    15px;

  color: #092039;

  background: white;

  border-radius: 10px;

  text-decoration: none;

  font-size: 10px;

  font-weight: 800;

  transition:
    0.2s ease;
}

.completion-button:hover {

  transform:
    translateY(-2px);

  background:
    #eaf7ff;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.module-actions {

  display: flex;

  align-items: center;

  gap: 10px;

  padding:
    20px 30px;

  background:
    #f8fafc;

  border-top:
    1px solid var(--border);
}


.download-button,
.secondary-button,
.next-button {

  min-height: 40px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding:
    9px
    14px;

  border-radius: 9px;

  text-decoration: none;

  font-size: 10px;

  font-weight: 750;

  cursor: pointer;
}


.download-button {

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-dark)
    );

  box-shadow:
    0 7px 17px rgba(8, 120, 209, 0.18);

  transition:
    0.2s ease;
}

.download-button:hover {

  transform:
    translateY(-2px);

  box-shadow:
    0 10px 23px rgba(8, 120, 209, 0.24);
}

.download-button span {

  font-size: 16px;
}


.secondary-button {

  color: #617185;

  background: white;

  border:
    1px solid var(--border);

  transition:
    0.2s ease;
}

.secondary-button:hover {

  background:
    #f1f6fa;

  transform:
    translateY(-2px);
}


.next-button {

  margin-left: auto;

  color: var(--blue);

  background:
    #eaf6ff;

  border:
    1px solid #d7ecfa;

  transition:
    0.2s ease;
}

.next-button:hover {

  transform:
    translateY(-2px);

  background:
    #dff2ff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

  margin-top: auto;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 20px;

  padding:
    18px 30px;

  color: #8391a1;

  background: white;

  border-top:
    1px solid var(--border);

  font-size: 9px;
}

.site-footer p {

  margin: 0;

  font-weight: 700;
}

.site-footer span {

  color: #a2adba;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .sidebar {

    width: 250px;
  }

  .page {

    margin-left: 250px;
  }

  .header-inner,
  .content {

    padding-left: 30px;
    padding-right: 30px;
  }

  .header-visual {

    width: 200px;
    height: 200px;
  }

  .visual-card {

    left: 20px;
    top: 25px;
  }

  .topic-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE SIDEBAR
   ========================================================= */

@media (max-width: 850px) {

  .sidebar {

    position: relative;

    width: 100%;

    min-height: auto;

    padding: 15px;

    border-right: none;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.07);
  }

  .sidebar-top {

    width: 100%;
  }

  .module-navigation {

    display: grid;

    grid-template-columns:
      repeat(2, 1fr);

    gap: 5px;
  }

  .module-item {

    min-height: 55px;
  }

  .module-item.active::before {

    left: 0;

    top: 50%;

    width: 3px;

    height: 27px;
  }

  .sidebar-bottom {

    margin-top: 15px;
  }

  .page {

    margin-left: 0;
  }

  .header-content {

    align-items: flex-start;
  }

  .header-visual {

    display: none;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .sidebar {

    padding: 12px;
  }

  .module-navigation {

    grid-template-columns: 1fr;
  }

  .learning-level {

    margin-top: 12px;
  }

  .header-inner {

    padding:
      20px
      18px
      35px;
  }

  .breadcrumb {

    margin-bottom: 25px;
  }

  .site-header h1 {

    font-size: 2.6rem;

    letter-spacing: -1.5px;
  }

  .header-tags {

    gap: 6px;
  }

  .content {

    padding:
      20px
      12px
      40px;
  }

  .intro-card {

    margin: 15px;

    padding: 18px;
  }

  .content-section {

    grid-template-columns: 1fr;

    gap: 14px;

    padding:
      25px
      18px;
  }

  .section-marker {

    width: 38px;
    height: 38px;
  }

  .topic-grid,
  .topic-grid-large {

    grid-template-columns: 1fr;
  }

  .completion-card {

    flex-direction: column;

    align-items: flex-start;

    margin: 15px;

    padding: 20px;
  }

  .completion-button {

    width: 100%;
  }

  .module-actions {

    flex-direction: column;

    align-items: stretch;

    padding:
      18px;
  }

  .download-button,
  .secondary-button,
  .next-button {

    width: 100%;
  }

  .next-button {

    margin-left: 0;
  }

  .site-footer {

    flex-direction: column;

    text-align: center;

    gap: 5px;
  }

}


/* =========================================================
   PRINT / PDF
   ========================================================= */

@media print {

  body {

    background: white;
  }

  .background-decoration,
  .sidebar,
  .site-footer,
  .module-actions,
  .completion-card {

    display: none !important;
  }

  .page {

    margin-left: 0;

    width: 100%;
  }

  .site-header {

    background: white;

    border: none;
  }

  .header-inner {

    max-width: 100%;

    padding:
      20px
      0
      30px;
  }

  .header-visual {

    display: none;
  }

  .content {

    max-width: 100%;

    padding: 0;
  }

  .module-content {

    border: none;

    box-shadow: none;
  }

  .content-section {

    break-inside: avoid;
  }

  .topic-card {

    display: none;
  }

  .topic-panel {

    display: block !important;

    break-inside: avoid;
  }

  .training-image {

    break-inside: avoid;
  }

}


/* Home page sidebar and fullscreen image overlay. */

.sidebar {
  width: 285px;
  padding: 24px 16px;
  background: linear-gradient(155deg, #071426, #0b1c32);
}

.sidebar-brand {
  padding: 4px 4px 28px;
}

.brand-link {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  color: white;
  text-decoration: none;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 14px;
}

.logo-img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  color: white;
  font-size: 11px;
  line-height: 1.35;
}

.brand-text span,
.sidebar-section-label {
  color: #8c9bb0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.brand-text span {
  margin-top: 5px;
}

.sidebar-section-label {
  padding: 0 10px;
  margin-bottom: 12px;
  color: #63738b;
}

.module-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-link {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  color: #c5d0de;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 14px;
}

.module-link:hover,
.module-link.active {
  background: rgba(11, 121, 208, 0.2);
  border-color: rgba(56, 169, 255, 0.18);
}

.module-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 27px;
  transform: translateY(-50%);
  background: #76c9ff;
  border-radius: 0 5px 5px 0;
}

.module-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aacbf;
  background: rgba(255, 255, 255, 0.065);
  border-radius: 11px;
  font-size: 10px;
  font-weight: 800;
}

.module-link.active .module-icon,
.module-link:hover .module-icon {
  color: white;
  background: linear-gradient(135deg, #0878d1, #36adff);
}

.module-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-left: 11px;
}

.module-info strong {
  color: #e8f0f8;
  font-size: 11px;
}

.module-info small {
  margin-top: 3px;
  color: #72849a;
  font-size: 9px;
}

.module-arrow {
  margin-left: auto;
  color: #66809b;
  font-size: 21px;
}

.sidebar-spacer {
  flex: 1;
}

.sidebar-footer {
  padding: 15px 10px 4px;
  color: #8c9bb0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
}

.progress-header strong {
  color: white;
}

.progress-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.progress-bar {
  width: 12.5%;
  height: 100%;
  background: #36adff;
}

.sidebar-footer p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 14, 28, 0.9);
  cursor: zoom-out;
}

.image-modal img {
  display: block;
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 42px;
  height: 42px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 850px) {
  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 15px;
    border-right: none;
  }

  .module-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .page {
    margin-left: 0;
  }
}


/* Canonical sidebar design from index.css. */

body {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

.sidebar {
  width: 285px;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 15% 5%, rgba(11, 121, 208, 0.24), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(50, 167, 255, 0.08), transparent 35%),
    linear-gradient(155deg, #07111f, #0d1b2e);
  color: #f8fafc;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.07);
}

.sidebar-brand {
  padding: 4px 4px 28px;
}

.brand-link {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.brand-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(56, 169, 255, 0.3);
}

.logo-wrapper {
  width: 52px;
  height: 52px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.brand-text strong {
  font-weight: 750;
}

.brand-text span {
  color: #8c9bb0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.sidebar-section-label {
  color: #63738b;
  font-weight: 800;
}

.module-link {
  color: #f8fafc;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.module-link:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.07);
}

.module-link.active {
  background: linear-gradient(135deg, rgba(11, 121, 208, 0.28), rgba(11, 121, 208, 0.07));
  border-color: rgba(56, 169, 255, 0.18);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.module-link.active::before {
  background: linear-gradient(180deg, #38a9ff, #76c9ff);
  box-shadow: 0 0 12px rgba(50, 167, 255, 0.7);
}

.module-link:hover .module-icon,
.module-link.active .module-icon {
  background: linear-gradient(135deg, #0878d1, #38a9ff);
  box-shadow: 0 6px 16px rgba(11, 121, 208, 0.3);
}

.module-info strong {
  color: #f8fafc;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-info small {
  margin-top: 4px;
  color: #8291a8;
  font-size: 10px;
  white-space: nowrap;
}

.module-link.active .module-info small {
  color: #80b9e5;
}

.module-arrow {
  color: #52647d;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.module-link:hover .module-arrow,
.module-link.active .module-arrow {
  color: #71c4ff;
  transform: translateX(2px);
}

.sidebar-spacer {
  min-height: 25px;
}

.sidebar-footer {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.progress-header {
  align-items: center;
  margin-bottom: 10px;
  color: #9eacc0;
  font-size: 10px;
}

.progress-header strong {
  color: white;
  font-size: 11px;
}

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

.progress-bar {
  width: 0%;
  background: linear-gradient(90deg, #0878d1, #38a9ff);
  box-shadow: 0 0 12px rgba(50, 167, 255, 0.45);
}

.sidebar-footer p {
  margin: 10px 0 0;
  color: #687991;
  font-size: 9px;
  line-height: 1.5;
}

/* =========================================================
   IMAGE GALLERY
   ========================================================= */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-number {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(90deg, #0878d1, #38a9ff);
  color: #fdfdfd;
  border-radius: 50%;

  font-size: 14px;
  font-weight: 600;
}


@media (max-width: 1100px) {
  .sidebar {
    width: 250px;
  }

  .page {
    margin-left: 250px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    position: static;
    width: 100%;
    min-height: auto;
    padding: 18px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .sidebar-brand {
    padding-bottom: 18px;
  }

  .module-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .module-link {
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    padding: 9px 5px;
    text-align: center;
  }

  .module-info {
    margin: 6px 0 0;
  }

  .module-info strong {
    font-size: 10px;
  }

  .module-info small {
    font-size: 9px;
  }

  .module-arrow {
    display: none;
  }

  .page {
    margin-left: 0;
  }
}

.topic-card {
  align-items: flex-start;
  flex-direction: column;
}

.topic-image {
  display: block;
  width: 100%;
  height: 92px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.topic-number {
  margin-top: 2px;
}

.topic-content {
  width: 100%;
}

.topic-arrow {
  position: absolute;
  right: 13px;
  bottom: 18px;
}


/* Compact topic tiles with visual previews. */

.topic-card {
  min-height: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 9px;
  padding: 9px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(21, 72, 109, 0.1);
}

.topic-card.active {
  background: #f0f8ff;
}

.topic-image {
  display: block;
  width: 100%;
  height: 72px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  border-radius: 9px;
  background: #eaf6ff;
}

.topic-number {
  width: 27px;
  height: 27px;
  font-size: 8px;
  border-radius: 8px;
}

.topic-content {
  width: 100%;
  padding-right: 20px;
}

.topic-content strong {
  font-size: 11px;
  line-height: 1.25;
}

.topic-content small {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.25;
}

.topic-arrow {
  position: absolute;
  right: 12px;
  bottom: 18px;
  font-size: 15px;
}

@media (max-width: 600px) {
  .topic-card {
    gap: 7px;
    padding: 8px;
  }

  .topic-image {
    height: 64px;
  }
}


/* Compact, readable text-only topic buttons. */

.topic-card {
  min-height: 68px;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  padding: 10px 12px;
  overflow: visible;
}

.topic-image {
  display: none;
}

.topic-number {
  width: 34px;
  height: 34px;
  margin-top: 0;
  flex-shrink: 0;
  font-size: 10px;
  border-radius: 9px;
}

.topic-content {
  width: auto;
  min-width: 0;
  padding-right: 0;
}

.topic-content strong {
  color: #1d2f45;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.topic-content small {
  margin-top: 4px;
  color: #66778c;
  font-size: 10px;
  line-height: 1.35;
}

.topic-arrow {
  position: static;
  margin-left: auto;
  font-size: 18px;
}