@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  font-family:'Poppins',sans-serif;   /* <‑‑ set globally */
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

.timeline {
  width: 90%;
  max-width: 600px;
  margin: 40px auto;
  position: relative;
  padding-left: 30px;
  border-left: 3px solid #e74c3c;
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 3px solid #e74c3c;
  border-radius: 50%;
  z-index: 1;
  transition: background 0.3s, border 0.3s;
}

.timeline-item.active::before {
  background: #e74c3c;
  border-color: #c0392b;
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-left: 20px;
  transition: box-shadow 0.3s;
}

.timeline-item.active .timeline-content {
  box-shadow: 0 4px 16px rgba(231,76,60,0.2);
}

/* ===== unified header ===== */
.top-menu{
  position:sticky;
  top:0;
  z-index:100;
  width:100%;
  height:60px;
  display:flex;
  align-items:center;
  background:#e74b3c;          /* single source of truth */
  backdrop-filter:blur(6px);
  box-shadow:0 1px 4px rgba(0,0,0,.08);
  padding:0 24px;
  box-sizing:border-box;
}

.menu-title{
  font-weight:600;
  font-size:1.25rem;
  margin-right:32px;
  padding:0 24px;
  color:#fff;          /* ← makes “EuteliaFacts” white on every page */
}

.top-menu ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:25px;                   /* handles spacing, so no <li> margin needed */
}

.top-menu a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
}

.top-menu a:hover{
  text-decoration:underline;
  color:#ffd6d6;
}

/* -------------------------------------------------
   Phone layout  (screens ≤ 480 px wide)
--------------------------------------------------*/
@media (max-width:480px){

  /* 1. top bar: wrap title & links onto two lines */
  .top-menu{
    height:auto;          /* let it grow */
    flex-wrap:wrap;
    padding:8px 16px;
  }
  .menu-title{
    width:100%;           /* full‑width row */
    margin:0 0 6px;       /* gap below title */
    padding:0;
    text-align:center;
    font-size:1.2rem;
  }
  .top-menu ul{
    flex-wrap:wrap;       /* links flow to next line */
    gap:12px;
    justify-content:center;
    padding:0;
  }

  /* 2. hero section */
  .hero{ padding:80px 16px 60px; }
  .hero-logo{ width:200px; max-width:70%; }
  .hero h1{ font-size:2rem; }

  /* 3. timeline tweaks */
  .timeline{ padding-left:20px; }
  .timeline::before{ left:10px; }
  .timeline-item::before{ left:-29px; }

  /* 4. fast‑facts & cards: tighter gaps */
  .info-columns{ gap:20px; }
  .grid     { gap:24px; }

  /* 5. scroll‑to‑top button smaller */
  #toTop{ right:16px; bottom:16px; width:40px; height:40px; }
}

