/* Import Google Fonts - Lexend */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

/* Import Lineicons */
@import url('lineicons.css');

/* Import Homepage Redesign CSS */
@import url('homepage-redesign.css');

.justify-content-center {
  justify-content: center;
  display: flex;
}
.alert {
  text-align: center;
  font-weight: bold;

  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.20, rgba(255, 255, 255, 0.10)), color-stop(0.20, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.10)), color-stop(.3, rgba(255, 255, 255, 0.10)), color-stop(.3, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.10) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.10) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.10) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.10) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.10) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.10) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.10) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.10) 75%, transparent 75%, transparent);

  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -o-background-size: 50px 50px;
  background-size: 50px 50px;

  margin-top: 0px;
  margin-bottom: 0px;

  -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.09);
  -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.09);
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.09);

  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;

  border: 0px;
  padding: 15px;
}

a:hover {
  text-decoration: none;
}

.alert-success {
  background-color: #5e9b34;
  border-color: #D6E9C6;
  color: #fff;
  border-top: 0px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.alert-error {
  background-color: #BA1D1A !important;
  color: white;
  border-color: #BA1D1A;
  border-top: 0px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px !important;
    width: 95% !important;
  }

  .top-container.container {
    width: 95% !important;
    max-width: 1400px !important;
  }
}

/*@media (min-width: 1440px) {*/
/*    .container {*/
/*        max-width: 1500px !important;*/
/*        width: 1500px !important;*/
/*    }*/

/*    .top-container.container {*/
/*        width: 1500px !important;*/
/*        max-width: 1500px !important;*/
/*    }*/
/*}*/

.alert .close {
  top: 2px;
  right: 0px;
}

.add-on .btn {
  vertical-align: sub;
}

.add-on {
  height: 34px;
}

.whole-mail {
  padding-top: 6px;
}

.whole-mail a:hover h4 {
  color: #00b5ca;
}

.cookiesNavMessage {
  padding: 15px;
  text-align: center;
  background-image: none;
  background-color: #00b5ca;
  border: none;
  color: #FFF;
  @media(max-width: 992px) {
    font-size: 14px;
  }
}

.cookiesNavMessage .btn-primary {
  border-radius: 6px;
  background: transparent;
  color: #FFF;
  border: 1px solid #FFF;
  padding: 5px 20px 5px 20px;
  font-size: 18px;
  width: auto;
  text-align: center;
  margin-left: 15px;
  @media(max-width: 992px) {
    margin: 10px 10px 10px 10px;
  }
  @media(max-width: 767px) {
    font-size: 14px;
  }
  @media(max-width: 580px) {
    display: block;
    width: fit-content;
    margin: 10px auto auto auto;
  }
}

.cookiesNavMessage .btn-primary:hover {
  color: #FFF;
  background: #01306b;
}

.logo-col {
  padding-right: 0px;
}

.nfz-logo {
  width: 100px;
  padding-top: 22px;
  padding-left:30px;
}

.logotypes {
  padding-top: 15px;
  padding-bottom: 40px;
}

.logotypes .special {
  margin-bottom: 30px;
  margin-top: 30px;
}

.logotypes img {
  margin-left: 25px;
  margin-right: 25px;
}

/* New Logotypes Section */
.logotypes-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.logotypes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.special-logos,
.regular-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logo-item {
  display: inline-block;
  margin: 5px;
}

.logo-item img {
  max-width: 120px;
  height: auto;
  transition: all 0.3s ease;
  filter: grayscale(30%);
  border-radius: 0 !important;
}

.logo-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.ceryfikaty {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.ceryfikaty img {
  border-radius: 0 !important;
  max-width: 120px;
  height: auto;
  transition: all 0.3s ease;
  filter: grayscale(30%);
}

.ceryfikaty img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.ceryfikaty a {
  display: inline-block;
  line-height: 0;
}

/* Custom Content Sections */
.content-section-custom,
.content-section-custom-alt {
  padding: 80px 0;
  background-color: #ffffff;
}

.content-section-custom-alt {
  background-color: #f8f9fa;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.content-section-custom-alt .container {
  max-width: 100%;
  width: 100%;
}

.content-section-custom h2,
.content-section-custom-alt h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #01306b;
}

.content-section-custom p,
.content-section-custom-alt p {
  font-size: 18px;
  line-height: 1.8;
  color: #57758b;
  margin-bottom: 20px;
}

