/************************************************
  0) RESET / ČÁSTEČNÝ ZÁKLAD (mírný, abychom nerušili Bootstrap)
************************************************/
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #454545;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
/* Preloader (volitelný) */
#loader {
  display: none; /* Pokud jej nechcete zobrazovat */
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/************************************************
  1) HEADER (hlavička) + nav (mobil menu)
************************************************/
.main-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px; /* výška headeru */
}
.logo-part img {
  max-height: 50px;
  // filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(1246%) hue-rotate(195deg) brightness(91%) contrast(101%);
  animation: initialLogoSpin 1s ease-out;
  transition: transform 1s;
}
.logo-part img:hover {
  transform: rotateY(360deg);
}
@keyframes initialLogoSpin {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}
.menu-toggle {
  display: none; /* skryté na desktopu */
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #03228f;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* .nav-menu */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-menu ul li a {
  font-size: 16px;
  color: #454545;
  font-weight: 600;
  line-height: 70px;
  transition: color 0.3s;
}
.nav-menu ul li a.lang-switch {
  color: #0a5bb8;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-menu ul li a.lang-switch i {
  font-size: 14px;
}
.nav-menu ul li a.lang-switch:hover {
  color: #f27c1e;
}
.nav-menu ul li:hover > a,
.nav-menu ul li.current-menu-item > a {
  color: #f27c1e;
  /* font-weight: 700;    tučnější */
  /* text-decoration: underline;  podtržení */
}
@media (max-width: 991px) {
  .menu-toggle {
    display: block; /* na mobilu zobrazit */
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 220px;
    height: 100vh;
    background: #fff;
    transition: 0.3s;
    padding: 1rem;
    z-index: 9999;
  }
  .nav-menu.nav-open {
    right: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
  }
  .nav-menu ul li a {
    line-height: 1.6;
  }
  .header-inner {
    justify-content: space-between;
  }
}

/************************************************
  2) HERO SECTION
************************************************/
.hero-section {
  position: relative;
  padding: 180px 0 120px;
  background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
  overflow: hidden;
  background-size: 200% 200%;
  animation: gradientAnimation 10s ease infinite;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
  background: 
  radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 50%),
  radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 50%),
  radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-content h1 span {
  background: linear-gradient(to right, #fff, #4e95ed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-btns {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
/* Tlačítka v hero */
/* Override bootstrap .btn, pokud existuje:
   (Pokud bootstrap .btn je slabší, tohle vyhraje,
    anebo přímo: .hero-section .btn {...} ) */
.btn {
  display: inline-flex !important;  /* override bootstrap */
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none; /* vymaže bootstrap default u .btn-outline-primary aj. */
}
/* Bílé tlačítko */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 124, 30, 0.4);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(242, 124, 30, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 124, 30, 0.4);
  }
 }
.btn-primary {
  background: #f27c1e;
  color: #fff;
  border: 2px solid #f27c1e;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: glowPulse 1.5s infinite ease-in-out;
 }
 .btn-primary:hover {
  animation: none;
  background: transparent;
  color: #f27c1e;
  border-color: #f27c1e;
 }
.btn-primary i {
  font-size: 1.1rem;
 }
