/* ======================
   RESET / BASE
====================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ======================
   LAYOUT HELPERS
====================== */

.top-bar-inner,
.nav-inner,
.summary-inner,
.projects-inner,
.journal-inner,
.impact-inner,
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ======================
   SITE OVERLAY
====================== */

.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);

  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-box {
  max-width: 520px;
  padding: 2.4rem 2.6rem;

  background: linear-gradient(
    to bottom,
    #ffffff,
    #f1f1f1
  );

  border-radius: 16px;
  text-align: center;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.overlay-box h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #5b3a8c;
}

.overlay-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.overlay-note {
  font-weight: 600;
  color: #f2b705;
}

.overlay-btn {
  margin-top: 1.4rem;
  padding: 0.6rem 1.6rem;

  background: #f2b705;
  color: #111;

  font-weight: 600;
  border: none;
  border-radius: 6px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.overlay-btn:hover {
  transform: translateY(2px);
  background: #ffd24d;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ======================
   TOP CONTACT BAR
====================== */

.top-bar {
  background: #f2b705; /* временно жълто */
  font-size: 0.85rem;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.contact-list {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.contact-item {
  white-space: nowrap;
}


/* ======================
   MAIN HEADER
====================== */

.main-header {
  background: #ffffff;
  position: relative;
  z-index: 10;
  /* padding-top: 16px; */
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
} */

.brand {
  position: relative;
  height: 32px;
  width: 192px;   /* <= котва за логото */
  flex-shrink: 0;
}

.brand-logo {
  height: 192px;
  width: auto;
  display: block;

  position: absolute;
  top: -64px;
  left: 0;

  pointer-events: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
}

/* .lang-switch {
  margin-left: 1rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  background: none;
  border: 1px solid #ddd;
  cursor: pointer;
  
} */

/* ======================
   LANGUAGE LABEL
====================== */

.lang-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
  margin-right: 1rem;
  letter-spacing: 0.02em;
  user-select: none;
}

/* ======================
   LANGUAGE TOGGLE
====================== */

.lang-toggle {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
}

.lang-toggle button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  margin: 0;
}

.lang-toggle button:hover {
  opacity: 1;
  color: #f2b705;
}

.lang-toggle .lang-sep {
  margin: 0 0.3rem;
  opacity: 0.4;
}

/* ACTIVE LANGUAGE */
body.lang-bg .lang-toggle button[data-lang="bg"],
body.lang-en .lang-toggle button[data-lang="en"] {
  opacity: 1;
  color: #222;
  cursor: default;
}

/* ======================
   LANGUAGE SWITCH
====================== */

.lang {
  display: none;
}

body.lang-bg .lang-bg {
  display: block;
}

body.lang-en .lang-en {
  display: block;
}

body.lang-en .project-content {
  line-height: 1.8;
}


body.lang-bg .log-meta.lang-bg,
body.lang-en .log-meta.lang-en {
  display: block;
}

/* ---- Social ICONS --- */

.social-icons {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* color: #fff; контролира fill-а */
  /* color: #fff; */
  color: #111;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-icon:hover {
  transform: scale(1.15);
}

.social-icon.instagram:hover {
  transform: scale(1.35);
}

.social-icon.instagram {
  transform: scale(1.2);
}

.social-icon.youtube:hover {
  transform: scale(1.4);
}

.social-icon.youtube {
  transform: scale(1.25);
}


/* ======================
   HERO SECTION
====================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: flex-start;  
  padding-top: 7rem;        
  
  overflow: hidden;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero01_n.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dark overlay for readability */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  /* background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15)
  ); */
}

/* Inner container */
/* right positioned: */
.hero-inner {
  position: relative;
  z-index: 2;         

  width: 100%;              
  max-width: 1200px;       
  margin: 0 auto;           

  padding: 0 2rem;
  display: flex;
  /* justify-content: flex-end; */
  justify-content: space-between;
}

/* Text block - left */
.hero-content {
  max-width: 520px;
  padding: 1rem;  
  color: #ffffff;

  /* opacity: 0.75;
  transition: opacity 0.25s ease; */

  margin-left: auto;   
  text-align: left;  
}

/* Small label */
.hero-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 183, 3, 0.9);
  color: #111;
  font-weight: 600;
}

/* Title */
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* Description */
.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
  max-width: 480px;
  /* text-indent: 1em; */
  padding-left: 0.9rem;
  border-left: 3px solid rgba(255, 255, 255, 0.65); /* <- мека линия */
}

/* Button */
.hero-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: #f2b705;
  color: #111;
  font-weight: 600;
  border-radius: 6px;
  transition:
    transform 0.3s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(+2px);
  background: #ffd24d;        /* <- по-светло жълто */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
/* .hero-content:hover {
  opacity: 1;
} */