.content-section-custom img,
.content-section-custom-alt img {
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .content-section-custom,
  .content-section-custom-alt {
    padding: 60px 0;
  }

  .content-section-custom-alt .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .content-section-custom h2,
  .content-section-custom-alt h2 {
    font-size: 28px;
  }

  .content-section-custom img,
  .content-section-custom-alt img {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .content-section-custom-alt .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .content-section-custom h2,
  .content-section-custom-alt h2 {
    font-size: 24px;
  }

  .content-section-custom p,
  .content-section-custom-alt p {
    font-size: 16px;
  }
}

/* Responsive for logos */
@media (max-width: 768px) {
  .logotypes-row {
    gap: 20px;
  }

  .special-logos,
  .regular-logos {
    gap: 30px;
  }

  .ceryfikaty {
    gap: 20px;
  }

  .logo-item {
    margin: 3px;
  }

  .logo-item img,
  .ceryfikaty img {
    max-width: 100px;
  }
}

@-moz-document url-prefix() {
  .menu-bar {
    top: 0px !important;
    position: absolute;
  }

  .add-on .btn {
    vertical-align: super !important;
  }
}

.language-select-box {
  text-align: right;
  padding-right: 20px;
  padding-top: 18px;
}

.carousel-control {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  top: 46%;
  color: #ffffff;
  background: none;
  border: 0px;
}

input, textarea, .uneditable-input {
  width: 166px;
}

/* New Footer Styles */
footer.footer-new {
  background-color: #01306b;
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-main {
  margin-bottom: 40px;
}

.footer-col {
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 0 !important;
}

.footer-description {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
}

.footer-heading {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-toggle-icon {
  display: none;
}

.footer-menu.collapse,
.footer-contact.collapse {
  display: block !important;
  height: auto !important;
}

.footer-menu,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-menu a,
.footer-contact a,
.footer-contact span {
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.footer-menu a:hover,
.footer-contact a:hover {
  color: #00b5ca;
  text-decoration: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: #00b5ca;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bottom a {
  color: #00b5ca;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer Responsive */
@media (max-width: 767px) {
  footer.footer-new {
    padding: 40px 0 20px;
  }

  .footer-col {
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 0;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .footer-logo-col {
    border-bottom: none;
    text-align: left;
    margin-bottom: 20px;
  }

  .footer-logo {
    display: block;
    text-align: left;
  }

  .footer-heading {
    cursor: pointer;
    position: relative;
    padding: 15px 0;
    margin-bottom: 0;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .footer-toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    display: inline-block !important;
  }

  .footer-heading:not([aria-expanded]) .footer-toggle-icon,
  .footer-heading[aria-expanded="false"] .footer-toggle-icon {
    transform: rotate(0deg);
  }

  .footer-heading[aria-expanded="true"] .footer-toggle-icon {
    transform: rotate(180deg);
  }

  .footer-menu,
  .footer-contact {
    text-align: left;
    margin: 0;
  }

  /* Override desktop display:block for mobile */
  .footer-menu.collapse,
  .footer-contact.collapse {
    display: none !important;
    height: auto !important;
  }

  /* Expanding/collapsing animation state */
  .footer-menu.collapsing,
  .footer-contact.collapsing {
    display: block !important;
    height: auto;
    overflow: hidden;
    transition: height 0.3s ease;
  }

  /* Expanded state */
  .footer-menu.collapse.in,
  .footer-contact.collapse.in {
    display: block !important;
    padding-bottom: 10px;
  }
}

/* Old footer styles - keeping for compatibility */
.foot-name {
  margin-left: 20px;
  vertical-align: text-top;
}

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Lexend', sans-serif;
  background-color: #ffffff;
}

.body-bg {
  width: 100%;
  background-color: #FFF;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}

.main-content {
  padding-top: 80px;
  padding-bottom: 110px;
}

.top-white {
  height: 110px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend', sans-serif;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h5 {
  font-size: 72px;
  font-weight: 700;
}

h2 {
  font-size: 48px;
  font-weight: 700;
}

h3 {
  font-size: 36px;
  font-weight: 700;
}

h4 {
  font-size: 24px;
  font-weight: 600;
}

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

.font-white {
  color: #FFF;
}

.font-sea {
  color: #00b5ca;
}

.font-blue {
  color: #6b8ea6;
}

.font-dark-blue {
  color: #57758b;
}

.font-granat {
  color: #01306b;
}

.font-other-blue {
  color: #01306b;
}

.time-tables table {
  width: 100% !important;
  border-color: #D9D9D9;
}

.time-tables h4 {
  margin-top: -5px;
  color: #01306b;
}

/* Modern Table Styles */
.table-scroll-view {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  border-radius: 12px;

}

.table-scroll-view table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}

th {
  padding: 16px 20px;
  background: linear-gradient(135deg, #01306b 0%, #024a8f 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-bottom: 3px solid #00b5ca;
  white-space: normal;
}

th:first-child {
  text-align: left;
}

td {
  padding: 14px 20px;
  background-color: #fff;
  border: 1px solid #e8eef3;
  border-bottom: 0;
  border-top: 0;
  color: #333;
  font-size: 14px;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

/* First column - doctor names */
td:first-child {
  font-weight: 500;
  color: #01306b;
  background-color: #f8fafc;
  min-width: 280px;
}

.doctor-name {
  font-weight: 700;
}

/* Alternating row colors */
tbody tr:nth-child(even) td {
  background-color: #f4f7fa;
}

tbody tr:nth-child(even) td:first-child {
  background-color: #eef2f7;
}

/* Hover effect */
tbody tr:hover td {
  background-color: #e8f4f8;
}

tbody tr:hover td:first-child {
  background-color: #dceef4;
}

/* Time cells - center align */
td:not(:first-child) {
  text-align: center;
  white-space: normal;
}

/* Empty cells styling */
/*td:empty::after,*/
/*td:has(> br:only-child)::after {*/
/*    content: "—";*/
/*    color: #ccc;*/
/*}*/

/* Last row no border */
tbody tr:last-child td {
  border-bottom: none;
}

/* Scroll shadow indicators */
.table-scroll-view::before,
.table-scroll-view::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.table-scroll-view::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.08), transparent);
}

.table-scroll-view::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.08), transparent);
}

.table-scroll-view.scroll-right::after,
.table-scroll-view.scroll-left::before {
  opacity: 1;
}

/* Mobile responsive */
@media (max-width: 992px) {
  .table-scroll-view {
    margin: 15px -15px;

    box-shadow: none;
    /*border-top: 1px solid #e8eef3;*/
    /*border-bottom: 1px solid #e8eef3;*/
  }

  .table-scroll-view table {

    min-width: 700px;
  }

  th {
    padding: 12px 15px;
    font-size: 12px;
  }

  td {
    padding: 12px 15px;
    font-size: 13px;
  }

  td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    min-width: 200px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  }

  th:first-child {
    position: sticky;
    left: 0;
    z-index: 6;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  }
}