/* Outline tlačítko */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;              /* Zde zajistíte bílý text na hover */
  border-color: #fff;       /* Optional: Pokud chcete zřetelnější rámeček */
}
/* Ilustrace vpravo */
.hero-image {
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 80%);
  filter: blur(10px);
}
.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@media (max-width: 991px) {
  .hero-section {
    padding: 120px 0;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-image {
    margin-top: 3rem;
  }
}

/************************************************
  3) SOFTWARE SECTION
************************************************/
.software-section {
  padding: 80px 0;
  background-color: #fff; /* případně #fdfdfd, pokud preferujete světle šedou */
}
.software-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, rgba(3,34,143,0.05) 0%, rgba(255,255,255,0) 100%);
}
/* Obrázek vlevo */
.software-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px; 
  /* Dle potřeby: 
     box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  */
}
/* Text vpravo */
.software-content {
  /* nic speciálního, můžete doplnit marginy, atd. */
}
.software-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0a5bb8; /* základní barva */
  line-height: 1.5; /* nebo 1.6, 1.7 atp. */
}
.software-content h2 .orange-highlight {
  color: #f27c1e; 
}
/* Odrážky s ikonkou check v oranžové barvě */
.software-list {
  list-style: none; /* vypnout standardní bullet */
  padding: 0; 
  margin: 1.5rem 0;
}
.software-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  line-height: 1.6;
}
/* ::before pro Font Awesome check (&#xf00c; => \f00c) */
.software-list li::before {
  content: "\f00c";             /* Font Awesome check */
  font-family: "FontAwesome";   /* definováno linkem v <head> */
  position: absolute;
  left: 0;
  top: 0;
  color: #f27c1e;               /* Oranžová barva ikony */
  font-size: 1.2rem;
  line-height: 1;
}
/************************************************
  4) USERS SECTION
************************************************/
.users-section {
  padding: 80px 0;
  text-align: center;
  background: #ffffff;
}
.users-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0a5bb8; /* černý text */
}
.users-section h2 .orange-highlight {
  color: #f27c1e; /* zůstane oranžová */
}
.users-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}
.users-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.user-box {
  background: #f7f7f7;
  padding: 1.5rem;
  border-radius: 8px;
  flex: 0 0 320px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.user-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.user-icon {
  font-size: 2rem;
  color: #f27c1e;
  margin-bottom: 1rem;
}
.user-box h3 {
  margin-bottom: 0.5rem;
  color: #0e73e4;
  font-size: 1.2rem;
  font-weight: 700;
}
.user-box p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .user-box {
    flex: 0 0 100%;
  }
}

/************************************************
  5) STATS
************************************************/
.stats-section {
  background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #ffffff;  /* Bílý text */
  text-align: center;
}
.stats-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
 }
.orange-highlight {
  color: #f27c1e;
}
.stats-intro {
  margin-bottom: 2rem;
  /* nebo text-align: center, pokud není třída "text-center" v HTML */
  text-align: center;
}
.stats-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.stats-intro p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}
.stats-wrapper {
  display: flex; /* default row z bootstrapu, ale to nevadí */
  justify-content: space-between;
  row-gap: 2rem;
}
.stat-card {
  /* Poloprůhledné bílé pozadí */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem; 
  margin: 10px;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  /* Možnost: roztáhnout na šířku sloupce a vyniknout */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Volitelně: trošku rozmazání pozadí (Safari + Chrome):  */
  backdrop-filter: blur(10px);
}
.stat-card .number {
  font-size: 3rem;
  font-weight: 600;
  position: relative;
  margin-bottom: 10px;
  color: #f27c1e;  /* místo #fff */
  background: linear-gradient(45deg, #fff, #f27c1e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: countUp 2s ease-out forwards;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.stat-card .number span {
  font-size: 1.2rem; /* Menší velikost písma */
  vertical-align: super; /* Horní index */
  color: inherit; /* Zachování barvy textu čísla */
}
.stat-card .label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
 text-transform: uppercase;
 letter-spacing: 1px;
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
 }
@media (max-width: 991px) {
  .stats-section {
    padding: 60px 0;
  }
  .stat-card .number {
    font-size: 2.5rem;
  }
  .stat-card .label {
    font-size: 1rem;
  }
}

/************************************************
  6) MODULES
************************************************/
.modules-section {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
  background: #f8f9fa;
}
.modules-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0a5bb8; 
}
.modules-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}
.modules-intro {
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}
.modules-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.module-box {
  height: 100%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 2rem;
  border-radius: 12px;
  flex: 0 0 320px;
  text-align: left;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}
@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.module-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.module-box:hover .module-icon {
  background: #f27c1e;
  color: #fff;
  transform: rotate(360deg);
 }
