body {

  font-family: Averta, Arial, sans-serif !important;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html {
  scroll-behavior: smooth !important;
}

/* 
---------------------------------------------
Obecné
--------------------------------------------- 
*/
.section-heading h2 {
  font-weight: 800;
  color: #181C32;
  font-size: 36px;
  line-height: normal !important;
  margin-bottom: 0.3em !important;
  letter-spacing: 1px !important;
}

.section-heading p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.5em;
}

/* 
---------------------------------------------
Video sekce
--------------------------------------------- 
*/

.video-section {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  flex: 0 0 100vh;

  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

.background-video {
  position: absolute !important;
  /* Změna z fixed na absolute */
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  z-index: -1;
}

.video-overlay {
  /* gradient overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* Tmavé zastření */
  z-index: 2;
}

.video-overlay .caption {
  position: absolute;
  top: 70%;
  transform: translateY(-70%);
}

.video-overlay .caption h6 {
  margin-top: 0px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.8px;
  line-height: normal !important;
}

.video-overlay .caption h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  line-height: normal !important;
  letter-spacing: 1px;
}

.video-overlay .caption p {
  color: #fff !important;
  font-size: 16px;
  line-height: 1.5em;
  max-width: 570px;
}

.video-overlay .main-button-red a {
  font-size: 13px;
  color: #fff;
  /* background-color: #a12c2f; */
  background-color: #ce2326;
  padding: 8px 16px;
  display: inline-block;
  /* border-radius: 22px; */
  border-radius: 6px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
  letter-spacing: 0.5px;
}

.video-overlay .main-button-red a:hover {
  opacity: 0.9;
}

.video-overlay .main-button-red i {

  color: #fff;
}


@media (max-width:768px) {
  .content-section h1 {
    font-size: 2rem
  }

  .content-section p {
    font-size: 1rem
  }
}

/* 
---------------------------------------------
Informační pruh
--------------------------------------------- 
*/

.info-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1f272b;
  color: white;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
  z-index: 1001;
  border-bottom: 1px solid #1a1a1a;
  transition: transform 0.3s ease;
}

.info-bar.hidden {
  transform: translateY(-100%);
}

.info-bar .close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-bar .close-btn:hover {
  color: #ccc;
}

/* Posun menu dolů */
.menuframe {
  top: 40px !important;
  transition: top 0.3s ease;
}

.info-bar.hidden~.menuframe {
  top: 0 !important;
}

/* Posun video sekce */
.video-section {
  margin-top: 40px;
  transition: margin-top 0.3s ease;
}

/* Různé typy info barů */
.info-bar.warning {
  background-color: #ff9800;
  color: #000;
}

.info-bar.success {
  background-color: #4caf50;
  color: white;
}

.info-bar.urgent {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    background-color: #1a1a1a;
  }

  50% {
    background-color: #cc0000;
  }

  100% {
    background-color: #1a1a1a;
  }
}

