* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.navbar {
  background-color: #021a2b;
  padding: 25px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar a {
  color: #fff;
  margin: 0 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar a:hover {
  text-decoration: underline;
}

.section {
  padding: 15px 15px;
  max-width: 1200px;
  margin: auto;
}
.section h1 {
  font-size: 3rem;
}

.hero {
  height: auto; 
  background: linear-gradient(to right, #0a3d62, #1e5e89);
  color: white;
  padding: 120px 15px;
  background-image: url('assets/header-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 25px;
  text-align: center;
}

.hero h1 {
  font-size: 10rem;
}

.hero p {
  font-size: 3rem;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.team-photo {
  width: 180px;
  height: 350px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.team-info {
  flex: 1;
}

.about-us-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.company-logo {
  width: 250px;
  height: auto;
}

.career-graph {
  margin-top: 40px;
  text-align: center;
}

.graph-img {
  max-width: 65%;
  height: auto;
  border-radius: 10px;
}

.graph-caption {
  margin-top: 10px;
  font-style: italic;
  color: #555;
}

.toggle-button {
  background-color: #0a3d62;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 20px;
}

.toggle-button:hover {
  background-color: #145a8a;
}

.toggle-button-1 {
  background-color: #0a3d62;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 20px;
}

.toggle-button-1:hover {
  background-color: #145a8a;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 15px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-top: 5px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px;
  background-color: #021a2b;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.form-alert {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.form-alert.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-alert.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.cta-floating {
  position: fixed;
  right: 20px; 
  bottom: 20px;
  background-image: url('assets/header-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 10px; 
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  font-size: 0.85rem; 
  z-index: 1000;
  animation: pulse 2.5s infinite;
  max-width: 280px;
  backdrop-filter: brightness(0.8);
  text-align: center; 
  display: none;
}

.cta-floating p {
  margin-bottom: 8px; 
  line-height: 1.3;
  font-size: 0.95rem;
}

.cta-floating a {
  color: #ffd700;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
  font-size: 1rem;
}

.cta-floating a:hover {
  background-color: rgba(0,0,0,0.4);  
}

.cta-close {
  position: absolute;
  top: 5px; 
  right: 5px; 
  background: none;
  border: none;
  color: white;
  font-size: 24px; 
  cursor: pointer;
  padding: 4px; 
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.site-footer {
  background-color: #021a2b;
  color: #ddd;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 60px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #0077b5;
  font-weight: bold;
  gap: 8px;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
}

.cookie-trigger {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  color: #333;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 50px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 9999;
}
.cookie-trigger:hover {
  transform: scale(1.15);
}

.cookie-modal {
  display: none;
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 10000;
}
.cookie-box .cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-logo {
  height: 40px;
}
.cookie-close {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.cookie-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 8px 10px;
  border: none;
  background: #f2f2f2;
  cursor: pointer;
}
.cookie-link {
  display: block;
  margin-top: 15px;
  font-size: 0.85em;
  color: #0077b5;
  text-decoration: underline;
  text-align: center;
}

.comparison-table {
  width: 50%;
  text-align: left;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.comparison-table tr {
  transition: background-color 0.2s ease-in-out;
}

.comparison-table tr:hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

.comparison-table th, .comparison-table td {
  border-bottom: 1px solid #e5e7eb;
}

.card {
  position: relative;
  padding: 0;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  background-color: #0a3d62;
  box-sizing: border-box;
  padding: 2px;
}

.card-inner {
  background: white;
  padding: 40px 20px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.card::before {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a3d62;
  color: white;
  font-weight: bold;
  padding: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  box-sizing: border-box;
  z-index: 1;
}

.swiper {
  background-color: #fff;
  padding: 50px 0;
}
.card p {
  font-size: 15px;
  color: #0a3d62;
  margin: 0 0 10px 0;
}
.card h4 {
  margin: 10px 0 0;
  font-size: 20px;
}
.card small {
  color: gray;
}

.text-center {
  text-align: center;
  font-size: 20px;
}

.case-tile {
  width: 100%;
  max-width: 71rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #edeff2;
  box-shadow: 0 15px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  padding: 2rem;
  border-radius: 0.5rem;
}

.case-tile:not(:last-child) {
  margin-bottom: 2rem;
}

.case-tile h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.case-tile .text-content {
  color: #4b5563;
  line-height: 1.625;
  min-height: 12rem;
}

.block-more-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out;
  display: block;
}

.block-more-text.expanded {
  max-height: 2000px;
}

.inline-more-text {
  display: none;
}
.inline-more-text.expanded {
  display: inline;
}

.case-tile ul {
  list-style-type: disc;
  list-style-position: inside;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.case-tile ul li {
  margin-bottom: 0.25rem;
}

.case-tile table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.case-tile th, .case-tile td {
  border-bottom: 1px solid #e5e7eb;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.case-tile th {
  font-weight: 700;
  color: #374151;
}
.case-tile tr {
  transition: background-color 0.2s ease-in-out;
}

.case-tile tr:hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

/* ----- CSS PRAVIDLA PRO MOBILNÍ ZAŘÍZENÍ (pod 768px) ----- */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-info {
    flex: none;
  }

  .cta-floating {
    bottom: 60px;
    position: fixed;
    right: 40px;
    max-width: 250px;
    width: auto;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 6px;
  }

  .cta-floating.show {
    display: block;
  }

  .cta-floating p {
    font-size: 0.9rem;
    margin: 0 0 6px;
    text-align: center;
  }

  .cta-floating a {
    display: inline-block;
    margin: 0 auto;
    font-size: 0.9rem;
  }

  .cta-close {
    top: 5px;
    right: 5px;
    font-size: 24px;
    padding: 4px;
  }

  .navbar {
    padding: 15px 10px;
  }

  .navbar a {
    display: block;
    margin: 10px 0;
    font-size: 1rem;
  }

  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 2rem;
  }
}
