/* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1vw;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.top-bar {
  background-color: white;
  padding: 2% 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
    position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2%;  
}

.logo img {
  height: 8vh;
  width: auto;
}

.logo h1 {
  color: #00aaff;
  font-size: 2vw;
  margin: 0;
}

nav {
  display: flex;
  gap: 2vw;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #1c114b;
  font-weight: bold;
  font-size: 1vw;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger i {
  font-size: 2vw;
}

.gradient-banner {
  background: linear-gradient(to right, #cdffd8fa, #94b9ff);
  padding: 4% 2%;
  position: relative;
  margin-bottom: 5%;
}

.banner-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gradient-banner h2 {
  font-size: 2.5vw;
  margin: 0;
  margin-bottom: 1%;
  color: #1c114b;
  flex: 1 1 auto;
  min-width: 250px;
}

.gradient-banner .doctor {
  font-size: 1.2rem;
  color: #0077cc;
  font-weight: bold;
}

.cta-buttons {
  display: flex;
  gap: 2vw;
  flex-wrap: wrap;
  justify-content: flex-end;
  }

.btn.blue {
  background-color: #00aaff;
  color: white;
  padding: 1vw 2vw;
  border-radius: 1vw;
  text-decoration: none;
  font-weight: bold;
  font-size: 1vw;
  display: flex;
  align-items: center;
  gap: 1vw;
  white-space: wrap;
}

.btn.blue:hover {
  background-color: #008ecc;
}
*/
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10%;
  flex-wrap: wrap;
}

.card-container {
  display: flex;
  justify-content: center; /* stredí kartu */
  width: 100%;
  padding: 20px;
  box-sizing: border-box;

  }

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  width: 50vw;
  max-width: 90%;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.6;
}

.card img {
  width: 50vw;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  padding: 0.375rem;
  box-shadow: 0 0 0 0.25rem white;
  
}

.card h2 {
  color: #003366;
  font-size: 1.125rem;
  margin-bottom: 0.3125rem;
}

.card .position {
  color: #007acc;
  font-size: 0.87rem;
  margin: 0.625re
}

.card .desc {
  font-size: 0.875rem;
  margin-bottom: 0.9375rem;
}

.plus {
  font-size: 1.5rem;
  color: #00aaff;
  cursor: pointer;
}

/* Spoločný základ pre gradientové pásiky */
.gradient-top-right {
  height: 1.5vh;
  width: 40%;
  position: absolute;
  background: linear-gradient(to right, #66ccff, #9966ff);
  z-index: 0;
  border-radius: 4px;
  opacity: 0.7;
  /*margin: 20px auto 0;*/

}

/* Horný pravý pásik */
.gradient-top-right {
  top: 97%;
  right: 0;
  /*width: 40%;
  height: 10px;
  background: linear-gradient(to right, #00b7ff, #36146e);*/
}
@media (max-width: 768px) {
    html {
    font-size: 85%;
    overflow-x: hidden;
  }

  body{
    overflow-x: hidden;
  }

.logo h1,
.gradient-banner h2,{
    font-size: 4vw;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 8vh;
    right: 0;
    width: 60vw;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 2%;
  }

  nav.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .gradient-banner{
    justify-content: center;

  }
  
  .btn.blue{
    font-size: 1rem;
    width: 100%;
    justify-content: center;
    max-width: 50%;

  }
 
  .cta-buttons {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .banner-content{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gradient-top-right{
    width: 100%; 
  }

  nav.active {
    display: flex;
  }

   .burger {
    display: block;
  }

  .card {
    width: 60vw;           /* karta zaberie väčšinu obrazovky */
    padding: 1.5rem;
  }

  .card img {
    width: 15vw;
    height: 80px;
  }

  .card h2 {
    font-size: 1rem;
  }

  .card .position,
  .card .desc {
    font-size: 0.875rem;
  }

  .plus {
    font-size: 1.25rem;
  }
}