@media (max-width: 768px) {
  .info-bar {
    font-size: 12px;
    padding: 0;
    height: 24px !important;
    line-height: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menuframe {
    top: 24px !important;
  }

  .video-section {
    margin-top: 24px;
  }
}

/* Odstraní mezeru mezi info barem a menu */
.info-bar+.menuframe,
.notification-bar+.menuframe {
  margin-top: -2px !important;
  border-top: none !important;
}


/* 
---------------------------------------------
Hlavní menu
--------------------------------------------- 
*/

/* Přepíše původní styly menu */
.menuframe {
  background-color: transparent !important;
  background: transparent !important;
  backdrop-filter: none !important;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 1000;
}

/* Tmavé menu - aktivuje se JavaScriptem */
.menuframe.dark {
  background-color: #333333 !important;
}

/* Poloprůhledné menu - výchozí stav */
.menuframe.transparent {
  background-color: rgba(51, 51, 51, 0.5) !important;
  backdrop-filter: blur(10px) !important;
}

/* Odstraní případné původní pozadí z menu */
.menu.topmenu {
  background: transparent !important;
  background-color: transparent !important;
}


/* Text menu na transparentním pozadí */
.menuframe.transparent .menu-title,
.menuframe.transparent .menu-link {
  color: #BEBEBE !important;
}

/* Text menu na tmavém pozadí */
.menuframe.dark .menu-title,
.menuframe.dark .menu-link {
  color: #BEBEBE !important;
  text-shadow: none;
}

.menu-link.active .menu-title {
  color: #fff !important;
}

a.menu-link.active .menu-title {
  color: #fff !important;
}

a:hover.menu-link .menu-title {
  color: #fff !important;
}

/* Logo a ikony na transparentním pozadí */
.menuframe.transparent img {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
}

.menuframe.transparent .menu-icon i {
  color: #BEBEBE !important;
}

/* Aktivní položka menu */
.menuframe.transparent .menu-link.active {

  color: #FFF !important;
  border-radius: 5px;
}


.menuframe.dark .menu-link.active {
  color: #FFF !important;
}

/* Badge */
.menuframe.transparent .badge {
  background-color: #E21418 !important;

}

/* Dropdown menu */

.menuframe.transparent .menu-sub .menu-icon i {
  color: #333 !important;
}

.menuframe.transparent .menu-sub .menu-title,
.menuframe.transparent .menu-sub .menu-link {

  color: #666 !important;
}

.menuframe.dark .menu-sub {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Text v podmenu zůstává tmavý i při tmavém hlavním menu */
.menuframe.dark .menu-sub .menu-title,
.menuframe.dark .menu-sub .menu-link {
  color: #666 !important;
}

.menuframe.dark .menu-sub .menu-icon i {
  color: #333 !important;
}




/* 
---------------------------------------------
mouse to scroll
--------------------------------------------- 
*/

.scroll-mouse-clean {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
  animation: gentle-bounce 3s infinite;
}

.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 13px;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
}

.mouse-icon:hover {
  border-color: white;
  transform: scale(1.1);
}

.scroll-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
  0% {
    opacity: 0;
    top: 10px;
  }

  15% {
    opacity: 1;
    top: 10px;
  }

  50% {
    opacity: 1;
    top: 20px;
  }

  100% {
    opacity: 0;
    top: 26px;
  }
}

@keyframes gentle-bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* 
---------------------------------------------
courses
--------------------------------------------- 
*/

section.our-courses {
  padding-top: 90px;
  padding-bottom: 90px;
  background-color: #f4f2ed;
}

.our-courses .item .down-content {
  background-color: #fff;
}

.our-courses .item .down-content h4 {
  padding: 25px;
  font-size: 18px;
  color: #1f272b;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.our-courses .item .down-content .info {
  padding: 25px;
}

.our-courses .item .down-content .info span {
  color: #a12c2f;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  display: inline-block;
  width: 100%;
}

.our-courses .owl-nav {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-45px);
}

.our-courses .owl-dots {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 40px;
}

.our-courses .owl-dots .owl-dot {
  transition: all .5s;
  width: 7px;
  height: 7px;
  background-color: #fff;
  margin: 0px 5px;
  border-radius: 50%;
  outline: none;
}

.our-courses .owl-dots .active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
}

.our-courses .owl-nav .owl-prev {
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -70px !important;
}

.our-courses .owl-nav .owl-prev span,
.our-courses .owl-nav .owl-next span {
  opacity: 0;
}

.our-courses .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: '\f104';
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.our-courses .owl-nav .owl-prev {
  opacity: 1;
  transition: all .5s;
}

.our-courses .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  opacity: 1;
  transition: all .5s;
}

.our-courses .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -70px !important;
}