.blue-bar {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #01306b;
}

.teal-bar {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #01306b;
}

.teal-bar a {
  transition: .2s;
  color: #fff;
}

.teal-bar a .fa {
  transition: .2s;
  color: #fff;
  padding-right: 5px;
}

.teal-bar a:hover,
.teal-bar a:hover .fa {
  color: #01306b;
}

@media (max-width: 991px) {
  .teal-bar a {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .teal-bar {
    display: none;
  }
}

.inline {
  display: inline-block;
}

.top-info {
  text-align: left;
}

.top-search {
  text-align: right;
}

.top-search input {
  border: none;
}

.top-info {
  padding-top: 8px;
}

.blue-bar .fa {
  margin-right: 10px;
}

.ml-20 {
  margin-left: 20px;
}

.blue-bar .phone-number {
  margin-right: 25px;
}

.top-search .form-control {
  background-color: transparent;
  color: #FFF;
  border-bottom: 1px solid #00b5ca;
  border-radius: 0px;
  box-shadow: none;
}

.top-search .btn-default {
  background-color: transparent;
  border: none;
}

.top-search ::-webkit-input-placeholder { /* WebKit browsers */
  color: rgba(255, 255, 255, 0.4);
}

.top-search :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: rgba(255, 255, 255, 0.4);
}

.top-search ::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: rgba(255, 255, 255, 0.4);
}

.top-search :-ms-input-placeholder { /* Internet Explorer 10+ */
  color: rgba(255, 255, 255, 0.4);
}

.top-info a:hover {
  color: #00b5ca;
  text-decoration: none;
}

.white {
  background-color: white;
}

.gray-light {
  background-color: #eff4f7;
}

.logo img {
  padding-top: 14px;
}

.bg-sea {
  background-color: #00b5ca;
}

.bg-light-blue {
  background-color: #e8f6f6;
}

.bg-granat {
  background-color: #01306b;
}

.main-menu {
  padding: 0px;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

#map-canvas {
  width: 100%;
  height: 380px;
}

#droppy {
  width: 100%;
  float: none;
  display: block;
  text-align: right !important;
  position: relative;
  font-weight: 300;
  font-size: 18px;
  padding-top: 0px;
  padding-bottom: 0px;
}

#droppy > li {
  float: none;
  display: inline-block;
  text-align: left;
  margin-right: -3px;
  margin-left: -3px;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

#droppy ul {
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#droppy li.hover {
  background-color: #FFFFFF;
}

#droppy li a {
  color: #01306b;
  padding: 25px 25px 21px 25px;
  transition: all 0.2s ease;
}

#droppy li:hover a {
  color: #01306b;
  background-color: transparent;
  text-decoration: none;
}

#droppy li ul {
  text-align: left;
  padding-top: 0px;
  left: 0px;
  top: 49px;
  background-color: #ffffff;
  font-size: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding-left: 0;
}

#droppy li ul li a {
  display: block;
  padding: 10px 15px 10px 15px;
  color: #333333;
  line-height: 1.2;
  transition: all 0.2s ease;
}

#droppy li ul li .menuOpen {
  width: 100%;
  color: #01306b;
  background-color: #ffffff;
  font-weight: 600;
}

#droppy li ul li:hover a {
  color: #01306b;
  background-color: #f0f7f9 !important;
}

#droppy .menuOpen {
  color: #01306b;
  background-color: transparent;
  font-weight: 600;
}