/* ======================
   SUMMARY / QUICK MENU
====================== */

.summary {
  background: #ffffff;
  padding: 0 0 4rem;
  margin-top: 0;
  position: relative;
  width: 100%;
  background-image: url("../img/summary-bg.jpg");
  background-size: cover;

  z-index: 1;
}


.summary-menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;

  position: relative;
  top: -6rem;        /* <- истинският overlap */
  z-index: 10;

  margin-bottom: -6rem; /* <- компенсира пространството */
}

.summary-item {
  aspect-ratio: 1 / 1;
  /* background: #1f3a8a; crpusd синьо */
  color: #ffffff;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

/* Базови цветове */
.summary-item:nth-child(1) { background: #a4dbc0; }
.summary-item:nth-child(2) { background: #e8cf8c; }
.summary-item:nth-child(3) { background: #bfc997; }
.summary-item:nth-child(4) { background: #caaed0; }
.summary-item:nth-child(5) { background: #d8bc95; }
.summary-item:nth-child(6) { background: #9accdb; }

.summary-item span {
  color: #111;
}

.summary-item:hover {
  /* transform: translateY(-6px); */
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.summary-item.active {
  /* background: #f2b705; */
  filter: brightness(1.1);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(+10px);
  color: #fff;
}

.summary-item.highlight {
  /* background: #f59e0b; */
  color: #f59e0b;
}

.summary-content {
  position: relative;
  z-index: 2;                 /* <- над фона */

  max-width: 1200px;
  margin: 0 auto;

  /* background: #ffffff; */
  background: linear-gradient(
    to top,
    rgb(255, 255, 255),
    rgb(230, 230, 230)
  );

  padding: 3rem 3rem;

  border-radius: 0 0 16px 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);

  /* min-height: 28rem;     /* <- ~450px */
  min-height: 34rem;     /* <- ~540px */

  overflow-y: auto;  /* <- Ако някой tab има повече текст */
}

.summary-panel {
  display: none;
}

.summary-panel.active {
  display: block;
}

.summary-panel h3 {
  margin-top: 0;
  /* color: #e2aa00; */
}

.summary-inner {
  position: relative;
}

/* Мисия – уводен абзац */
.mission-intro {
  text-indent: 0.8em;
  margin-bottom: 2.0rem;
  margin-top: 0;
  padding: 0;
  max-width: 95%;       /* <- контролира ширината на блока */
}

/* Двуконков layout за основателите */
.mission-origins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-indent: 1.2em;
}

.mission-intro p {
  /* padding: 0; */
  margin: 0.5em;
}

/* Блок (училище / фондация) */
.mission-block h4 {
  color: #e2aa00;
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  text-indent: 1.2em;
}

.mission-block p {
  margin: 0;
  line-height: 1.55;
}

.mission-quote {
  margin-top: 1rem;
  margin-left: 1.3rem;  /* <- контролира изместване на блока в дясно */
  padding-left: 1.2rem; /* <- контролира разтояние на текста от линията */
  /*max-width: 90%;       /* <- контролира ширината на блока */

  border-left: 3px solid rgba(226, 170, 0, 0.5);
}

.mission-quote p {
  margin: 0 0 0.8rem 0;
  opacity: 0.85;
}

/* ======================
   PROJECTS SECTION
====================== */

.projects {
  /* background: rgb(91, 58, 140); */
  background: linear-gradient(
    to right,
    rgb(74, 45, 118) 0%,
    rgb(109, 70, 167) 35%,
    rgb(109, 70, 167) 65%,
    rgb(74, 45, 118) 100%
  );
  padding: 4rem 0 6rem;
  color: #fff;
}

.projects-title {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  font-weight: 700;
  /* color: #f2b705; */
}

/* Layout */
.projects-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Card */
.project-card {
  position: relative;
  width: calc(33.333% - 2rem);
  max-width: 380px;
  min-width: 320px;
  height: 520px;

  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Image */
.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Content overlay */
.project-content {
  position: absolute;
  inset: 0;

  background: rgba(235, 220, 255, 0.85);
  color: #111;

  display: flex;
  align-items: stretch;

  transform: translateY(66.666%); /* ⬅️ показва 1/3 */
  transition: transform 0.45s ease, background 0.45s ease;
}

/* Fixed bottom height = 1/3 */
.project-content > * {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-content-inner {
  width: 100%;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ⬅️ NON-HOVER: горе в overlay */

  transition: justify-content 0.35s ease;
}

/* Typography */
.project-content h3 {
  margin: 0 0 0.2rem;
  font-size: 1.6rem;     /* леко по-изразено */
  line-height: 1.15;
  color: #5b3a8c;
}

.project-content h4 {
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  text-shadow: 1px rgba(0, 0, 0, 0.35);
}

.project-content p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 1.4rem;

  padding-left: 0.9rem;
  border-left: 3px solid rgba(0, 0, 0, 0.25); /* <- мека линия */
  /* border-left: 3px solid rgba(242, 183, 5, 0.8);  /* жълта линия */
}

/* Button */
.project-btn {
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  background: #f2b705;
  color: #111;
  font-weight: 600;
  border-radius: 6px;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

/* Hover behavior */

.project-btn:hover {
  background: #ffd24d;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  filter: brightness(1.05);
}

.project-card:hover .project-content {
  transform: translateY(0); /* ⬅️ overlay покрива цялата карта */
  background: rgba(235, 220, 255, 0.85);
}

.project-card:hover .project-content-inner {
  justify-content: flex-end; /* ⬅️ текстът слиза на приятна позиция */
}

.project-card:hover .project-image {
  opacity: 0.7;
  transform: scale(1.05);
}

.project-card:hover .project-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

/* ======================
   JOURNAL SECTION
====================== */

.journal {
  /* background: #ffffff; */
  /* padding: 6rem 0; */
  background: linear-gradient(
    to top,
    rgb(230, 230, 230),
    rgb(255, 255, 255)
  );
  padding-bottom: 5rem;
}

.journal-title {
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  font-weight: 700;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Card */
.journal-card {
  position: relative;  /* <- котва */

  background: #fff;
  border-radius: 16px;
  overflow: hidden;

  height: 27rem;
  display: flex;
  flex-direction: column;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;

  cursor: pointer;
}

.journal-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

/* Image */
.journal-image {
  height: 50%;
  max-height: 50%;
  overflow: hidden;
}

.journal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.45s ease, opacity 0.45s ease;
}

/* Content */
.journal-content {
  padding: 0.8rem 1.8rem 1rem;
  flex: 1;
  padding-bottom: 3.2rem; /* място за journal-read */
}

.journal-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #5b3a8c;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.journal-date {
  display: block;
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 0.9rem;
}

.journal-content p {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1.4rem;
}

.journal-read {
  position: absolute;
  bottom: 1.4rem;
  left: 1.8rem;

  font-weight: 600;
  color: #f2b705;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.journal-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

/* Hover – само картинката */
.journal-card:hover .journal-image img {
  transform: scale(1.08);
  opacity: 0.85;
}

.journal-card:hover .journal-read {
  /* color: #ffd24d; */
  /* transform: translateY(2px); */
  transform: scale(1.05);
}

.journal-card:hover h3 {
  color: #f2b705;
  transform: scale(1.02);
}

/* ======================
   FOOTER
====================== */
.site-footer {
  background: linear-gradient(
    to bottom,
    #ebd37a,
    #f2b705
  );
  color: #111;
  font-size: 0.85rem;
}

.footer-main {
  padding: 2.2rem 1.5rem 1.6rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  padding-top: 2rem;
}

.footer-col-left p {
  margin: 0 0 0.9rem;
  line-height: 1.5;
}

.footer-legal {
  font-size: 0.78rem;
  opacity: 0.85;
  text-indent: 1em;
}

.footer-bottom-inner {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 0.75rem;
}



/* =====================
SUMMARY PANEL CONTENT
===================== */
/* 1. Support */
.support-socials {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.support-social {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;

  width: 100%;
  /* padding: 0.5rem 0.5rem; */
  border-radius: 8px;

  color: inherit;
  text-decoration: none;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

.support-social img {
  width: 22px;
  margin-top: 0.2rem;
}

.support-social strong {
  display: block;
  font-size: 0.95rem;
}

.support-social span {
  font-size: 0.85rem;
  line-height: 1.45;
}

.support-social.disabled {
  opacity: 0.6;
}

.soon {
  color: #f2b705;
  font-weight: 600;
  margin-left: 0.4rem;
  white-space: nowrap;
}

/* 2. Program */

.program-time {
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;

  background: rgba(242, 183, 5, 0.18);
  border-left: 4px solid #f2b705;

  font-size: 0.9rem;
  font-weight: 600;

  border-radius: 6px;
}

.program-groups {
  display: grid;
  gap: 2.2rem;
  margin-top: 2rem;
}

.program-group {
  padding: 1.6rem 1.8rem;

  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.program-group h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;

  font-size: 1.25rem;
  color: #5b3a8c;
}

.program-group ul,
.program-workshop ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.program-group li,
.program-workshop li {
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.program-workshop {
  margin-top: 3rem;
  padding: 1.8rem 2rem;

  background: linear-gradient(
    to right,
    rgba(200, 200, 200, 0.25),
    rgba(230, 230, 230, 0.6)
  );

  border-radius: 14px;
}

.program-workshop h4 {
  margin-top: 0;
  font-size: 1.25rem;
}


/* =====================
   IMPACT – TIMELINE
===================== */

.impact-block {
  max-width: 900px;        /* <- контролируема ширина */
  margin: 0 auto 2rem;     /* център + разстояние между секциите */
  position: relative;
}

.impact-heading {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;

  color: #777777;
}

/* ===  TIMELINE - Core === */
/* ======================== */

/* Контролни променливи (theme-ready) */
.timeline {
  --timeline-line-width: 4px;
  --timeline-line-color: rgba(0, 0, 0, 0.35);
  --timeline-dash-size: 6px;
  --timeline-gap-size: 6px;
  --timeline-shadow: none; /* пример: 0 0 6px rgba(0,0,0,0.25) */
}

/* Контейнер за линията и бъдещите items */
.timeline-track {
  position: relative;
  /* max-width: 100%; */
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  min-height: unset;
}

/* Централната вертикална линия */
.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;

  width: var(--timeline-line-width);
  transform: translateX(-50%);

  background-image: repeating-linear-gradient(
    to bottom,
    var(--timeline-line-color) 0,
    var(--timeline-line-color) var(--timeline-dash-size),
    transparent var(--timeline-dash-size),
    transparent calc(
      var(--timeline-dash-size) + var(--timeline-gap-size)
    )
  );

  box-shadow: var(--timeline-shadow);
}

/* ===  TIMELINE - Item Core === */
/* ============================= */

.timeline-item {
  position: relative;
  width: 50%;
  padding-right: 1.5rem;
  margin-bottom: 0;

  text-align: right; 
}

/* точката върху линията */
.timeline-dot {
  position: absolute;
  top: 0.4rem;
  right: -8px;           /* центрира точката върху линията */

  width: 16px;
  height: 16px;
  border-radius: 50%;

  background: #f2b705;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);

  transition: transform 0.25s cubic-bezier(.2, .8, .3, 1.4);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.35);
}

/* =====================
   TIMELINE – TYPOGRAPHY
===================== */

.timeline-content {
  max-width: 360px;
}

.timeline .impact-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e2aa00;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.timeline .impact-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.1rem;
  text-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.timeline .impact-description {
  font-size: 0.8rem;
  line-height: 1.4;
  /* opacity: 0.7; */
  color: #777777;
  margin: 0;
}

.timeline-item.right {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 1.5rem;

  text-align: left;
}

.timeline-item.right .timeline-dot {
  left: -8px;
  right: auto;
}

/* =====================
   ACHIEVEMENTS – CORE
===================== */

.achievements {
  position: relative;
  /* outline: 1px solid red;  <-- тест за позиция */
}

/* Контейнер */
.achievements-track {
  position: relative;
  max-width: 640px;      /* същата логика като timeline */
  margin: 0 auto;
  padding: 0;
}

/* Централна ос (НЕ timeline) */
.achievements-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;

  width: 2px;
  transform: translateX(-50%);

  background: rgba(0, 0, 0, 0.2);
}

/* --- ACHIEVEMENTS – ITEM --- */

.achievement-item {
  position: relative;
  width: 50%;
  /* margin-bottom: 1.8rem; */
  margin: 0;
  padding: 0;
  padding-right: 1.5rem;
  text-align: right;
  /* outline: 1px solid red;  <-- тест за позиция */
}

.achievement-item.right {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 1.5rem;
  text-align: left;
}

/* съдържание */
.achievement-content {
  /* max-width: 360px; */
  max-width: 290px;
  margin: 0;
  /* outline: 1px solid red;  <-- беше за проверка */
}

.achievements .impact-description {
  font-size: 0.8rem;
  line-height: 1.4;
  /* opacity: 0.7; */
  color: #777777;
  margin: 0;
}

/* title */
.achievement-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  font-size: 0.75rem;
  font-weight: 700;
  color: #e2aa00;
  letter-spacing: 0.02em;
  margin: 0;
}

/* main number */
.achievement-main {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 0.7;
  margin-bottom: 0;
  color: #111;
  text-shadow: 0 0px 3px rgba(0, 0, 0, 0.5);
}


/* INFO ICON – върху централната линия */

.info-icon {
  position: absolute;
  top: 0.4rem;
  right: -10px;           /* центрира точката върху линията */

  width: 20px;
  height: 20px;
  
  transition: transform 0.25s cubic-bezier(.2, .8, .3, 1.4);
}

.achievement-item:hover .info-icon {
  transform: scale(1.35);
}

.achievement-item.right .info-icon {
  left: -10px;
  right: auto;
}


/* ============================
    MOBILE 
============================ */

/* FOOTER COLUMNS CONTROL*/
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-col-center,
  .footer-col-right {
    display: none;
  }

  .footer-col-left {
    width: 100%;
  }
}