.our-courses .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: '\f105';
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.meeting-item {
  /* margin-bottom: 30px; */
  max-height: 500px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.meeting-item .thumb {
  position: relative;
}

.meeting-item .thumb img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.meeting-item .thumb .semtype {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-item .thumb .semtype span {
  font-size: 11px;
  color: #1f272b;
  font-weight: 600;
  background-color: rgba(250, 250, 250, 0.9);
  padding: 7px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.meeting-item .down-content {
  background-color: #fff;
  padding: 30px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.meeting-item .down-content .date {
  float: left;
  text-align: center;
  display: inline-block;
  margin-right: 20px;
  margin-top: 2px;
}

.meeting-item .down-content .date h6 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a12c2f;
}

.meeting-item .down-content .date span {
  display: block;
  color: #1f272b;
  font-size: 22px;
  margin-top: 7px;
}

.meeting-item .down-content h4 {
  font-size: 18px;
  color: #1f272b;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* max 2 řádky */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meeting-item .down-content p {
  margin-left: 48px;
  color: #1f272b;
  font-size: 14px;
  line-height: 1.5em;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;

  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;

  height: calc(1.5em * 4);
}

/*
---------------------------------------------
apply now
---------------------------------------------
*/

section.company {
  background-image: url(../images/apply-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 90px 0px;
}

section.company .item {
  background-color: rgba(250, 250, 250, 0.25);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 10px;
}

section.company .item h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 0.3em;
}

section.company .item p {
  margin-bottom: 20px;
}

section.company p,
section.company h3,
section.company h3 i {
  color: #fff !important;
}

section.company .section-heading h2 {
  color: #fff !important;
}

/* 
---------------------------------------------
our team
--------------------------------------------- 
*/
section.our-team {
  padding-top: 90px;
  padding-bottom: 90px;
  background-color: #f4f2ed;
}

section.our-team .profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid white;
}

/* 
---------------------------------------------
contact us
--------------------------------------------- 
*/

section.contact-us {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

section.contact-us #contact {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
}

section.contact-us #contact h5 {
  text-transform: uppercase;
  color: #c2c2c2;
  margin-bottom: 140px !important;
  font-size: 22px;
  font-weight: 700;
}


.footer {
  border-top: 1px solid rgba(250, 250, 250, 0.15);
  padding: 50px 0px;
  color: #FAFAFA;
}

.footer h5 {
  text-transform: uppercase;
  color: #c2c2c2;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5em;
}

.footer a h3 i {
  font-size: 28px;
  color: #c2c2c2 !important;
}

.footer a:hover h3 i {
  color: #ce2326 !important;
}

.footer p {
  font-size: 16px;
  color: #bababa !important;
  line-height: 1.4em;
}

.footer a,
.footer p a i {
  color: #FAFAFA;
}

.footer a:hover,
.footer p a:hover i {
  color: #ce2326;
}


/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1200px) {


  .our-courses .owl-nav .owl-next {
    right: -70px !important;
  }

  .our-courses .owl-nav .owl-prev {
    left: -65px !important;
  }
}

@media (max-width: 1085px) {


  .our-courses .owl-nav .owl-next {
    right: -30px !important;
  }

  .our-courses .owl-nav .owl-prev {
    left: -25px !important;
  }
}

@media (max-width: 1005px) {


  .our-courses .owl-nav .owl-next {
    display: none;
  }

  .our-courses .owl-nav .owl-prev {
    display: none;
  }
}

/* Responsive fix pro menu logo - synchronizace s Bootstrap kontejnery */
@media (max-width: 1400px) {
  .topmenu {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 1200px) {
  .topmenu {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 992px) {
  .topmenu {
    max-width: 720px !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 768px) {
  .topmenu {
    max-width: 540px !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Responsive fix pro logo v zápatí - synchronizace s kontejnerem */
@media (max-width: 1400px) {
  .footer .container {
    max-width: 1140px !important;
  }
  
  .footer .container .row .col-lg-3 {
    flex: 0 0 auto !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}

@media (max-width: 1200px) {
  .footer .container {
    max-width: 960px !important;
  }
}

@media (max-width: 992px) {
  .footer .container {
    max-width: 720px !important;
  }
}

/* Responsive zápatí pro tablety - sloupce pod sebe */
@media (max-width: 1000px) and (min-width: 769px) {
  .footer .container .row .col-lg-3 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px;
  }
  
  .footer .container .row .col-lg-3:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .footer .container {
    max-width: 540px !important;
  }
  
  /* Responsive zápatí pro mobily - sloupce pod sebe */
  .footer .container .row .col-lg-3 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }
  
  .footer .container .row .col-lg-3:last-child {
    margin-bottom: 0;
  }
  
  /* Odstranit horní linku zápatí na mobilech */
  .footer {
    border-top: none !important;
  }
}