html {
    scroll-behavior: smooth;
}
.icon-styled.icon-bordered{
    border-width: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
}
.box {
   /*  border: 2px solid black; */
    border-radius: 5px;
    padding: 20px;
    margin: 10px;
    width: 100px;
    background-color: #b11817;
    color: white;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
}

.box:hover {
        transform: scale(1.05); /* Efekt zvětšení při najetí myší */
    }

.counter-bit .container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.counter-bit p{
    margin-bottom: 0px;
}

.counter-bit .counter-text{
    font-size: 32px;
    font-weight: bold;
}

.counter-bit h6{
    font-size: 32px;
}

.hexa{
border: 0px;
float: left;
text-align: center;
height: 35px;
width: 60px;
font-size: 22px;
background: #f0f0f0;
color: #3c3c3c;
position: relative;
margin-top: 15px;
}

.hexa:before{
content: ""; 
position: absolute; 
left: 0; 
width: 0; 
height: 0;
border-bottom: 15px solid #f0f0f0;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
top: -15px;
}

.hexa:after{
content: ""; 
position: absolute; 
left: 0; 
width: 0; 
height: 0;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
border-top: 15px solid #f0f0f0;
bottom: -15px;
}

.timeline {
position: relative;
padding: 0;
width: 100%;
margin-top: 20px;
list-style-type: none;
}

.timeline:before {
position: absolute;
left: 50%;
top: 0;
content: ' ';
display: block;
width: 2px;
height: 100%;
margin-left: -1px;
background: rgb(213,213,213);
background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
z-index: 5;
}

.timeline li {
padding: 2em 0;
}

.timeline .hexa{
width: 16px;
height: 10px;
position: absolute;
background: #b11817;
z-index: 5;
left: 0;
right: 0;
margin-left:auto;
margin-right:auto;
top: -30px;
margin-top: 0;
}

.timeline .hexa:before {
border-bottom: 4px solid #b11817;
border-left-width: 8px;
border-right-width: 8px;
top: -4px;
}

.timeline .hexa:after {
border-left-width: 8px;
border-right-width: 8px;
border-top: 4px solid #b11817;
bottom: -4px;
}

.direction-l,
.direction-r {
float: none;
width: 100%;
text-align: center;
}

.flag-wrapper {
text-align: center;
position: relative;
}

.flag {
position: relative;
display: inline;
background: rgb(255,255,255);
font-weight: 600;
z-index: 15;
padding: 6px 10px;
text-align: left;
border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
content: "";
position: absolute;
left: 50%;
top: -15px;
height: 0;
width: 0;
margin-left: -8px;
border: solid transparent;
border-bottom-color: rgb(255,255,255);
border-width: 8px;
pointer-events: none;
}