.module-icon {
  width: 60px;
 height: 60px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 12px;
 margin-bottom: 1.5rem;
 font-size: 1.8rem;
 background: rgba(242, 124, 30, 0.1);
 color: #f27c1e;
 transition: all 0.3s;
}
.module-box h3 {
  margin-bottom: 1rem;
  color: #0e73e4;
  font-size: 1.4rem;
  font-weight: 700;
}
.module-box p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  margin-bottom: 1.5rem;
}
.module-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(14, 115, 228, 0.1);
  color: #0e73e4;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.module-link:hover {
  background: #0e73e4;
  color: white;
  transform: translateY(-2px);
}
.module-link i {
  margin-right: 0.5rem;
}
@media (max-width: 768px) {
  .user-box {
    flex: 0 0 100%;
  }
}

/************************************************
  7) PROJECTS
************************************************/
.projects-section {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
}
.projects-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a5bb8;
  margin-bottom: 1rem;
}
.projects-header p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}
.projects-intro {
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}
.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.project-box {
  background: #fafafa;
  border-radius: 5px;
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.project-box p {
  margin-bottom: 1rem;
}
.project-box img {
  border-radius: 5px;
  margin-bottom: 1rem;
}
.project-box h3 {
  color: #0e73e4;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  margin-top: 1rem;
}
.project-box .module-link {
  margin-top: auto;
  justify-content: center;
}

/************************************************
  8) CONTACT
************************************************/
.contact-section {
  position: relative;
}
.contact-section .contact-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a5bb8;
  /* color: #f27c1e; */
  margin-bottom: 2rem;
  text-align: center;
}

.contact-panel {
  background: #f8f9fa;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.contact-panel h2 {
  color: #0a5bb8;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}
.map-canvas iframe {
  width: 100%;
  height: 500px;
  display: block;
  margin-bottom: 0;
}

/************************************************
  9) FOOTER
************************************************/
.main-footer {
  background: url('images/footer-bg.png') center center/cover no-repeat;
  padding: 60px 0 30px;
}

.main-footer h4 {
  font-size: 18px;
  font-weight: 600;
  color: #f27c1e;  /* Changed from #333 to orange */
}
.main-footer h5 {
  font-size: 18px;
  font-weight: 400;
  color: #333
}
.contact-info li {
  margin-bottom: 12px;
  color: #666;
}

.contact-info li i {
  width: 20px;
  margin-right: 10px;
  color: #0a5bb8;
}

.contact-info li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info li a:hover {
  color: #f27c1e;
}

.main-footer .text-primary {
  color: #0a5bb8 !important;
}

.main-footer .text-primary:hover {
  color: #f27c1e !important;
}

@media (max-width: 991px) {
  .main-footer {
      padding: 50px 0 30px;
  }
  
  .main-footer .col-lg-4 {
      margin-bottom: 40px;
  }
}

/************************************************
  10) back-to-top button
************************************************/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999;
  background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top i {
  color: #fff;
  font-size: 24px;
}
.back-to-top:hover {
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/************************************************
  11) DRAWER DOCUMENTS
************************************************/
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: 0.3s;
  z-index: 9999;
}
.drawer.open {
  right: 0;
}
.drawer-content {
  padding: 0px;
  max-width: 1200px;
  margin: 0 auto;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}
.drawer-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a5bb8;
}
.close-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 32px;
  padding: 0px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
.close-btn:hover {
  color: #f27c1e;
}
.document-list {
  padding: 20px 30px;
}
.document-category {
  margin-bottom: 25px;
}
.document-category h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0e73e4;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
}
.document-category a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: #454545;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 8px;
  margin-bottom: 4px;
}
.document-category a i {
  margin-right: 10px;
}
.document-category a:hover {
  background: #f5f7fa;
  color: #f27c1e;
  transform: translateX(5px);
}
.document-category i {
  margin-right: 15px;
  color: #0B70E1;
  font-size: 1.2rem;
}
@media (min-width: 768px) {
  .drawer {
    right: -800px;
    width: 800px;
  }
}