.visit,
.medicine {
  padding: 40px 30px;
  height: 413px;
  width: 100%;
  vertical-align: top;
  border-radius: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.boxes-row {
  margin-left: -15px;
  margin-right: -15px;
}

.boxes-row .col-lg-6,
.boxes-row .col-md-6,
.boxes-row .col-sm-12 {
  padding-left: 15px;
  padding-right: 15px;
}

.boxes-row a {
  text-decoration: none;
  display: block;
}

.boxes-row a:hover {
  text-decoration: none;
}

.boxes-row a:hover .medicine,
.boxes-row a:hover .visit {
  transform: translateY(-5px);
}

.main-content .fa,
.main-content .lni {
  font-size: 60px;
}

.slogan {
  width: 85%;
  padding-top: 140px;
  padding-bottom: 135px;
}

.menu-bar {
  width: 100%;
  z-index: 1231414;
  top: 41px;
  height: 80px;
  margin: auto;
  position: absolute;
  top: 80px;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: white;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  -moz-box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
}

.main-menu-bar {
  position: relative;
}

.sub-pad {
  padding-bottom: 55px;
  padding-top: 55px;
  @media(max-width: 768px) {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.sub-pad h2 {
  font-size: 30px;
}

.sub-pad h3 {
  font-size: 20px;
  margin-top: 20px;
}

.about-box-link {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.about-box-link:hover {
  text-decoration: none;
}

.about-box {
  background-image: url('../img/about.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 413px;
  padding: 30px;
  position: relative;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.about-box-link:hover .about-box {
  transform: translateY(-5px);
}

.about-box p {
  font-size: 18px;
}

.about-box-content {
  position: absolute;
  bottom: 20px;
}

.main-news {
  width: 100%;
  height: 265px;
  margin-top: 24px;
  border-radius: 20px;
}

.main-news .newsNormal li {
  padding: 20px;
}

.main-news ul {
  padding-left: 0px;
}

.main-news .newsNormal li:nth-child(odd),
.main-news .newsNormal li:nth-child(even) {
  background: none;
  border-top: 0px;
}

.patients-box h4 {
  font-weight: 600;
  margin-bottom: 30px;
}

.for-patients {
  //    margin-top: 65px;
  padding-top: 25px;
  margin-bottom: 60px;
}

.for-patients .btn-offer {
  border-radius: 12px;
  padding: 5px 20px 5px 20px;
}

.for-patients .btn-offer:hover {
  background-color: #01306b;
  color: #FFF;
}

.for-patients h3 {
  margin-bottom: 10px;
}

.service-box {
  margin-bottom: 30px;
}

.services {
  margin-top: 70px;
}

.services ul {
  text-align: left;

}

.services li {
  list-style-type: none;
}

.services .pull-left {
  float: none !important;
}

.services li img {
  margin-bottom: 43px;
}

.simple-content .services {
  padding-left: 20px;
  padding-right: 20px;
}

.simple-content .for-patients {
  margin: 0px;
}

.slider {
  border-radius: 12px;
  overflow: hidden;
  margin-top:50px;
}

.sub-margin {
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 6px;
}

.simple-content {
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  -moz-box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
}

.pad-big-content {
  padding: 40px;
  padding-top: 25px;
}

.pad-big-content img {
  max-width: 100%;
  height: auto;
}

.border-left {
  border-left: 1px solid #DDD;
}

.contact {
  padding: 0px;
}

.main-ul .menuOpen {
  color: #01306b;
}

.main-ul {
  padding: 20px;
}

.main-ul ul {
  padding-left: 20px;

}

.main-ul ul li a {
  font-size: 15px;
}

.side-menu li {
  list-style-type: none;
}

.side-menu li a {
  font-size: 18px;
  color: #7f959c;
}

.contact-content {
  padding: 20px;
}

.read-more {
  font-weight: 700;
  color: #00b5ca;
}

.newsNormal h4 {
  font-weight: 700;
  margin-bottom: 45px;
}

.group-news ul {
  padding-left: 0px;
}

.group-news li {
  border-radius: 6px;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  -moz-box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, .3);
  list-style-type: none;
}

.group-news .news-box {
  padding: 20px;
}

.news-box p {
  color: #57758b;
}

.services li:hover p,
.main-news li:hover .news-box p {
  color: #789EBA;
}

.fluid-news {
  list-style: none;
}

.newsNormal-meta {
  padding-bottom: 0px !important;
}

.msitem {
  width: 360px;
  height: auto;
  background-color: #FFF;
  margin-bottom: 30px;
}

.msitem .pull-left {
  float: none !important;
}

.msitem img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.msitem p {
  color: #000;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0px;
  padding-bottom: 10px;
}

.msitem h4 {
  font-weight: bold;
  padding: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.msitem a {
  color: #000;
  display: block;
}

.msitem a:hover {
  text-decoration: none;
}

.slogan-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 40px 0;
}

.slogan-box .slogan {
  width: 100%;
  max-width: 800px;
}

@media (max-width: 767px) {
  .header-video-section {
    height: 60vh;
    min-height: 400px;
  }

  .slogan-box {
    padding: 20px 0;
  }

  .header-video-section .slogan h5 {
    font-size: 36px;
  }

  .header-video-section .slogan p {
    font-size: 16px;
  }

  .main-content {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

.button-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

/* Header Video Section */
.header-video-section {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.header-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 48, 107, 0.3);
  z-index: 1;
}

.header-video-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Video header text styling */
.header-video-section .slogan h5,
.header-video-section .slogan p {
  color: #fff !important;
}

.header-video-section .slogan h5 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

.header-video-section .slogan p {
  font-size: 20px;
  font-weight: 400 !important;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* White buttons on video background */
.cta-video-white,
.cta-contact-white {
  background-color: #fff !important;
  color: #01306b !important;
  border: 2px solid #fff !important;
}

.cta-video-white:hover,
.cta-contact-white:hover {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

.link-box {
  transition: .2s;
  background-color: #00b5ca;
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius:5px;
}

.link-box,
.link-box .fa {
  font-size: 18px;
  color: #fff;
  transition: .2s;
}

.link-box .fa {
  padding-right: 10px;
}

.link-box:hover {
  color: #fff;
  background-color: #01306b;
}

.pricing-box {
  display: grid;
  grid-template-columns: 1fr 0.25fr;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 10px;
  font-size: 18px;
  padding-bottom: 5px;
  @media(max-width: 580px) {
    font-size: 16px;
  }
  @media(max-width: 360px) {
    font-size: 14px;
    grid-template-columns: 1fr 0.5fr;
  }
}

.pricing-box .price {
  justify-self: flex-end;
  @media(max-width: 360px) {
    text-align: right;
  }
}
.pricing-panel {
  box-shadow: none;
}
.pricing-panel .pricing-box {
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0!important;
}
.pricing-panel .panel-body,
.pricing-panel .panel-heading {
  padding-left: 0;
  padding-right: 0;
}

.panel-default > .panel-heading.pricing-heading {
  background-color: transparent;
}

.pricing-heading .panel-title > a {
  font-size: 18px;
  font-weight: 500;
  display: block;
  position: relative;
  padding-right: 25px;
  text-decoration: none;
  cursor: pointer;
}

.pricing-heading .panel-title > a:hover,
.pricing-heading .panel-title > a:focus {
  text-decoration: none;
  color: #01306b;
}

.pricing-heading .panel-title > a.collapsed {
  color: #333;
}

.pricing-heading .panel-title > a:not(.collapsed) {
  color: #01306b;
}

.pricing-heading .panel-title > a:after {
  font: normal normal normal 14px/1 FontAwesome;
  content: '\f077';
  color: #00b5ca;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  transition: transform 0.3s ease;
}

.pricing-heading .panel-title > a.collapsed:after {
  content: '\f078';
}

.panel-group .panel.pricing-panel {
  border: none;
}

@media (max-width: 1200px) {
  .nfz-logo {
    width: 70px;
    float: right;
    padding-top: 28px;
  }

  #droppy li a {
    padding: 23px 20px;
  }

  .for-patients {
    padding-top: 20px;
  }

  .msitem {
    width: 31%;
  }

  .visit, .medicine {
    padding: 30px 20px;
    /*height: 349px;*/
    width: 100%;
  }

  .main-content .fa,
  .main-content .lni {
    font-size: 50px;
  }

  .newsNormal h4 {
    margin-bottom: 10px;
  }

  .main-news {
    height: 225px;
  }

  .main-news .newsNormal li {
    padding: 15px;
  }

  .about-box {
    /*height: 349px;*/
  }

  .da-slide h2 {
    font-size: 32px;
  }

  #video iframe {
    height: 528px;
  }
}

@media (max-width: 991px) {
  .nfz-logo {
    width: 70px;
    float: none;
    padding-top: 20px;
    position: absolute;
    left: 235px;
  }

  .msitem {
    width: 30%;
  }

  .service-box {
    height: 325px;
  }

  .logo {
    position: absolute;
    top: -15px;
    left: 20px;
    z-index: 12;
  }

  .logo img {
    padding-top: 19px;
  }

  .mobile-menu {
    margin-top: 10px;
  }

  .menuMobile ul li:first-child a {
    border-top: 0px;
  }

  .mobileMainBtn {
    text-align: right;
  }

  .menu-bar {
    height: 65px;
    top: 65px;
  }

  /* Mobile Burger Button */
  .mobile-burger-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #1a365d;
  }

  .mobile-burger-btn i {
    font-size: 28px;
  }

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Menu Container */
  .mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu-container.open {
    transform: translateX(0);
  }

  /* Mobile Menu Header */
  .mobile-menu-header {
    padding: 20px;
    text-align: right;
    border-bottom: 1px solid #e5e5e5;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #1a365d;
  }

  .mobile-close-btn i {
    font-size: 24px;
  }

  /* Mobile Menu Navigation */
  .mobile-menu-nav {
    padding: 0;
  }

  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-item {
    position: relative;
    border-bottom: 1px solid #e5e5e5;
  }

  .mobile-menu-item > a {
    display: block;
    padding: 15px 20px;
    color: #1a365d;
    text-decoration: none;
    font-size: 16px;
  }

  .mobile-menu-item > a:hover,
  .mobile-menu-item > a.active {
    background: #f5f5f5;
    color: #00b5ca;
  }

  .mobile-submenu-toggle {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-submenu-toggle i {
    font-size: 18px;
    color: #1a365d;
    transition: transform 0.3s ease;
  }

  .mobile-submenu-toggle.open i {
    transform: rotate(180deg);
  }

  .mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
  }

  .mobile-submenu .mobile-menu-item > a {
    padding-left: 40px;
    font-size: 14px;
  }

  /* Mobile Menu Actions */
  .mobile-menu-actions {
    padding: 20px;
    border-top: 2px solid #e5e5e5;
    margin-top: 20px;
  }

  .mobile-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #1a365d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
  }

  .mobile-action-link i {
    font-size: 20px;
  }

  .mobile-action-link:hover {
    background: #00b5ca;
    color: #ffffff;
    text-decoration: none;
  }

  .mobile-action-link:last-child {
    margin-bottom: 0;
  }

  .slogan {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .about-col {
    margin-bottom: 30px;
  }

  .body-bg {
    height: auto;
  }

  #video iframe {
    height: 400px;
  }
  .about-box,
  .medicine,
  .visit {
    height: auto;
  }
  .visit {
    margin-bottom: 24px;
  }
  .about-box {
    aspect-ratio: 670 / 413;
  }
}

@media (max-width: 768px) {
  .logotypes {
    padding-top: 15px;
    padding-bottom: 50px;
  }

  .logotypes .special {
    margin-bottom: 50px;
  }

  .msitem {
    width: 46%;
  }

  .side-menu {
    display: none;
  }

  .services {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-box {
    height: 325px;
  }

  .main-news {
    height: 260px;
  }

  .services ul {
    padding-left: 15px;
  }

  .foot-name {
    display: none;
  }

  footer .lni-envelope {
    margin-left: 0px;
  }

  .da-slide .da-link {
    padding: 3px 8px 5px 8px;
  }

  h1 {
    font-size: 32px;
  }
}

@media (max-width: 680px) {
  .msitem {
    width: 100%;
  }

  .service-box {
    width: 100%;
    height: auto;
    margin-bottom: 0px;
  }

  .services li img {
    margin-bottom: 25px;
  }

  .for-patients p {
    margin-bottom: 30px;
  }

  .main-news {
    height: auto;
  }

  .logotypes img {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .left,
  .right {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 28px;
  }
  .sub-pad h2 {
    font-size: 24px;
  }
  .sub-pad h4 {
    font-size: 20px;
  }
  #video iframe {
    height: auto;
    width: auto;
  }
}

@media (max-width: 540px) {
  .visit {
    margin-bottom: 30px;
  }

  .visit, .medicine {
    padding: 30px 20px;
    width: 100%;
  }

  .main-content .fa,
  .main-content .lni {
    font-size: 60px;
  }

  .boxes-row .col-sm-12 {
    margin-bottom: 0;
  }

  .boxes-row .col-sm-12:first-child .visit {
    margin-bottom: 30px;
  }

  .top-white {
    height: 60px;
  }

  .blue-bar {
    display: none;
  }
}

@media (max-width: 480px) {
  h5 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .pad-big-content {
    padding: 25px;
  }

  .logo {
    left: 5px;
  }

  .mobileMainBtn {
    padding-right: 0px !important;
  }

  .menuMobile .openBtn {
    right: 12px;
  }
}

@media (max-width: 375px) {
  .logo img {
    width: 155px;
    padding-top: 28px;
  }

  .nfz-logo {
    padding-top: 22px;
    left: 170px;
  }
}

#video {
  padding-bottom: 50px;
  text-align: center;
}

.ceryfikaty img {
  margin:0 20px;
}

.separator {
  padding-right: 5px;
  border-right: none !important;
  margin-right: 5px;
}

@media (max-width: 767px) {
  .separator {
    border: none;
    padding-right: 0;
    margin-right: 0;
    display: block
  }
}

.member {
  display: grid;
  grid-template-columns: 35% 1fr;
  grid-gap: 15px;
  margin-bottom: 50px;
  align-items: flex-start;
  justify-content: flex-start;
}

.member h3 {
  margin-top: 0;
  font-size: 18px;
}

/* ========================================
Modern Form Styles
======================================== */

/* Form Container */
.form-deklaracja,
.form-recepta {
  max-width: 100%;
}

/* Section Headers */
.form-deklaracja h3,
.form-recepta h3 {
  color: #01306b;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 30px;
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #00b5ca;
}

.form-deklaracja h4,
.form-recepta h4 {
  margin-top: 20px;
  margin-bottom: 25px;
  color: #01306b;
  font-size: 20px;
  font-weight: 600;
}

.form-deklaracja h5,
.form-recepta h5 {
  margin-top: 30px;
  margin-bottom: 20px;
  color: #00b5ca;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Row Spacing */
.form-deklaracja .row,
.form-recepta .row {
  margin-bottom: 0;
}

/* Control Group
.form-deklaracja .control-group,
.form-recepta .control-group {
margin-bottom: 24px;
} */

/* Labels */
.form-deklaracja .control-label,
.form-recepta .control-label,
.form-horizontal .control-label {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #01306b;
  margin-bottom: 8px;
  display: block;
}
fieldset .control-group:first-of-type {
  margin-top: 20px;
}
/* Input Fields */
.form-deklaracja input[type="text"],
.form-deklaracja input[type="email"],
.form-deklaracja input[type="tel"],
.form-deklaracja input[type="number"],
.form-deklaracja input[type="date"],
.form-deklaracja input[type="password"],
.form-deklaracja select,
.form-deklaracja textarea,
.form-recepta input[type="text"],
.form-recepta input[type="email"],
.form-recepta input[type="tel"],
.form-recepta input[type="number"],
.form-recepta input[type="date"],
.form-recepta input[type="password"],
.form-recepta select,
.form-recepta textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  border: 2px solid #e0e6ed;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
  height: auto;
}

.form-deklaracja input[type="text"]:hover,
.form-deklaracja input[type="email"]:hover,
.form-deklaracja select:hover,
.form-recepta input[type="text"]:hover,
.form-recepta input[type="email"]:hover,
.form-recepta select:hover {
  border-color: #c0cdd8;
}

.form-deklaracja input[type="text"]:focus,
.form-deklaracja input[type="email"]:focus,
.form-deklaracja select:focus,
.form-deklaracja textarea:focus,
.form-recepta input[type="text"]:focus,
.form-recepta input[type="email"]:focus,
.form-recepta select:focus,
.form-recepta textarea:focus {
  border-color: #00b5ca;
  box-shadow: 0 0 0 4px rgba(0, 181, 202, 0.1);
}

.form-deklaracja input::placeholder,
.form-recepta input::placeholder {
  color: #a0aec0;
}

/* Select Dropdown */
.form-deklaracja select,
.form-recepta select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2301306b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Textarea */
.form-deklaracja textarea,
.form-recepta textarea {
  min-height: 120px;
  resize: vertical;
}

/* Radio Buttons */
.form-deklaracja .radio,
.form-recepta .radio {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  padding-left: 0;
}

.form-deklaracja .radio input[type="radio"],
.form-recepta .radio input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #00b5ca;
}

.form-deklaracja .col-md-6 input[type='radio'],
.form-recepta .col-md-6 input[type='radio'] {
  width: 20px;
}

/* Checkboxes */
.control-group .checkbox,
.form-deklaracja .checkbox,
.form-recepta .checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 16px 20px;
  background-color: #f8fafc;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.control-group .checkbox:hover,
.form-deklaracja .checkbox:hover,
.form-recepta .checkbox:hover {
  background-color: #eef5f7;
  border-color: #e0e6ed;
}

.control-group .checkbox input[type="checkbox"],
.form-deklaracja .checkbox input[type="checkbox"],
.form-recepta .checkbox input[type="checkbox"],
.form-deklaracja .col-md-12 input[type='checkbox'],
.form-recepta .col-md-12 input[type='checkbox'] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  margin-right: 14px;
  cursor: pointer;
  accent-color: #00b5ca;
  flex-shrink: 0;
}

.form-deklaracja .checkbox span,
.form-recepta .checkbox span {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Section Dividers */
.taker {
  margin-top: 24px;
}
.taker,
.first-representative,
.second-representative {
  padding: 40px;
  margin-bottom: 30px;
  background-color: #f8fafc;
  border-radius: 16px;
  border: none;
  border-bottom: none;
}

.taker h3,
.first-representative h4,
.second-representative h4 {
  margin-top: 0;
}

/* Additional Info Text */
.additional-info {
  margin-top: 20px;
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 14px;
  color: #57758b;
  background-color: #fff8e6;
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 4px solid #f5a623;
}

/* Pre-separator */
.pre-separator {
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

/* Question Block (for surveys) */
.question-block {
  padding: 30px 0;
  border-bottom: 1px solid #e0e6ed;
}

.row-question {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  max-width: 100%;
  margin-bottom: 15px;
  gap: 10px;
}

/* Survey Form (form-ankieta) */
.form-deklaracja.form-ankieta .radio {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 0;
  margin-bottom: 0;
  background: none;
}

.form-deklaracja.form-ankieta .radio input {
  min-width: 0;
  width: unset;
  margin-left: 0;
  margin-right: 0;
}

.form-ankieta.form-deklaracja h5 {
  font-size: 14px;
  line-height: 1.2;
  min-width: 0;
  margin: 0;
  text-transform: none;
  color: #01306b;
}

.form-ankieta.form-deklaracja .row-question-textarea .control-label {
  font-size: 14px;
}

.form-ankieta.form-deklaracja .question-block {
  padding: 20px 0;
}

.form-ankieta.form-deklaracja h5.question-section-title {
  margin-bottom: 25px;
  font-size: 22px;
  text-transform: none;
  color: #01306b;
}

.row-question-textarea .control-label {
  color: #01306b;
  font-size: 16px;
  font-weight: 500;
}

.row-question-textarea {
  margin-bottom: 25px;
}

.row-question-textarea textarea {
  max-width: 100%;
  width: 100%;
  height: 120px;
  margin-top: 10px;
}

/* Submit Button */
.btn-form {
  background: linear-gradient(135deg, #00b5ca 0%, #00a3b8 100%);
  border: none;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #fff;
  border-radius: 12px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 181, 202, 0.3);
}

.btn-form:hover {
  background: linear-gradient(135deg, #01306b 0%, #024a8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 48, 107, 0.3);
  color: #fff;
}

.btn-form:active {
  transform: translateY(0);
}

/* Form Actions */
.form-actions {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e0e6ed;
}

/* Required Field Indicator */
.form-deklaracja .required,
.form-recepta .required {
  border-color: #e0e6ed;
}

.form-deklaracja .required:focus,
.form-recepta .required:focus {
  border-color: #00b5ca;
}

/* Error States */
.form-deklaracja .error input,
.form-recepta .error input,
.form-deklaracja input.error,
.form-recepta input.error {
  border-color: #e53e3e;
  background-color: #fff5f5;
}

.form-deklaracja .error input:focus,
.form-recepta .error input:focus {
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .taker,
  .first-representative,
  .second-representative {
    padding: 25px 20px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }

  .form-deklaracja h3,
  .form-recepta h3 {
    font-size: 20px;
  }

  .form-deklaracja h4,
  .form-recepta h4 {
    font-size: 18px;
  }

  .form-deklaracja input[type="text"],
  .form-deklaracja input[type="email"],
  .form-deklaracja select,
  .form-recepta input[type="text"],
  .form-recepta input[type="email"],
  .form-recepta select {
    padding: 12px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .row-question {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .row-question .radio {
    flex-direction: row;
    justify-content: flex-start;
  }

  .btn-form {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
  }

  .additional-info {
    font-size: 13px;
  }
}
.reviews {
  background: #fff
    url("../img/reviews.jpg") no-repeat center top;
  background-size: 100% 250px;
  padding-top: 250px;

}

.checkbox input{width:40px;}

/* Global border-radius styles */
img {
  border-radius: 20px;
}

/* Exclude logo images from border-radius */
.logo-new img,
.nfz-logo-new {
  border-radius: 0 !important;
}

.panel,
.panel-default,
.box,
[class*="-box"],
.news-box,
.patients-box,
.pricing-box {
  border-radius: 20px !important;
}

.btn,
.btn-default,
.btn-primary,
.btn-form,
.action-btn,
button[type="submit"],
button[type="button"],
input[type="submit"],
input[type="button"] {
  border-radius: 10px !important;
}

/* Advantage boxes styling */
.advantage-box {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
}

.advantage-box:hover {
  background-color: #e8f6f6;
  transform: translateY(-5px);
}

.advantage-box:hover i {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.advantage-box h4 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.advantage-box p {
  font-size: 16px;
  line-height: 1.6;
}

/* CTA Buttons in header */
.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #01306b;
  padding: 12px 28px;
  border: 2px solid #01306b;
  border-radius: 10px !important;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.cta-btn i {
  font-size: 20px;
}

.cta-btn:hover {
  background-color: #01306b;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* CTA Button Color Variants */
.cta-btn-sea {
  background-color: #00b5ca !important;
  color: #fff !important;
  border: 2px solid #00b5ca !important;
}

.cta-btn-sea:hover {
  background-color: transparent !important;
  color: #00b5ca !important;
  border-color: #00b5ca !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.cta-btn-granat {
  background-color: #01306b !important;
  color: #fff !important;
  border: 2px solid #01306b !important;
}

.cta-btn-granat:hover {
  background-color: transparent !important;
  color: #01306b !important;
  border-color: #01306b !important;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Video Modal Styling */
.modal {
  border: 0px;
  box-shadow: none;
}

#videoModal {
  background-color: transparent;
}

#videoModal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

#videoModal .modal-dialog {
  max-width: 1200px;
  width: 90%;
  margin: 50px auto;
  position: relative;
}

#videoModal .video-close {
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 40px;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  transition: all 0.2s;
  background: transparent;
  border: none;
  z-index: 1060;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#videoModal .video-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

#videoModal .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Full HD aspect ratio (1920x1080) */
  height: 0;
  overflow: hidden;
}

#videoModal .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive CTA buttons */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  #videoModal .modal-dialog {
    margin: 20px 10px;
    width: calc(100% - 20px);
  }

  #videoModal .video-close {
    top: -40px;
    right: 0;
    font-size: 35px;
  }
}

@media (max-width: 480px) {
  #videoModal .modal-dialog {
    margin: 10px 5px;
    width: calc(100% - 10px);
  }

  #videoModal .video-close {
    top: -35px;
    font-size: 30px;
  }
}

/* Team Grid Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member-box {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.team-member-link {
  text-decoration: none;
  display: block;
}

.team-member-link:hover {
  text-decoration: none;
}

.team-member-image {
  width: 100%;
  aspect-ratio: 366 / 300;
  overflow: hidden;
  background-color: #f8f9fa;
  border-radius: 0 0 20px 20px;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  object-position: 0 20%;
}

.team-member-box:hover .team-member-image img {
  transform: scale(1.05);
}

.team-member-content {
  padding: 25px;
}

.team-member-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 0;
  line-height: 1.3;
}

.team-member-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #5a6c7d;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Member Detail Page */
.team-member-detail-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team-member-detail-content {
  max-width: 100%;
}

.team-member-detail-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.team-member-detail-content h3 {
  font-size: 22px;
  color: #00b5ca;
  margin-bottom: 30px;
  font-weight: 600;
}

.team-member-detail-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.team-member-detail-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}
@media(max-width: 768px) {
  .team-member-detail-content h2 {
    font-size: 24px;
  }
  .team-member-detail-content h2:first-of-type {
    margin-top: 0;
  }
  .team-member-detail-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .team-member-detail-content p {
    margin-bottom: 16px;
    font-size: 14px;
  }
}
@media(max-width: 480px) {
  .team-member-wrapper {
    display: flex;
    flex-direction: column;
  }
  .team-image-column {
    width: 70%;
  }
  .team-member-detail-image {
    margin-bottom: 20px;
  }
  .team-content-column {
    width: 100%;
  }
}
/* Hide submenu for team page */
#droppy li a.no-submenu + ul {
  display: none !important;
}

#droppy li:has(> a.no-submenu) > ul {
  display: none !important;
}

@media(max-width: 992px) {

  div[style*="padding: 40px 20px"],
  div[style*="padding:40px 20px"] {
    padding: 0 20px !important;
  }

}