.direction-l .flag {
-webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
-moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
-moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.time-wrapper {
display: block;
position: relative;
margin: 4px 0 0 0;
z-index: 14;
line-height: 1em;
vertical-align: middle;
color: #fff;
}

.direction-l .time-wrapper {
float: none;
}

.direction-r .time-wrapper {
float: none;
}

.time {
background: #b11817;
display: inline-block;
padding: 8px;
}

.desc {
position: relative;
margin: 1em 0 0 0;
padding: 1em;
background: rgb(254,254,254);
-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
box-shadow: 0 0 1px rgba(0,0,0,0.20);
z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
position: relative;
margin: 1em 1em 0 1em;
padding: 1em;
z-index: 15;
}

@media(min-width: 768px){
.timeline {
width: 660px;
margin: 0 auto;
margin-top: 20px;
}

.timeline li:after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.timeline .hexa {
left: -28px;
right: auto;
top: 8px;
}

.timeline .direction-l .hexa {
left: auto;
right: -28px;
}

.direction-l {
position: relative;
width: 310px;
float: left;
text-align: right;
}

.direction-r {
position: relative;
width: 310px;
float: right;
text-align: left;
}

.flag-wrapper {
display: inline-block;
}

.flag {
font-size: 18px;
}

.direction-l .flag:after {
left: auto;
right: -16px;
top: 50%;
margin-top: -8px;
border: solid transparent;
border-left-color: rgb(254,254,254);
border-width: 8px;
}

.direction-r .flag:after {
top: 50%;
margin-top: -8px;
border: solid transparent;
border-right-color: rgb(254,254,254);
border-width: 8px;
left: -8px;
}

.time-wrapper {
display: inline;
vertical-align: middle;
margin: 0;
}

.direction-l .time-wrapper {
float: left;
}

.direction-r .time-wrapper {
float: right;
}

.time {
padding: 5px 10px;
}

.direction-r .desc {
margin: 1em 0 0 0.75em;
}
}

@media(min-width: 992px){
.timeline {
width: 800px;
margin: 0 auto;
margin-top: 20px;
}

.direction-l {
position: relative;
width: 380px;
float: left;
text-align: right;
}

.direction-r {
position: relative;
width: 380px;
float: right;
text-align: left;
}
}

.value-icon{
background: #b11817;
}


.value-box:hover {
transform: scale(1.03);
}

.feature-section {
padding: 20px 0;
background: linear-gradient(135deg, #6d83f2, #89c1f8);
color: #fff;
font-family: 'Arial', sans-serif;
margin-top: -10px;
}

.icon-container {
margin-bottom: 15px;
text-align: center;
}

.icon-styled-counter {
font-size: 40px;
color: #b11817;
}

.feature-box {
background-color: white;
padding: 30px;
border-radius: 10px;
transition: transform 0.3s;
box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
height: 300px;
align-content: center;
}

.feature-box:hover {
transform: translateY(-10px);
}

.counter-container {
text-align: center;
}

.counter-value {
font-size: 36px;
font-weight: 700;
margin-bottom: 5px;
font-family: "poppins", sans-serif;
color: #b11817 !important;
}

.counter-label {
font-size: 18px;
font-weight: 400;
color: #b11817;
}

.counter-header {
font-size: 22px;
font-weight: 600;
color: #b11817;
margin-bottom: 8px;
margin-top: 8px;
}

.text-center {
text-align: center;
}

.about_counter{
text-align: left;
font-family: "poppins", sans-serif;
}
.about_counter p{
text-align: justify;
}

.about_counter h4{
font-size: 25px;
margin-bottom: 20px !important;
font-family: "poppins", sans-serif;
}

.about_counter .about_link_counter{
text-decoration: underline;
font-weight: bold;
}

@media (max-width: 767px) {
.about_counter{
    text-align: center;
}
.about_button{
    text-align: right;
    padding: 0 0 15px 0 !important;
}
.about_counter p{
margin-bottom: 0px;
}
}

@media (min-width: 992px) {
.feature-box {
    margin: 0 auto;
}
}

@media (max-width: 767px) {
.feature-box {
    margin-top: 5px;
    margin-bottom: 5px;
}
}

/* odpočítávadlo */

/* @media (min-width: 768px) {
.counter-custom-wrapper {
margin-right: -75px;
}
} */

@media (max-width: 767px) {
.counter-custom-wrapper {
margin-top: 30px;
}
}

.counter-custom-wrapper h6{
color: white;
font-weight: 500;
letter-spacing: 0;
margin-bottom: 1.4em;
margin-top: 1.4em;

font-size: 30px;
font-family: "poppins", sans-serif;
}

.counter-custom-wrapper .btn-outline-danger{
color: #b11817;
background-color: transparent;
background-image: none;
border-color: #b11817;
}

.counter-custom-wrapper .btn-outline-danger:hover {
color: #fff;
background-color: #b11817;
border-color: #b11817;
}

.counter-custom-wrapper .icon-bordered{
border: none;
}

.counter-custom-box {
background: #b11817;
border-radius: 12px;
padding: 30px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15),
          0 2px 2px rgba(0, 0, 0, 0.15),
          0 4px 4px rgba(0, 0, 0, 0.15),
          0 8px 8px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease;
font-family: "poppins", sans-serif;
}

.counter-custom-container {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: stretch;
gap: 10px;
margin-bottom: 20px;
font-family: "poppins", sans-serif;
}

.counter-custom-value {
border-radius: 5px;
padding: 20px 15px;
width: 100px;
color: #b11817 !important;
background-color: white;
color: white;
text-align: center;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15),
          0 2px 2px rgba(0, 0, 0, 0.15),
          0 4px 4px rgba(0, 0, 0, 0.15),
          0 8px 8px rgba(0, 0, 0, 0.15);
transition: transform 0.2s ease;
}

.counter-custom-value:hover {
transform: scale(1.05);
}

.counter-text {
font-size: 32px;
color: #b11817;
font-weight: bold;
margin-bottom: 5px;
}

@media (max-width: 768px) {
.counter-custom-value {
width: 80px;
padding: 15px 10px;
}

.counter-text {
font-size: 24px;
}

.counter-custom-box h6 {
font-size: 22px;
}
}

:root{
  --brand:#b31c1c;                /* základní odstín */
  --brand-700:#981717;            /* tmavší */
  --brand-600:#a91919;
  --brand-500:#b31c1c;
  --brand-400:#c23a3a;            /* světlejší */
  --brand-300:#d35c5c;
  --ink:#27303a;                  /* tmavý text */
  --muted:#6c7a89;                /* sekundární text */
  --ring:#e7e7e7;                 /* tenký kroužek vpravo */
}

body{ color:var(--ink); }

/* Levý sloupec – seznam položek s ikonami */
.feature{
  display:flex; gap:16px;
  align-items:flex-start;
  padding:12px 8px;
  border-radius:12px;
}
.feature:not(:last-child){ margin-bottom:18px; }

.feature .chip{
  flex:0 0 48px; height:48px; width:48px;
  border-radius:50%;
  display:grid; place-items:center;
  background:var(--brand-400);
  color:#fff; font-size:1.25rem;
  box-shadow:0 6px 16px rgba(179,28,28,.20), inset 0 0 0 2px rgba(255,255,255,.15);
}
.feature h6{
  margin:0 0 4px;
  letter-spacing:.02em;
  font-weight:700;
  text-transform:uppercase;
}
.feature p{
  margin:0; color:var(--muted);
}

/* Pravý sloupec – kruhové schéma */
.sc-wrap{
  max-width:580px; margin-inline:auto;
  aspect-ratio:1/1;
  position:relative;
}
.sc-svg{ width:100%; height:100%; display:block; }

/* Titulky v malých bublinách */
.sc-label{
  font:700 20px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  fill:#fff; text-transform:uppercase; letter-spacing:.02em;
}
.sc-center-label{
  font:800 18px/1.1 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  fill:#fff; text-transform:uppercase; letter-spacing:.02em;
}

/* Drobná úprava mezer na menších zařízeních */
@media (max-width: 991.98px){
  .sc-wrap{ max-width:520px; margin-top:28px; }
}
@media (max-width: 575.98px){
  .feature .chip{ width:48px; height:48px; font-size:1.1rem; }
  .sc-center-label{ font-size:24px; }
}

.title-underline{
width:72px;height:4px;border-radius:2px;background:var(--brand);
}

.alert-window{
border-radius: 20px;
background: #b31c1c;
color: white;
font-size: 29px;
padding: 30px;
}

.alert-window a{
color: white;
text-decoration: underline;
font-weight: 600;
}

.title-underline {
width: 80px;          
height: 4px;             
background-color: #b31c1c; 
margin: 0 auto;          
border-radius: 2px;  
}

/* Hlavní cíle */

:root{
--brand:#b31c1c;
--brand-600:#a21818;
--ink:#20262d;
--muted:#64707d;
}

/* Sekce */
.goals-section{
position: relative;
background: radial-gradient(1400px 600px at 85% -10%, rgba(179,28,28,.08), transparent 60%) #fff;
}
.goals-eyebrow{
display:inline-block;
font-weight:700;
text-transform:uppercase;
letter-spacing:.08em;
color:var(--brand);
background:rgba(179,28,28,.08);
border:1px solid rgba(179,28,28,.18);
padding:.35rem .6rem;
border-radius:999px;
}
.goals-title{
font-weight:800;
letter-spacing:.01em;
color:var(--ink);
margin:.6rem 0 0;
}
.goals-sub{
color:var(--muted);
max-width:56ch;
}
.title-underline{
width:72px;height:4px;border-radius:2px;background:var(--brand);
}

/* Karty cílů */
.goal-card{
height:100%;
border:1px solid rgba(32,38,45,.08);
background:#fff;
border-radius:18px;
padding:18px 18px 18px 56px;
position:relative;
transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
box-shadow:0 6px 20px rgba(0,0,0,.04);
}
.goal-card:hover{
transform:translateY(-2px);
box-shadow:0 10px 28px rgba(0,0,0,.08);
border-color:rgba(179,28,28,.25);
}
.goal-icon{
position:absolute; left:16px; top:16px;
width:28px; height:28px; border-radius:50%;
display:grid; place-items:center;
background:var(--brand);
color:white;
}
.goal-text{
color:#2a333b; margin:0;
}

/* Drobná responzivita */
@media (max-width:575.98px){
.goals-title{ font-size:1.55rem; }
}

#mission-vision .card-box{
    background:#fff; border-radius:18px; box-shadow:0 10px 26px rgba(0,0,0,.06);
    padding:clamp(16px,2vw,28px); position:relative; overflow:hidden; height:100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
    border-color: 1px solid #efd8d8;
  }
  #mission-vision p{
    color:#2c2c2c; font-size:1.06rem; line-height:1.7; text-align:justify; margin:0; position:relative; z-index:1;
  }
  /* Dekorativní ikona v pozadí boxu */
  #mission-vision .decorative-icon{
    position: absolute;
    left: -20%;
    bottom: -75%;
    font-size: 400px;
    opacity: .05;
    color: currentColor;
    pointer-events: none;
    z-index: 0;
    color: var(--brand);
  }